Skip to content
Snippets Groups Projects
Commit 1228dd56 authored by Jan-Michael Brummer's avatar Jan-Michael Brummer Committed by Michael Catanzaro
Browse files

Hide bookmark star in application mode

Fixes: https://gitlab.gnome.org/GNOME/epiphany/-/issues/1811
Part-of: <https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/1252>


(cherry picked from commit 020e242469884c3c7088c2c3e4a7726633465fc9)
parent 169f2003
No related branches found
No related tags found
No related merge requests found
......@@ -233,9 +233,12 @@ void
ephy_action_bar_set_adaptive_mode (EphyActionBar *action_bar,
EphyAdaptiveMode adaptive_mode)
{
EphyEmbedShellMode mode = ephy_embed_shell_get_mode (ephy_embed_shell_get_default ());
action_bar->adaptive_mode = adaptive_mode;
ephy_action_bar_end_set_show_bookmark_button (action_bar->action_bar_end,
adaptive_mode == EPHY_ADAPTIVE_MODE_NARROW);
adaptive_mode == EPHY_ADAPTIVE_MODE_NARROW &&
mode != EPHY_EMBED_SHELL_MODE_APPLICATION);
update_revealer (action_bar);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment