diff options
-rw-r--r-- | debian/changelog | 7 | ||||
-rw-r--r-- | libdbusmenu-gtk/client.c | 2 | ||||
-rw-r--r-- | libdbusmenu-gtk/client.h | 3 |
3 files changed, 10 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog index 95800f6..04d99af 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +libdbusmenu (0.2.0~dev-0ubuntu1~ppa2) UNRELEASED; urgency=low + + * Updating to trunk + * Adding underline support + + -- Ted Gould <ted@ubuntu.com> Thu, 10 Dec 2009 13:01:58 -0600 + libdbusmenu (0.2.0~dev-0ubuntu1~ppa1) karmic; urgency=low * Updating to trunk 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); diff --git a/libdbusmenu-gtk/client.h b/libdbusmenu-gtk/client.h index b1d816f..4cfbdcf 100644 --- a/libdbusmenu-gtk/client.h +++ b/libdbusmenu-gtk/client.h @@ -29,8 +29,7 @@ License version 3 and version 2.1 along with this program. If not, see #ifndef __DBUSMENU_GTKCLIENT_H__ #define __DBUSMENU_GTKCLIENT_H__ -#include <glib.h> -#include <glib-object.h> +#include <gtk/gtk.h> #include <libdbusmenu-glib/client.h> G_BEGIN_DECLS |