diff --git a/SOURCES/0001-dialog-Wrap-titles.patch b/SOURCES/0001-dialog-Wrap-titles.patch new file mode 100644 index 0000000..d88c559 --- /dev/null +++ b/SOURCES/0001-dialog-Wrap-titles.patch @@ -0,0 +1,30 @@ +From db2ac6188e3fb7ee727e9e71d5416e8f2b75f12b Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Florian=20M=C3=BCllner?= +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: +--- + 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 + diff --git a/SPECS/gnome-shell.spec b/SPECS/gnome-shell.spec index 3c4b38b..2ffd63c 100644 --- a/SPECS/gnome-shell.spec +++ b/SPECS/gnome-shell.spec @@ -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 - 47.1-2 +- Wrap dialog titles + * Wed Nov 06 2024 Florian Müllner - 47.1-1 - Update to 47.1