]> spindle.queued.net Git - midori/commitdiff
Omit Help in Adblock and Search Engines dialogues on Hildon
authorChristian Dywan <christian@twotoasts.de>
Sat, 28 Nov 2009 18:40:57 +0000 (19:40 +0100)
committerChristian Dywan <christian@twotoasts.de>
Sun, 29 Nov 2009 13:09:28 +0000 (14:09 +0100)
extensions/adblock.c
midori/midori-searchaction.c

index b62ba055a9323596f243ce07dd15fe67a4dc5fb2..878d60d4550b7368e093d5d431598f41aa063d72 100644 (file)
@@ -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);
index 9305cb1e87ab2892d923dc887c95fc4274b3545c..ba062c4dace8ee1d9e545c203c7cd6720f9ae0e1 100644 (file)
@@ -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);