From 6df8226f115d84b58af53bce8caf4657ad9265db Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Sun, 24 Jul 2011 23:38:49 +0000 Subject: [PATCH] Add width and height configuration settings svn: r17961 --- src/config.py | 4 ++++ src/gui/editors/editcitation.py | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/config.py b/src/config.py index 7318a1cdf..73fbe8280 100644 --- a/src/config.py +++ b/src/config.py @@ -178,6 +178,10 @@ register('interface.attribute-height', 350) register('interface.attribute-width', 600) register('interface.child-ref-height', 450) register('interface.child-ref-width', 600) +register('interface.citation-height', 450) +register('interface.citation-sel-height', 450) +register('interface.citation-sel-width', 600) +register('interface.citation-width', 600) register('interface.clipboard-height', 300) register('interface.clipboard-width', 300) register('interface.dont-ask', False) diff --git a/src/gui/editors/editcitation.py b/src/gui/editors/editcitation.py index 127603953..0064a8c83 100644 --- a/src/gui/editors/editcitation.py +++ b/src/gui/editors/editcitation.py @@ -18,7 +18,7 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # -# $Id: editsource.py 16680 2011-02-20 10:52:06Z bmcage $ +# $Id$ #------------------------------------------------------------------------- # @@ -132,8 +132,8 @@ class EditCitation(EditPrimary): and overridden here. """ - self.width_key = 'interface.source-width' - self.height_key = 'interface.source-height' + self.width_key = 'interface.citation-width' + self.height_key = 'interface.citation-height' assert(self.obj) self.glade = Glade()