diff options
| author | bulia byak <buliabyak@gmail.com> | 2007-02-07 22:32:34 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2007-02-07 22:32:34 +0000 |
| commit | a516879959b098d192ecfd30c6ad09e894505a5d (patch) | |
| tree | c84b9d7168322710346bf19bdb8e14d05a1e471f /src/widgets/toolbox.cpp | |
| parent | fix for [ 1648244 ] build files missing for 0.45pre2 (diff) | |
| download | inkscape-a516879959b098d192ecfd30c6ad09e894505a5d.tar.gz inkscape-a516879959b098d192ecfd30c6ad09e894505a5d.zip | |
defocus checkboxes upon click so they don't steal keystrokes
(bzr r2343)
Diffstat (limited to 'src/widgets/toolbox.cpp')
| -rw-r--r-- | src/widgets/toolbox.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/widgets/toolbox.cpp b/src/widgets/toolbox.cpp index 7f0bf5122..c2de24d6f 100644 --- a/src/widgets/toolbox.cpp +++ b/src/widgets/toolbox.cpp @@ -2877,11 +2877,13 @@ static void toggle_dropper_pick_alpha (GtkWidget *button, gpointer tbl) { gtk_widget_set_sensitive (GTK_WIDGET (set_checkbox), FALSE); } } + spinbutton_defocus(GTK_OBJECT(tbl)); } -static void toggle_dropper_set_alpha (GtkWidget *button, gpointer data) { +static void toggle_dropper_set_alpha (GtkWidget *button, gpointer tbl) { prefs_set_int_attribute ("tools.dropper", "setalpha", gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (button)) ? 1 : 0); + spinbutton_defocus(GTK_OBJECT(tbl)); } |
