From f5895ebb73197ed78401b16260e744709a92a994 Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Mon, 13 Aug 2012 22:39:05 +0000 Subject: [PATCH] Fix Gtk3 conversion error svn: r20202 --- src/plugins/gramplet/repositorydetails.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/plugins/gramplet/repositorydetails.py b/src/plugins/gramplet/repositorydetails.py index ca16d59b8..041db363f 100644 --- a/src/plugins/gramplet/repositorydetails.py +++ b/src/plugins/gramplet/repositorydetails.py @@ -45,7 +45,7 @@ class RepositoryDetails(Gramplet): self.name.modify_font(Pango.FontDescription('sans bold 12')) vbox.pack_start(self.name, fill=True, expand=False, padding=7) self.table = Gtk.Table(1, 2) - vbox.pack_start(self.table, fill=True, expand=False, '') + vbox.pack_start(self.table, fill=True, expand=False, padding=0) self.top.pack_start(vbox, fill=True, expand=False, padding=10) self.top.show_all() return self.top @@ -63,8 +63,8 @@ class RepositoryDetails(Gramplet): rows = self.table.get_property('n-rows') rows += 1 self.table.resize(rows, 2) - self.table.attach(label, 0, 1, rows, rows + 1, xoptions=Gtk.AttachOptions.FILL, - xpadding=10) + self.table.attach(label, 0, 1, rows, rows + 1, + xoptions=Gtk.AttachOptions.FILL, xpadding=10) self.table.attach(value, 1, 2, rows, rows + 1) def clear_table(self): @@ -147,4 +147,5 @@ class RepositoryDetails(Gramplet): rows = self.table.get_property('n-rows') rows += 1 self.table.resize(rows, 2) - self.table.attach(label, 0, 1, rows, rows + 1, xoptions=Gtk.AttachOptions.FILL) + self.table.attach(label, 0, 1, rows, rows + 1, + xoptions=Gtk.AttachOptions.FILL)