Mercurial > pidgin
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 3197:389ed797f396 | 3198:ccf5cd2f0354 |
|---|---|
| 1 #define GAIM_PLUGINS | 1 #include "config.h" |
| 2 #include "gaim.h" | 2 #include "gaim.h" |
| 3 #include "applet.h" | |
| 3 | 4 |
| 4 #include <gtk/gtk.h> | 5 #include <gtk/gtk.h> |
| 5 #include <stdlib.h> | 6 #include <stdlib.h> |
| 6 #include <unistd.h> | 7 #include <unistd.h> |
| 7 #include <sys/types.h> | 8 #include <sys/types.h> |
| 86 arg1 = getarg(buffer, 1, 1); | 87 arg1 = getarg(buffer, 1, 1); |
| 87 snprintf(a.message, 2048, "%s", arg1); | 88 snprintf(a.message, 2048, "%s", arg1); |
| 88 a.name[0] = 0; | 89 a.name[0] = 0; |
| 89 do_away_message(NULL, &a); | 90 do_away_message(NULL, &a); |
| 90 free(arg1); | 91 free(arg1); |
| 92 } else if (!strncasecmp(command, "hide", 4)) { | |
| 93 hide_buddy_list(); | |
| 94 } else if (!strncasecmp(command, "unhide", 6)) { | |
| 95 unhide_buddy_list(); | |
| 91 } else if (!strncasecmp(command, "back", 4)) { | 96 } else if (!strncasecmp(command, "back", 4)) { |
| 92 do_im_back(); | 97 do_im_back(); |
| 93 } else if (!strncasecmp(command, "quit", 4)) { | 98 } else if (!strncasecmp(command, "quit", 4)) { |
| 94 do_quit(); | 99 do_quit(); |
| 95 } | 100 } |
