diff options
author | Bastien Nocera <hadess@hadess.net> | 2012-01-27 11:08:17 +0000 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2012-01-27 11:14:06 +0000 |
commit | 26901fda58a7de4a937a392da683cccaf8651a1d (patch) | |
tree | c7663cd2bfb5abb755d57a7db5c9b35254cc2e46 | |
parent | 35bc7d4e5814aa03b0b47838915ceccdf632bb65 (diff) | |
download | gnome-control-center-26901fda58a7de4a937a392da683cccaf8651a1d.tar.gz |
wacom: Fix 1-button stylus' button mapping
Oopsie. We weren't setting the default value for the only
button if you only had that button.
-rw-r--r-- | panels/wacom/cc-wacom-stylus-page.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/panels/wacom/cc-wacom-stylus-page.c b/panels/wacom/cc-wacom-stylus-page.c index 3a5567283..a69eb2b95 100644 --- a/panels/wacom/cc-wacom-stylus-page.c +++ b/panels/wacom/cc-wacom-stylus-page.c @@ -474,7 +474,7 @@ cc_wacom_stylus_page_new (GsdWacomStylus *stylus, if (num_buttons == 2) set_button_mapping_from_gsettings (GTK_COMBO_BOX (WID ("combo-topbutton")), priv->stylus_settings, 3); - if (num_buttons > 1) + if (num_buttons >= 1) set_button_mapping_from_gsettings (GTK_COMBO_BOX (WID ("combo-bottombutton")), priv->stylus_settings, 2); set_feel_from_gsettings (GTK_ADJUSTMENT (WID ("adjustment-tip-feel")), priv->stylus_settings); |