Omit Help in Adblock and Search Engines dialogues on Hildon
This commit is contained in:
parent
7d89c3c357
commit
183878db8c
2 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue