gnome-control-center r9408 - trunk/capplets/appearance
- From: bberg svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-control-center r9408 - trunk/capplets/appearance
- Date: Sat, 11 Apr 2009 16:20:38 +0000 (UTC)
Author: bberg
Date: Sat Apr 11 16:20:38 2009
New Revision: 9408
URL: http://svn.gnome.org/viewvc/gnome-control-center?rev=9408&view=rev
Log:
2009-04-11 Benjamin Berg <benjamin sipsolutions net>
* theme-util.c: (theme_delete):
Only delete the theme if the user pressed OK (bug #578694)
Modified:
trunk/capplets/appearance/ChangeLog
trunk/capplets/appearance/theme-util.c
Modified: trunk/capplets/appearance/theme-util.c
==============================================================================
--- trunk/capplets/appearance/theme-util.c (original)
+++ trunk/capplets/appearance/theme-util.c Sat Apr 11 16:20:38 2009
@@ -76,7 +76,7 @@
gtk_dialog_add_button (dialog, GTK_STOCK_DELETE, GTK_RESPONSE_ACCEPT);
response = gtk_dialog_run (dialog);
gtk_widget_destroy (GTK_WIDGET (dialog));
- if (response == GTK_RESPONSE_CANCEL)
+ if (response != GTK_RESPONSE_ACCEPT)
return FALSE;
/* Most theme types are put into separate subdirectories. For those
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]