diff plugins/filectl.c @ 3198:ccf5cd2f0354

[gaim-migrate @ 3215] Ari Pollack did this. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Fri, 03 May 2002 19:49:24 +0000
parents 9349de0706e6
children d33ec392a5e1
line wrap: on
line diff
--- 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)) {