Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package gnome-shell-extension-desktop-icons for openSUSE:Factory checked in at 2021-08-06 22:44:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gnome-shell-extension-desktop-icons (Old) and /work/SRC/openSUSE:Factory/.gnome-shell-extension-desktop-icons.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gnome-shell-extension-desktop-icons" Fri Aug 6 22:44:27 2021 rev:6 rq:910287 version:20.10.0 Changes: -------- --- /work/SRC/openSUSE:Factory/gnome-shell-extension-desktop-icons/gnome-shell-extension-desktop-icons.changes 2021-04-12 12:38:14.889430901 +0200 +++ /work/SRC/openSUSE:Factory/.gnome-shell-extension-desktop-icons.new.1899/gnome-shell-extension-desktop-icons.changes 2021-08-06 22:44:47.686069116 +0200 @@ -1,0 +2,7 @@ +Thu Aug 5 07:19:44 UTC 2021 - xiaoguang wang <xiaoguang.w...@suse.com> + +- Add desktop-icons-show-iso-file-icon.patch: Show ISO file icon as + default icon. + (bsc#1183504 glgo#GNOME/World/ShellExtensions/desktop-icons!196) + +------------------------------------------------------------------- @@ -4,0 +12,2 @@ +- Drop desktop-icons-fix-version-match.patch: Replaced by + desktop-icon-gnome-40.patch. @@ -23,0 +33,6 @@ + +------------------------------------------------------------------- +Fri Nov 20 01:39:25 UTC 2020 - Xiaoguang Wang <xiaoguang.w...@suse.com> + +- Add desktop-icons-fix-version-match.patch: Match shell version + under strict version checking (bsc#1176911). New: ---- desktop-icons-show-iso-file-icon.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnome-shell-extension-desktop-icons.spec ++++++ --- /var/tmp/diff_new_pack.fq3Ui1/_old 2021-08-06 22:44:48.202068201 +0200 +++ /var/tmp/diff_new_pack.fq3Ui1/_new 2021-08-06 22:44:48.202068201 +0200 @@ -26,6 +26,9 @@ Source: https://gitlab.gnome.org/World/ShellExtensions/desktop-icons/uploads/5e2d0748cf79d255d7c23df6a6e6901b/desktop-icons-%{version}.tar.xz # PATCH-FIX-UPSTREAM desktop-icon-gnome-40.patch dims...@opensuse.org -- Make extension compatible with GNOME 40 Patch0: desktop-icon-gnome-40.patch +# PATCH-FIX-UPSTREAM desktop-icons-show-iso-file-icon.patch bsc#1183504 glgo#GNOME/World/ShellExtensions/desktop-icons!196 xw...@suse.com -- Show ISO file icon. +Patch1: desktop-icons-show-iso-file-icon.patch + BuildRequires: gnome-patch-translation # Needed for directory ownership BuildRequires: gnome-shell >= 3.30 ++++++ desktop-icons-show-iso-file-icon.patch ++++++ Index: desktop-icons-20.10.0/fileItem.js =================================================================== --- desktop-icons-20.10.0.orig/fileItem.js +++ desktop-icons-20.10.0/fileItem.js @@ -443,7 +443,11 @@ var FileItem = GObject.registerClass({ } _createEmblemedStIcon(icon, iconName) { - if (icon == null) { + if (icon != null) { + let theme = Gtk.IconTheme.get_default(); + if (theme.lookup_by_gicon(icon, null, Gtk.IconLookupFlags.GENERIC_FALLBACK) == null) + icon = Gio.ThemedIcon.new_with_default_fallbacks('text-x-generic'); + } else { if (GLib.path_is_absolute(iconName)) { let iconFile = Gio.File.new_for_commandline_arg(iconName); icon = new Gio.FileIcon({ file: iconFile });