remove 3 duplicated lines

This commit is contained in:
Yann Leboulanger 2009-08-06 18:35:52 +02:00
parent ca0b16f62b
commit b9d4611fda

View file

@ -131,9 +131,6 @@ class GajimThemesWindow:
theme = model[iter_][0] theme = model[iter_][0]
if theme == active_theme: if theme == active_theme:
self.themes_tree.get_selection().select_iter(iter_) self.themes_tree.get_selection().select_iter(iter_)
self.xml.get_widget('remove_button').set_sensitive(True)
self.theme_options_vbox.set_sensitive(True)
self.theme_options_table.set_sensitive(True)
if active_theme == 'default': if active_theme == 'default':
self.xml.get_widget('remove_button').set_sensitive(False) self.xml.get_widget('remove_button').set_sensitive(False)
self.theme_options_vbox.set_sensitive(False) self.theme_options_vbox.set_sensitive(False)