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){
char *config_code = config(GRUB_PLAY_parameter);
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);
}

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

Loading…
Cancel
Save