Changed ringtone radio button to check button; Fixed ringtone deleting

pull/114/head
parent 8abc081920
commit 7e868c2be3

@ -113,7 +113,7 @@ void on_ringtone_remove_clicked(GtkWidget *,main_window *widgets){
if (yon_confirmation_dialog_call(widgets->Window,data)==GTK_RESPONSE_ACCEPT){ if (yon_confirmation_dialog_call(widgets->Window,data)==GTK_RESPONSE_ACCEPT){
char *config_code = config(GRUB_PLAY_parameter); char *config_code = config(GRUB_PLAY_parameter);
yon_window_config_erase_instant_parameter(name,"melodies"); yon_window_config_erase_instant_parameter(name,"melodies");
if (!yon_char_is_empty(config_code)&&strcmp(code,config_code)){ if (!yon_char_is_empty(config_code)&&!strcmp(code,config_code)){
yon_config_remove_by_key(GRUB_PLAY_parameter); yon_config_remove_by_key(GRUB_PLAY_parameter);
} }

@ -502,9 +502,7 @@
<child> <child>
<object class="GtkTreeViewColumn"> <object class="GtkTreeViewColumn">
<child> <child>
<object class="GtkCellRendererToggle" id="MelodyChosenCellRenderer"> <object class="GtkCellRendererToggle" id="MelodyChosenCellRenderer"/>
<property name="radio">True</property>
</object>
<attributes> <attributes>
<attribute name="active">0</attribute> <attribute name="active">0</attribute>
</attributes> </attributes>

Loading…
Cancel
Save