libgnomekbd/libgnomekbd-proper-notification-name.patch
Vincent Untz 93a47671c5 Accepting request 41706 from home:vuntz:branches:GNOME:Factory
Copy from home:vuntz:branches:GNOME:Factory/libgnomekbd via accept of submit request 41706 revision 3.
Request was accepted with message:
Forwarding to openSUSE:Factory

OBS-URL: https://build.opensuse.org/request/show/41706
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libgnomekbd?expand=0&rev=35
2010-06-18 11:08:44 +00:00

24 lines
779 B
Diff

commit 8dbeec103124f9de1ed515ef50ff79eff3ecd52c
Author: Sergey V. Udaltsov <svu@gnome.org>
Date: Sun Apr 25 23:59:53 2010 +0100
Provide the proper place in NA by using the name
The name "keyboard" is known to the NA applet - so it positions the icon
properly, on the right side, after all apps
diff --git a/libgnomekbd/gkbd-status.c b/libgnomekbd/gkbd-status.c
index efcad6a..5e62ae9 100644
--- a/libgnomekbd/gkbd-status.c
+++ b/libgnomekbd/gkbd-status.c
@@ -632,6 +632,9 @@ gkbd_status_init (GkbdStatus * gki)
gki->priv = g_new0 (GkbdStatusPrivate, 1);
+ /* This should give NA a hint about the order */
+ gtk_status_icon_set_name (GTK_STATUS_ICON(gki), "keyboard");
+
xkl_debug (100, "Initiating the widget startup process for %p\n",
gki);