import gnome-shell-47.1-2.el10

i10cs changed/i10cs/gnome-shell-47.1-2.el10
MSVSphere Packaging Team 12 hours ago
parent 1fb1ae4eed
commit 47848ed65c
Signed by: sys_gitsync
GPG Key ID: B2B0B9F29E528FE8

@ -0,0 +1,30 @@
From db2ac6188e3fb7ee727e9e71d5416e8f2b75f12b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org>
Date: Thu, 7 Nov 2024 16:23:48 +0100
Subject: [PATCH] dialog: Wrap titles
Dialogs should not use titles that are too long to fit, but if
they do, wrapping is more appropriate than ellipsizing.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3540>
---
js/ui/dialog.js | 3 +++
1 file changed, 3 insertions(+)
diff --git a/js/ui/dialog.js b/js/ui/dialog.js
index 11a27a0207..361fad3cb9 100644
--- a/js/ui/dialog.js
+++ b/js/ui/dialog.js
@@ -173,6 +173,9 @@ export const MessageDialogContent = GObject.registerClass({
this._title = new St.Label({style_class: 'message-dialog-title'});
this._description = new St.Label({style_class: 'message-dialog-description'});
+ this._title.clutter_text.ellipsize = Pango.EllipsizeMode.NONE;
+ this._title.clutter_text.line_wrap = true;
+
this._description.clutter_text.ellipsize = Pango.EllipsizeMode.NONE;
this._description.clutter_text.line_wrap = true;
--
2.47.0

@ -2,7 +2,7 @@
## (rpmautospec version 0.6.5)
## RPMAUTOSPEC: autorelease, autochangelog
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
release_number = 1;
release_number = 2;
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
print(release_number + base_release_number - 1);
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
@ -53,6 +53,7 @@ Patch: 0001-st-texture-cache-purge-on-resume.patch
Patch: fix-some-js-warnings.patch
Patch: 0001-data-Update-generated-stylesheets.patch
Patch: 0001-theme-Welcome-Illustration.patch
Patch: 0001-dialog-Wrap-titles.patch
%define eds_version 3.45.1
%define gnome_desktop_version 44.0-7
@ -286,6 +287,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.Shell.Porta
%changelog
## START: Generated by rpmautospec
* Tue Nov 12 2024 Florian Müllner <fmuellner@redhat.com> - 47.1-2
- Wrap dialog titles
* Wed Nov 06 2024 Florian Müllner <fmuellner@redhat.com> - 47.1-1
- Update to 47.1

Loading…
Cancel
Save