This commit is contained in:
parent
e004cebf4a
commit
d1546f15d2
27
nautilus-bnc368446-network-in-places.patch
Normal file
27
nautilus-bnc368446-network-in-places.patch
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
This adds network:/// in the Places sidebar. Backport from 2.23.1.
|
||||||
|
|
||||||
|
https://bugzilla.novell.com/show_bug.cgi?id=368446
|
||||||
|
http://bugzilla.gnome.org/show_bug.cgi?id=350974
|
||||||
|
|
||||||
|
|
||||||
|
Index: src/nautilus-places-sidebar.c
|
||||||
|
===================================================================
|
||||||
|
--- src/nautilus-places-sidebar.c (révision 13930)
|
||||||
|
+++ src/nautilus-places-sidebar.c (copie de travail)
|
||||||
|
@@ -295,6 +295,16 @@ update_places (NautilusPlacesSidebar *si
|
||||||
|
gtk_tree_selection_select_iter (selection, &last_iter);
|
||||||
|
}
|
||||||
|
|
||||||
|
+ mount_uri = "network:///"; /* No need to strdup */
|
||||||
|
+ icon = g_themed_icon_new (NAUTILUS_ICON_NETWORK);
|
||||||
|
+ last_iter = add_place (sidebar, PLACES_BUILT_IN,
|
||||||
|
+ _("Network"), icon,
|
||||||
|
+ mount_uri, NULL, NULL, NULL, 0);
|
||||||
|
+ g_object_unref (icon);
|
||||||
|
+ if (strcmp (location, mount_uri) == 0) {
|
||||||
|
+ gtk_tree_selection_select_iter (selection, &last_iter);
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
volume_monitor = sidebar->volume_monitor;
|
||||||
|
|
||||||
|
/* first go through all connected drives */
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 22 15:53:44 CEST 2008 - vuntz@suse.de
|
||||||
|
|
||||||
|
- Add nautilus-bnc368446-network-in-places.patch to add network://
|
||||||
|
in the places sidebar. Fix bnc#368446 (backported from upstream
|
||||||
|
2.23.1).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Apr 10 17:59:04 CEST 2008 - maw@suse.de
|
Thu Apr 10 17:59:04 CEST 2008 - maw@suse.de
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ BuildRequires: cdparanoia eel-devel fdupes gnome-common gnome-desktop-devel gno
|
|||||||
License: GPL v2 or later
|
License: GPL v2 or later
|
||||||
Group: Productivity/File utilities
|
Group: Productivity/File utilities
|
||||||
Version: 2.22.2
|
Version: 2.22.2
|
||||||
Release: 1
|
Release: 6
|
||||||
Summary: The GNOME 2.x Desktop File Manager
|
Summary: The GNOME 2.x Desktop File Manager
|
||||||
Source: ftp://ftp.gnome.org/pub/gnome/sources/nautilus/2.20/%{name}-%{version}.tar.bz2
|
Source: ftp://ftp.gnome.org/pub/gnome/sources/nautilus/2.20/%{name}-%{version}.tar.bz2
|
||||||
Url: http://www.gnome.org
|
Url: http://www.gnome.org
|
||||||
@ -52,6 +52,8 @@ Patch18: nautilus-330298-297983-fix-overlapping-desktop-icons.diff
|
|||||||
Patch19: nautilus-desktop-icon.patch
|
Patch19: nautilus-desktop-icon.patch
|
||||||
# PATCH-FIX-OPENSUSE nautilus-bnc363122-lockdown-context-menus.diff bnc363122 federico@novell.com
|
# PATCH-FIX-OPENSUSE nautilus-bnc363122-lockdown-context-menus.diff bnc363122 federico@novell.com
|
||||||
Patch20: nautilus-bnc363122-lockdown-context-menus.diff
|
Patch20: nautilus-bnc363122-lockdown-context-menus.diff
|
||||||
|
# PATCH-FEATURE-UPSTREAM nautilus-bnc368446-network-in-places.patch bnc368446 bgo350974 vuntz@novell.com -- Add network:// in the places sidebar
|
||||||
|
Patch21: nautilus-bnc368446-network-in-places.patch
|
||||||
Requires: gnome-icon-theme
|
Requires: gnome-icon-theme
|
||||||
Requires: %{name}-lang = %{version}
|
Requires: %{name}-lang = %{version}
|
||||||
Requires: gvfs
|
Requires: gvfs
|
||||||
@ -102,6 +104,7 @@ gnome-patch-translation-prepare
|
|||||||
### %patch18 -p1
|
### %patch18 -p1
|
||||||
%patch19 -p1
|
%patch19 -p1
|
||||||
%patch20 -p1
|
%patch20 -p1
|
||||||
|
%patch21
|
||||||
gnome-patch-translation-update
|
gnome-patch-translation-update
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -185,6 +188,10 @@ fi
|
|||||||
%{_libdir}/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/*.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Apr 22 2008 vuntz@suse.de
|
||||||
|
- Add nautilus-bnc368446-network-in-places.patch to add network://
|
||||||
|
in the places sidebar. Fix bnc#368446 (backported from upstream
|
||||||
|
2.23.1).
|
||||||
* Thu Apr 10 2008 maw@suse.de
|
* Thu Apr 10 2008 maw@suse.de
|
||||||
- Update to version 2.22.2:
|
- Update to version 2.22.2:
|
||||||
+ Add NautilusFileInfo APIs: can_write(), get_mount(),
|
+ Add NautilusFileInfo APIs: can_write(), get_mount(),
|
||||||
|
Loading…
Reference in New Issue
Block a user