From 49d0e309fe7370f7e35516070f5cd0445f2064ef Mon Sep 17 00:00:00 2001 From: Benny Malengier Date: Tue, 19 Feb 2008 09:36:50 +0000 Subject: [PATCH] 2008-02-19 Benny Malengier c * src/plugins/SimpleBookTitle.py: remove select file button svn: r10064 --- ChangeLog | 3 +++ src/plugins/SimpleBookTitle.py | 12 ++++++------ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index c85d8de22..59292f3e2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2008-02-19 Benny Malengier c + * src/plugins/SimpleBookTitle.py: remove select file button + 2008-02-19 Benny Malengier b * src/Bookmarks.py: * src/gramps_main.py: diff --git a/src/plugins/SimpleBookTitle.py b/src/plugins/SimpleBookTitle.py index 4f584ab0c..a0d23e352 100644 --- a/src/plugins/SimpleBookTitle.py +++ b/src/plugins/SimpleBookTitle.py @@ -185,16 +185,16 @@ class SimpleBookTitleOptions(ReportOptions): select_obj_button = gtk.Button(_('From gallery...')) select_obj_button.connect('clicked',self.select_obj,dialog) - select_file_button = gtk.Button(_('From file...')) - select_file_button.connect('clicked',self.select_file,dialog) - select_table = gtk.Table(1,3) + #select_file_button = gtk.Button(_('From file...')) + #select_file_button.connect('clicked',self.select_file,dialog) + select_table = gtk.Table(1,2) select_table.set_col_spacings(10) select_table.attach(select_obj_button, 0,1,0,1,gtk.SHRINK|gtk.FILL,gtk.SHRINK|gtk.FILL) - select_table.attach(select_file_button, - 1,2,0,1,gtk.SHRINK|gtk.FILL,gtk.SHRINK|gtk.FILL) + #select_table.attach(select_file_button, + # 1,2,0,1,gtk.SHRINK|gtk.FILL,gtk.SHRINK|gtk.FILL) select_table.attach(self.remove_obj_button, - 2,3,0,1,gtk.SHRINK|gtk.FILL,gtk.SHRINK|gtk.FILL) + 1,2,0,1,gtk.SHRINK|gtk.FILL,gtk.SHRINK|gtk.FILL) self.size = gtk.SpinButton() self.size.set_digits(2)