* src/plugins/ChangeTypes.py: icon, window management, single instance.

* src/plugins/changetype.glade: delete event.
* src/plugins/ReorderIds.py: Disable for the time being.
* src/plugins/Eval.py: icon, window management, single instance.
* src/plugins/eval.glade: dialog.
* src/plugins/Leak.py: icon, window management, single instance.
* src/plugins/leak.glade: dialog.


svn: r4234
This commit is contained in:
Alex Roitman 2005-03-25 00:24:37 +00:00
parent 405ff3259b
commit 0f1878e639
8 changed files with 560 additions and 366 deletions

View File

@ -5,6 +5,14 @@
* src/plugins/summary.glade: non-modal dialog. * src/plugins/summary.glade: non-modal dialog.
* src/plugins/Verify.py (VerifyResults): Use title once. * src/plugins/Verify.py (VerifyResults): Use title once.
* src/plugins/ChangeTypes.py: icon, window management, single instance.
* src/plugins/changetype.glade: delete event.
* src/plugins/ReorderIds.py: Disable for the time being.
* src/plugins/Eval.py: icon, window management, single instance.
* src/plugins/eval.glade: dialog.
* src/plugins/Leak.py: icon, window management, single instance.
* src/plugins/leak.glade: dialog.
2005-03-24 Richard Taylor <rjt-gramps@thegrindstone.me.uk> 2005-03-24 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/DdTargets.py: new module to manage drag and drop target data. * src/DdTargets.py: new module to manage drag and drop target data.
* src/Makefile.am: added DdTargets.py * src/Makefile.am: added DdTargets.py

View File

@ -1,7 +1,7 @@
# #
# Gramps - a GTK+/GNOME based genealogy program # Gramps - a GTK+/GNOME based genealogy program
# #
# Copyright (C) 2000-2004 Donald N. Allingham # Copyright (C) 2000-2005 Donald N. Allingham
# #
# This program is free software; you can redistribute it and/or modify # This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
@ -22,14 +22,29 @@
"Database Processing/Rename personal event types" "Database Processing/Rename personal event types"
#------------------------------------------------------------------------
#
# standard python modules
#
#------------------------------------------------------------------------
import os import os
from gettext import gettext as _
#------------------------------------------------------------------------
#
# GNOME/GTK modules
#
#------------------------------------------------------------------------
import gtk import gtk
import gtk.glade import gtk.glade
#------------------------------------------------------------------------
#
# GRAMPS modules
#
#------------------------------------------------------------------------
import const import const
import Utils import Utils
from gettext import gettext as _
from QuestionDialog import OkDialog from QuestionDialog import OkDialog
import AutoComp import AutoComp
@ -54,6 +69,12 @@ class ChangeTypes:
def __init__(self,db,person,parent): def __init__(self,db,person,parent):
self.person = person self.person = person
self.db = db self.db = db
self.parent = parent
if self.parent.child_windows.has_key(self.__class__):
self.parent.child_windows[self.__class__].present(None)
return
self.win_key = self.__class__
self.trans = db.transaction_begin() self.trans = db.transaction_begin()
base = os.path.dirname(__file__) base = os.path.dirname(__file__)
glade_file = "%s/%s" % (base,"changetype.glade") glade_file = "%s/%s" % (base,"changetype.glade")
@ -65,15 +86,43 @@ class ChangeTypes:
AutoComp.fill_combo(self.auto1,const.personalEvents) AutoComp.fill_combo(self.auto1,const.personalEvents)
AutoComp.fill_combo(self.auto2,const.personalEvents) AutoComp.fill_combo(self.auto2,const.personalEvents)
Utils.set_titles(self.glade.get_widget('top'), self.title = _('Change Event Types')
self.window = self.glade.get_widget('top')
self.window.set_icon(self.parent.topWindow.get_icon())
Utils.set_titles(self.window,
self.glade.get_widget('title'), self.glade.get_widget('title'),
_('Change event types')) self.title)
self.glade.signal_autoconnect({ self.glade.signal_autoconnect({
"on_close_clicked" : Utils.destroy_passed_object, "on_close_clicked" : self.close,
"on_apply_clicked" : self.on_apply_clicked "on_delete_event" : self.on_delete_event,
"on_apply_clicked" : self.on_apply_clicked,
}) })
self.add_itself_to_menu()
self.window.show()
def on_delete_event(self,obj,b):
self.remove_itself_from_menu()
def close(self,obj):
self.remove_itself_from_menu()
self.window.destroy()
def add_itself_to_menu(self):
self.parent.child_windows[self.win_key] = self
self.parent_menu_item = gtk.MenuItem(self.title)
self.parent_menu_item.connect("activate",self.present)
self.parent_menu_item.show()
self.parent.winsmenu.append(self.parent_menu_item)
def remove_itself_from_menu(self):
del self.parent.child_windows[self.win_key]
self.parent_menu_item.destroy()
def present(self,obj):
self.window.present()
def on_apply_clicked(self,obj): def on_apply_clicked(self,obj):
modified = 0 modified = 0
original = unicode(self.auto1.child.get_text()) original = unicode(self.auto1.child.get_text())
@ -95,9 +144,9 @@ class ChangeTypes:
else: else:
msg = _("%d event records were modified") % modified msg = _("%d event records were modified") % modified
OkDialog(_('Change types'),msg) OkDialog(_('Change types'),msg,self.parent)
self.db.transaction_commit(self.trans,_('Change types')) self.db.transaction_commit(self.trans,_('Change types'))
Utils.destroy_passed_object(obj) self.close(None)
#------------------------------------------------------------------------ #------------------------------------------------------------------------
# #

