+2003-01-06 Dani Carbonell <bocata@panete.net>
+
+ * dialogs.c (prefdialog_themelist): don't select a theme if we can't
+ find it in the current theme list.
+
2003-01-06 Jordi Mallach <jordi@sindominio.net>
* NEWS: updated for 0.5.1.
theme_select = i;
}
}
- gtk_tree_selection_select_iter (theme_selection, &iter_selected);
- prefdialog_themelistselect (theme_select);
+ if (theme_select != 0)
+ {
+ gtk_tree_selection_select_iter (theme_selection, &iter_selected);
+ prefdialog_themelistselect (theme_select);
+ }
}
void prefdialog_apply (GnomePropertyBox *dialog, gint pagenum)