mirror of
https://gitlab.gnome.org/GNOME/gitg
synced 2024-07-17 02:58:10 +00:00
Fix selectable button visibilities
This commit is contained in:
parent
09bd9b05ee
commit
dd607d8007
|
@ -1103,9 +1103,9 @@ public class Window : Gtk.ApplicationWindow, GitgExt.Application, Initable
|
|||
var issel = (d_selectable_mode == GitgExt.SelectionMode.SELECTION);
|
||||
var searchable = current_activity as GitgExt.Searchable;
|
||||
|
||||
d_header_bar.show_close_button = !issel;
|
||||
d_header_bar.show_close_button = !Gitg.PlatformSupport.use_native_window_controls() && !issel;
|
||||
d_search_button.visible = !issel && searchable != null;
|
||||
d_gear_menu.visible = !issel;
|
||||
d_gear_menu.visible = !issel && d_repository != null;
|
||||
d_select_button.visible = !issel;
|
||||
d_dash_button.visible = !issel && d_repository != null;
|
||||
d_activities_switcher.visible = !issel && d_repository != null;
|
||||
|
|
Loading…
Reference in a new issue