GSettings bindings works properly with GtkCheckMenuItem but get unidirectional binding for GtkRadioMenuItem
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GTK+ |
New
|
Undecided
|
Unassigned | ||
libappindicator (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Hello, I have a problem with the libappindicator3 and GTK3. It's maybe a bug.
I set up synchronization for a gtk_check_
Then I set up synchronisation for two GTK_RADIO_MENU_ITEM in a same group. But it doesn't work properly.
When I change the selected item, the group is changed, but GSettings doesn't get the new value.
When I change the value using the GTK interface which propose the whole set of options for this software, or using dconf-editor, the active GTK_RADIO_MENU_ITEM of the group is changed.
In a nutshell, we can say that in my code, G_SETTINGS_
I tried to replace it with G_SETTINGS_
Here a part of my code with the bindings between GSettings and the widgets (not actual code, but easier than the newer one so I give you this one) :
menu = gtk_menu_new ();
/* Live Wallpaper checkbutton */
ctl = gtk_check_
g_settings_bind ( g_settings_new ("apps.
"active", ctl, "active", G_SETTINGS_
gtk_menu_
/* Separator */
gtk_
/* Galaxy Plugins */
ctl = gtk_radio_
g_settings_bind ( g_settings_new ("apps.
"active", ctl, "active", G_SETTINGS_
group = gtk_radio_
gtk_menu_
/* Nexus Plugins */
ctl = gtk_radio_
g_settings_bind ( g_settings_new ("apps.
"active", ctl, "active", G_SETTINGS_
group = gtk_radio_
gtk_menu_
Thank you for helping me.
Yours faithfully.