Mercurial > pidgin.yaz
diff src/plugins.c @ 96:247f540ea6e1
[gaim-migrate @ 106]
Okay, this is cool. I think everything finally completely works. You can
even load plugins before you log in now (isn't that nice).
committer: Tailor Script <tailor@pidgin.im>
| author | Eric Warmenhoven <eric@warmenhoven.org> |
|---|---|
| date | Sun, 09 Apr 2000 18:42:36 +0000 |
| parents | 9f6ce50ffb78 |
| children | f7c6366ca703 |
line wrap: on
line diff
--- a/src/plugins.c Sun Apr 09 11:36:09 2000 +0000 +++ b/src/plugins.c Sun Apr 09 18:42:36 2000 +0000 @@ -179,6 +179,7 @@ GtkWidget *sw2; GtkWidget *add; GtkWidget *remove; + GtkWidget *close; GList *plugs = plugins; struct gaim_plugin *p; gchar buffer[1024]; @@ -228,6 +229,11 @@ GTK_SIGNAL_FUNC(unload), pluglist); gtk_box_pack_start(GTK_BOX(botbox), remove, TRUE, FALSE, 5); + close = gtk_button_new_with_label("Close"); + gtk_signal_connect(GTK_OBJECT(close), "clicked", + GTK_SIGNAL_FUNC(hide_plugins), NULL); + gtk_box_pack_start(GTK_BOX(botbox), close, TRUE, FALSE, 5); + gtk_box_pack_start(GTK_BOX(page), topbox, TRUE, TRUE, 0); gtk_box_pack_start(GTK_BOX(page), botbox, FALSE, FALSE, 0); @@ -264,6 +270,7 @@ gtk_widget_show(plugtext); gtk_widget_show(add); gtk_widget_show(remove); + gtk_widget_show(close); gtk_container_add(GTK_CONTAINER(plugwindow), page); gtk_widget_show(plugwindow);
