Re: [gdm-list] [gdm-2.30] disabled "Languages:", "Keyborad Layout:" and "Sessions:" widgets on greeter panel



 On 08/25/2010 03:50 PM, Jacek Migacz wrote:
   I'm running /gui/simple-greeter/test-greeter-panel and sessions
drop-down is disabled.
While I'm trying to debug sooner or later i getting lost in the forest
of preprocessor macros.
However I could see he is reading .desktop definitions and "gnome" label
was visible at some point.
Stracing does'n help me with it as well.

Only traces i have (not not necessarily useful) are:

** (test-greeter-panel:22845): DEBUG:
"/usr/share/xsessions/guest-restricted.desktop" is hidden or contains
non-executable TryExec program

** (test-greeter-panel:22845): DEBUG:
"/usr/share/xsessions/une-guest-restricted.desktop" is hidden or
contains non-executable TryExec program

** (test-greeter-panel:22845): DEBUG:
"/usr/share/xsessions/une-efl-guest-restricted.desktop" is hidden or
contains non-executable TryExec program

Question is why "select widget" is shaded?


The answer is - because it's unsensitived by gdm_option_widget_init(GdmOptionWidget *).

/* We disable the combo box until it has a default */
gtk_widget_set_sensitive (widget->priv->items_combo_box, FALSE);

However what is "the dafault"?
g_signal_connect (widget, "notify::default-item", G_CALLBACK (on_default_item_changed), NULL);
Well, when the widget is notified::default-item it should became sensiitive.
Who triggers that signal?


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