public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Mamoru TASAKA <mtasaka@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/libfm] f44: Additional fix for GFileInfo warnings with menu/application window
Date: Wed, 24 Jun 2026 08:27:18 GMT	[thread overview]
Message-ID: <178228963849.1.8348807169612319395.rpms-libfm-4e00643c3bd2@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/libfm
Branch : f44
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=f44

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
 

                 reply	other threads:[~2026-06-24  8:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178228963849.1.8348807169612319395.rpms-libfm-4e00643c3bd2@fedoraproject.org \
    --to=mtasaka@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox