fix some coding standards

This commit is contained in:
Yann Leboulanger 2009-06-21 21:27:51 +02:00
parent 38fa0be12a
commit c6214c51b4

View file

@ -275,7 +275,7 @@ class ChooseGPGKeyDialog:
#columns #columns
renderer = gtk.CellRendererText() renderer = gtk.CellRendererText()
col = self.keys_treeview.insert_column_with_attributes(-1, _('KeyID'), col = self.keys_treeview.insert_column_with_attributes(-1, _('KeyID'),
renderer, text = 0) renderer, text=0)
col.set_sort_column_id(0) col.set_sort_column_id(0)
renderer = gtk.CellRendererText() renderer = gtk.CellRendererText()
col = self.keys_treeview.insert_column_with_attributes(-1, col = self.keys_treeview.insert_column_with_attributes(-1,
@ -358,8 +358,8 @@ class ChangeActivityDialog:
rbtns[act] = group = gtk.RadioButton() rbtns[act] = group = gtk.RadioButton()
hbox = gtk.HBox(False, 5) hbox = gtk.HBox(False, 5)
hbox.pack_start(gtkgui_helpers.load_activity_icon(category), hbox.pack_start(gtkgui_helpers.load_activity_icon(category), False,
False, False, 0) False, 0)
lbl = gtk.Label('<b>' + pep.ACTIVITIES[category]['category'] + '</b>') lbl = gtk.Label('<b>' + pep.ACTIVITIES[category]['category'] + '</b>')
lbl.set_use_markup(True) lbl.set_use_markup(True)
hbox.pack_start(lbl, False, False, 0) hbox.pack_start(lbl, False, False, 0)