Changeset 3516
- Timestamp:
- 04/09/08 00:29:49 (5 years ago)
- Location:
- pkg/viola/main/nautilus/trunk/debian
- Files:
-
- 12 edited
-
changelog (modified) (1 diff)
-
control (modified) (7 diffs)
-
control.in (modified) (7 diffs)
-
nautilus-connect-server.1 (modified) (2 diffs)
-
nautilus.1 (modified) (1 diff)
-
patches/05_places-sidebar_single-click.patch (modified) (1 diff)
-
patches/07_desktop_file_activation.patch (modified) (6 diffs)
-
patches/10_location_titlebar.patch (modified) (10 diffs)
-
patches/12_list-view_expand.patch (modified) (4 diffs)
-
patches/14_sidebar_network-protocol.patch (modified) (1 diff)
-
patches/99_ltmain_as-needed.patch (modified) (2 diffs)
-
patches/series (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
pkg/viola/main/nautilus/trunk/debian/changelog
r3436 r3516 1 nautilus (2.22.1-parsix1) unstable; urgency=low 2 1 nautilus (2.22.2-parsix1) unstable; urgency=low 2 3 * New upstream stable release, Sync'd with Debian 2.22.2-1 4 5 -- Alan Baghumian <alan@technotux.org> Wed, 09 Apr 2008 00:28:49 +0200 6 7 nautilus (2.22.2-1) experimental; urgency=high 8 9 * New upstream bugfix release: 10 + debian/patches/05_places-sidebar_single-click.patch: 11 - Updated to apply cleanly again. 12 13 -- Sebastian Dröge <slomo@debian.org> Tue, 08 Apr 2008 18:48:04 +0200 14 15 nautilus (2.22.1-1) experimental; urgency=low 16 17 * 05_places-sidebar_single-click.patch: Update from bugzilla and enable 18 again as it should work good now and is more consistent with the 19 GTK file chooser. 20 * New upstream bugfix release: 21 + debian/patches/03_sftp_connect.patch, 22 debian/patches/04_show_backup_files.patch, 23 debian/patches/15_tracker_check.patch, 24 debian/patches/90_from_svn_mount_connect_to_server_locations.patch, 25 debian/patches/90_from_svn_fix_changing_default_application.patch: 26 - Dropped, emrged upstream. 27 28 -- Sebastian Dröge <slomo@debian.org> Fri, 28 Mar 2008 22:12:12 +0100 29 30 nautilus (2.22.0-3) experimental; urgency=low 31 32 * Disable 05_places-sidebar_single-click.patch as it's buggy. 33 * Remove 18_disable_signal_handler.patch, it's better fixed upstream. 34 * Remove 06_dont_create_Desktop.patch, --no-desktop is meant as a switch 35 to not show icons on the desktop and not creating the desktop directory 36 creates all kinds of broken links in nautilus. 37 * Remove 08_folder_handler.patch, this is upstream already. 38 * Disable 10_location_titlebar.patch, this gives completely unwanted results 39 for thrash:// for example or when the filesystem uses something else 40 than UTF8 as encoding (%XX stuff in the title). 41 See http://bugzilla.gnome.org/show_bug.cgi?id=142087 42 * 90_from_svn_mount_connect_to_server_locations.patch, Added. Mounts location 43 in the connect to server dialog. Patch taken from the Ubuntu package. 44 45 -- Sebastian Dröge <slomo@debian.org> Wed, 19 Mar 2008 16:22:08 +0100 46 47 nautilus (2.22.0-2) experimental; urgency=low 48 49 * Disable 07_desktop_file_activation.patch for now, it breaks in an 50 unintended way. 51 52 -- Sebastian Dröge <slomo@debian.org> Wed, 19 Mar 2008 11:10:42 +0100 53 54 nautilus (2.22.0-1) experimental; urgency=low 55 56 [ Loic Minier ] 57 * Add a nautilus-extensions-1.0 Provide to nautilus to express the fact that 58 nautilus will search for extensions in /usr/lib/nautilus/extensions-1.0; 59 this might avoid a long list of Conflicts in nautilus when updating to 60 extensions-2.0 (nautilus >= 2.21.2). 61 62 [ Josselin Mouette ] 63 * Demote fam to a Suggests; only g-d-e really needs to recommend it. 64 65 [ Sebastian Dröge ] 3 66 * New upstream stable release: 4 - dropped 03_sftp_connect, 04_show_backup_files, 15_tracker_check, 5 90_from_svn_fix_changing_default_application and 6 90_from_svn_mount_connect_to_server_locations, merged upstream 7 8 -- Alan Baghumian <alan@technotux.org> Sat, 29 Mar 2008 14:22:24 +0100 9 10 nautilus (2.22.0-parsix2) unstable; urgency=low 11 12 * Added 90_from_svn_mount_connect_to_server_locations.patch 13 * Dropped 08_folder_handler.patch, merged upstream 14 15 -- Alan Baghumian <alan@technotux.org> Thu, 20 Mar 2008 08:38:18 +0100 16 17 nautilus (2.22.0-parsix1) unstable; urgency=low 18 19 * New upstream stable release 20 * Merged some updates from Ubuntu 21 22 -- Alan Baghumian <alan@technotux.org> Sat, 15 Mar 2008 08:19:37 +0100 23 24 nautilus (2.20.0-parsix3) unstable; urgency=low 25 26 * Sync'd with Debian 2.20.0-3 27 28 -- Alan Baghumian <alan@technotux.org> Sun, 03 Feb 2008 12:48:11 +0330 67 + Upload to experimental first because of intrusive changes. 68 + debian/control.in: 69 - Update build dependencies and dependencies. 70 + debian/rules: 71 - Bump shlibs. 72 + debian/patches/01_prompt_same_file.patch, 73 debian/patches/16_missing_thumbnails.patch, 74 debian/patches/20_upstream_nautilus-dnd-user-owned.patch, 75 debian/patches/21_nautilus_xmp.patch, 76 debian/patches/23_thumbnails_add-border.patch, 77 debian/patches/11_gnomevfs_query_eject.patch: 78 - Dropped, merged upstream. 79 + debian/patches/06_dont_create_Desktop.patch: 80 - Updated to apply cleanly again. 81 + debian/patches/07_desktop_file_activation.patch: 82 - Updated to apply cleanly again. 83 + debian/patches/10_location_titlebar.patch: 84 - Updated to apply cleanly again. 85 + debian/patches/14_sidebar_network-protocol.patch: 86 - Updated to apply cleanly again. 87 + debian/patches/99_ltmain_as-needed.patch: 88 - Updated to apply cleanly again. 89 + debian/patches/90_from_svn_fix_changing_default_application.patch: 90 - Make changing the default application work again, patch taken from 91 the Ubuntu package. 92 + debian/patches/18_disable_signal_handler.patch: 93 - Don't use the logging code signal handler it's buggy and makes 94 nautilus being stuck and eat cpu on crash. Patch taken from the 95 Ubuntu package. 96 97 -- Sebastian Dröge <slomo@debian.org> Sun, 16 Mar 2008 20:30:48 +0100 29 98 30 99 nautilus (2.20.0-3) unstable; urgency=low -
pkg/viola/main/nautilus/trunk/debian/control
r3276 r3516 2 2 Section: gnome 3 3 Priority: optional 4 Maintainer: Ubuntu Desktop Team <ubuntu-desktop@lists.ubuntu.com> 5 XSBC-Original-Maintainer: Josselin Mouette <joss@debian.org> 6 Uploaders: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org> 4 Maintainer: Josselin Mouette <joss@debian.org> 5 Uploaders: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>, Loic Minier <lool@dooz.org>, Sebastian Dröge <slomo@debian.org> 7 6 Build-Depends: debhelper (>= 5), 8 7 cdbs (>= 0.4.41), … … 33 32 libpango1.0-dev (>= 1.1.2), 34 33 x11proto-core-dev, 34 libtrackerclient-dev (>= 0.0.1), 35 libbeagle-dev, 35 36 libexempi-dev (>= 1.99.5), 36 37 intltool (>= 0.35.0) 38 Homepage: http://www.gnome.org/projects/nautilus/ 39 VCS-Browser: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/nautilus/ 40 VCS-Svn: svn://svn.debian.org/svn/pkg-gnome/desktop/unstable/nautilus/ 37 41 Standards-Version: 3.7.3 38 42 39 43 Package: nautilus 40 44 Architecture: any 41 Provides: nautilus-extensions-2.042 45 Depends: ${shlibs:Depends}, 43 46 ${misc:Depends}, … … 48 51 desktop-file-utils (>= 0.7), 49 52 gvfs-backends 53 Provides: nautilus-extensions-2.0 50 54 Recommends: desktop-base (>= 0.2), 51 55 eject, 52 56 nautilus-cd-burner (>= 2.6), 53 57 librsvg2-common, 54 gamin | fam,55 58 xdg-user-dirs 56 59 Suggests: eog, 57 60 evince | pdf-viewer, 58 totem | mp3-decoder 61 totem | mp3-decoder, 62 tracker, 63 fam 59 64 Conflicts: libnautilus2-2, 60 65 libnautilus2-dev … … 68 73 Several icon themes and components for viewing different kinds of files 69 74 are available in separate packages. 70 .71 URL: http://www.gnome.org/projects/nautilus/72 75 73 76 Package: nautilus-dbg … … 85 88 are available in separate packages. 86 89 . 87 URL: http://www.gnome.org/projects/nautilus/88 .89 90 This development package contains unstripped binaries compiled with 90 91 debugging symbols needed by gdb. … … 107 108 Section: libdevel 108 109 Depends: libnautilus-extension1 (= ${binary:Version}), 110 libglib2.0-dev (>= 2.15.6), 109 111 libgtk2.0-dev (>= 2.10.0), 110 112 ${shlibs:Depends} … … 122 124 Depends: scrollkeeper, ${misc:Depends} 123 125 Conflicts: nautilus (<< 2.14.1-3) 124 Replaces: nautilus (<< 2.16)125 126 Recommends: nautilus 126 127 Description: data files for nautilus -
pkg/viola/main/nautilus/trunk/debian/control.in
r3276 r3516 2 2 Section: gnome 3 3 Priority: optional 4 Maintainer: Ubuntu Desktop Team <ubuntu-desktop@lists.ubuntu.com> 5 XSBC-Original-Maintainer: Josselin Mouette <joss@debian.org> 4 Maintainer: Josselin Mouette <joss@debian.org> 6 5 Uploaders: @GNOME_TEAM@ 7 6 Build-Depends: debhelper (>= 5), … … 33 32 libpango1.0-dev (>= 1.1.2), 34 33 x11proto-core-dev, 34 libtrackerclient-dev (>= 0.0.1), 35 libbeagle-dev, 35 36 libexempi-dev (>= 1.99.5), 36 37 intltool (>= 0.35.0) 38 Homepage: http://www.gnome.org/projects/nautilus/ 39 VCS-Browser: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/nautilus/ 40 VCS-Svn: svn://svn.debian.org/svn/pkg-gnome/desktop/unstable/nautilus/ 37 41 Standards-Version: 3.7.3 38 42 39 43 Package: nautilus 40 44 Architecture: any 41 Provides: nautilus-extensions-2.042 45 Depends: ${shlibs:Depends}, 43 46 ${misc:Depends}, … … 48 51 desktop-file-utils (>= 0.7), 49 52 gvfs-backends 53 Provides: nautilus-extensions-2.0 50 54 Recommends: desktop-base (>= 0.2), 51 55 eject, 52 56 nautilus-cd-burner (>= 2.6), 53 57 librsvg2-common, 54 gamin | fam,55 58 xdg-user-dirs 56 59 Suggests: eog, 57 60 evince | pdf-viewer, 58 totem | mp3-decoder 61 totem | mp3-decoder, 62 tracker, 63 fam 59 64 Conflicts: libnautilus2-2, 60 65 libnautilus2-dev … … 68 73 Several icon themes and components for viewing different kinds of files 69 74 are available in separate packages. 70 .71 URL: http://www.gnome.org/projects/nautilus/72 75 73 76 Package: nautilus-dbg … … 85 88 are available in separate packages. 86 89 . 87 URL: http://www.gnome.org/projects/nautilus/88 .89 90 This development package contains unstripped binaries compiled with 90 91 debugging symbols needed by gdb. … … 107 108 Section: libdevel 108 109 Depends: libnautilus-extension1 (= ${binary:Version}), 110 libglib2.0-dev (>= 2.15.6), 109 111 libgtk2.0-dev (>= 2.10.0), 110 112 ${shlibs:Depends} … … 122 124 Depends: scrollkeeper, ${misc:Depends} 123 125 Conflicts: nautilus (<< 2.14.1-3) 124 Replaces: nautilus (<< 2.16)125 126 Recommends: nautilus 126 127 Description: data files for nautilus -
pkg/viola/main/nautilus/trunk/debian/nautilus-connect-server.1
r3275 r3516 3 3 .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection 4 4 .\" other parameters are allowed: see man(7), man(1) 5 .TH nautilus-connect-server 1 "01 Jun 2007"5 .TH nautilus-connect-server 1 "05 Jan 2008" 6 6 .\" Please adjust this date whenever revising the manpage. 7 7 .\" … … 17 17 .\" for manpage-specific macros, see man(7) 18 18 .SH NAME 19 Nautilus Connect Server - To Access a remote server19 Nautilus Connect Server \- To Access a remote server 20 20 .SH SYNOPSIS 21 21 .B nautilus-connect-server 22 22 .RI [ options ] 23 . br23 .RI [ URI ] 24 24 .SH DESCRIPTION 25 25 This manual page documents briefly the 26 26 .B nautilus-connect-server 27 command. This manual page was written for the Ubuntu distribution 28 because the original program does not have a manual page. 27 command. 29 28 .PP 30 29 Nautilus Connect Server is the connection manager for the GNOME desktop. 31 30 .PP 32 You can use the file manager to access a remote server, be it an FTP site, 31 You can use the file manager to access a remote server, be it an FTP site, 33 32 a Windows share, a WebDav server or an SSH server. 34 .br35 33 .SH OPTIONS 36 34 Nautilus follows the usual GNU command line syntax, with long options starting 37 35 with two dashes (`-'). A summary of options is included below. 38 36 .TP 39 .B \-\-display40 X display to use41 .TP42 37 .B \-\-help 43 38 Show a summary of options. 39 .TP 40 .B \-\-version 41 Show version. 44 42 .TP 45 43 Other standard GNOME options not listed here are also supported. 46 44 .SH SEE ALSO 47 45 Nautilus Connect Server documentation can be found from the "Help" menu, or by pressing the 48 F1 key. Nautilus also has a website at 49 http://www.gnome.org/projects/nautilus/ 46 F1 key. Nautilus also has a website at http://www.gnome.org/projects/nautilus/ 50 47 .SH AUTHOR 51 This manual page was written by Fernando Ribeiro <fernando@staff.nerdgroup.org> 52 for the Ubuntu system (but may be used by others). 48 This manual page was written by Julian Andres Klode <jak@jak-linux.org> for the 49 Debian GNU/Linux system (but may be used by others), based on a manpage by 50 Fernando Ribeiro <fernando@staff.nerdgroup.org>. -
pkg/viola/main/nautilus/trunk/debian/nautilus.1
r3275 r3516 17 17 .\" for manpage-specific macros, see man(7) 18 18 .SH NAME 19 nautilus \- the GNOME File Manager19 Nautilus \- the GNOME File Manager 20 20 .SH SYNOPSIS 21 21 .B nautilus -
pkg/viola/main/nautilus/trunk/debian/patches/05_places-sidebar_single-click.patch
r3275 r3516 1 --- nautilus-2.21.1.orig/src/nautilus-places-sidebar.c 2007-12-20 12:48:15.000000000 +0100 2 +++ nautilus-2.21.1/src/nautilus-places-sidebar.c 2008-01-07 14:35:50.000000000 +0100 3 @@ -565,11 +565,11 @@ 1 GNOME #355760 2 3 Index: nautilus/src/nautilus-places-sidebar.c 4 =================================================================== 5 --- nautilus/src/nautilus-places-sidebar.c (revision 13957) 6 +++ nautilus/src/nautilus-places-sidebar.c (working copy) 7 @@ -580,27 +580,6 @@ 4 8 } 5 9 6 10 static void 7 -row_activated_callback (GtkTreeView *tree_view, 8 - GtkTreePath *path, 9 - GtkTreeViewColumn *column, 10 +cursor_changed_callback (GtkTreeView *tree_view, 11 gpointer user_data) 11 -update_click_policy (NautilusPlacesSidebar *sidebar) 12 -{ 13 - int policy; 14 - 15 - policy = eel_preferences_get_enum (NAUTILUS_PREFERENCES_CLICK_POLICY); 16 - 17 - eel_gtk_tree_view_set_activate_on_single_click 18 - (sidebar->tree_view, policy == NAUTILUS_CLICK_POLICY_SINGLE); 19 -} 20 - 21 -static void 22 -click_policy_changed_callback (gpointer user_data) 23 -{ 24 - NautilusPlacesSidebar *sidebar; 25 - 26 - sidebar = NAUTILUS_PLACES_SIDEBAR (user_data); 27 - 28 - update_click_policy (sidebar); 29 -} 30 - 31 -static void 32 desktop_location_changed_callback (gpointer user_data) 12 33 { 13 + GtkTreePath *path; 14 + gtk_tree_view_get_cursor (tree_view, &path, NULL); 15 open_selected_bookmark (NAUTILUS_PLACES_SIDEBAR (user_data), 16 gtk_tree_view_get_model (tree_view), 17 path, 18 @@ -1944,8 +1944,8 @@ 19 gtk_tree_selection_set_mode (selection, GTK_SELECTION_BROWSE); 34 NautilusPlacesSidebar *sidebar; 35 @@ -1950,11 +1929,8 @@ 36 g_signal_connect (tree_view, "button-press-event", 37 G_CALLBACK (bookmarks_button_press_event_cb), sidebar); 20 38 21 g_signal_connect_object 22 - (tree_view, "row_activated", 23 - G_CALLBACK (row_activated_callback), sidebar, 0); 24 + (tree_view, "cursor_changed", 25 + G_CALLBACK (cursor_changed_callback), sidebar, 0); 39 - eel_preferences_add_callback_while_alive (NAUTILUS_PREFERENCES_CLICK_POLICY, 40 - click_policy_changed_callback, 41 - sidebar, 42 - G_OBJECT (sidebar)); 43 - update_click_policy (sidebar); 44 + eel_gtk_tree_view_set_activate_on_single_click (sidebar->tree_view, 45 + TRUE); 26 46 27 28 gtk_tree_view_enable_model_drag_source (GTK_TREE_VIEW (tree_view),47 eel_preferences_add_callback_while_alive (NAUTILUS_PREFERENCES_DESKTOP_IS_HOME_DIR, 48 desktop_location_changed_callback, -
pkg/viola/main/nautilus/trunk/debian/patches/07_desktop_file_activation.patch
r3275 r3516 1 See Debian #408556, #408948. 2 3 --- nautilus-2.21.1.orig/libnautilus-private/nautilus-file.c 2007-12-20 16:48:14.000000000 +0100 4 +++ nautilus-2.21.1/libnautilus-private/nautilus-file.c 2008-01-07 15:11:12.000000000 +0100 5 @@ -40,6 +40,7 @@ 1 Fixes two security issues about disguised .desktop files. 2 Debian #408556, GNOME #405291 3 Debian #408948, GNOME #405052 4 diff -Naur nautilus-2.22.0.old/libnautilus-private/nautilus-file.c nautilus-2.22.0/libnautilus-private/nautilus-file.c 5 --- nautilus-2.22.0.old/libnautilus-private/nautilus-file.c 2008-03-19 16:04:39.000000000 +0100 6 +++ nautilus-2.22.0/libnautilus-private/nautilus-file.c 2008-03-19 16:06:54.000000000 +0100 7 @@ -41,6 +41,7 @@ 6 8 #include "nautilus-link.h" 7 9 #include "nautilus-metadata.h" … … 11 13 #include "nautilus-search-directory-file.h" 12 14 #include "nautilus-thumbnails.h" 13 @@ - 2978,6 +2979,33@@14 monitor_remove, (file, client));15 } 15 @@ -1084,6 +1085,46 @@ 16 return g_file_get_child (dir, eel_ref_str_peek (file->details->name)); 17 } 16 18 17 19 +static gboolean … … 19 21 +{ 20 22 + gboolean ret = TRUE; 21 + char *uri = nautilus_file_get_uri(file);23 + GFile *uri = nautilus_file_get_location (file); 22 24 + char *path = NULL; 25 + char *scheme = NULL; 23 26 + 24 27 + if (uri) { 25 + path = g nome_vfs_get_local_path_from_uri(uri);28 + path = g_file_get_parse_name (uri); 26 29 + } 27 30 + … … 32 35 + ret = FALSE; 33 36 + } 37 + 38 + scheme = g_file_get_uri_scheme (file); 39 + if (scheme != NULL && strncmp (scheme, "file://", 7) == 0) { 40 + char *path_tmp = path + 7; 34 41 + 35 + if (file->details->info->valid_fields & GNOME_VFS_FILE_INFO_FIELDS_IDS && 36 + file->details->info->uid && 37 + (uid_t) file->details->info->uid != geteuid ()) 42 + if (eel_str_has_prefix (path, "/mnt") || 43 + eel_str_has_prefix (path, "/media")) { 44 + ret = FALSE; 45 + } 46 + } 47 + g_free (scheme); 48 + 49 + if (file->details->uid != -1 && 50 + file->details->uid != 0 && 51 + (uid_t) file->details->uid != geteuid ()) 38 52 + ret = FALSE; 39 53 + 40 + g_ free(uri);54 + g_object_unref (uri); 41 55 + g_free (path); 42 56 + return ret; 43 57 +} 44 45 /* Return the uri associated with the passed-in file, which may not be 46 * the actual uri if the file is an desktop file or a nautilus 47 @@ -2988,7 +3016,9 @@ 58 + 59 /* Return the actual uri associated with the passed-in file. */ 60 char * 61 nautilus_file_get_uri (NautilusFile *file) 62 @@ -3053,7 +3094,8 @@ 48 63 { 49 64 g_return_val_if_fail (NAUTILUS_IS_FILE (file), NULL); 50 65 51 66 - if (file->details->activation_location != NULL) { 52 + if ((file->details->activation_location != NULL) && 53 + (!eel_str_has_prefix (file->details->activation_location, NAUTILUS_DESKTOP_COMMAND_SPECIFIER) || 54 + safe_to_launch_desktop_file (file))) { 67 + if (file->details->activation_location != NULL && 68 + safe_to_launch_desktop_file (file)) { 55 69 return g_file_get_uri (file->details->activation_location); 56 70 } 57 71 58 @@ -5764,6 +5794,12 @@ 59 return nautilus_file_is_mime_type (file, "application/x-desktop"); 72 @@ -3065,7 +3107,8 @@ 73 { 74 g_return_val_if_fail (NAUTILUS_IS_FILE (file), NULL); 75 76 - if (file->details->activation_location != NULL) { 77 + if (file->details->activation_location != NULL && 78 + safe_to_launch_desktop_file (file)) { 79 return g_object_ref (file->details->activation_location); 80 } 81 82 diff -Naur nautilus-2.22.0.old/libnautilus-private/nautilus-mime-actions.c nautilus-2.22.0/libnautilus-private/nautilus-mime-actions.c 83 --- nautilus-2.22.0.old/libnautilus-private/nautilus-mime-actions.c 2008-03-19 16:04:39.000000000 +0100 84 +++ nautilus-2.22.0/libnautilus-private/nautilus-mime-actions.c 2008-03-19 16:04:48.000000000 +0100 85 @@ -727,7 +727,8 @@ 86 { 87 return (nautilus_file_is_directory (file) || 88 NAUTILUS_IS_DESKTOP_ICON_FILE (file) || 89 - nautilus_file_is_nautilus_link (file)); 90 + (nautilus_file_is_nautilus_link (file) && 91 + !nautilus_file_is_launcher (file))); 60 92 } 61 93 62 +gboolean 63 +nautilus_file_is_desktop_launcher (NautilusFile *file) 64 +{ 65 + return eel_str_has_prefix (file->details->activation_uri, NAUTILUS_DESKTOP_COMMAND_SPECIFIER); 66 +} 67 + 68 /** 69 * nautilus_file_is_directory 70 * 71 --- nautilus-2.21.1.orig/src/file-manager/fm-directory-view.c 2008-01-07 14:35:36.000000000 +0100 72 +++ nautilus-2.21.1/src/file-manager/fm-directory-view.c 2008-01-07 15:21:57.000000000 +0100 73 @@ -4197,9 +4197,11 @@ 74 for (node = selection; node != NULL; node = node->next) { 94 static ActivationAction 95 diff -Naur nautilus-2.22.0.old/src/file-manager/fm-directory-view.c nautilus-2.22.0/src/file-manager/fm-directory-view.c 96 --- nautilus-2.22.0.old/src/file-manager/fm-directory-view.c 2008-03-19 16:04:39.000000000 +0100 97 +++ nautilus-2.22.0/src/file-manager/fm-directory-view.c 2008-03-19 16:04:48.000000000 +0100 98 @@ -4264,9 +4264,11 @@ 99 75 100 file = NAUTILUS_FILE (node->data); 76 101 … … 78 103 - (!nautilus_mime_file_opens_in_view (file) || 79 104 - nautilus_file_is_directory (file)); 80 + if ( activation_action != ACTIVATION_ACTION_OPEN_IN_APPLICATION&&81 + (NAUTILUS_IS_DESKTOP_ICON_FILE (file) ||82 + nautilus_file_is_nautilus_link (file))) {105 + if (nautilus_mime_file_opens_in_external_app (file) && 106 + (NAUTILUS_IS_DESKTOP_ICON_FILE (file) || 107 + nautilus_file_is_nautilus_link (file))) { 83 108 + other_applications_visible = FALSE; 84 109 + } … … 86 111 87 112 default_app = NULL; 88 --- nautilus-2.21.1.orig/libnautilus-private/nautilus-file.h 2007-12-14 11:25:48.000000000 +010089 +++ nautilus-2.21.1/libnautilus-private/nautilus-file.h 2008-01-07 15:03:55.000000000 +010090 @@ -177,6 +177,7 @@91 char * nautilus_file_get_symbolic_link_target_uri (NautilusFile *file);92 gboolean nautilus_file_is_broken_symbolic_link (NautilusFile *file);93 gboolean nautilus_file_is_nautilus_link (NautilusFile *file);94 +gboolean nautilus_file_is_desktop_launcher (NautilusFile *file);95 gboolean nautilus_file_is_executable (NautilusFile *file);96 gboolean nautilus_file_is_directory (NautilusFile *file);97 gboolean nautilus_file_is_in_trash (NautilusFile *file);98 --- nautilus-2.21.1.orig/libnautilus-private/nautilus-mime-actions.c 2008-01-07 15:18:21.000000000 +010099 +++ nautilus-2.21.1/libnautilus-private/nautilus-mime-actions.c 2008-01-07 15:19:14.000000000 +0100100 @@ -702,7 +702,8 @@101 {102 return (nautilus_file_is_directory (file) ||103 NAUTILUS_IS_DESKTOP_ICON_FILE (file) ||104 - nautilus_file_is_nautilus_link (file));105 + (nautilus_file_is_nautilus_link (file) &&106 + !nautilus_file_is_desktop_launcher (file)));107 }108 109 static ActivationAction -
pkg/viola/main/nautilus/trunk/debian/patches/10_location_titlebar.patch
r3275 r3516 1 See Debian #421027 2 3 --- nautilus-2.21.1.orig/libnautilus-private/apps_nautilus_preferences.schemas.in 2008-01-07 15:26:35.000000000 +0100 4 +++ nautilus-2.21.1/libnautilus-private/apps_nautilus_preferences.schemas.in 2008-01-07 15:28:31.000000000 +0100 1 Debian #413018 2 GNOME #142087 3 Option to show the full location in the title bar 4 Index: nautilus-2.20.0/libnautilus-private/apps_nautilus_preferences.schemas.in 5 =================================================================== 6 --- nautilus-2.20.0.orig/libnautilus-private/apps_nautilus_preferences.schemas.in 2007-09-18 08:51:48.000000000 +0200 7 +++ nautilus-2.20.0/libnautilus-private/apps_nautilus_preferences.schemas.in 2007-09-24 11:39:14.871645609 +0200 5 8 @@ -720,6 +720,21 @@ 6 9 </locale> … … 25 28 <key>/schemas/apps/nautilus/preferences/start_with_sidebar</key> 26 29 <applyto>/apps/nautilus/preferences/start_with_sidebar</applyto> 27 --- nautilus-2.21.1.orig/libnautilus-private/nautilus-global-preferences.c 2007-12-14 10:36:31.000000000 +0100 28 +++ nautilus-2.21.1/libnautilus-private/nautilus-global-preferences.c 2008-01-07 15:28:31.000000000 +0100 29 @@ -347,6 +347,10 @@ 30 Index: nautilus-2.20.0/libnautilus-private/nautilus-global-preferences.c 31 =================================================================== 32 --- nautilus-2.20.0.orig/libnautilus-private/nautilus-global-preferences.c 2007-06-27 09:12:34.000000000 +0200 33 +++ nautilus-2.20.0/libnautilus-private/nautilus-global-preferences.c 2007-09-24 11:39:14.875645837 +0200 34 @@ -378,6 +378,10 @@ 30 35 PREFERENCE_BOOLEAN, 31 36 GINT_TO_POINTER (TRUE) … … 38 43 PREFERENCE_BOOLEAN, 39 44 GINT_TO_POINTER (TRUE) 40 --- nautilus-2.21.1.orig/libnautilus-private/nautilus-global-preferences.h 2008-01-07 15:26:35.000000000 +0100 41 +++ nautilus-2.21.1/libnautilus-private/nautilus-global-preferences.h 2008-01-07 15:28:31.000000000 +0100 45 Index: nautilus-2.20.0/libnautilus-private/nautilus-global-preferences.h 46 =================================================================== 47 --- nautilus-2.20.0.orig/libnautilus-private/nautilus-global-preferences.h 2007-06-27 09:12:34.000000000 +0200 48 +++ nautilus-2.20.0/libnautilus-private/nautilus-global-preferences.h 2007-09-24 11:39:14.875645837 +0200 42 49 @@ -84,6 +84,7 @@ 43 50 #define NAUTILUS_PREFERENCES_START_WITH_LOCATION_BAR "preferences/start_with_location_bar" … … 48 55 #define NAUTILUS_PREFERENCES_START_WITH_TOOLBAR "preferences/start_with_toolbar" 49 56 #define NAUTILUS_PREFERENCES_SIDE_PANE_VIEW "preferences/side_pane_view" 50 --- nautilus-2.21.1.orig/src/nautilus-navigation-window.c 2007-12-14 11:22:42.000000000 +0100 51 +++ nautilus-2.21.1/src/nautilus-navigation-window.c 2008-01-07 15:28:31.000000000 +0100 52 @@ -927,20 +927,25 @@ 57 Index: nautilus-2.20.0/src/nautilus-navigation-window.c 58 =================================================================== 59 --- nautilus-2.20.0.orig/src/nautilus-navigation-window.c 2007-09-03 16:49:27.000000000 +0200 60 +++ nautilus-2.20.0/src/nautilus-navigation-window.c 2007-09-24 11:39:14.875645837 +0200 61 @@ -914,20 +914,25 @@ 53 62 static gboolean 54 63 real_set_title (NautilusWindow *window, const char *title) … … 79 88 80 89 return changed; 81 --- nautilus-2.21.1.orig/src/nautilus-spatial-window.c 2007-12-10 16:19:17.000000000 +0100 82 +++ nautilus-2.21.1/src/nautilus-spatial-window.c 2008-01-07 15:28:31.000000000 +0100 83 @@ -420,10 +420,14 @@ 90 Index: nautilus-2.20.0/src/nautilus-spatial-window.c 91 =================================================================== 92 --- nautilus-2.20.0.orig/src/nautilus-spatial-window.c 2007-09-10 08:56:43.000000000 +0200 93 +++ nautilus-2.20.0/src/nautilus-spatial-window.c 2007-09-24 11:39:14.875645837 +0200 94 @@ -430,10 +430,14 @@ 84 95 gtk_window_set_title (GTK_WINDOW (window), _("Nautilus")); 85 96 } else if (changed) { … … 97 108 98 109 return changed; 99 --- nautilus-2.2 1.1.orig/src/nautilus-window.c 2007-12-04 15:11:01.000000000 +0100100 +++ nautilus-2.2 1.1/src/nautilus-window.c 2008-01-07 15:28:31.000000000 +0100101 @@ -170 4,3 +1704,90@@110 --- nautilus-2.22.0/src/nautilus-window.c.old 2008-03-17 10:49:47.000000000 +0100 111 +++ nautilus-2.22.0/src/nautilus-window.c 2008-03-17 11:11:29.000000000 +0100 112 @@ -1709,3 +1709,71 @@ 102 113 { 103 114 return (nautilus_window_get_window_type (window) != NAUTILUS_WINDOW_DESKTOP); … … 108 119 +{ 109 120 + char *location_title; 110 + char*uri = NULL;121 + GFile *uri = NULL; 111 122 + char *location = NULL; 112 + GnomeVFSURI *vfs_uri = NULL;113 123 + const char *path; 114 124 + const char *scheme = NULL; … … 123 133 + if (eel_preferences_get_boolean (NAUTILUS_PREFERENCES_LOCATION_IN_TITLE_BAR) != TRUE 124 134 + || (uri = nautilus_window_get_location (window)) == NULL 125 + || (location = g nome_vfs_format_uri_for_display(uri)) == NULL135 + || (location = g_file_get_parse_name (uri)) == NULL 126 136 + || location[0] == 0 127 137 + || location[1] == 0) 128 138 + goto done; 129 +130 + if (location[0] != GNOME_VFS_URI_PATH_CHR) {131 + if ((vfs_uri = gnome_vfs_uri_new (location)) == NULL132 + || (path = gnome_vfs_uri_get_path (vfs_uri)) == NULL133 + || (scheme = gnome_vfs_uri_get_scheme (vfs_uri)) == NULL134 + || path[0] == 0135 + || strcmp (path, GNOME_VFS_URI_PATH_STR) == 0)136 + goto done;137 +138 + g_free(uri);139 +140 + uri = gnome_vfs_unescape_string_for_display (path);141 +142 + display_location = uri;143 + goto construct_title;144 + }145 139 + 146 140 + if ((tmp_location = g_get_home_dir()) == NULL) { … … 157 151 + tmp_location_len = strlen (tmp_location); 158 152 + if (eel_str_has_prefix (location, tmp_location) == FALSE 159 + || location[tmp_location_len] != G NOME_VFS_URI_PATH_CHR) {153 + || location[tmp_location_len] != G_DIR_SEPARATOR) { 160 154 + display_location = location; 161 155 + goto construct_title; … … 180 174 + done: 181 175 + if (uri != NULL) 182 + g_ free(uri);176 + g_object_unref (uri); 183 177 + 184 178 + if (location != NULL) 185 179 + g_free (location); 186 180 + 187 + if (vfs_uri != NULL)188 + gnome_vfs_uri_unref (vfs_uri);189 +190 181 + return (location_title); 191 182 +} 192 --- nautilus-2.21.1.orig/src/nautilus-window.h 2007-11-30 15:32:47.000000000 +0100 193 +++ nautilus-2.21.1/src/nautilus-window.h 2008-01-07 15:28:31.000000000 +0100 183 + 184 --- nautilus-2.22.0/src/nautilus-window.h.old 2008-03-17 10:49:50.000000000 +0100 185 +++ nautilus-2.22.0/src/nautilus-window.h 2008-03-17 10:51:45.000000000 +0100 194 186 @@ -152,5 +152,7 @@ 195 187 void nautilus_window_add_extra_location_widget (NautilusWindow *window, 196 188 GtkWidget *widget); 197 189 gboolean nautilus_window_has_menubar_and_statusbar (NautilusWindow *window); 198 +char * nautilus_window_set_location_in_titlebar (NautilusWindow *window,199 + const char *title);190 +char * nautilus_window_set_location_in_titlebar (NautilusWindow *window, 191 + const char *title); 200 192 201 193 #endif -
pkg/viola/main/nautilus/trunk/debian/patches/12_list-view_expand.patch
r3275 r3516 1 --- nautilus-2.21.1.orig/src/file-manager/fm-list-view.c 2007-11-30 15:32:42.000000000 +0100 2 +++ nautilus-2.21.1/src/file-manager/fm-list-view.c 2008-01-07 15:50:04.000000000 +0100 3 @@ -67,7 +67,6 @@ 1 Revert upstream commits r12779 and r13045. 2 We can do this because we fix GNOME #316087 in our GTK+ packages. 3 Index: nautilus-2.20.0/src/file-manager/fm-list-view.c 4 =================================================================== 5 --- nautilus-2.20.0.orig/src/file-manager/fm-list-view.c 2007-08-21 11:37:48.000000000 +0200 6 +++ nautilus-2.20.0/src/file-manager/fm-list-view.c 2007-09-24 11:55:24.918925454 +0200 7 @@ -69,7 +69,6 @@ 4 8 #include <libnautilus-private/nautilus-view-factory.h> 5 9 #include <libnautilus-private/nautilus-clipboard.h> … … 9 13 struct FMListViewDetails { 10 14 GtkTreeView *tree_view; 11 @@ -13 63,7 +1362,7 @@15 @@ -1338,7 +1337,7 @@ 12 16 13 17 for (l = nautilus_columns; l != NULL; l = l->next) { … … 18 22 char *label; 19 23 float xalign; 20 @@ -13 86,6 +1385,9 @@24 @@ -1361,6 +1360,9 @@ 21 25 view->details->pixbuf_cell = (GtkCellRendererPixbuf *)cell; 22 26 … … 28 32 gtk_object_sink (GTK_OBJECT (view->details->file_name_column)); 29 33 view->details->file_name_column_num = column_num; 30 @@ -1 407,7 +1409,11 @@34 @@ -1382,7 +1384,11 @@ 31 35 "pixbuf_emblem", FM_LIST_MODEL_SMALLEST_EMBLEM_COLUMN, 32 36 NULL); -
pkg/viola/main/nautilus/trunk/debian/patches/14_sidebar_network-protocol.patch
r3275 r3516 1 See Debian #434123. 1 GNOME #350974 2 2 3 Index: nautilus-2.21.5/src/nautilus-places-sidebar.c 4 =================================================================== 5 --- nautilus-2.21.5.orig/src/nautilus-places-sidebar.c 2008-01-18 22:56:37.000000000 +0100 6 +++ nautilus-2.21.5/src/nautilus-places-sidebar.c 2008-01-18 22:58:52.000000000 +0100 7 @@ -364,6 +364,23 @@ 3 --- nautilus/src/nautilus-places-sidebar.c.old 2008-03-17 10:33:00.000000000 +0100 4 +++ nautilus/src/nautilus-places-sidebar.c 2008-03-17 10:39:21.000000000 +0100 5 @@ -407,6 +407,17 @@ 6 g_object_unref (volume); 8 7 } 9 g_list_free ( drives);10 8 g_list_free (volumes); 9 + 11 10 + icon = g_themed_icon_new ("gnome-fs-network"); 12 11 + mount_uri = "network:///"; 13 + last_iter = add_place (sidebar, 14 + PLACES_BUILT_IN, 15 + _("Network Servers"), 16 + icon, 17 + mount_uri, 18 + NULL, 19 + NULL, 20 + NULL, 21 + 0); 12 + last_iter = add_place (sidebar, PLACES_BUILT_IN, 13 + _("Network Servers"), icon, 14 + mount_uri, NULL, NULL, NULL, 0); 22 15 + g_object_unref (icon); 23 + 16 + 24 17 + if (strcmp (location, mount_uri) == 0) { 25 18 + gtk_tree_selection_select_iter (selection, &last_iter); 26 19 + } 27 + 28 /* add all volumes that is not associated with a drive */ 29 volumes = g_volume_monitor_get_volumes (volume_monitor); 30 for (l = volumes; l != NULL; l = l->next) { 20 21 /* add mounts that has no volume (/etc/mtab mounts, ftp, sftp,...) */ 22 mounts = g_volume_monitor_get_mounts (volume_monitor); -
pkg/viola/main/nautilus/trunk/debian/patches/99_ltmain_as-needed.patch
r3275 r3516 1 --- nautilus-2.21.1.orig/ltmain.sh 2007-08-29 13:52:51.000000000 +02002 +++ nautilus-2.21.1/ltmain.sh 2008-01-07 16:39:30.000000000 +01001 --- ltmain.sh.old 2007-10-09 07:38:25.000000000 +0200 2 +++ ltmain.sh 2007-10-09 07:39:25.000000000 +0200 3 3 @@ -1794,6 +1794,11 @@ 4 4 arg=`$echo "X$arg" | $Xsed -e "s/^ //"` … … 9 9 + continue 10 10 + ;; 11 + 11 + 12 12 -Wl,*) 13 13 args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'` 14 14 arg= 15 @@ -213 4,6 +2139,15 @@15 @@ -2137,6 +2142,15 @@ 16 16 lib= 17 17 found=no -
pkg/viola/main/nautilus/trunk/debian/patches/series
r3436 r3516 1 05_places-sidebar_single-click.patch 2 #07_desktop_file_activation.patch 3 #10_location_titlebar.patch 1 4 12_list-view_expand.patch 2 5 14_sidebar_network-protocol.patch 3 99_ltmain_as-needed.patch 6 99_ltmain_as-needed.patch -p0
Note: See TracChangeset
for help on using the changeset viewer.


