about summary refs log tree commit diff stats
path: root/src/command
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-04-07 21:12:30 +0100
committerJames Booth <boothj5@gmail.com>2014-04-07 21:12:30 +0100
commitf0f0dbfdac75aaaac04f0b86f996b962e8464785 (patch)
tree9fe26cb3a8dba9b2273b6d3d231589ce0a14979a /src/command
parentfc40637789136a1fecbb7ec18fa60238b77abe13 (diff)
downloadprofani-tty-f0f0dbfdac75aaaac04f0b86f996b962e8464785.tar.gz
Removed statusbar functions from ui.h
Diffstat (limited to 'src/command')
-rw-r--r--src/command/commands.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/command/commands.c b/src/command/commands.c
index 65537f7b..a7deb17a 100644
--- a/src/command/commands.c
+++ b/src/command/commands.c
@@ -647,11 +647,7 @@ cmd_help(gchar **args, struct cmd_help_t help)
 gboolean
 cmd_about(gchar **args, struct cmd_help_t help)
 {
-    cons_show("");
-    cons_about();
-    if (ui_current_win_type() != WIN_CONSOLE) {
-        status_bar_new(1);
-    }
+    ui_about();
     return TRUE;
 }
 
@@ -952,7 +948,7 @@ cmd_who(gchar **args, struct cmd_help_t help)
     }
 
     if (win_type != WIN_CONSOLE && win_type != WIN_MUC) {
-        status_bar_new(1);
+        ui_statusbar_new(1);
     }
 
     return TRUE;