From 7367ac4cb65aa4a04025e68ebf25a619231a2ce5 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Mon, 9 Jul 2001 23:07:57 +0000 Subject: Make the "Rename" item be a GNOMEUIINFO_ITEM_NONE() since we don't have a 2001-07-09 Federico Mena Quintero * e-shortcuts-view.c: Make the "Rename" item be a GNOMEUIINFO_ITEM_NONE() since we don't have a stock icon; likewise for the "Open in New Window". This gets rid of warnings from gnome-libs. Use a better stock icon for the "Remove" command, and add a stock icon to the "Open" command. svn path=/trunk/; revision=10938 --- shell/ChangeLog | 8 ++++++++ shell/e-shortcuts-view.c | 14 +++++++------- 2 files changed, 15 insertions(+), 7 deletions(-) (limited to 'shell') diff --git a/shell/ChangeLog b/shell/ChangeLog index e850d23f6b..a1d902a252 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,11 @@ +2001-07-09 Federico Mena Quintero + + * e-shortcuts-view.c: Make the "Rename" item be a + GNOMEUIINFO_ITEM_NONE() since we don't have a stock icon; likewise + for the "Open in New Window". This gets rid of warnings from + gnome-libs. Use a better stock icon for the "Remove" command, and + add a stock icon to the "Open" command. + 2001-07-09 Jason Leach * e-shell-view.c (updated_folder_cb): It's very possible that diff --git a/shell/e-shortcuts-view.c b/shell/e-shortcuts-view.c index 2fba10c130..6f6dae5241 100644 --- a/shell/e-shortcuts-view.c +++ b/shell/e-shortcuts-view.c @@ -465,15 +465,15 @@ rename_shortcut_cb (GtkWidget *widget, } static GnomeUIInfo shortcut_right_click_menu_uiinfo[] = { - GNOMEUIINFO_ITEM (N_("Open"), N_("Open the folder linked to this shortcut"), - open_shortcut_cb, NULL), - GNOMEUIINFO_ITEM (N_("Open in New Window"), N_("Open the folder linked to this shortcut in a new window"), - open_shortcut_in_new_window_cb, NULL), + GNOMEUIINFO_ITEM_STOCK (N_("Open"), N_("Open the folder linked to this shortcut"), + open_shortcut_cb, GNOME_STOCK_MENU_OPEN), + GNOMEUIINFO_ITEM_NONE (N_("Open in New Window"), N_("Open the folder linked to this shortcut in a new window"), + open_shortcut_in_new_window_cb), GNOMEUIINFO_SEPARATOR, - GNOMEUIINFO_ITEM_STOCK (N_("Rename"), N_("Rename this shortcut"), - rename_shortcut_cb, NULL), + GNOMEUIINFO_ITEM_NONE (N_("Rename"), N_("Rename this shortcut"), + rename_shortcut_cb), GNOMEUIINFO_ITEM_STOCK (N_("Remove"), N_("Remove this shortcut from the shortcut bar"), - remove_shortcut_cb, GNOME_STOCK_MENU_CLOSE), + remove_shortcut_cb, GNOME_STOCK_MENU_TRASH), GNOMEUIINFO_END }; -- cgit