summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'gnome-base/libgnomekbd/files/libgnomekbd-2.30.1-notification-area.patch')
-rw-r--r--gnome-base/libgnomekbd/files/libgnomekbd-2.30.1-notification-area.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnome-base/libgnomekbd/files/libgnomekbd-2.30.1-notification-area.patch b/gnome-base/libgnomekbd/files/libgnomekbd-2.30.1-notification-area.patch
new file mode 100644
index 000000000000..9acda770ea9f
--- /dev/null
+++ b/gnome-base/libgnomekbd/files/libgnomekbd-2.30.1-notification-area.patch
@@ -0,0 +1,24 @@
+From 8dbeec103124f9de1ed515ef50ff79eff3ecd52c Mon Sep 17 00:00:00 2001
+From: Sergey V. Udaltsov <svu@gnome.org>
+Date: Sun, 25 Apr 2010 22:59:53 +0000
+Subject: 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);
+
+--
+cgit v0.8.3.1