Merge lp://staging/~bratsche/libdbusmenu/underlines into lp://staging/libdbusmenu/0.5

Proposed by Cody Russell
Status: Merged
Merged at revision: not available
Proposed branch: lp://staging/~bratsche/libdbusmenu/underlines
Merge into: lp://staging/libdbusmenu/0.5
Diff against target: 27 lines (+3/-0)
1 file modified
libdbusmenu-gtk/client.c (+3/-0)
To merge this branch: bzr merge lp://staging/~bratsche/libdbusmenu/underlines
Reviewer Review Type Date Requested Status
DBus Menu Team Pending
Review via email: mp+15918@code.staging.launchpad.net
To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'libdbusmenu-gtk/client.c'
2--- libdbusmenu-gtk/client.c 2009-10-02 20:01:16 +0000
3+++ libdbusmenu-gtk/client.c 2009-12-10 04:28:11 +0000
4@@ -359,6 +359,7 @@
5
6 GtkMenuItem * gmi;
7 gmi = GTK_MENU_ITEM(gtk_menu_item_new_with_label(dbusmenu_menuitem_property_get(newitem, DBUSMENU_MENUITEM_PROP_LABEL)));
8+ gtk_menu_item_set_use_underline (gmi, TRUE);
9
10 if (gmi != NULL) {
11 dbusmenu_gtkclient_newitem_base(DBUSMENU_GTKCLIENT(client), newitem, gmi, parent);
12@@ -380,6 +381,7 @@
13
14 GtkMenuItem * gmi;
15 gmi = GTK_MENU_ITEM(gtk_separator_menu_item_new());
16+ gtk_menu_item_set_use_underline (gmi, TRUE);
17
18 if (gmi != NULL) {
19 dbusmenu_gtkclient_newitem_base(DBUSMENU_GTKCLIENT(client), newitem, gmi, parent);
20@@ -489,6 +491,7 @@
21
22 GtkMenuItem * gmi;
23 gmi = GTK_MENU_ITEM(gtk_image_menu_item_new_with_label(dbusmenu_menuitem_property_get(newitem, DBUSMENU_MENUITEM_PROP_LABEL)));
24+ gtk_menu_item_set_use_underline (gmi, TRUE);
25
26 if (gmi != NULL) {
27 dbusmenu_gtkclient_newitem_base(DBUSMENU_GTKCLIENT(client), newitem, gmi, parent);

Subscribers

People subscribed via source and target branches