depot/pkgs/by-name/gn/gnome-shell/greeter-logo-size.patch
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

21 lines
876 B
Diff

diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js
index 28db1a9de..805b686bf 100644
--- a/js/gdm/loginDialog.js
+++ b/js/gdm/loginDialog.js
@@ -46,6 +46,7 @@ const _FADE_ANIMATION_TIME = 250;
const _SCROLL_ANIMATION_TIME = 500;
const _TIMED_LOGIN_IDLE_THRESHOLD = 5.0;
const _CONFLICTING_SESSION_DIALOG_TIMEOUT = 60;
+const _LOGO_ICON_HEIGHT = 48;
export const UserListItem = GObject.registerClass({
Signals: {'activate': {}},
@@ -908,7 +909,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);
}