Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package nemo for openSUSE:Factory checked in 
at 2021-11-07 22:09:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nemo (Old)
 and      /work/SRC/openSUSE:Factory/.nemo.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nemo"

Sun Nov  7 22:09:08 2021 rev:44 rq:929986 version:5.0.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/nemo/nemo.changes        2021-07-17 
23:37:23.829618928 +0200
+++ /work/SRC/openSUSE:Factory/.nemo.new.1890/nemo.changes      2021-11-07 
22:09:13.951639277 +0100
@@ -1,0 +2,12 @@
+Fri Nov  5 09:17:59 UTC 2021 - Ferdinand Thiessen <r...@fthiessen.de>
+
+- Update to version 5.0.5
+  * search: Ensure a path before using it as a key in the skip table
+  * nemo-view.c: Follow the same invocation rules for bulk renaming
+    as we do for normal renaming.
+  * nemo-file.h: Use the correct icon names for read-only and
+    unreadable emblems.
+  * nemo-window-manager-views.c: When removing a folder, don't close
+    the entire window if that folder is open on another tab.
+
+-------------------------------------------------------------------

Old:
----
  nemo-5.0.3.tar.gz

New:
----
  nemo-5.0.5.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ nemo.spec ++++++
--- /var/tmp/diff_new_pack.XfPtoN/_old  2021-11-07 22:09:14.791640027 +0100
+++ /var/tmp/diff_new_pack.XfPtoN/_new  2021-11-07 22:09:14.795640031 +0100
@@ -20,7 +20,7 @@
 %define sover   1
 %define typelib typelib-1_0-Nemo-3_0
 Name:           nemo
-Version:        5.0.3
+Version:        5.0.5
 Release:        0
 Summary:        File browser for Cinnamon
 License:        GPL-2.0-or-later

++++++ nemo-5.0.3.tar.gz -> nemo-5.0.5.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nemo-5.0.3/debian/changelog 
new/nemo-5.0.5/debian/changelog
--- old/nemo-5.0.3/debian/changelog     2021-07-02 11:50:04.000000000 +0200
+++ new/nemo-5.0.5/debian/changelog     2021-11-01 10:25:27.000000000 +0100
@@ -1,3 +1,19 @@
+nemo (5.0.5) uma; urgency=medium
+
+  [ Michael Webster ]
+  * nemo-search-engine-advanced.c: Ensure a path before using it as a key in 
the skip table - g_str_hash cannot be NULL.
+
+ -- Clement Lefebvre <r...@linuxmint.com>  Mon, 01 Nov 2021 09:25:06 +0000
+
+nemo (5.0.4) uma; urgency=medium
+
+  [ Michael Webster ]
+  * nemo-view.c: Follow the same invocation rules for bulk renaming as we do 
for normal renaming.
+  * nemo-file.h: Use the correct icon names for read-only and unreadable 
emblems.
+  * nemo-window-manager-views.c: When removing a folder, don't close the 
entire window if that folder is open on another tab.
+
+ -- Clement Lefebvre <r...@linuxmint.com>  Fri, 15 Oct 2021 15:39:16 +0100
+
 nemo (5.0.3) uma; urgency=medium
 
   [ Michael Webster ]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nemo-5.0.3/libnemo-private/nemo-file.h 
new/nemo-5.0.5/libnemo-private/nemo-file.h
--- old/nemo-5.0.3/libnemo-private/nemo-file.h  2021-07-02 11:50:04.000000000 
+0200
+++ new/nemo-5.0.5/libnemo-private/nemo-file.h  2021-11-01 10:25:27.000000000 
+0100
@@ -115,8 +115,8 @@
 
 /* Emblems sometimes displayed for NemoFiles. Do not localize. */ 
 #define NEMO_FILE_EMBLEM_NAME_SYMBOLIC_LINK "symbolic-link"
-#define NEMO_FILE_EMBLEM_NAME_CANT_READ "noread"
-#define NEMO_FILE_EMBLEM_NAME_CANT_WRITE "nowrite"
+#define NEMO_FILE_EMBLEM_NAME_CANT_READ "unreadable"
+#define NEMO_FILE_EMBLEM_NAME_CANT_WRITE "readonly"
 #define NEMO_FILE_EMBLEM_NAME_TRASH "trash"
 #define NEMO_FILE_EMBLEM_NAME_NOTE "note"
 #define NEMO_FILE_EMBLEM_NAME_FAVORITE "xapp-favorite"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/nemo-5.0.3/libnemo-private/nemo-search-engine-advanced.c 
