mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 13:11:13 +00:00
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)
This commit is contained in:
parent
f2936e2706
commit
ffd0459bc2
@ -1,5 +1,9 @@
|
|||||||
2006-08-17 Matthias Clasen <mclasen@redhat.com>
|
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)
|
||||||
|
|
||||||
* gtk/gtkprintoperation.c (print_pages, preview_ready): Queue
|
* gtk/gtkprintoperation.c (print_pages, preview_ready): Queue
|
||||||
printing idles at a low priority. (#348289, Yevgen Muntyan)
|
printing idles at a low priority. (#348289, Yevgen Muntyan)
|
||||||
|
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
2006-08-17 Matthias Clasen <mclasen@redhat.com>
|
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)
|
||||||
|
|
||||||
* gtk/gtkprintoperation.c (print_pages, preview_ready): Queue
|
* gtk/gtkprintoperation.c (print_pages, preview_ready): Queue
|
||||||
printing idles at a low priority. (#348289, Yevgen Muntyan)
|
printing idles at a low priority. (#348289, Yevgen Muntyan)
|
||||||
|
|
||||||
|
@ -439,7 +439,7 @@ _gtk_tray_icon_send_message (GtkTrayIcon *icon,
|
|||||||
|
|
||||||
/* Get ready to send the message */
|
/* Get ready to send the message */
|
||||||
gtk_tray_icon_send_manager_message (icon, SYSTEM_TRAY_BEGIN_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);
|
timeout, len, stamp);
|
||||||
|
|
||||||
/* Now to send the actual message */
|
/* 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)));
|
xdisplay = GDK_DISPLAY_XDISPLAY (gtk_widget_get_display (GTK_WIDGET (icon)));
|
||||||
|
|
||||||
ev.type = ClientMessage;
|
ev.type = ClientMessage;
|
||||||
ev.window = icon->priv->manager_window;
|
ev.window = (Window)gtk_plug_get_id (GTK_PLUG (icon));
|
||||||
ev.format = 8;
|
ev.format = 8;
|
||||||
ev.message_type = XInternAtom (xdisplay,
|
ev.message_type = XInternAtom (xdisplay,
|
||||||
"_NET_SYSTEM_TRAY_MESSAGE_DATA", False);
|
"_NET_SYSTEM_TRAY_MESSAGE_DATA", False);
|
||||||
@ -487,7 +487,7 @@ _gtk_tray_icon_cancel_message (GtkTrayIcon *icon,
|
|||||||
g_return_if_fail (id > 0);
|
g_return_if_fail (id > 0);
|
||||||
|
|
||||||
gtk_tray_icon_send_manager_message (icon, SYSTEM_TRAY_CANCEL_MESSAGE,
|
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);
|
id, 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user