changeset 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 389ed797f396
children 8ceb5b1298a7
files ChangeLog plugins/filectl.c
diffstat 2 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri May 03 19:46:07 2002 +0000
+++ b/ChangeLog	Fri May 03 19:49:24 2002 +0000
@@ -8,6 +8,8 @@
 	* Formatting of incoming MSN messages	
 	* Get Info from menu multiple-account-aware (thanks
 	  Brian Bernas)
+	* Hide and unhide functions for the filectl plugin.
+	  (Thanks, Ari Pollack)
 
 version 0.57 (04/25/2002):
 	* New authorization method for Yahoo!
--- 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)) {