new/nemo-5.0.5/libnemo-private/nemo-search-engine-advanced.c
--- old/nemo-5.0.3/libnemo-private/nemo-search-engine-advanced.c        
2021-07-02 11:50:04.000000000 +0200
+++ new/nemo-5.0.5/libnemo-private/nemo-search-engine-advanced.c        
2021-11-01 10:25:27.000000000 +0100
@@ -1032,9 +1032,13 @@
            (dir = g_queue_pop_head (data->directories)) != NULL) {
 
         if (!toplevel) {
-            if (g_hash_table_contains (data->skip_folders, g_file_peek_path 
(dir))) {
-                g_object_unref (dir);
-                continue;
+            const gchar *path = g_file_peek_path (dir);
+
+            if (path != NULL) {
+                if (g_hash_table_contains (data->skip_folders, path)) {
+                    g_object_unref (dir);
+                    continue;
+                }
             }
 
             g_autofree gchar *filename = NULL;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nemo-5.0.3/meson.build new/nemo-5.0.5/meson.build
--- old/nemo-5.0.3/meson.build  2021-07-02 11:50:04.000000000 +0200
+++ new/nemo-5.0.5/meson.build  2021-11-01 10:25:27.000000000 +0100
@@ -1,7 +1,7 @@
 # Meson build file
 
 # https://github.com/linuxmint/nemo
-project('nemo', 'c', version: '5.0.3',
+project('nemo', 'c', version: '5.0.5',
   meson_version: '>=0.41.0'
 )
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nemo-5.0.3/src/nemo-view.c 
new/nemo-5.0.5/src/nemo-view.c
--- old/nemo-5.0.3/src/nemo-view.c      2021-07-02 11:50:04.000000000 +0200
+++ new/nemo-5.0.5/src/nemo-view.c      2021-11-01 10:25:27.000000000 +0100
@@ -9661,12 +9661,24 @@
     is_desktop_view = get_is_desktop_view (view);
     trash_supported = eel_vfs_supports_uri_scheme ("trash");
 
-       action = gtk_action_group_get_action (view->details->dir_action_group,
-                                             NEMO_ACTION_RENAME);
-       /* rename sensitivity depending on selection */
-       if (selection_count > 1) {
-               /* If multiple files are selected, sensitivity depends on 
whether a bulk renamer is registered. */
-               gtk_action_set_sensitive (action, have_bulk_rename_tool ());
+    action = gtk_action_group_get_action (view->details->dir_action_group,
+                                          NEMO_ACTION_RENAME);
+    /* rename sensitivity depending on selection */
+    if (selection_count > 1) {
+        GList *ptr;
+        gboolean can_rename = TRUE;
+
+        for (ptr = selection; ptr != NULL; ptr = ptr->next) {
+            NemoFile *item = NEMO_FILE (ptr->data);
+            // Favorites can be renamed, but only one at a time - bulk 
renamers don't know about the
+            // xapp favorites api.
+            if (!nemo_view_can_rename_file (view, item) || 
nemo_file_is_in_favorites (item)) {
+                can_rename = FALSE;
+                break;
+            }
+        }
+
+               gtk_action_set_sensitive (action, can_rename);
        } else {
                gtk_action_set_sensitive (action,
                                          selection_count == 1 &&
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nemo-5.0.3/src/nemo-window-manage-views.c 
new/nemo-5.0.5/src/nemo-window-manage-views.c
--- old/nemo-5.0.3/src/nemo-window-manage-views.c       2021-07-02 
11:50:04.000000000 +0200
+++ new/nemo-5.0.5/src/nemo-window-manage-views.c       2021-11-01 
10:25:27.000000000 +0100
@@ -285,7 +285,7 @@
         if (slot->back_list == NULL) {
             end_location_change (slot);
             gtk_widget_destroy (GTK_WIDGET (slot->content_view));
-            nemo_window_close (nemo_window_slot_get_window (slot));
+            nemo_window_pane_close_slot (slot->pane, slot);
             return;
         }
 

Reply via email to