[Xfce4-commits] <midori:master> Omit Help in Adblock and Search Engines dialogues on Hildon
Christian Dywan
noreply at xfce.org
Sun Nov 29 14:12:03 CET 2009
Updating branch refs/heads/master
to 183878db8c38746caf9efdb3fdd5d347b746f222 (commit)
from 7d89c3c3578a7ac4747c8793dba40b48f5631085 (commit)
commit 183878db8c38746caf9efdb3fdd5d347b746f222
Author: Christian Dywan <christian at twotoasts.de>
Date: Sat Nov 28 19:40:57 2009 +0100
Omit Help in Adblock and Search Engines dialogues on Hildon
extensions/adblock.c | 2 ++
midori/midori-searchaction.c | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/extensions/adblock.c b/extensions/adblock.c
index b62ba05..878d60d 100644
--- a/extensions/adblock.c
+++ b/extensions/adblock.c
@@ -374,7 +374,9 @@ adblock_get_preferences_dialog (MidoriExtension* extension)
dialog = gtk_dialog_new_with_buttons (dialog_title, GTK_WINDOW (browser),
GTK_DIALOG_DESTROY_WITH_PARENT | GTK_DIALOG_NO_SEPARATOR,
#if !HAVE_OSX
+ #if !HAVE_HILDON
GTK_STOCK_HELP, GTK_RESPONSE_HELP,
+ #endif
GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
#endif
NULL);
diff --git a/midori/midori-searchaction.c b/midori/midori-searchaction.c
index 9305cb1..ba062c4 100644
--- a/midori/midori-searchaction.c
+++ b/midori/midori-searchaction.c
@@ -1216,7 +1216,9 @@ midori_search_action_get_dialog (MidoriSearchAction* search_action)
toplevel ? GTK_WINDOW (toplevel) : NULL,
GTK_DIALOG_DESTROY_WITH_PARENT | GTK_DIALOG_NO_SEPARATOR,
#if !HAVE_OSX
+ #if !HAVE_HILDON
GTK_STOCK_HELP, GTK_RESPONSE_HELP,
+ #endif
GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
#endif
NULL);
More information about the Xfce4-commits
mailing list