comparison src/gtkpounce.c @ 8252:10a41e67a800

[gaim-migrate @ 8975] I'm tired, so I probably broke something... 1. clean up warnings trying to put chats into the blist before the blist is there to put chats in 2. clean up warnings trying to mess with the buddy pounce menu before the buddy pounce menu is there to be messed with 3. clean up warnings with reconnecting and the progress bars in the connection dialog, i think 4. re-order things so the tab doesn't go grey if it's already red. this annoyed me. committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Fri, 13 Feb 2004 07:48:19 +0000
parents a8431dd66cc5
children 4f9f68ab8770
comparison
equal deleted inserted replaced
8251:86b8d8b4287e 8252:10a41e67a800
734 { 734 {
735 GtkWidget *remmenu; 735 GtkWidget *remmenu;
736 GtkWidget *item; 736 GtkWidget *item;
737 GList *l; 737 GList *l;
738 738
739 if(!menu)
740 return;
741
739 for (l = gtk_container_get_children(GTK_CONTAINER(menu)); 742 for (l = gtk_container_get_children(GTK_CONTAINER(menu));
740 l != NULL; 743 l != NULL;
741 l = l->next) { 744 l = l->next) {
742 745
743 gtk_widget_destroy(GTK_WIDGET(l->data)); 746 gtk_widget_destroy(GTK_WIDGET(l->data));
744 } 747 }
745 g_list_free(l); 748 g_list_free(l);
746 749
747 /* "New Buddy Pounce" */ 750 /* "New Buddy Pounce" */
748 item = gtk_menu_item_new_with_label(_("New Buddy Pounce")); 751 item = gtk_menu_item_new_with_label(_("New Buddy Pounce"));
749 gtk_menu_shell_append(GTK_MENU_SHELL(menu), item); 752 gtk_menu_shell_append(GTK_MENU_SHELL(menu), item);
750 gtk_widget_show(item); 753 gtk_widget_show(item);
751 g_signal_connect(G_OBJECT(item), "activate", 754 g_signal_connect(G_OBJECT(item), "activate",