public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/libfm] f43: Additional fix for GFileInfo warnings with menu/application window
@ 2026-06-24  8:27 Mamoru TASAKA
  0 siblings, 0 replies; only message in thread
From: Mamoru TASAKA @ 2026-06-24  8:27 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/libfm
Branch : f43
Commit : 4e00643c3bd236fc8120ef49c00d2bff6d9aaba5
Author : Mamoru TASAKA <mtasaka@fedoraproject.org>
Date   : 2026-05-15T21:52:38+09:00
Stats  : +32/-3 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/libfm/c/4e00643c3bd236fc8120ef49c00d2bff6d9aaba5?branch=f43

Log:
Additional fix for GFileInfo warnings with menu/application window

---
diff --git a/libfm-pr119-suppress-gfileinfo-warnings.patch b/libfm-pr119-suppress-gfileinfo-warnings.patch
index 68452c0..ea619aa 100644
--- a/libfm-pr119-suppress-gfileinfo-warnings.patch
+++ b/libfm-pr119-suppress-gfileinfo-warnings.patch
@@ -1,7 +1,7 @@
 From af2df63d29ffb7e63cd11ea0256260dd11ee093d Mon Sep 17 00:00:00 2001
 From: Mamoru TASAKA <mtasaka@fedoraproject.org>
 Date: Fri, 10 Apr 2026 13:36:29 +0900
-Subject: [PATCH 1/2] Suppress GFileInfo related warnings
+Subject: [PATCH 1/3] Suppress GFileInfo related warnings
 
 https://gitlab.gnome.org/GNOME/glib/-/issues/3068 says that
 when GFileInfo is created via g_file_enumerate_children then
@@ -102,7 +102,7 @@ index 57a375c4..50cbcbea 100644
 From 2dd896ce28aa203bef38999680f2091e03b6dcd0 Mon Sep 17 00:00:00 2001
 From: libfm Fedora maintainer <libfm-maintainer@fedoraproject.org>
 Date: Tue, 5 May 2026 23:42:12 +0900
-Subject: [PATCH 2/2] Additional fix for GFileInfo related warnings with search
+Subject: [PATCH 2/3] Additional fix for GFileInfo related warnings with search
  dialog
 
 More fix for #118 .
@@ -147,3 +147,29 @@ index 50cbcbea..e5d46d44 100644
          return FALSE;
  
      if(!fm_search_job_match_filename(priv, info))
+
+From cfaf8f1b4599fa1918c21a5e7c680b28b2a528a4 Mon Sep 17 00:00:00 2001
+From: Mamoru TASAKA <mtasaka@fedoraproject.org>
+Date: Fri, 15 May 2026 13:38:32 +0900
+Subject: [PATCH 3/3] Additional fix for GFileInfo related warnings with
+ menu/application window
+
+More fix for #118 .
+---
+ src/gtk/fm-path-entry.c | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/src/gtk/fm-path-entry.c b/src/gtk/fm-path-entry.c
+index 661b908e..e978315b 100644
+--- a/src/gtk/fm-path-entry.c
++++ b/src/gtk/fm-path-entry.c
+@@ -485,7 +485,8 @@ static gboolean list_sub_dirs(GIOSchedulerJob *job, GCancellable *cancellable, g
+                 GFileType type = g_file_info_get_file_type(inf);
+                 if(type == G_FILE_TYPE_DIRECTORY)
+                 {
+-                    const char* name = g_file_info_get_edit_name(inf);
++                    const char* name = g_file_info_has_attribute(inf, G_FILE_ATTRIBUTE_STANDARD_EDIT_NAME) ?
++                        g_file_info_get_edit_name(inf) : NULL;
+                     if (!name)
+                         name = g_file_info_get_display_name(inf);
+                     data->subdirs = g_list_prepend(data->subdirs, g_strdup(name));

diff --git a/libfm.spec b/libfm.spec
index e8feb8a..26ab2b6 100644
--- a/libfm.spec
+++ b/libfm.spec
@@ -45,7 +45,7 @@
 
 Name:           libfm
 Version:        %{main_version}%{git_ver_rpm}
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        GIO-based library for file manager-like programs
 
 # src/actions/	GPL-2.0-or-later
@@ -511,6 +511,9 @@ fi
 %endif
 
 %changelog
+* Fri May 15 2026 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.4.1-5
+- Additional fix for GFileInfo warnings with menu/application window
+
 * Thu May 07 2026 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.4.1-4
 - Additional fix for GFileInfo warnings with search window
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-24  8:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-24  8:27 [rpms/libfm] f43: Additional fix for GFileInfo warnings with menu/application window Mamoru TASAKA

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox