[gnome-tweaks] bugfix: Show the back button in titlebar when leaflet is folded
- From: Evan Welsh <ewlsh src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-tweaks] bugfix: Show the back button in titlebar when leaflet is folded
- Date: Sat, 13 Feb 2021 06:23:58 +0000 (UTC)
commit 78089726709b93db0c54e4f866e6030dd7768457
Author: Çağatay Yiğit Şahin <cyigitsahin outlook com>
Date: Mon Apr 13 13:24:01 2020 +0300
bugfix: Show the back button in titlebar when leaflet is folded
On lower resolution screens, the app can start up in folded
state. For this case, the app should check before hiding the
back button. Fixes #253.
gtweak/app.py | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/gtweak/app.py b/gtweak/app.py
index 021f277..742daa1 100644
--- a/gtweak/app.py
+++ b/gtweak/app.py
@@ -50,6 +50,7 @@ class GnomeTweaks(Gtk.Application):
model = TweakModel()
self.win = Window(self, model)
self.win.show_all()
+ if not self.win.get_titlebar().props.folded:
self.win.back_button.props.visible = False
self.win.present()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]