[gnome-settings-daemon] keyboard: Fix left-over of previous commit



commit ba8aa41bea596bb30481e0fbd35c1f50e4d65472
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Jan 28 19:57:04 2011 +0000

    keyboard: Fix left-over of previous commit
    
    Finish fixing c15b16dc28600acf99954f9b8e48ea513e7e15f8

 plugins/keyboard/gsd-keyboard-xkb.c |    9 +--------
 1 files changed, 1 insertions(+), 8 deletions(-)
---
diff --git a/plugins/keyboard/gsd-keyboard-xkb.c b/plugins/keyboard/gsd-keyboard-xkb.c
index 55f834b..d510a48 100644
--- a/plugins/keyboard/gsd-keyboard-xkb.c
+++ b/plugins/keyboard/gsd-keyboard-xkb.c
@@ -315,20 +315,13 @@ show_hide_icon ()
 {
 	if (g_strv_length (current_kbd_config.layouts_variants) > 1) {
 		if (icon == NULL) {
-			if (g_settings_get_boolean (settings_plugin,
-						    DISABLE_INDICATOR_KEY))
+			if (g_settings_get_boolean (settings_plugin, DISABLE_INDICATOR_KEY))
 			{
 				xkl_debug (150,
 					   "Not creating keyboard status icon: disabled in GSettings\n");
 				return;
 			}
 
-			if (is_gnome_shell_env ()) {
-				xkl_debug (150,
-					   "Not creating keyboard status icon: running in gnome-shell session\n");
-				return;
-			}
-
 			xkl_debug (150, "Creating keyboard status icon\n");
 			icon = gkbd_status_new ();
 			gtk_status_icon_set_name (icon, "keyboard");



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