plugins/filectl.c

changeset 3198
e66aac97c837
parent 3061
acb363b0200a
child 3472
3939deb42c1e
--- a/plugins/filectl.c	Fri May 03 19:46:07 2002 +0000
+++ b/plugins/filectl.c	Fri May 03 19:49:24 2002 +0000
@@ -1,5 +1,6 @@
-#define GAIM_PLUGINS
+#include "config.h"
 #include "gaim.h"
+#include "applet.h"
 
 #include <gtk/gtk.h>
 #include <stdlib.h>
@@ -88,6 +89,10 @@
 			a.name[0] = 0;
 			do_away_message(NULL, &a);
 			free(arg1);
+		} else if (!strncasecmp(command, "hide", 4)) {
+			hide_buddy_list();
+		} else if (!strncasecmp(command, "unhide", 6)) {
+			unhide_buddy_list();
 		} else if (!strncasecmp(command, "back", 4)) {
 			do_im_back();
 		} else if (!strncasecmp(command, "quit", 4)) {

mercurial