about summary refs log tree commit diff
path: root/nixpkgs/pkgs/desktops/gnome/core/gnome-shell/greeter-logo-size.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/desktops/gnome/core/gnome-shell/greeter-logo-size.patch')
-rw-r--r--nixpkgs/pkgs/desktops/gnome/core/gnome-shell/greeter-logo-size.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/desktops/gnome/core/gnome-shell/greeter-logo-size.patch b/nixpkgs/pkgs/desktops/gnome/core/gnome-shell/greeter-logo-size.patch
new file mode 100644
index 000000000000..e58610ddc2b2
--- /dev/null
+++ b/nixpkgs/pkgs/desktops/gnome/core/gnome-shell/greeter-logo-size.patch
@@ -0,0 +1,21 @@
+diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js
+index a3e4372b4..36f6c1f47 100644
+--- a/js/gdm/loginDialog.js
++++ b/js/gdm/loginDialog.js
+@@ -43,6 +43,7 @@ import * as UserWidget from '../ui/userWidget.js';
+ const _FADE_ANIMATION_TIME = 250;
+ const _SCROLL_ANIMATION_TIME = 500;
+ const _TIMED_LOGIN_IDLE_THRESHOLD = 5.0;
++const _LOGO_ICON_HEIGHT = 48;
+ 
+ export const UserListItem = GObject.registerClass({
+     Signals: {'activate': {}},
+@@ -839,7 +840,7 @@ export const LoginDialog = GObject.registerClass({
+             const scaleFactor = St.ThemeContext.get_for_stage(global.stage).scale_factor;
+             const texture = this._textureCache.load_file_async(
+                 this._logoFile,
+-                -1, -1,
++                -1, _LOGO_ICON_HEIGHT,
+                 scaleFactor, resourceScale);
+             this._logoBin.add_child(texture);
+         }