changeset 11226:1e65b7d442ca

[gaim-migrate @ 13364] Suppressing a useless separator when no accounts are online. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Wed, 10 Aug 2005 21:38:26 +0000
parents 46facec74fc1
children 8b3d1b2c2c43
files plugins/docklet/docklet.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/docklet/docklet.c	Wed Aug 10 21:16:37 2005 +0000
+++ b/plugins/docklet/docklet.c	Wed Aug 10 21:38:26 2005 +0000
@@ -136,6 +136,8 @@
 			gaim_new_item_from_stock(menu, _("New Message..."), GAIM_STOCK_IM, G_CALLBACK(gaim_gtkdialogs_im), NULL, 0, 0, NULL);
 			menuitem = gaim_new_item_from_stock(menu, _("Join A Chat..."), GAIM_STOCK_CHAT, G_CALLBACK(gaim_gtk_blist_joinchat_show), NULL, 0, 0, NULL);
 			gtk_widget_set_sensitive(menuitem, online_account_supports_chat);
+
+			gaim_separator(menu);
 			break;
 	}
 
@@ -186,8 +188,6 @@
 			break;
 	}
 
-	gaim_separator(menu);
-
 	entry = gtk_check_menu_item_new_with_label(_("Mute Sounds"));
 	gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(entry), gaim_prefs_get_bool("/gaim/gtk/sound/mute"));
 	if (!strcmp(gaim_prefs_get_string("/gaim/gtk/sound/method"), "none"))