How to set up gsettings sync for GTK_RADIO_MENU_ITEM ? (work with gtk_check_menu_item so maybe a bug)
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 :
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.
Question information
- Language:
- English Edit question
- Status:
- Expired
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: