summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/inkscape-preferences.cpp
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2013-05-01 06:17:45 +0000
committerJon A. Cruz <jon@joncruz.org>2013-05-01 06:17:45 +0000
commitc96a7e7b0dc1944280a3807ce47aca285b956b89 (patch)
treee124b820fe6f2c57ceb6b211c9a6cf636e1a19f1 /src/ui/dialog/inkscape-preferences.cpp
parentFix for Bug #629081 (Spiro and path operations fails) by Matthew Petroff. (diff)
downloadinkscape-c96a7e7b0dc1944280a3807ce47aca285b956b89.tar.gz
inkscape-c96a7e7b0dc1944280a3807ce47aca285b956b89.zip
Fix for Bug #830663 (default window size is too small) by Jiabao Wu
Fixed bugs: - https://launchpad.net/bugs/830663 (bzr r12315)
Diffstat (limited to 'src/ui/dialog/inkscape-preferences.cpp')
-rw-r--r--src/ui/dialog/inkscape-preferences.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/ui/dialog/inkscape-preferences.cpp b/src/ui/dialog/inkscape-preferences.cpp
index 65c6a20fe..8eb643c6e 100644
--- a/src/ui/dialog/inkscape-preferences.cpp
+++ b/src/ui/dialog/inkscape-preferences.cpp
@@ -8,7 +8,7 @@
* Johan Engelen <j.b.c.engelen@ewi.utwente.nl>
* Bruno Dilly <bruno.dilly@gmail.com>
*
- * Copyright (C) 2004-2011 Authors
+ * Copyright (C) 2004-2013 Authors
*
* Released under GNU GPL. Read the file 'COPYING' for more information.
*/
@@ -642,6 +642,15 @@ void InkscapePreferences::initPageUI()
_win_ontop_normal.init ( _("Normal"), "/options/transientpolicy/value", 1, true, &_win_ontop_none);
_win_ontop_agressive.init ( _("Aggressive"), "/options/transientpolicy/value", 2, false, &_win_ontop_none);
+ {
+ Glib::ustring defaultSizeLabels[] = {_("Small"), _("Large"), _("Maximized")};
+ int defaultSizeValues[] = {0, 1, 2};
+
+ _win_default_size.init( "/options/defaultwindowsize/value", defaultSizeLabels, defaultSizeValues, G_N_ELEMENTS(defaultSizeLabels), 1 );
+ _page_windows.add_line( false, _("Default window size:"), _win_default_size, "",
+ _("Set the default window size"), false);
+ }
+
_page_windows.add_group_header( _("Saving window geometry (size and position)"));
_page_windows.add_line( true, "", _win_save_geom_off, "",
_("Let the window manager determine placement of all windows"));