SHA256
1
0
forked from pool/nemo
Marguerite Su 2013-10-28 06:35:34 +00:00 committed by Git OBS Bridge
parent abcc08249b
commit bba3b5cb02

View File

@ -7,12 +7,12 @@ Index: nemo-2.0.1/eel/eel-editable-label.c
append_action_signal (EelEditableLabel *label,
GtkWidget *menu,
- const gchar *stock_id,
+ const gchar *icon_name,
+ const gchar *glabel,
const gchar *signal,
gboolean sensitive)
{
- GtkWidget *menuitem = gtk_image_menu_item_new_from_stock (stock_id, NULL);
+ GtkWidget *menuitem = gtk_image_new_from_icon_name (icon_name, NULL);
+ GtkWidget *menuitem = gtk_menu_item_new_with_mnemonic (glebel);
g_object_set_data (G_OBJECT (menuitem), "gtk-signal", (char *)signal);
g_signal_connect (menuitem, "activate",
@ -665,7 +665,7 @@ Index: nemo-2.0.1/src/nemo-tree-sidebar.c
/* add the "properties" menu item */
- menu_item = gtk_image_menu_item_new_from_stock (GTK_STOCK_PROPERTIES, NULL);
+ menu_item = gtk_image_new_from_icon_name ("document-properties", NULL);
+ menu_item = gtk_menu_item_new_with_mnemonic (_("_Properties"));
g_signal_connect (menu_item, "activate",
G_CALLBACK (fm_tree_view_properties_cb),
view);