From 94c9b7a07a9f6eab6c02376d614768391e008943 Mon Sep 17 00:00:00 2001 From: Peng Huang Date: Thu, 24 Dec 2009 13:59:27 +0800 Subject: [PATCH] Fix coding style and remove useless line. --- setup/enginecombobox.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/setup/enginecombobox.py b/setup/enginecombobox.py index aa52325..aa5df99 100644 --- a/setup/enginecombobox.py +++ b/setup/enginecombobox.py @@ -69,7 +69,7 @@ class EngineComboBox(gtk.ComboBox): keys = lang.keys() keys.sort() if ibus.get_language_name("Other") in keys: - keys.remove( ibus.get_language_name("Other")) + keys.remove(ibus.get_language_name("Other")) keys += [ibus.get_language_name("Other")] for l in keys: iter1 = self.__model.append(None) @@ -84,7 +84,6 @@ class EngineComboBox(gtk.ComboBox): def __icon_cell_data_cb(self, celllayout, renderer, model, iter): engine = self.__model.get_value(iter, 0) - icon_size = gtk.icon_size_lookup(gtk.ICON_SIZE_LARGE_TOOLBAR)[0] if isinstance(engine, str) or isinstance (engine, unicode): renderer.set_property("visible", False) renderer.set_property("sensitive", False) -- 2.7.4