]> spindle.queued.net Git - midori/commitdiff
Show kinetic scrolling option regardless of Hildon
authorChristian Dywan <christian@twotoasts.de>
Wed, 20 Jul 2011 21:10:50 +0000 (23:10 +0200)
committerChristian Dywan <christian@twotoasts.de>
Wed, 20 Jul 2011 21:10:50 +0000 (23:10 +0200)
midori/midori-preferences.c

index 93e5fe39c4d78a4ed6600bf0dc12f7a98b0de7ef..5cba2c9c782cce4752318bd9ea587d614b20b5a2 100644 (file)
@@ -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);