Patch-Source: https://gitlab.gnome.org/World/Phosh/phosh/-/merge_requests/1701 --- From 6445a88aa021ab92268bcec735e57e678c4a9bbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guido=20G=C3=BCnther?= Date: Sun, 6 Apr 2025 19:39:25 +0200 Subject: [PATCH 1/2] splash: Use larger icon again MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://gitlab.gnome.org/GNOME/adwaita-icon-theme/-/commit/a1c8a0f61e27e1bcda03412dec772b7a1ed5a795 removed the spinner icon, hence GTK3 added a one in https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/8354 but picks the 16x16 one which is a bit too small. The 16x16 icon is fine for the other places we use a spinner, like status pages. This can go away with the switch to AdwSpinner. Closes: https://gitlab.gnome.org/World/Phosh/phosh/-/issues/1222 Signed-off-by: Guido Günther Part-of: (cherry picked from commit 512ebac031ef5c96f2949c5310a8ac401927dcfe) --- data/icons/splash-process-working-symbolic.svg | 4 ++++ src/phosh.gresources.xml | 1 + src/stylesheet/common.css | 4 ++++ 3 files changed, 9 insertions(+) create mode 100644 data/icons/splash-process-working-symbolic.svg diff --git a/data/icons/splash-process-working-symbolic.svg b/data/icons/splash-process-working-symbolic.svg new file mode 100644 index 000000000..9de62c1db --- /dev/null +++ b/data/icons/splash-process-working-symbolic.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/phosh.gresources.xml b/src/phosh.gresources.xml index 467db012d..4017b323f 100644 --- a/src/phosh.gresources.xml +++ b/src/phosh.gresources.xml @@ -88,6 +88,7 @@ ../data/icons/screenshot-portrait-symbolic.svg ../data/icons/skip-backwards-10-symbolic.svg ../data/icons/skip-forward-30-symbolic.svg + ../data/icons/splash-process-working-symbolic.svg ../data/icons/swipe-arrow-symbolic.svg ../data/icons/torch-disabled-symbolic.svg ../data/icons/torch-enabled-symbolic.svg diff --git a/src/stylesheet/common.css b/src/stylesheet/common.css index 904fc6dfa..0504bda4c 100644 --- a/src/stylesheet/common.css +++ b/src/stylesheet/common.css @@ -1020,6 +1020,10 @@ phosh-splash.dark { -gtk-icon-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 1px 8px rgba(0, 0, 0, 0.2); } +phosh-splash spinner { + -gtk-icon-source: -gtk-icontheme('splash-process-working-symbolic'); +} + /* * Power button menu */ -- GitLab From 5473df1f921b651ada8bedc748e91cc21c727561 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guido=20G=C3=BCnther?= Date: Sat, 12 Apr 2025 14:24:30 +0200 Subject: [PATCH 2/2] app-grid: Fix missing icon MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit emblem-ok-symbolic got remove in the 48 adwaita icon theme: See https://gitlab.gnome.org/GNOME/adwaita-icon-theme/-/commit/a00466f12bd5419d6f22c1097a16fd670431c9d4 Signed-off-by: Guido Günther Part-of: --- src/app-grid.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app-grid.c b/src/app-grid.c index 96b5298e9..91cdc130f 100644 --- a/src/app-grid.c +++ b/src/app-grid.c @@ -560,8 +560,8 @@ on_folder_edit_toggled (PhoshAppGrid *self, GtkToggleButton *toggle_btn) const char *folder_name = phosh_folder_info_get_name (priv->open_folder); gtk_entry_set_text (GTK_ENTRY (priv->folder_name_entry), folder_name); gtk_widget_grab_focus (priv->folder_name_entry); - gtk_image_set_from_icon_name (GTK_IMAGE (priv->folder_name_img), - "emblem-ok-symbolic", GTK_ICON_SIZE_BUTTON); + gtk_image_set_from_icon_name (GTK_IMAGE (priv->folder_name_img), + "checkmark-symbolic", GTK_ICON_SIZE_BUTTON); } else { const char *folder_name = gtk_entry_get_text (GTK_ENTRY (priv->folder_name_entry)); if (gm_str_is_null_or_empty (folder_name)) -- GitLab