Only delete the theme if the user pressed OK (bug #578694)
2009-04-11 Benjamin Berg <benjamin@sipsolutions.net> * theme-util.c: (theme_delete): Only delete the theme if the user pressed OK (bug #578694) svn path=/trunk/; revision=9408
This commit is contained in:
parent
91ab19351c
commit
346c3022b6
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2009-04-11 Benjamin Berg <benjamin@sipsolutions.net>
|
||||||
|
|
||||||
|
* theme-util.c: (theme_delete):
|
||||||
|
Only delete the theme if the user pressed OK (bug #578694)
|
||||||
|
|
||||||
2009-03-18 Jens Granseuer <jensgr@gmx.net>
|
2009-03-18 Jens Granseuer <jensgr@gmx.net>
|
||||||
|
|
||||||
* appearance-desktop.c: (wp_remove_wallpaper): after removing an
|
* appearance-desktop.c: (wp_remove_wallpaper): after removing an
|
||||||
|
|
|
@ -76,7 +76,7 @@ theme_delete (const gchar *name, ThemeType type)
|
||||||
gtk_dialog_add_button (dialog, GTK_STOCK_DELETE, GTK_RESPONSE_ACCEPT);
|
gtk_dialog_add_button (dialog, GTK_STOCK_DELETE, GTK_RESPONSE_ACCEPT);
|
||||||
response = gtk_dialog_run (dialog);
|
response = gtk_dialog_run (dialog);
|
||||||
gtk_widget_destroy (GTK_WIDGET (dialog));
|
gtk_widget_destroy (GTK_WIDGET (dialog));
|
||||||
if (response == GTK_RESPONSE_CANCEL)
|
if (response != GTK_RESPONSE_ACCEPT)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
/* Most theme types are put into separate subdirectories. For those
|
/* Most theme types are put into separate subdirectories. For those
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue