diff options
author | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2008-01-20 15:24:28 +0800 |
---|---|---|
committer | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2008-01-20 15:24:28 +0800 |
commit | 8d6110e996fde8307e98d61f7e52bcc6715299dc (patch) | |
tree | 962129ad1b2ac03984429128f64eedc97431c0ff /x11/gnome-panel/files/patch-gnome-panel_menu.c | |
parent | cb74d43c46b1d3bd6cb6547711ab12a4347a2ec0 (diff) | |
download | marcuscom-ports-8d6110e996fde8307e98d61f7e52bcc6715299dc.tar marcuscom-ports-8d6110e996fde8307e98d61f7e52bcc6715299dc.tar.gz marcuscom-ports-8d6110e996fde8307e98d61f7e52bcc6715299dc.tar.bz2 marcuscom-ports-8d6110e996fde8307e98d61f7e52bcc6715299dc.tar.lz marcuscom-ports-8d6110e996fde8307e98d61f7e52bcc6715299dc.tar.xz marcuscom-ports-8d6110e996fde8307e98d61f7e52bcc6715299dc.tar.zst marcuscom-ports-8d6110e996fde8307e98d61f7e52bcc6715299dc.zip |
Update to 2.21.5. Disable polkit for now because we don't have polkit-gnome.pc
at the moment. As for network manager, we all knew that we don't have it
either. The clock-panel crashes, so maybe fix is coming.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@10185 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/gnome-panel/files/patch-gnome-panel_menu.c')
-rw-r--r-- | x11/gnome-panel/files/patch-gnome-panel_menu.c | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/x11/gnome-panel/files/patch-gnome-panel_menu.c b/x11/gnome-panel/files/patch-gnome-panel_menu.c new file mode 100644 index 000000000..aa7aeae8c --- /dev/null +++ b/x11/gnome-panel/files/patch-gnome-panel_menu.c @@ -0,0 +1,42 @@ +--- gnome-panel/menu.c.orig Sat Mar 26 15:12:10 2005 ++++ gnome-panel/menu.c Fri Jun 3 11:17:45 2005 +@@ -1535,8 +1535,8 @@ + return NULL; + } + +-static void +-image_menu_shown (GtkWidget *image, gpointer data) ++static gboolean ++image_menu_exposed (GtkWidget *image, GdkEventExpose *event, gpointer data) + { + IconToLoad *new_icon; + IconToLoad *icon; +@@ -1545,7 +1545,7 @@ + + /* if we've already handled this */ + if (gtk_image_get_storage_type (GTK_IMAGE (image)) != GTK_IMAGE_EMPTY) +- return; ++ return FALSE; /* propagate event */ + + if (find_in_load_list (image) == NULL) { + new_icon = icon_to_load_copy (icon); +@@ -1554,6 +1554,8 @@ + } + if (load_icons_id == 0) + load_icons_id = g_idle_add (load_icons_handler, NULL); ++ ++ return FALSE; /* propagate event */ + } + + static void +@@ -1601,8 +1603,8 @@ + gtk_image_menu_item_set_image ( + GTK_IMAGE_MENU_ITEM (image_menu_item), image); + +- g_signal_connect_data (image, "map", +- G_CALLBACK (image_menu_shown), icon, ++ g_signal_connect_data (image, "expose-event", ++ G_CALLBACK (image_menu_exposed), icon, + (GClosureNotify) icon_to_load_free, 0); + + g_signal_connect (image, "destroy", |