diff options
author | Matthias Clasen <mclasen@redhat.com> | 2006-08-17 17:35:55 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2006-08-17 17:35:55 +0000 |
commit | ffd0459bc213606723c3b15983707ce22e805f08 (patch) | |
tree | bbc848b2fcd9a6b0ee37b1a1826d269f9ba2992f /gtk | |
parent | f2936e270651626f4756593a55fcadc3e6a3a234 (diff) | |
download | gdk-pixbuf-ffd0459bc213606723c3b15983707ce22e805f08.tar.gz |
Fix the ClientMessages we are sending to the notification area to be more
2006-08-17 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktrayicon-x11.c: Fix the ClientMessages we are
sending to the notification area to be more in sync with
the systray spec. (#350860, Wincent Untz)
Diffstat (limited to 'gtk')
-rwxr-xr-x | gtk/gtktrayicon-x11.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtktrayicon-x11.c b/gtk/gtktrayicon-x11.c index 1c44ca0cb..e85ad9c08 100755 --- a/gtk/gtktrayicon-x11.c +++ b/gtk/gtktrayicon-x11.c @@ -439,7 +439,7 @@ _gtk_tray_icon_send_message (GtkTrayIcon *icon, /* Get ready to send the message */ gtk_tray_icon_send_manager_message (icon, SYSTEM_TRAY_BEGIN_MESSAGE, - icon->priv->manager_window, + (Window)gtk_plug_get_id (GTK_PLUG (icon)), timeout, len, stamp); /* Now to send the actual message */ @@ -452,7 +452,7 @@ _gtk_tray_icon_send_message (GtkTrayIcon *icon, xdisplay = GDK_DISPLAY_XDISPLAY (gtk_widget_get_display (GTK_WIDGET (icon))); ev.type = ClientMessage; - ev.window = icon->priv->manager_window; + ev.window = (Window)gtk_plug_get_id (GTK_PLUG (icon)); ev.format = 8; ev.message_type = XInternAtom (xdisplay, "_NET_SYSTEM_TRAY_MESSAGE_DATA", False); @@ -487,7 +487,7 @@ _gtk_tray_icon_cancel_message (GtkTrayIcon *icon, g_return_if_fail (id > 0); gtk_tray_icon_send_manager_message (icon, SYSTEM_TRAY_CANCEL_MESSAGE, - icon->priv->manager_window, + (Window)gtk_plug_get_id (GTK_PLUG (icon)), id, 0, 0); } |