View File

@ -1,7 +1,7 @@
# #
# Gramps - a GTK+/GNOME based genealogy program # Gramps - a GTK+/GNOME based genealogy program
# #
# Copyright (C) 2003-2004 Donald N. Allingham # Copyright (C) 2003-2005 Donald N. Allingham
# #
# This program is free software; you can redistribute it and/or modify # This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
@ -23,27 +23,50 @@
""" """
Provides a python evaluation window Provides a python evaluation window
""" """
#------------------------------------------------------------------------
#
# standard python modules
#
#------------------------------------------------------------------------
import os import os
import cStringIO import cStringIO
import sys import sys
from gettext import gettext as _
#------------------------------------------------------------------------
#
# GNOME/GTK modules
#
#------------------------------------------------------------------------
import gtk import gtk
import gtk.glade import gtk.glade
#------------------------------------------------------------------------
#
# GRAMPS modules
#
#------------------------------------------------------------------------
import Utils import Utils
from gettext import gettext as _ #-------------------------------------------------------------------------
#
# Actual tool
#
#-------------------------------------------------------------------------
class EvalWindow: class EvalWindow:
def __init__(self,parent): def __init__(self,parent):
self.parent = parent self.parent = parent
self.win_key = self if self.parent.child_windows.has_key(self.__class__):
self.parent.child_windows[self.__class__].present(None)
return
self.win_key = self.__class__
glade_file = "%s/%s" % (os.path.dirname(__file__),"eval.glade") glade_file = "%s/%s" % (os.path.dirname(__file__),"eval.glade")
self.glade = gtk.glade.XML(glade_file,"top","gramps") self.glade = gtk.glade.XML(glade_file,"top","gramps")
self.top = self.glade.get_widget("top") self.top = self.glade.get_widget("top")
self.top.set_icon(self.parent.topWindow.get_icon())
self.dbuf = self.glade.get_widget("display").get_buffer() self.dbuf = self.glade.get_widget("display").get_buffer()
self.ebuf = self.glade.get_widget("eval").get_buffer() self.ebuf = self.glade.get_widget("eval").get_buffer()
self.error = self.glade.get_widget("error").get_buffer() self.error = self.glade.get_widget("error").get_buffer()

View File

