From 183878db8c38746caf9efdb3fdd5d347b746f222 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Sat, 28 Nov 2009 19:40:57 +0100 Subject: [PATCH] Omit Help in Adblock and Search Engines dialogues on Hildon --- extensions/adblock.c | 2 ++ midori/midori-searchaction.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/extensions/adblock.c b/extensions/adblock.c index b62ba055..878d60d4 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 9305cb1e..ba062c4d 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); -- 2.39.5