[Xfce4-commits] <midori:master> Disable Contractor support in Granite for now

Christian Dywan noreply at xfce.org
Wed Mar 6 23:52:02 CET 2013


Updating branch refs/heads/master
         to 1efe72481bcd01a67549fac868fd3512863c639c (commit)
       from 09df9ed5a69175ad1ce33845b12be0e4b3b05486 (commit)

commit 1efe72481bcd01a67549fac868fd3512863c639c
Author: Christian Dywan <christian at twotoasts.de>
Date:   Wed Mar 6 23:43:24 2013 +0100

    Disable Contractor support in Granite for now
    
    Fixes: https://bugs.launchpad.net/midori/+bug/1102689

 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 b42cd2c..8d1323e 100644
--- a/midori/midori-browser.c
+++ b/midori/midori-browser.c
@@ -2569,7 +2569,7 @@ _action_print_activate (GtkAction*     action,
     if (!(view = midori_browser_get_current_tab (browser)))
         return;
 
-    #ifdef HAVE_GRANITE
+    #if 0 // def HAVE_GRANITE
     /* FIXME: Blacklist/ custom contract doesn't work
     gchar* blacklisted_contracts[] = { "print", NULL }; */
     /* FIXME: granite: should return GtkWidget* like GTK+ */
@@ -5267,7 +5267,7 @@ static const GtkActionEntry entries[] =
     { "WindowClose", NULL,
         N_("C_lose Window"), "<Ctrl><Shift>w",
         NULL, G_CALLBACK (_action_window_close_activate) },
-    #ifdef HAVE_GRANITE
+    #if 0 // def HAVE_GRANITE
     { "Print", "document-export",
         N_("_Share"), "<Ctrl>p",
         N_("Share this page"), G_CALLBACK (_action_print_activate) },


More information about the Xfce4-commits mailing list