nautilus: upgrade 44.0 -> 44.1

0001-initialize-GdkDragAction-action-to-0.patch
removed since it's included in 44.1

Changelog:
==========
* Resolve some crashes
* Visual bugfixes:
  - Tweak style colors in view items
  - Show custom emblems from extensions again
  - Relayout SELinux property row
  - Flip switches correctly
* Other bugfixes:
  - Disable some actions when not useful
  - Fix dead characters handling in batch rename dialog
  - Fix crashes when rapidly opening and closing windows
  - Prevent location change when autofs timeouts
  - Fix issues with translations in libadwaita widgets
  - Drop workarounds for fixed GTK bugs
  - Fix other issues
* Enhancements:
  - Dismiss toast on undo
  - Select right items after some operations
  - Paste into expanded folders
  - Allow extraction of .tar.zst and .zstd archives
  - Performance optimization
* Translation updates

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 0398ebda11)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Wang Mingyu 2023-05-08 18:09:57 +08:00 committed by Armin Kuster
parent f074fffb73
commit 7044c98208
2 changed files with 1 additions and 49 deletions

View File

@ -1,47 +0,0 @@
From d8f8859369b228d86aeeb043d732b9c60fdce289 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Fri, 24 Mar 2023 15:29:04 -0700
Subject: [PATCH] initialize GdkDragAction action to 0
This helps in silencing clang found warning
autilus-pathbar.c:759:9: error: variable 'action' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
if (G_VALUE_HOLDS (value, GDK_TYPE_FILE_LIST))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/nautilus/-/merge_requests/1158]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
src/nautilus-pathbar.c | 2 +-
src/nautilus-window.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/nautilus-pathbar.c b/src/nautilus-pathbar.c
index 1b6ea6a..a5ab780 100644
--- a/src/nautilus-pathbar.c
+++ b/src/nautilus-pathbar.c
@@ -746,7 +746,7 @@ on_drag_motion (GtkDropTarget *target,
gpointer user_data)
{
ButtonData *button_data = user_data;
- GdkDragAction action;
+ GdkDragAction action = 0;
const GValue *value;
graphene_point_t start;
diff --git a/src/nautilus-window.c b/src/nautilus-window.c
index 30299b1..74c548f 100644
--- a/src/nautilus-window.c
+++ b/src/nautilus-window.c
@@ -1476,7 +1476,7 @@ extra_drag_value_cb (AdwTabBar *self,
{
NautilusWindowSlot *slot = NAUTILUS_WINDOW_SLOT (adw_tab_page_get_child (page));
g_autoptr (NautilusFile) file = nautilus_file_get (nautilus_window_slot_get_location (slot));
- GdkDragAction action;
+ GdkDragAction action = 0;
if (value == NULL)
{
--
2.40.0

View File

@ -26,8 +26,7 @@ inherit gnomebase gsettings gobject-introspection gtk-doc gettext features_check
def gnome_verdir(v):
return oe.utils.trim_version(v, 1)
SRC_URI += "file://0001-initialize-GdkDragAction-action-to-0.patch"
SRC_URI[archive.sha256sum] = "57b99ebb8e2b9c1512d381e53096188c087b33410d6c52d87a27bd60ee76ac7f"
SRC_URI[archive.sha256sum] = "360802a595e3edbad962c8cea353b62baa8be407513b5162c89c933ca5387aa9"
REQUIRED_DISTRO_FEATURES = "x11 opengl"