From 6c95ea19dbba0b939ff9fff45b155e773d93f382 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Wed, 20 Jul 2011 23:10:50 +0200 Subject: [PATCH] Show kinetic scrolling option regardless of Hildon --- midori/midori-preferences.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/midori/midori-preferences.c b/midori/midori-preferences.c index 93e5fe39..5cba2c9c 100644 --- a/midori/midori-preferences.c +++ b/midori/midori-preferences.c @@ -368,16 +368,12 @@ midori_preferences_set_settings (MidoriPreferences* preferences, gtk_button_set_label (GTK_BUTTON (button), _("Allow scripts to open popups")); gtk_widget_set_tooltip_text (button, _("Whether scripts are allowed to open popup windows automatically")); SPANNED_ADD (button); - button = NULL; - #if HAVE_HILDON if (katze_widget_has_touchscreen_mode (parent ? GTK_WIDGET (parent) : GTK_WIDGET (preferences))) button = katze_property_proxy (settings, "kinetic-scrolling", NULL); - #else - button = katze_property_proxy (settings, "middle-click-opens-selection", NULL); - #endif - if (button != NULL) - INDENTED_ADD (button); + else + button = katze_property_proxy (settings, "middle-click-opens-selection", NULL); + INDENTED_ADD (button); FRAME_NEW (NULL); button = katze_property_label (settings, "preferred-languages"); INDENTED_ADD (button);