From 153541841bbb1a25cb45fd13c9035f66c1d5975b Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Wed, 4 Feb 2009 22:40:26 +0000 Subject: [PATCH] Minor style fixes for status menu svn path=/trunk/; revision=186 --- src/shell-status-menu.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/shell-status-menu.c b/src/shell-status-menu.c index a1e0d6af6..6a867d5e3 100644 --- a/src/shell-status-menu.c +++ b/src/shell-status-menu.c @@ -154,12 +154,6 @@ setup_current_user (ShellStatusMenu *status) { name = _("Unknown"); } -/* - priv->menuitem = gtk_image_menu_item_new_with_label (name); - label = GTK_BIN (adata->menuitem)->child; - gtk_menu_shell_append (GTK_MENU_SHELL (adata->menubar), adata->menuitem); - gtk_widget_show (adata->menuitem); -*/ update_label (status); @@ -479,8 +473,7 @@ create_sub_menu (ShellStatusMenu *status) G_CALLBACK (on_account_activate), status); gtk_widget_show (priv->account_item); - priv->control_panel_item = gtk_image_menu_item_new_with_label (_( - "System Preferences...")); + priv->control_panel_item = gtk_image_menu_item_new_with_label (_("System Preferences...")); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (priv->control_panel_item), gtk_image_new ()); gtk_menu_shell_append (GTK_MENU_SHELL (priv->menu), priv->control_panel_item);