Merge lp:~leftyfb/gstm/gstm into lp:gstm

Proposed by Mike Rushton
Status: Merged
Approved by: Mattias Eriksson
Approved revision: 8
Merged at revision: not available
Proposed branch: lp:~leftyfb/gstm/gstm
Merge into: lp:gstm
Diff against target: 28 lines (+3/-1)
1 file modified
src/fniface.c (+3/-1)
To merge this branch: bzr merge lp:~leftyfb/gstm/gstm
Reviewer Review Type Date Requested Status
Mattias Eriksson code Approve
Review via email: mp+21705@code.launchpad.net

Description of the change

added gtk_image_menu_item_set_always_show_image to show icons in the notification area dialog in the new version of gnome

To post a comment you must log in.
Revision history for this message
Mattias Eriksson (snaggen) wrote :

This is needed. I didn't find out how this when I rewrote things the last time. So thanks!

review: Approve (code)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/fniface.c'
2--- src/fniface.c 2009-10-29 17:45:24 +0000
3+++ src/fniface.c 2010-03-19 03:03:18 +0000
4@@ -469,7 +469,7 @@
5 gtk_widget_show (item_tunnel);
6 gtk_container_add (GTK_CONTAINER (menu), item_tunnel);
7 gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (item_tunnel), img_yesno);
8-
9+ gtk_image_menu_item_set_always_show_image (GTK_IMAGE_MENU_ITEM (item_tunnel), TRUE);
10 g_signal_connect ((gpointer) item_tunnel, "activate",
11 G_CALLBACK (on_dockletmenu_tunnel_activate),
12 (gpointer)t_id);
13@@ -505,6 +505,7 @@
14 gtk_widget_show (item_toggle);
15 gtk_container_add (GTK_CONTAINER (dmenu), item_toggle);
16 gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (item_toggle), image_toggle);
17+ gtk_image_menu_item_set_always_show_image (GTK_IMAGE_MENU_ITEM (item_toggle), TRUE);
18
19 separator1 = gtk_separator_menu_item_new ();
20 gtk_widget_show (separator1);
21@@ -530,6 +531,7 @@
22 gtk_widget_show (item_quit);
23 gtk_container_add (GTK_CONTAINER (dmenu), item_quit);
24 gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (item_quit), image_quit);
25+ gtk_image_menu_item_set_always_show_image (GTK_IMAGE_MENU_ITEM (item_quit), TRUE);
26
27 g_signal_connect ((gpointer) item_toggle, "activate",
28 G_CALLBACK (on_dockletmenu_toggle_activate),

Subscribers

People subscribed via source and target branches

to all changes: