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:

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
=== modified file 'src/fniface.c'
--- src/fniface.c 2009-10-29 17:45:24 +0000
+++ src/fniface.c 2010-03-19 03:03:18 +0000
@@ -469,7 +469,7 @@
469 gtk_widget_show (item_tunnel);469 gtk_widget_show (item_tunnel);
470 gtk_container_add (GTK_CONTAINER (menu), item_tunnel);470 gtk_container_add (GTK_CONTAINER (menu), item_tunnel);
471 gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (item_tunnel), img_yesno);471 gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (item_tunnel), img_yesno);
472 472 gtk_image_menu_item_set_always_show_image (GTK_IMAGE_MENU_ITEM (item_tunnel), TRUE);
473 g_signal_connect ((gpointer) item_tunnel, "activate",473 g_signal_connect ((gpointer) item_tunnel, "activate",
474 G_CALLBACK (on_dockletmenu_tunnel_activate),474 G_CALLBACK (on_dockletmenu_tunnel_activate),
475 (gpointer)t_id);475 (gpointer)t_id);
@@ -505,6 +505,7 @@
505 gtk_widget_show (item_toggle);505 gtk_widget_show (item_toggle);
506 gtk_container_add (GTK_CONTAINER (dmenu), item_toggle);506 gtk_container_add (GTK_CONTAINER (dmenu), item_toggle);
507 gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (item_toggle), image_toggle);507 gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (item_toggle), image_toggle);
508 gtk_image_menu_item_set_always_show_image (GTK_IMAGE_MENU_ITEM (item_toggle), TRUE);
509 separator1 = gtk_separator_menu_item_new ();510 separator1 = gtk_separator_menu_item_new ();
510 gtk_widget_show (separator1);511 gtk_widget_show (separator1);
@@ -530,6 +531,7 @@
530 gtk_widget_show (item_quit);531 gtk_widget_show (item_quit);
531 gtk_container_add (GTK_CONTAINER (dmenu), item_quit);532 gtk_container_add (GTK_CONTAINER (dmenu), item_quit);
532 gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (item_quit), image_quit);533 gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (item_quit), image_quit);
534 gtk_image_menu_item_set_always_show_image (GTK_IMAGE_MENU_ITEM (item_quit), TRUE);
534 g_signal_connect ((gpointer) item_toggle, "activate",536 g_signal_connect ((gpointer) item_toggle, "activate",
535 G_CALLBACK (on_dockletmenu_toggle_activate),537 G_CALLBACK (on_dockletmenu_toggle_activate),


People subscribed via source and target branches

to all changes: