about summary refs log tree commit diff stats
path: root/src/ui
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-09-22 21:42:00 +0100
committerJames Booth <boothj5@gmail.com>2016-09-22 21:42:00 +0100
commit3983ee1d6be8245901e83d7d06974005000a1721 (patch)
tree6e02792e4fcf2fb2bac09868ab997c29130f7650 /src/ui
parentf683a704ad164796ddd1dc6f49ea48098fc39219 (diff)
downloadprofani-tty-3983ee1d6be8245901e83d7d06974005000a1721.tar.gz
Rename /titlebar -> /wintitle
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/console.c16
-rw-r--r--src/ui/core.c2
-rw-r--r--src/ui/ui.h2
3 files changed, 10 insertions, 10 deletions
diff --git a/src/ui/console.c b/src/ui/console.c
index 3b99e58e..8bc7823f 100644
--- a/src/ui/console.c
+++ b/src/ui/console.c
@@ -1339,17 +1339,17 @@ cons_vercheck_setting(void)
 }
 
 void
-cons_titlebar_setting(void)
+cons_wintitle_setting(void)
 {
-    if (prefs_get_boolean(PREF_TITLEBAR_SHOW)) {
-        cons_show("Titlebar show (/titlebar)           : ON");
+    if (prefs_get_boolean(PREF_WINTITLE_SHOW)) {
+        cons_show("Window title show (/wintitle)       : ON");
     } else {
-        cons_show("Titlebar show (/titlebar)           : OFF");
+        cons_show("Window title show (/wintitle)       : OFF");
     }
-    if (prefs_get_boolean(PREF_TITLEBAR_GOODBYE)) {
-        cons_show("Titlebar goodbye (/titlebar)        : ON");
+    if (prefs_get_boolean(PREF_WINTITLE_GOODBYE)) {
+        cons_show("Window title goodbye (/wintitle)    : ON");
     } else {
-        cons_show("Titlebar goodbye (/titlebar)        : OFF");
+        cons_show("Window title goodbye (/wintitle)    : OFF");
     }
 }
 
@@ -1544,7 +1544,7 @@ cons_show_ui_prefs(void)
     cons_occupants_setting();
     cons_roster_setting();
     cons_privileges_setting();
-    cons_titlebar_setting();
+    cons_wintitle_setting();
     cons_encwarn_setting();
     cons_presence_setting();
     cons_inpblock_setting();
diff --git a/src/ui/core.c b/src/ui/core.c
index 2dad71fb..6c42c422 100644
--- a/src/ui/core.c
+++ b/src/ui/core.c
@@ -133,7 +133,7 @@ ui_update(void)
 
     win_update_virtual(current);
 
-    if (prefs_get_boolean(PREF_TITLEBAR_SHOW)) {
+    if (prefs_get_boolean(PREF_WINTITLE_SHOW)) {
         _ui_draw_term_title();
     }
     title_bar_update_virtual();
diff --git a/src/ui/ui.h b/src/ui/ui.h
index 7a2dc95a..ef0d808f 100644
--- a/src/ui/ui.h
+++ b/src/ui/ui.h
@@ -299,7 +299,7 @@ void cons_presence_setting(void);
 void cons_wrap_setting(void);
 void cons_winstidy_setting(void);
 void cons_time_setting(void);
-void cons_titlebar_setting(void);
+void cons_wintitle_setting(void);
 void cons_notify_setting(void);
 void cons_show_desktop_prefs(void);
 void cons_states_setting(void);