comparison plugins/docklet/docklet.c @ 6179:16e384bb7fbf

[gaim-migrate @ 6664] Core/UI split the core initialization and shutdown. I think I got all the bugs worked out. It's looking nice and stable here, but if it causes CVS to go to hell for everyone.. er, try to fix it or let me know :) I don't have this in patch form. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Thu, 17 Jul 2003 10:35:43 +0000
parents 1894de5f7fbd
children 3e3ee3cba192
comparison
equal deleted inserted replaced
6178:06e28a7b72c3 6179:16e384bb7fbf
28 - optional pop up notices when GNOME2's system-tray-applet supports it */ 28 - optional pop up notices when GNOME2's system-tray-applet supports it */
29 29
30 /* includes */ 30 /* includes */
31 #include "internal.h" 31 #include "internal.h"
32 32
33 #include "core.h"
33 #include "debug.h" 34 #include "debug.h"
34 #include "prefs.h" 35 #include "prefs.h"
35 #include "sound.h" 36 #include "sound.h"
36 37
37 #include "gtkaccount.h" 38 #include "gtkaccount.h"
178 default: 179 default:
179 gaim_new_item_from_stock(menu, _("Signoff"), GTK_STOCK_CLOSE, G_CALLBACK(gaim_connections_disconnect_all), NULL, 0, 0, 0); 180 gaim_new_item_from_stock(menu, _("Signoff"), GTK_STOCK_CLOSE, G_CALLBACK(gaim_connections_disconnect_all), NULL, 0, 0, 0);
180 break; 181 break;
181 } 182 }
182 183
183 gaim_new_item_from_stock(menu, _("Quit"), GTK_STOCK_QUIT, G_CALLBACK(do_quit), NULL, 0, 0, 0); 184 gaim_new_item_from_stock(menu, _("Quit"), GTK_STOCK_QUIT, G_CALLBACK(gaim_core_quit), NULL, 0, 0, 0);
184 185
185 gtk_widget_show_all(menu); 186 gtk_widget_show_all(menu);
186 gtk_menu_popup(GTK_MENU(menu), NULL, NULL, NULL, NULL, 0, gtk_get_current_event_time()); 187 gtk_menu_popup(GTK_MENU(menu), NULL, NULL, NULL, NULL, 0, gtk_get_current_event_time());
187 } 188 }
188 189