[Xfce4-commits] <midori:master> Fix brackets around bookmark URI check

Christian Dywan noreply at xfce.org
Fri Oct 23 01:24:01 CEST 2009


Updating branch refs/heads/master
         to d37194cd7ad5850773da446ef8f73028a238bc79 (commit)
       from 715ae2efa4254884f2813efb323ab9bbeebe1a9b (commit)

commit d37194cd7ad5850773da446ef8f73028a238bc79
Author: Christian Dywan <christian at twotoasts.de>
Date:   Thu Oct 22 23:18:23 2009 +0200

    Fix brackets around bookmark URI check

 midori/midori-browser.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/midori/midori-browser.c b/midori/midori-browser.c
index 7fba557..f797e5d 100644
--- a/midori/midori-browser.c
+++ b/midori/midori-browser.c
@@ -625,9 +625,9 @@ midori_browser_edit_bookmark_uri_changed_cb (GtkEntry*      entry,
     gtk_dialog_set_response_sensitive (dialog, GTK_RESPONSE_ACCEPT,
         uri && (g_str_has_prefix (uri, "http://")
         || g_str_has_prefix (uri, "https://")
-        || g_str_has_prefix (uri, "file://"))
+        || g_str_has_prefix (uri, "file://")
         || g_str_has_prefix (uri, "data:")
-        || g_str_has_prefix (uri, "javascript:"));
+        || g_str_has_prefix (uri, "javascript:")));
 }
 
 /* Private function, used by MidoriBookmarks and MidoriHistory */



More information about the Xfce4-commits mailing list