about summary refs log tree commit diff stats
path: root/src/ui
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-03-15 22:25:15 +0000
committerJames Booth <boothj5@gmail.com>2014-03-15 22:25:15 +0000
commit2af418fd8da7bce971f84b98be945f8d5a858f9d (patch)
treec03440bd0dd9a31c694a10dbe2585584c3907ab2 /src/ui
parent26726b207a344a79633f0420ff8be9c83aca3934 (diff)
downloadprofani-tty-2af418fd8da7bce971f84b98be945f8d5a858f9d.tar.gz
Command '/statuses muc' now allows 'all', 'online' and 'none' settings
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/console.c13
1 files changed, 4 insertions, 9 deletions
diff --git a/src/ui/console.c b/src/ui/console.c
index 1308003e..8a777204 100644
--- a/src/ui/console.c
+++ b/src/ui/console.c
@@ -992,16 +992,11 @@ _cons_statuses_setting(void)
 {
     char *console = prefs_get_string(PREF_STATUSES_CONSOLE);
     char *chat = prefs_get_string(PREF_STATUSES_CHAT);
-    gboolean muc = prefs_get_boolean(PREF_STATUSES_MUC);
+    char *muc = prefs_get_string(PREF_STATUSES_MUC);
 
-    cons_show("Console statuses (/statuses)  : %s", console);
-    cons_show("Chat win statuses (/statuses) : %s", chat);
-
-    if (muc) {
-        cons_show("MUC statuses (/statuses)      : ON");
-    } else {
-        cons_show("MUC statuses (/statuses)      : OFF");
-    }
+    cons_show("Console statuses (/statuses)   : %s", console);
+    cons_show("Chat win statuses (/statuses)  : %s", chat);
+    cons_show("Chat room statuses (/statuses) : %s", muc);
 }
 
 static void
; 2014-01-03 18:25:14 +0000 Updated .gitignore' href='/danisanti/profani-tty/commit/.gitignore?id=d95ceeb394bb834768ec6daa371003f7d201b089'>d95ceeb3 ^
1814dcdd ^
b1375328 ^



c182f3ec ^
b1375328 ^


41fe8c22 ^
b1375328 ^





68ed20f1 ^





b1375328 ^


e94b604b ^
e0dfe483 ^
b1375328 ^


e0dfe483 ^

d944e825 ^


9d782fa6 ^
1bc69418 ^




a308f5e4 ^

9d782fa6 ^
7bc160c2 ^
1bc69418 ^




b68d2ce1 ^

1bc69418 ^

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83