* src/DisplayTabs.py: fix scrolled window
* src/EditFamily.py: delete button * src/gramps.glade: clean up the window. svn: r5752
This commit is contained in:
parent
8f43528b12
commit
84394c8805
@ -1,3 +1,8 @@
|
|||||||
|
2006-01-14 Don Allingham <don@gramps-project.org>
|
||||||
|
* src/DisplayTabs.py: fix scrolled window
|
||||||
|
* src/EditFamily.py: delete button
|
||||||
|
* src/gramps.glade: clean up the window.
|
||||||
|
|
||||||
2006-01-13 Don Allingham <don@gramps-project.org>
|
2006-01-13 Don Allingham <don@gramps-project.org>
|
||||||
* src/const.py.in: remove unused variables
|
* src/const.py.in: remove unused variables
|
||||||
* src/gramps.glade: remove unused dialogs
|
* src/gramps.glade: remove unused dialogs
|
||||||
|
@ -51,8 +51,9 @@ class EmbeddedList(gtk.HBox):
|
|||||||
self.selection.connect('changed',self.selection_changed)
|
self.selection.connect('changed',self.selection_changed)
|
||||||
|
|
||||||
scroll = gtk.ScrolledWindow()
|
scroll = gtk.ScrolledWindow()
|
||||||
|
scroll.set_shadow_type(gtk.SHADOW_IN)
|
||||||
scroll.set_policy(gtk.POLICY_AUTOMATIC,gtk.POLICY_AUTOMATIC)
|
scroll.set_policy(gtk.POLICY_AUTOMATIC,gtk.POLICY_AUTOMATIC)
|
||||||
scroll.add_with_viewport(self.tree)
|
scroll.add(self.tree)
|
||||||
self.pack_start(scroll,True)
|
self.pack_start(scroll,True)
|
||||||
self.columns = []
|
self.columns = []
|
||||||
self.build_columns()
|
self.build_columns()
|
||||||
|
@ -145,7 +145,10 @@ class ChildEmbedList(DisplayTabs.EmbeddedList):
|
|||||||
print "Add Button Clicked"
|
print "Add Button Clicked"
|
||||||
|
|
||||||
def del_button_clicked(self,obj):
|
def del_button_clicked(self,obj):
|
||||||
print "Del Button Clicked"
|
handle = self.get_selected()
|
||||||
|
if handle:
|
||||||
|
self.family.remove_child_handle(handle)
|
||||||
|
self.rebuild()
|
||||||
|
|
||||||
def edit_button_clicked(self,obj):
|
def edit_button_clicked(self,obj):
|
||||||
handle = self.get_selected()
|
handle = self.get_selected()
|
||||||
|
@ -2234,7 +2234,7 @@
|
|||||||
<property name="border_width">6</property>
|
<property name="border_width">6</property>
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="n_rows">3</property>
|
<property name="n_rows">3</property>
|
||||||
<property name="n_columns">8</property>
|
<property name="n_columns">3</property>
|
||||||
<property name="homogeneous">False</property>
|
<property name="homogeneous">False</property>
|
||||||
<property name="row_spacing">6</property>
|
<property name="row_spacing">6</property>
|
||||||
<property name="column_spacing">12</property>
|
<property name="column_spacing">12</property>
|
||||||
@ -2259,7 +2259,7 @@
|
|||||||
</widget>
|
</widget>
|
||||||
<packing>
|
<packing>
|
||||||
<property name="left_attach">0</property>
|
<property name="left_attach">0</property>
|
||||||
<property name="right_attach">8</property>
|
<property name="right_attach">3</property>
|
||||||
<property name="top_attach">0</property>
|
<property name="top_attach">0</property>
|
||||||
<property name="bottom_attach">1</property>
|
<property name="bottom_attach">1</property>
|
||||||
<property name="x_options">fill</property>
|
<property name="x_options">fill</property>
|
||||||
@ -2333,7 +2333,7 @@
|
|||||||
</widget>
|
</widget>
|
||||||
<packing>
|
<packing>
|
||||||
<property name="left_attach">2</property>
|
<property name="left_attach">2</property>
|
||||||
<property name="right_attach">8</property>
|
<property name="right_attach">3</property>
|
||||||
<property name="top_attach">2</property>
|
<property name="top_attach">2</property>
|
||||||
<property name="bottom_attach">3</property>
|
<property name="bottom_attach">3</property>
|
||||||
<property name="x_options">fill</property>
|
<property name="x_options">fill</property>
|
||||||
@ -2355,9 +2355,10 @@
|
|||||||
</widget>
|
</widget>
|
||||||
<packing>
|
<packing>
|
||||||
<property name="left_attach">2</property>
|
<property name="left_attach">2</property>
|
||||||
<property name="right_attach">8</property>
|
<property name="right_attach">3</property>
|
||||||
<property name="top_attach">1</property>
|
<property name="top_attach">1</property>
|
||||||
<property name="bottom_attach">2</property>
|
<property name="bottom_attach">2</property>
|
||||||
|
<property name="x_options">fill</property>
|
||||||
<property name="y_options"></property>
|
<property name="y_options"></property>
|
||||||
</packing>
|
</packing>
|
||||||
</child>
|
</child>
|
||||||
|
Loading…
Reference in New Issue
Block a user