summaryrefslogtreecommitdiffstats
path: root/src/interface.cpp
diff options
context:
space:
mode:
authorJohn Smith <john.smith7545@yahoo.com>2013-03-11 14:14:55 +0000
committerJohn Smith <john.smith7545@yahoo.com>2013-03-11 14:14:55 +0000
commitc834b13959869176738502e99fc74301e7b32100 (patch)
treec73f0239d5c160ac6f28329f2afb1f38a8a849d8 /src/interface.cpp
parentTranslations. Latvian, Spanish and Ukrainian translations update, and transla... (diff)
downloadinkscape-c834b13959869176738502e99fc74301e7b32100.tar.gz
inkscape-c834b13959869176738502e99fc74301e7b32100.zip
Fix for 998276 : Keyboard shortcuts not appearing in the main menu under Unity, uppdate to fix markup issue
(bzr r12190)
Diffstat (limited to 'src/interface.cpp')
-rw-r--r--src/interface.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/interface.cpp b/src/interface.cpp
index bf497b407..69832a2eb 100644
--- a/src/interface.cpp
+++ b/src/interface.cpp
@@ -468,6 +468,8 @@ static GtkWidget *sp_ui_menu_append_item_from_verb(GtkMenu *menu, Inkscape::Verb
item = gtk_image_menu_item_new_with_mnemonic(action->name);
}
+ gtk_label_set_markup_with_mnemonic( GTK_LABEL(gtk_bin_get_child(GTK_BIN (item))), action->name);
+
GtkAccelGroup *accel_group = sp_shortcut_get_accel_group();
gtk_menu_set_accel_group(menu, accel_group);