comparison src/buddy.c @ 991:3dbc2cd326e2

[gaim-migrate @ 1001] check for getopt, and --disable-multi (which doesn't actually disable it, it just makes it inaccessible from the GUI) committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 13 Oct 2000 21:05:50 +0000
parents 82c5865f7cfe
children 91b7377e7b45
comparison
equal deleted inserted replaced
990:d2d6be9c85fe 991:3dbc2cd326e2
1323 return FALSE; 1323 return FALSE;
1324 1324
1325 b->log_timer = 0; 1325 b->log_timer = 0;
1326 1326
1327 if (!b->present) { 1327 if (!b->present) {
1328 int count = 0;
1329 gtk_widget_hide(b->item); 1328 gtk_widget_hide(b->item);
1330 g = find_group_by_buddy(name); 1329 g = find_group_by_buddy(name);
1331 if (GTK_TREE_ITEM(g->item)->expanded) { 1330 if (GTK_TREE_ITEM(g->item)->expanded) {
1332 gtk_tree_item_collapse(GTK_TREE_ITEM(g->item)); 1331 gtk_tree_item_collapse(GTK_TREE_ITEM(g->item));
1333 gtk_tree_item_expand(GTK_TREE_ITEM(g->item)); 1332 gtk_tree_item_expand(GTK_TREE_ITEM(g->item));
1901 gtk_widget_show(menuitem); 1900 gtk_widget_show(menuitem);
1902 menuitem = gtk_menu_item_new_with_label(_("Change Password")); 1901 menuitem = gtk_menu_item_new_with_label(_("Change Password"));
1903 gtk_menu_append(GTK_MENU(setmenu), menuitem); 1902 gtk_menu_append(GTK_MENU(setmenu), menuitem);
1904 gtk_signal_connect(GTK_OBJECT(menuitem), "activate", GTK_SIGNAL_FUNC(show_change_passwd), NULL); 1903 gtk_signal_connect(GTK_OBJECT(menuitem), "activate", GTK_SIGNAL_FUNC(show_change_passwd), NULL);
1905 gtk_widget_show(menuitem); 1904 gtk_widget_show(menuitem);
1905 #ifndef NO_MULTI
1906 gaim_new_item_with_pixmap(menu, _("Accounts"), add_small_xpm, GTK_SIGNAL_FUNC(account_editor)); 1906 gaim_new_item_with_pixmap(menu, _("Accounts"), add_small_xpm, GTK_SIGNAL_FUNC(account_editor));
1907 #endif
1907 gaim_seperator(menu); 1908 gaim_seperator(menu);
1908 1909
1909 gaim_new_item_with_pixmap(menu, _("Preferences"), prefs_small_xpm, GTK_SIGNAL_FUNC(show_prefs)); 1910 gaim_new_item_with_pixmap(menu, _("Preferences"), prefs_small_xpm, GTK_SIGNAL_FUNC(show_prefs));
1910 1911
1911 #ifdef GAIM_PLUGINS 1912 #ifdef GAIM_PLUGINS