summaryrefslogtreecommitdiffstats
path: root/src/widgets/select-toolbar.cpp
diff options
context:
space:
mode:
authorJohn Smith <john.smith7545@yahoo.com>2012-09-04 22:54:05 +0000
committerJohn Smith <john.smith7545@yahoo.com>2012-09-04 22:54:05 +0000
commit659322af2957eb263b61301a19cd7d965c944207 (patch)
treed29681582f9bfabfca892b05d718af7dac4d7fe0 /src/widgets/select-toolbar.cpp
parentFix for 189535 : Change shortcut key for Horizontal align to Ctrl+Alt+t (diff)
downloadinkscape-659322af2957eb263b61301a19cd7d965c944207.tar.gz
inkscape-659322af2957eb263b61301a19cd7d965c944207.zip
Fix for 1042602 : Select toolbar, fix for regression when X and Y values are negative
(bzr r11651)
Diffstat (limited to 'src/widgets/select-toolbar.cpp')
-rw-r--r--src/widgets/select-toolbar.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widgets/select-toolbar.cpp b/src/widgets/select-toolbar.cpp
index 4dfebe11f..61b04121a 100644
--- a/src/widgets/select-toolbar.cpp
+++ b/src/widgets/select-toolbar.cpp
@@ -497,13 +497,13 @@ void sp_select_toolbox_prep(SPDesktop *desktop, GtkActionGroup* mainActions, GOb
// four spinbuttons
eact = create_adjustment_action( "XAction", C_("Select toolbar", "X position"), C_("Select toolbar", "X:"), "X",
- 0.0, GTK_WIDGET(desktop->canvas), tracker, spw,
+ -1e6, GTK_WIDGET(desktop->canvas), tracker, spw,
_("Horizontal coordinate of selection"), TRUE );
gtk_action_group_add_action( selectionActions, GTK_ACTION(eact) );
contextActions->push_back( GTK_ACTION(eact) );
eact = create_adjustment_action( "YAction", C_("Select toolbar", "Y position"), C_("Select toolbar", "Y:"), "Y",
- 0.0, GTK_WIDGET(desktop->canvas), tracker, spw,
+ -1e6, GTK_WIDGET(desktop->canvas), tracker, spw,
_("Vertical coordinate of selection"), FALSE );
gtk_action_group_add_action( selectionActions, GTK_ACTION(eact) );
contextActions->push_back( GTK_ACTION(eact) );