* src/ReportBase/_StyleEditor.py: Make style editor not modal

* src/glade/gramps.glade: Make style editor not modal

svn: r7334
This commit is contained in:
Brian Matherly 2006-09-28 03:29:23 +00:00
parent 546743f61f
commit ce5520455f
3 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2006-09-27 Brian Matherly <brian@gramps-project.org>
* src/ReportBase/_StyleEditor.py: Make style editor not modal
* src/glade/gramps.glade: Make style editor not modal
2006-09-26 Brian Matherly <brian@gramps-project.org>
* src/GrampsLogger/_ErrorReportAssistant.py: Fix typo.

View File

@ -215,6 +215,11 @@ class StyleEditor:
for p_name in names:
self.plist.add([p_name],self.style.get_style(p_name))
self.plist.select_row(0)
if self.parent:
self.window.set_transient_for(parent.window)
self.window.run()
self.window.destroy()
def draw(self,name,p):
"""Updates the display with the selected paragraph."""

View File

@ -2740,7 +2740,7 @@
<property name="title" translatable="yes"></property>
<property name="type">GTK_WINDOW_TOPLEVEL</property>
<property name="window_position">GTK_WIN_POS_NONE</property>
<property name="modal">True</property>
<property name="modal">False</property>
<property name="resizable">True</property>
<property name="destroy_with_parent">False</property>
<property name="decorated">True</property>