diff --git a/midori/midori-browser.c b/midori/midori-browser.c index f35a10fc..5e777fd5 100644 --- a/midori/midori-browser.c +++ b/midori/midori-browser.c @@ -6777,6 +6777,17 @@ midori_browser_activate_action (MidoriBrowser* browser, g_signal_emit (browser, signals[ACTIVATE_ACTION], 0, name); } +void +midori_browser_set_action_visible (MidoriBrowser* browser, + const gchar* name, + gboolean visible) +{ + g_return_if_fail (MIDORI_IS_BROWSER (browser)); + g_return_if_fail (name != NULL); + + _action_set_visible (browser, name, visible); +} + /** * midori_browser_get_action_group: * @browser: a #MidoriBrowser diff --git a/midori/midori-browser.h b/midori/midori-browser.h index 7b0d98c0..2b07dd05 100644 --- a/midori/midori-browser.h +++ b/midori/midori-browser.h @@ -106,6 +106,11 @@ void midori_browser_activate_action (MidoriBrowser* browser, const gchar* name); +void +midori_browser_set_action_visible (MidoriBrowser* browser, + const gchar* name, + gboolean visible); + GtkActionGroup* midori_browser_get_action_group (MidoriBrowser* browser);