@ -1,7 +1,7 @@
# #
# Gramps - a GTK+/GNOME based genealogy program # Gramps - a GTK+/GNOME based genealogy program
# #
# Copyright (C) 2003-2004 Donald N. Allingham # Copyright (C) 2003-2005 Donald N. Allingham
# #
# This program is free software; you can redistribute it and/or modify # This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
@ -24,28 +24,58 @@
Show uncollected objects in a window. Show uncollected objects in a window.
""" """
#------------------------------------------------------------------------
#
# standard python modules
#
#------------------------------------------------------------------------
import os import os
from gettext import gettext as _
#------------------------------------------------------------------------
#
# GNOME/GTK modules
#
#------------------------------------------------------------------------
import gtk import gtk
import gtk.glade import gtk.glade
import gc import gc
import string
from gettext import gettext as _ #------------------------------------------------------------------------
#
# GRAMPS modules
#
#------------------------------------------------------------------------
import Utils
#-------------------------------------------------------------------------
#
# Actual tool
#
#-------------------------------------------------------------------------
class Leak: class Leak:
def __init__(self,parent): def __init__(self,parent):
self.parent = parent self.parent = parent
self.win_key = self if self.parent.child_windows.has_key(self.__class__):
self.parent.child_windows[self.__class__].present(None)
return
self.win_key = self.__class__
glade_file = "%s/%s" % (os.path.dirname(__file__),"leak.glade") glade_file = "%s/%s" % (os.path.dirname(__file__),"leak.glade")
self.glade = gtk.glade.XML(glade_file,"top","gramps") self.glade = gtk.glade.XML(glade_file,"top","gramps")
self.top = self.glade.get_widget("top") self.top = self.glade.get_widget("top")
self.top.set_icon(self.parent.topWindow.get_icon())
self.eval = self.glade.get_widget("eval") self.eval = self.glade.get_widget("eval")
self.ebuf = self.eval.get_buffer() self.ebuf = self.eval.get_buffer()
gc.set_debug(gc.DEBUG_UNCOLLECTABLE | gc.DEBUG_OBJECTS | gc.DEBUG_SAVEALL) gc.set_debug(gc.DEBUG_UNCOLLECTABLE | gc.DEBUG_OBJECTS | gc.DEBUG_SAVEALL)
self.title = _('Uncollected Objects Tool')
Utils.set_titles(self.top,
self.glade.get_widget('title'),
self.title)
self.glade.signal_autoconnect({ self.glade.signal_autoconnect({
"on_apply_clicked" : self.apply_clicked, "on_apply_clicked" : self.apply_clicked,
"on_delete_event" : self.on_delete_event, "on_delete_event" : self.on_delete_event,
@ -65,7 +95,7 @@ class Leak:
def add_itself_to_menu(self): def add_itself_to_menu(self):
self.parent.child_windows[self.win_key] = self self.parent.child_windows[self.win_key] = self
self.parent_menu_item = gtk.MenuItem(_('Uncollected objects')) self.parent_menu_item = gtk.MenuItem(self.title)
self.parent_menu_item.connect("activate",self.present) self.parent_menu_item.connect("activate",self.present)
self.parent_menu_item.show() self.parent_menu_item.show()
self.parent.winsmenu.append(self.parent_menu_item) self.parent.winsmenu.append(self.parent_menu_item)
@ -83,7 +113,7 @@ class Leak:
if len(gc.garbage): if len(gc.garbage):
for each in gc.garbage: for each in gc.garbage:
mylist.append(str(each)) mylist.append(str(each))
self.ebuf.set_text(_("Uncollected objects:\n\n") + string.join(mylist,'\n\n')) self.ebuf.set_text(_("Uncollected objects:\n\n") + '\n\n'.join(mylist))
else: else:
self.ebuf.set_text(_("No uncollected objects\n") + str(gc.get_debug())) self.ebuf.set_text(_("No uncollected objects\n") + str(gc.get_debug()))

View File

@ -1,7 +1,7 @@
# #
# Gramps - a GTK+/GNOME based genealogy program # Gramps - a GTK+/GNOME based genealogy program
# #
# Copyright (C) 2000-2004 Donald N. Allingham # Copyright (C) 2000-2005 Donald N. Allingham
# #
# This program is free software; you can redistribute it and/or modify # This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
@ -25,20 +25,44 @@ Change id IDs of all the elements in the database to conform to the
scheme specified in the database's prefix ids scheme specified in the database's prefix ids
""" """
#------------------------------------------------------------------------
#
# standard python modules
#
#------------------------------------------------------------------------
import re import re
import Utils
from gettext import gettext as _ from gettext import gettext as _
#------------------------------------------------------------------------
#
# GRAMPS modules
#
#------------------------------------------------------------------------
import Utils
from QuestionDialog import WarningDialog
_findint = re.compile('^[^\d]*(\d+)[^\d]*') _findint = re.compile('^[^\d]*(\d+)[^\d]*')
def runTool(db,active_person,callback,parent): def runTool(db,active_person,callback,parent):
"""Changed person, family, object, source, and place ids""" """Changed person, family, object, source, and place ids"""
#FIXME -- Remove when the tool is back from the dead
WarningDialog(_('Tool currently unavailable'),
_('This tool has not yet been brought up to date '
'after transition to the database, sorry.'),parent.topWindow)
return
#FIXME
try: try:
ReorderIds(db,callback) ReorderIds(db,callback)
except: except:
import DisplayTrace import DisplayTrace
DisplayTrace.DisplayTrace() DisplayTrace.DisplayTrace()
#-------------------------------------------------------------------------
#
# Actual tool
#
#-------------------------------------------------------------------------
class ReorderIds: class ReorderIds:
def __init__(self,db,callback): def __init__(self,db,callback):
@ -52,7 +76,7 @@ class ReorderIds:
self.reorder(db.get_place_handle_map(),db.pprefix,db.build_place_display) self.reorder(db.get_place_handle_map(),db.pprefix,db.build_place_display)
callback(1) callback(1)
def reorder_person(): def reorder_person(self):
dups = [] dups = []
newids = {} newids = {}
key_list = [] key_list = []

View File

@ -17,6 +17,7 @@
<property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property> <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
<property name="gravity">GDK_GRAVITY_NORTH_WEST</property> <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
<property name="has_separator">False</property> <property name="has_separator">False</property>
<signal name="delete_event" handler="on_delete_event" last_modification_time="Thu, 24 Mar 2005 23:20:46 GMT"/>
<child internal-child="vbox"> <child internal-child="vbox">
<widget class="GtkVBox" id="dialog-vbox2"> <widget class="GtkVBox" id="dialog-vbox2">

View File

@ -4,7 +4,7 @@
<glade-interface> <glade-interface>
<requires lib="gnome"/> <requires lib="gnome"/>
<widget class="GtkWindow" id="top"> <widget class="GtkDialog" id="top">
<property name="visible">True</property> <property name="visible">True</property>
<property name="title" translatable="yes"></property> <property name="title" translatable="yes"></property>
<property name="type">GTK_WINDOW_TOPLEVEL</property> <property name="type">GTK_WINDOW_TOPLEVEL</property>
@ -17,9 +17,71 @@
<property name="decorated">True</property> <property name="decorated">True</property>
<property name="skip_taskbar_hint">False</property> <property name="skip_taskbar_hint">False</property>
<property name="skip_pager_hint">False</property> <property name="skip_pager_hint">False</property>
<property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property> <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
<property name="gravity">GDK_GRAVITY_NORTH_WEST</property> <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
<signal name="delete_event" handler="on_delete_event" last_modification_time="Tue, 11 May 2004 01:57:33 GMT"/> <property name="has_separator">False</property>
<signal name="delete_event" handler="on_delete_event" last_modification_time="Fri, 25 Mar 2005 00:08:19 GMT"/>
<child internal-child="vbox">
<widget class="GtkVBox" id="dialog-vbox1">
<property name="visible">True</property>
<property name="homogeneous">False</property>
<property name="spacing">0</property>
<child internal-child="action_area">
<widget class="GtkHButtonBox" id="dialog-action_area1">
<property name="visible">True</property>
<property name="layout_style">GTK_BUTTONBOX_END</property>
<child>
<widget class="GtkButton" id="button1">
<property name="visible">True</property>
<property name="can_default">True</property>
<property name="can_focus">True</property>
<property name="label">gtk-clear</property>
<property name="use_stock">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<property name="response_id">0</property>
<signal name="clicked" handler="on_clear_clicked" last_modification_time="Sun, 11 May 2003 21:01:15 GMT"/>
</widget>
</child>
<child>
<widget class="GtkButton" id="button3">
<property name="visible">True</property>
<property name="can_default">True</property>
<property name="can_focus">True</property>
<property name="label">gtk-close</property>
<property name="use_stock">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<property name="response_id">0</property>
<signal name="clicked" handler="on_close_clicked" last_modification_time="Sun, 11 May 2003 21:01:38 GMT"/>
</widget>
</child>
<child>
<widget class="GtkButton" id="button2">
<property name="visible">True</property>
<property name="can_default">True</property>
<property name="can_focus">True</property>
<property name="label">gtk-execute</property>
<property name="use_stock">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<property name="response_id">0</property>
<signal name="clicked" handler="on_apply_clicked" last_modification_time="Sun, 11 May 2003 21:01:26 GMT"/>
</widget>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="pack_type">GTK_PACK_END</property>
</packing>
</child>
<child> <child>
<widget class="GtkVBox" id="vbox1"> <widget class="GtkVBox" id="vbox1">
@ -257,45 +319,6 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="layout_style">GTK_BUTTONBOX_END</property> <property name="layout_style">GTK_BUTTONBOX_END</property>
<property name="spacing">6</property> <property name="spacing">6</property>
<child>
<widget class="GtkButton" id="button1">
<property name="visible">True</property>
<property name="can_default">True</property>
<property name="can_focus">True</property>
<property name="label">gtk-clear</property>
<property name="use_stock">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<signal name="clicked" handler="on_clear_clicked" last_modification_time="Sun, 11 May 2003 21:01:15 GMT"/>
</widget>
</child>
<child>
<widget class="GtkButton" id="button3">
<property name="visible">True</property>
<property name="can_default">True</property>
<property name="can_focus">True</property>
<property name="label">gtk-close</property>
<property name="use_stock">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<signal name="clicked" handler="on_close_clicked" last_modification_time="Sun, 11 May 2003 21:01:38 GMT"/>
</widget>
</child>
<child>
<widget class="GtkButton" id="button2">
<property name="visible">True</property>
<property name="can_default">True</property>
<property name="can_focus">True</property>
<property name="label">gtk-execute</property>
<property name="use_stock">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<signal name="clicked" handler="on_apply_clicked" last_modification_time="Sun, 11 May 2003 21:01:26 GMT"/>
</widget>
</child>
</widget> </widget>
<packing> <packing>
<property name="padding">0</property> <property name="padding">0</property>
@ -304,6 +327,13 @@
</packing> </packing>
</child> </child>
</widget> </widget>
<packing>
<property name="padding">0</property>
<property name="expand">True</property>
<property name="fill">True</property>
</packing>
</child>
</widget>
</child> </child>
</widget> </widget>

View File

@ -4,7 +4,7 @@
<glade-interface> <glade-interface>
<requires lib="gnome"/> <requires lib="gnome"/>
<widget class="GtkWindow" id="top"> <widget class="GtkDialog" id="top">
<property name="visible">True</property> <property name="visible">True</property>
<property name="title" translatable="yes"></property> <property name="title" translatable="yes"></property>
<property name="type">GTK_WINDOW_TOPLEVEL</property> <property name="type">GTK_WINDOW_TOPLEVEL</property>
@ -17,9 +17,57 @@
<property name="decorated">True</property> <property name="decorated">True</property>
<property name="skip_taskbar_hint">False</property> <property name="skip_taskbar_hint">False</property>
<property name="skip_pager_hint">False</property> <property name="skip_pager_hint">False</property>
<property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property> <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
<property name="gravity">GDK_GRAVITY_NORTH_WEST</property> <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
<signal name="delete_event" handler="on_delete_event" last_modification_time="Tue, 11 May 2004 02:16:52 GMT"/> <property name="has_separator">False</property>
<signal name="delete_event" handler="on_delete_event" last_modification_time="Fri, 25 Mar 2005 00:15:07 GMT"/>
<child internal-child="vbox">
<widget class="GtkVBox" id="dialog-vbox1">
<property name="visible">True</property>
<property name="homogeneous">False</property>
<property name="spacing">0</property>
<child internal-child="action_area">
<widget class="GtkHButtonBox" id="dialog-action_area1">
<property name="visible">True</property>
<property name="layout_style">GTK_BUTTONBOX_END</property>
<child>
<widget class="GtkButton" id="button2">
<property name="visible">True</property>
<property name="can_default">True</property>
<property name="can_focus">True</property>
<property name="label">gtk-refresh</property>
<property name="use_stock">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<property name="response_id">0</property>
<signal name="clicked" handler="on_apply_clicked" last_modification_time="Sun, 11 May 2003 21:01:26 GMT"/>
</widget>
</child>
<child>
<widget class="GtkButton" id="button3">
<property name="visible">True</property>
<property name="can_default">True</property>
<property name="can_focus">True</property>
<property name="label">gtk-close</property>
<property name="use_stock">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<property name="response_id">0</property>
<signal name="clicked" handler="on_close_clicked" last_modification_time="Sun, 11 May 2003 21:01:38 GMT"/>
</widget>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="pack_type">GTK_PACK_END</property>
</packing>
</child>
<child> <child>
<widget class="GtkVBox" id="vbox1"> <widget class="GtkVBox" id="vbox1">
@ -133,32 +181,6 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="layout_style">GTK_BUTTONBOX_END</property> <property name="layout_style">GTK_BUTTONBOX_END</property>
<property name="spacing">6</property> <property name="spacing">6</property>
<child>
<widget class="GtkButton" id="button2">
<property name="visible">True</property>
<property name="can_default">True</property>
<property name="can_focus">True</property>
<property name="label">gtk-refresh</property>
<property name="use_stock">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<signal name="clicked" handler="on_apply_clicked" last_modification_time="Sun, 11 May 2003 21:01:26 GMT"/>
</widget>
</child>
<child>
<widget class="GtkButton" id="button3">
<property name="visible">True</property>
<property name="can_default">True</property>
<property name="can_focus">True</property>
<property name="label">gtk-close</property>
<property name="use_stock">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<signal name="clicked" handler="on_close_clicked" last_modification_time="Sun, 11 May 2003 21:01:38 GMT"/>
</widget>
</child>
</widget> </widget>
<packing> <packing>
<property name="padding">0</property> <property name="padding">0</property>
@ -167,6 +189,13 @@
</packing> </packing>
</child> </child>
</widget> </widget>
<packing>
<property name="padding">0</property>
<property name="expand">True</property>
<property name="fill">True</property>
</packing>
</child>
</widget>
</child> </child>
</widget> </widget>