Refactoring. ManagedWindow now controls window sizing

svn: r11905
This commit is contained in:
Gary Burton
2009-02-07 22:54:16 +00:00
parent 326ecebad4
commit 4530bd5cb9
23 changed files with 87 additions and 132 deletions

View File

@@ -2,6 +2,7 @@
# Gramps - a GTK+/GNOME based genealogy program
#
# Copyright (C) 2000-2006 Donald N. Allingham
# 2009 Gary Burton
#
# 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
@@ -55,15 +56,14 @@ from _EditReference import RefTab, EditReference
#-------------------------------------------------------------------------
class EditRepoRef(EditReference):
WIDTH_KEY = Config.REPO_REF_WIDTH
HEIGHT_KEY = Config.REPO_REF_HEIGHT
def __init__(self, state, uistate, track, source, source_ref, update):
EditReference.__init__(self, state, uistate, track, source,
source_ref, update)
def _local_init(self):
self.width_key = Config.REPO_REF_WIDTH
self.height_key = Config.REPO_REF_HEIGHT
self.top = glade.XML(const.GLADE_FILE, "repository_ref_edit","gramps")