aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-gtk/client.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2009-12-10 12:39:41 -0600
committerTed Gould <ted@gould.cx>2009-12-10 12:39:41 -0600
commit10e6923a8868dd8468e6e211a3631deafb578a3e (patch)
tree2a79277658598c8f47d22670d974a6c543fd1c2b /libdbusmenu-gtk/client.c
parent38c9adcb94c6ab0d273815705b474a801f56a59d (diff)
parent54203154fee5b70cf37c4ce4f92176d67597a7e8 (diff)
downloadlibdbusmenu-10e6923a8868dd8468e6e211a3631deafb578a3e.tar.gz
libdbusmenu-10e6923a8868dd8468e6e211a3631deafb578a3e.tar.bz2
libdbusmenu-10e6923a8868dd8468e6e211a3631deafb578a3e.zip
Merge in some of the changes from the 0.2 branch. Specifically we're taking:
* Changing the name to org.ayatana * Underline fixes * Documenation of the DBus API We're not taking * Updates to the test suite * New tools
Diffstat (limited to 'libdbusmenu-gtk/client.c')
-rw-r--r--libdbusmenu-gtk/client.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libdbusmenu-gtk/client.c b/libdbusmenu-gtk/client.c
index 8489424..fdebc6b 100644
--- a/libdbusmenu-gtk/client.c
+++ b/libdbusmenu-gtk/client.c
@@ -359,6 +359,7 @@ new_item_normal (DbusmenuMenuitem * newitem, DbusmenuMenuitem * parent, Dbusmenu
GtkMenuItem * gmi;
gmi = GTK_MENU_ITEM(gtk_menu_item_new_with_label(dbusmenu_menuitem_property_get(newitem, DBUSMENU_MENUITEM_PROP_LABEL)));
+ gtk_menu_item_set_use_underline (gmi, TRUE);
if (gmi != NULL) {
dbusmenu_gtkclient_newitem_base(DBUSMENU_GTKCLIENT(client), newitem, gmi, parent);
@@ -489,6 +490,7 @@ new_item_image (DbusmenuMenuitem * newitem, DbusmenuMenuitem * parent, DbusmenuC
GtkMenuItem * gmi;
gmi = GTK_MENU_ITEM(gtk_image_menu_item_new_with_label(dbusmenu_menuitem_property_get(newitem, DBUSMENU_MENUITEM_PROP_LABEL)));
+ gtk_menu_item_set_use_underline (gmi, TRUE);
if (gmi != NULL) {
dbusmenu_gtkclient_newitem_base(DBUSMENU_GTKCLIENT(client), newitem, gmi, parent);