diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2007-03-13 17:03:54 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@src.gnome.org> | 2007-03-13 17:03:54 +0000 |
commit | 87c28d778aeb173bede7a88029c76ccf5da04c09 (patch) | |
tree | a22bce1482aa547f6d66e06797987c5f4cf097d4 /gdk/gdk.h | |
parent | 500435f2f95c0fcc5fa3e49fa8c7814e5046aaf5 (diff) | |
download | gtk+-87c28d778aeb173bede7a88029c76ccf5da04c09.tar.gz |
Apply patch by Vytautas Liuolia for changing the startup notification id
2007-03-13 Emmanuele Bassi <ebassi@gnome.org>
Apply patch by Vytautas Liuolia for changing the startup
notification id on a window in the X11 backend. (#347375)
* gdk/gdk.h:
* gdk/gdkx.h:
* gdk/x11/gdkdisplay-x11.c: Add gdk_notify_startup_complete_wit_id()
and gdk_x11_display_get_startup_notification_id().
* gdk/gdkwindow.h:
* gdk/x11/gdkwindow-x11.c: Add gdk_window_set_startup_id().
* gtk/gtkwindow.h:
* gtk/gtkwindow.c: Add gtk_window_set_startup_id(), used to
change the startup notification id.
(gtk_window_class_init), (gtk_window_init),
(gtk_window_set_property): Add write-only "startup-id" property
to GtkWindow.
(gtk_window_realize): Set the startup notification id
on a GtkWindow if it's valid.
(gtk_window_map): If we have another valid startup notification
id then finish the notification process.
svn path=/trunk/; revision=17508
Diffstat (limited to 'gdk/gdk.h')
-rw-r--r-- | gdk/gdk.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -177,6 +177,8 @@ gboolean gdk_event_send_client_message_for_display (GdkDisplay *display, void gdk_notify_startup_complete (void); +void gdk_notify_startup_complete_with_id (const gchar* startup_id); + /* Threading */ |