]> spindle.queued.net Git - midori/commitdiff
Enable Open external pages in unconditionally
authorChristian Dywan <christian@twotoasts.de>
Mon, 20 Jul 2009 04:48:27 +0000 (06:48 +0200)
committerChristian Dywan <christian@twotoasts.de>
Mon, 20 Jul 2009 04:53:41 +0000 (06:53 +0200)
These days we fallback to sockets if libunique isn't there.

midori/midori-preferences.c
midori/midori-websettings.c

index a442c4b4ac7c4a72a9621dd43a6bb5ff7784211d..50ee3871705b16cfd58ed522b85732dba3c38ea7 100644 (file)
@@ -551,12 +551,10 @@ midori_preferences_set_settings (MidoriPreferences* preferences,
     INDENTED_ADD (label, 0, 1, 0, 1);
     button = katze_property_proxy (settings, "open-new-pages-in", NULL);
     FILLED_ADD (button, 1, 2, 0, 1);
-    #if HAVE_UNIQUE
     label = katze_property_label (settings, "open-external-pages-in");
     INDENTED_ADD (label, 0, 1, 1, 2);
     button = katze_property_proxy (settings, "open-external-pages-in", NULL);
     FILLED_ADD (button, 1, 2, 1, 2);
-    #endif
     button = katze_property_proxy (settings, "always-show-tabbar", NULL);
     INDENTED_ADD (button, 0, 1, 2, 3);
     button = katze_property_proxy (settings, "open-tabs-in-the-background", NULL);
index 7ffc214108b62e2d8df680b556bb9f1a2db85d19..3b1d7850abe8c11019cd918a7e20e66fbdd45ea4 100644 (file)
@@ -741,11 +741,7 @@ midori_web_settings_class_init (MidoriWebSettingsClass* class)
                                      _("Where to open externally opened pages"),
                                      MIDORI_TYPE_NEW_PAGE,
                                      MIDORI_NEW_PAGE_TAB,
-    #if HAVE_UNIQUE
                                      G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
-    #else
-                                     G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
-    #endif
 
     g_object_class_install_property (gobject_class,
                                      PROP_MIDDLE_CLICK_OPENS_SELECTION,