diff options
-rw-r--r-- | capplets/appearance/appearance-themes.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/capplets/appearance/appearance-themes.c b/capplets/appearance/appearance-themes.c index 6f051051..807d6143 100644 --- a/capplets/appearance/appearance-themes.c +++ b/capplets/appearance/appearance-themes.c @@ -775,11 +775,11 @@ theme_selection_changed_cb (GtkWidget *icon_view, AppearanceData *data) g_free (name); g_list_foreach (selection, (GFunc) gtk_tree_path_free, NULL); g_list_free (selection); - } - gtk_widget_set_sensitive (appearance_capplet_get_widget (data, "theme_delete"), + gtk_widget_set_sensitive (appearance_capplet_get_widget (data, "theme_delete"), theme_is_writable (theme)); - gtk_widget_set_sensitive (appearance_capplet_get_widget (data, "theme_save"), is_custom); + gtk_widget_set_sensitive (appearance_capplet_get_widget (data, "theme_save"), is_custom); + } } static void |