Furthermore, I don't see why the mecanism for disabling the indicator from 
showing in the tray would not work or would not be implemented (as stated in 
other threads about this indicator): in my opinion, the code for handling the 
gconf key /desktop/gnome/peripherals/keyboard/general/disable_indicator is 
implemented in the source code package gnome-settings-daemon-2.32.1.
Here is the code in gsd-keyboard-xkb.c (gnome-settings-daemon/plugins/keyboard) 
handling that key:

static void
show_hide_icon ()
{
        if (g_slist_length (current_kbd_config.layouts_variants) > 1) {
                if (icon == NULL) {
                        GConfClient *conf_client =
                            gconf_client_get_default ();
                        gboolean disable =
                            gconf_client_get_bool (conf_client,
                                                   DISABLE_INDICATOR_KEY,
                                                   NULL);
                        g_object_unref (conf_client);
                        if (disable)
                                return;

                        xkl_debug (150, "Creating new icon\n");
                        icon = gkbd_status_new ();
                        g_signal_connect (icon, "popup-menu",
                                          G_CALLBACK
                                          (status_icon_popup_menu_cb),
                                          NULL);

                }
        } else {
                if (icon != NULL) {
                        xkl_debug (150, "Destroying icon\n");
                        g_object_unref (icon);
                        icon = NULL;
                }
        }
}

Perhaps this function is not doing what it should ? Now it's up to the
developper or maintainer of the code to check about that.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/779509

Title:
  keyboard layout settings not remembered

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to