This commit is contained in:
parent
abcc08249b
commit
bba3b5cb02
@ -7,12 +7,12 @@ Index: nemo-2.0.1/eel/eel-editable-label.c
|
|||||||
append_action_signal (EelEditableLabel *label,
|
append_action_signal (EelEditableLabel *label,
|
||||||
GtkWidget *menu,
|
GtkWidget *menu,
|
||||||
- const gchar *stock_id,
|
- const gchar *stock_id,
|
||||||
+ const gchar *icon_name,
|
+ const gchar *glabel,
|
||||||
const gchar *signal,
|
const gchar *signal,
|
||||||
gboolean sensitive)
|
gboolean sensitive)
|
||||||
{
|
{
|
||||||
- GtkWidget *menuitem = gtk_image_menu_item_new_from_stock (stock_id, NULL);
|
- 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_object_set_data (G_OBJECT (menuitem), "gtk-signal", (char *)signal);
|
||||||
g_signal_connect (menuitem, "activate",
|
g_signal_connect (menuitem, "activate",
|
||||||
@ -665,7 +665,7 @@ Index: nemo-2.0.1/src/nemo-tree-sidebar.c
|
|||||||
|
|
||||||
/* add the "properties" menu item */
|
/* add the "properties" menu item */
|
||||||
- menu_item = gtk_image_menu_item_new_from_stock (GTK_STOCK_PROPERTIES, NULL);
|
- 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_signal_connect (menu_item, "activate",
|
||||||
G_CALLBACK (fm_tree_view_properties_cb),
|
G_CALLBACK (fm_tree_view_properties_cb),
|
||||||
view);
|
view);
|
||||||
|
Loading…
Reference in New Issue
Block a user