[gnome-shell] portalHelper: Set a minimum window size
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] portalHelper: Set a minimum window size
- Date: Tue, 24 Jan 2017 12:36:34 +0000 (UTC)
commit a81f18592aa59522fefffa5cea488588b4a6b722
Author: Bastien Nocera <hadess hadess net>
Date: Mon Jan 23 08:32:05 2017 +0100
portalHelper: Set a minimum window size
Even though the window is maximised when created, the window is still
resizable. This avoids making the window smaller than usable. If the
screen is smaller than the minimum window size, the maximise should make
it fullscreen and non-resizable.
https://bugzilla.gnome.org/show_bug.cgi?id=735233
js/portalHelper/main.js | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/js/portalHelper/main.js b/js/portalHelper/main.js
index 367659d..c7d0433 100644
--- a/js/portalHelper/main.js
+++ b/js/portalHelper/main.js
@@ -81,6 +81,7 @@ const PortalWindow = new Lang.Class({
this.add(this._webView);
this._webView.show();
+ this.set_size_request(600, 450);
this.maximize();
this.present_with_time(timestamp);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]