[Xfce4-commits] <midori:master> Fix gtk_widget_set_no_show_all and g_filename_to_uri calls
Christian Dywan
noreply at xfce.org
Fri Apr 23 00:04:02 CEST 2010
Updating branch refs/heads/master
to 34984c7ac1630e0f880016a621ceffbeacfafc94 (commit)
from 6767225b2aa7914e15766eed32eed3c0a81dcaac (commit)
commit 34984c7ac1630e0f880016a621ceffbeacfafc94
Author: Christian Dywan <christian at twotoasts.de>
Date: Thu Apr 22 23:57:46 2010 +0200
Fix gtk_widget_set_no_show_all and g_filename_to_uri calls
midori/midori-view.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/midori/midori-view.c b/midori/midori-view.c
index 310a5ca..ca6e327 100644
--- a/midori/midori-view.c
+++ b/midori/midori-view.c
@@ -1234,7 +1234,7 @@ webkit_web_frame_load_done_cb (WebKitWebFrame* web_frame,
title = g_strdup_printf (_("Not found - %s"), view->uri);
katze_assign (view->title, title);
logo_path = sokoke_find_data_filename ("midori/logo-shade.png");
- logo_uri = g_filename_to_uri (logo_path);
+ logo_uri = g_filename_to_uri (logo_path, NULL, NULL);
g_free (logo_path);
data = g_strdup_printf (
"<html><head><title>%s</title></head>"
@@ -2194,7 +2194,7 @@ midori_view_populate_popup (MidoriView* view,
#else
/* hack to disable non-functional Download File */
gtk_widget_hide (menuitem);
- gtk_widget_set_no_show_all (menuitem);
+ gtk_widget_set_no_show_all (menuitem, TRUE);
midori_view_insert_menu_item (menu_shell, 3,
_("_Save Link destination"), NULL,
G_CALLBACK (midori_web_view_menu_save_as_activate_cb), widget);
More information about the Xfce4-commits
mailing list