[gnome-tweaks] Fix too small window when unmaximizing Closes: https://gitlab.gnome.org/GNOME/gnome-tweaks/issues/91
- From: Jeremy Bicha <jbicha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-tweaks] Fix too small window when unmaximizing Closes: https://gitlab.gnome.org/GNOME/gnome-tweaks/issues/91
- Date: Sun, 19 Aug 2018 11:54:11 +0000 (UTC)
commit 2c76d4127698da459d2602340b40dcff29794909
Author: Bharat kalluri <bharatkalluri protonmail com>
Date: Sun Aug 19 01:24:46 2018 +0530
Fix too small window when unmaximizing
Closes: https://gitlab.gnome.org/GNOME/gnome-tweaks/issues/91
gtweak/tweakview.py | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
---
diff --git a/gtweak/tweakview.py b/gtweak/tweakview.py
index a130fea..413d168 100644
--- a/gtweak/tweakview.py
+++ b/gtweak/tweakview.py
@@ -18,11 +18,7 @@ class Window(Gtk.ApplicationWindow):
Gtk.ApplicationWindow.__init__(self,
application=app,
show_menubar=False)
-
- if Gdk.Screen.get_default().get_height() < 800:
- self.maximize()
- else:
- self.set_size_request(950, 700)
+ self.set_size_request(950, 700)
self.set_position(Gtk.WindowPosition.CENTER)
self.set_icon_name("org.gnome.tweaks")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]