[libgnomekbd] Provide the proper place in NA by using the name



commit 700d5439bae78220fcc09c443376b8341d8dddcc
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

 libgnomekbd/gkbd-status.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/libgnomekbd/gkbd-status.c b/libgnomekbd/gkbd-status.c
index 90731af..dbe65ee 100644
--- a/libgnomekbd/gkbd-status.c
+++ b/libgnomekbd/gkbd-status.c
@@ -631,6 +631,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);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]