]> spindle.queued.net Git - midori/commitdiff
Really don't show the Stylesheet preference
authorChristian Dywan <christian@twotoasts.de>
Wed, 24 Sep 2008 00:07:15 +0000 (02:07 +0200)
committerChristian Dywan <christian@twotoasts.de>
Wed, 24 Sep 2008 00:07:15 +0000 (02:07 +0200)
midori/midori-preferences.c

index 5350a46fb42a67ea773eba50fc757066259e4097..e0412f64c9557f6bcecd645536e4d856db2a2c51 100644 (file)
@@ -340,7 +340,7 @@ midori_preferences_set_settings (MidoriPreferences* preferences,
     g_object_get (settings, "user-stylesheet-uri", &user_stylesheet_uri, NULL);
     /* Add the stylesheet uri widget only if there's a value
        Otherwise we prefer to not use it, it is superfluous basically */
-    if (user_stylesheet_uri)
+    if (user_stylesheet_uri && *user_stylesheet_uri)
     {
         label = katze_property_label (settings, "user-stylesheet-uri");
         INDENTED_ADD (label, 0, 1, 3, 4);