From c4ac361c2cd8de04146dfe8c15a83a752f37fc409b4cba40404f8349e00eeb77 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Fri, 9 Jan 2009 00:37:13 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nautilus?expand=0&rev=52 --- nautilus-new-windows-after-mount.patch | 27 ++++++++++++ nautilus.changes | 6 +++ nautilus.spec | 58 ++++++++++++++------------ 3 files changed, 65 insertions(+), 26 deletions(-) create mode 100644 nautilus-new-windows-after-mount.patch diff --git a/nautilus-new-windows-after-mount.patch b/nautilus-new-windows-after-mount.patch new file mode 100644 index 0000000..e89b543 --- /dev/null +++ b/nautilus-new-windows-after-mount.patch @@ -0,0 +1,27 @@ +Index: libnautilus-private/nautilus-mime-actions.c +=================================================================== +--- libnautilus-private/nautilus-mime-actions.c (revision 14785) ++++ libnautilus-private/nautilus-mime-actions.c (working copy) +@@ -1327,6 +1327,7 @@ + NautilusFile *file; + GFile *location; + GMountOperation *mount_op; ++ GList *l, *next; + + if (parameters->not_mounted != NULL) { + file = parameters->not_mounted->data; +@@ -1348,6 +1349,14 @@ + return; + } + ++ /* once the mount is finished, refresh all attributes */ ++ /* - fixes new windows not appearing after successful mount */ ++ for (l = parameters->files; l != NULL; l = next) { ++ file = NAUTILUS_FILE (l->data); ++ next = l->next; ++ nautilus_file_invalidate_all_attributes (file); ++ } ++ + nautilus_file_list_call_when_ready + (parameters->files, + nautilus_mime_actions_get_required_file_attributes () | NAUTILUS_FILE_ATTRIBUTE_LINK_INFO, diff --git a/nautilus.changes b/nautilus.changes index 380d4e2..665a3d9 100644 --- a/nautilus.changes +++ b/nautilus.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Dec 4 20:39:39 CST 2008 - hpj@novell.com + +- Added nautilus-new-windows-after-mount.patch (bnc#437780, + bgo#524485). + ------------------------------------------------------------------- Sun Nov 30 23:41:55 CET 2008 - vuntz@novell.com diff --git a/nautilus.spec b/nautilus.spec index a5bf9a9..286d314 100644 --- a/nautilus.spec +++ b/nautilus.spec @@ -1,7 +1,7 @@ # # spec file for package nautilus (Version 2.24.1) # -# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -41,7 +41,7 @@ BuildRequires: update-desktop-files License: GPL v2 or later Group: Productivity/File utilities Version: 2.24.1 -Release: 6 +Release: 7 Summary: The GNOME 2.x Desktop File Manager Source: ftp://ftp.gnome.org/pub/gnome/sources/nautilus/2.20/%{name}-%{version}.tar.bz2 Url: http://www.gnome.org @@ -71,6 +71,8 @@ Patch19: nautilus-desktop-icon.patch Patch20: nautilus-bnc363122-lockdown-context-menus.diff # PATCH-FEATURE-OPENSUSE nautilus-sysadmin-desktop-items.diff fate305252 federico@novell.com -- Support sysadmin-defined desktop items Patch21: nautilus-sysadmin-desktop-items.diff +# PATCH-FIX-UPSTREAM nautilus-new-windows-after-mount.patch bgo524485 bnc437780 hpj@suse.de -- Fix browser windows that sometimes don't show. +Patch22: nautilus-new-windows-after-mount.patch Requires: %{name}-lang = %{version} Requires: gvfs # So that symlinks to icons work: @@ -118,6 +120,7 @@ gnome-patch-translation-prepare %patch19 -p1 %patch20 -p1 %patch21 -p1 +%patch22 -p0 gnome-patch-translation-update %build @@ -205,12 +208,15 @@ fi %{_datadir}/gtk-doc/html/libnautilus-extension %changelog +* Thu Dec 04 2008 hpj@novell.com +- Added nautilus-new-windows-after-mount.patch (bnc#437780, + bgo#524485). * Sun Nov 30 2008 vuntz@novell.com - Remove sles_version conditional; make nautilus-search.desktop mandatory on SLES/SLED. (This was initially done by Federico, but I redid it to remove both %%sles_version) -* Wed Nov 12 2008 federico@novell.com +* Tue Nov 11 2008 federico@novell.com - Updated nautilus-sysadmin-desktop-items.diff to fix https://bugzilla.novell.com/show_bug.cgi?id=438277 - icon positions in the desktop don't get restored. @@ -315,7 +321,7 @@ fi + Show file name instead of URI in the bookmark editor window for local files + Polish "Visible Columns" list view dialog. -* Sat Aug 09 2008 maw@suse.de +* Fri Aug 08 2008 maw@suse.de - Update to version 2.23.6.1: + Support transferring files with reserved FAT characters to a FAT file system; replace them with an underscore if neccessary @@ -393,14 +399,14 @@ fi + Respin the following patches: nautilus-bnc366100-bgo338933-ignore-foreign-desktop-files.diff and nautilus-bnc363122-lockdown-context-menus.diff. -* Sat Jun 07 2008 hpj@suse.de +* Fri Jun 06 2008 hpj@suse.de - Back out nautilus-bnc376669-always-update-thumbnail.patch (bnc#376669). * Fri Jun 06 2008 rodrigo@suse.de - Add nautilus-bnc397852-huge-memory-leak.patch (bnc#397852) * Wed May 21 2008 hpj@suse.de - Add nautilus-bnc393226-dont-move-to-burn.patch (bnc#393226). -* Tue May 20 2008 hpj@suse.de +* Mon May 19 2008 hpj@suse.de - Add nautilus-bnc376669-always-update-thumbnail.patch (bnc#376669). * Thu May 01 2008 hpj@suse.de - Removed previously disabled patches that were made obsolete by @@ -443,7 +449,7 @@ fi * Thu Apr 10 2008 ro@suse.de - added baselibs.conf file to build xxbit packages for multilib support -* Thu Apr 03 2008 hpj@suse.de +* Wed Apr 02 2008 hpj@suse.de - Upgraded to version 2.22.1: * Fix crashes and leaks. * Fix emblem display in property page. @@ -475,7 +481,7 @@ fi - Add back gtk2-devel to the devel requires * Fri Mar 21 2008 vuntz@suse.de - Add a gnome-desktop-devel buildrequires to fix the build. -* Fri Mar 21 2008 jpr@suse.de +* Thu Mar 20 2008 jpr@suse.de - Remove obsolete -devel package requries - Remove medusa obsoletes, not relevant to any shipping distros * Thu Mar 13 2008 sbrabec@suse.cz @@ -497,7 +503,7 @@ fi - Use %%suse_update_desktop_file for nautilus-autorun-software and nautilus-folder-handler to mark them as translatable. - Add nautilus-bnc366455-change-ownership.patch to fix bnc#366455. -* Wed Mar 05 2008 maw@suse.de +* Tue Mar 04 2008 maw@suse.de - Update to version 2.21.92: + Build fixes + Fix crashes and leaks @@ -714,7 +720,7 @@ fi - Fix clash with symbol names in gtk+ * Wed Sep 20 2006 sbrabec@suse.cz - Update MIME database in scriptlets (#201729). -* Thu Sep 14 2006 jhargadon@suse.de +* Wed Sep 13 2006 jhargadon@suse.de - update to version 2.16.0 - Handle enter activation when using typeahead search - Avoid using gnome_vfs_is_local in wrong places @@ -840,7 +846,7 @@ fi - Fixed I18N problems: * untranslatable Search string (#173448) * uninitialized locale (#173448#c3) -* Wed May 17 2006 federico@novell.com +* Tue May 16 2006 federico@novell.com - Updated nautilus-158158-ignore-foreign-desktop-files.diff to fix https://bugzilla.novell.com/show_bug.cgi?id=176123. The "OnlyShowIn" key in desktop files can contain multiple items. Also @@ -851,14 +857,14 @@ fi toggle button to the left of path bar in navigation windows. Pressing this button will switch to using a location entry instead of the path bar. -* Fri May 12 2006 federico@novell.com +* Thu May 11 2006 federico@novell.com - Updated nautilus-155010-desktop-volume-policy.diff; this fixes https://bugzilla.novell.com/show_bug.cgi?id=175076. This fixes a crash when dragging a volume to the trash. * Wed May 10 2006 joeshaw@suse.de - Update search patch to remove annoying "queuing " debug spew. -* Wed May 10 2006 federico@novell.com +* Tue May 09 2006 federico@novell.com - Added nautilus-142860-vfs-drive-for-extensions.diff to fix the Nautilus part of bug https://bugzilla.novell.com/show_bug.cgi?id=142860. This lets @@ -905,7 +911,7 @@ fi - Added nautilus-155337-icon-positioning-on-reload.diff to fix bug [#155337]. Now icons in the desktop are not repositioned if the desktop gets reloaded. -* Fri Mar 17 2006 federico@novell.com +* Thu Mar 16 2006 federico@novell.com - Added nautilus-perf-no-burn-uri-for-desktop.diff. This makes Nautilus not do unnecessary work when initializing the desktop, saving 1 second during login. @@ -916,7 +922,7 @@ fi - use beagle on ppc64 as well * Thu Mar 02 2006 sbrabec@suse.cz - Translations from upstream moved to gnome-patch-translation. -* Fri Feb 24 2006 federico@novell.com +* Thu Feb 23 2006 federico@novell.com - Added nautilus-130796-bad-icon-placement.diff to fix https://bugzilla.novell.com/show_bug.cgi?id=130796. This makes desktop icons with very wide labels be placed correctly, instead of @@ -928,7 +934,7 @@ fi isn't running. * Sun Feb 19 2006 aj@suse.de - Reduce BuildRequires. -* Sat Feb 18 2006 gekker@suse.de +* Fri Feb 17 2006 gekker@suse.de - ficup .desktop files for UI team * Mon Feb 13 2006 federico@novell.com - Added nautilus-130796-bad-icon-placement.diff to fix @@ -951,7 +957,7 @@ fi - converted neededforbuild to BuildRequires * Mon Jan 23 2006 joeshaw@suse.de - Update search patch to only search the files backend -* Wed Jan 18 2006 gekker@suse.de +* Tue Jan 17 2006 gekker@suse.de - Remove Requires: on control-center2 and gnome-themes (#142237) * Tue Dec 06 2005 sbrabec@suse.cz - Do not require beagle on ppc64. @@ -965,7 +971,7 @@ fi * Thu Dec 01 2005 federico@novell.com - Updated nautilus-6014-network-servers-desktop-icon.diff. When doing "Clean up by Name", the Network Servers icon will now be put after your Home icon. -* Thu Dec 01 2005 federico@novell.com +* Wed Nov 30 2005 federico@novell.com - Added nautilus-6014-network-servers-desktop-icon.diff to fix bug #6014. This Creates a "Network Servers" icon in the desktop. - Added nautilus-136167-no-default-window.diff to fix bug #136167. @@ -975,7 +981,7 @@ fi - Update to version 2.12.2 * Mon Nov 28 2005 gekker@suse.de - Enable nauilus sidebar by default (#132383). -* Thu Nov 17 2005 federico@novell.com +* Wed Nov 16 2005 federico@novell.com - Added nautilus-default-thumbnail-size.diff. This makes the default size for thumbnails be 64 pixels, which looks better with the default theme than the old value of 96 pixels. @@ -983,11 +989,11 @@ fi - Update nautilus-search patch to 20051101. - Add patch to hide the zoom and "view as" controls from the location bar. -* Tue Nov 08 2005 federico@novell.com +* Mon Nov 07 2005 federico@novell.com - Added nautilus-115467-dont-overlap-volume-icons.diff to fix part of bug #115467. With this, Nautilus will not overlap the icons when you insert a CD or USB stick. -* Wed Nov 02 2005 federico@novell.com +* Tue Nov 01 2005 federico@novell.com - Updated nautilus-submount.patch to fix bug #127509. With this, the "Unmount volume" command will appear again for network volumes. * Thu Oct 13 2005 gekker@suse.de @@ -1004,7 +1010,7 @@ fi - Add DocPath to .desktop file * Thu Oct 06 2005 sbrabec@suse.de - Require gnome-themes. -* Wed Oct 05 2005 federico@novell.com +* Tue Oct 04 2005 federico@novell.com - Added nautilus-consistent-home-folder-name.diff to make the name of $HOME consistent between the path bar and side bar in Nautilus and GtkFileChooser. @@ -1060,7 +1066,7 @@ fi - Update to version 2.10.0 (GNOME 2.10). * Mon Mar 07 2005 gekker@suse.de - Add nautilus-background-memory.patch -* Fri Mar 04 2005 gekker@suse.de +* Thu Mar 03 2005 gekker@suse.de - Update to version 2.9.92 * Fri Feb 11 2005 gekker@suse.de - Update to 2.9.91 @@ -1107,7 +1113,7 @@ fi * Tue Sep 21 2004 hhetter@suse.de - show "drives:" location instead of "computer:" and recognize /var/lib/Desktop -* Wed Sep 08 2004 clahey@suse.de +* Tue Sep 07 2004 clahey@suse.de - Added OnlyShowIn=GNOME;. * Tue Aug 24 2004 dave@suse.de - Added nautilus-location-crash.patch, ximian bug #63445 @@ -1280,7 +1286,7 @@ fi - gnome-common in #neededforbuild * Fri Jun 07 2002 hhetter@suse.de - really build nautilus treeview and notes -* Thu Jun 06 2002 ro@suse.de +* Wed Jun 05 2002 ro@suse.de - fix libdir usage * Wed Jun 05 2002 hhetter@suse.de - added missing pkgtool files @@ -1294,7 +1300,7 @@ fi * Tue May 07 2002 ro@suse.de - up to 1.1.15 - added gail to neededforbuild (for eel2) -* Fri Feb 01 2002 ro@suse.de +* Thu Jan 31 2002 ro@suse.de - changed neededforbuild to * Thu Jan 24 2002 hhetter@suse.de - initial SuSE package for GNOME 2.0 platform