2008-02-19 Benny Malengier c <benny.malengier@gramps-project.org>

* src/plugins/SimpleBookTitle.py: remove select file button



svn: r10064
This commit is contained in:
Benny Malengier 2008-02-19 09:36:50 +00:00
parent b6687ee12e
commit 49d0e309fe
2 changed files with 9 additions and 6 deletions

View File

@ -1,3 +1,6 @@
2008-02-19 Benny Malengier c <benny.malengier@gramps-project.org>
* src/plugins/SimpleBookTitle.py: remove select file button
2008-02-19 Benny Malengier b <benny.malengier@gramps-project.org>
* src/Bookmarks.py:
* src/gramps_main.py:

View File

@ -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)