summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2011-04-09 13:34:32 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2011-04-09 13:34:32 +0000
commitb181e4744252cceef7272400a50efe69021c76f6 (patch)
tree9739aed5254915a7b02bb4c38218e1613b467812 /gnome-base/nautilus/files
parentRevert stupid revert of old-style virtual (cf. bug 323883) (diff)
downloadgentoo-2-b181e4744252cceef7272400a50efe69021c76f6.tar.gz
gentoo-2-b181e4744252cceef7272400a50efe69021c76f6.tar.bz2
gentoo-2-b181e4744252cceef7272400a50efe69021c76f6.zip
Clean up old revision.
(Portage version: 2.2.0_alpha29/cvs/Linux x86_64)
Diffstat (limited to 'gnome-base/nautilus/files')
-rw-r--r--gnome-base/nautilus/files/nautilus-2.27.4-change-reg-desktop-file-with-no-desktop.patch33
-rw-r--r--gnome-base/nautilus/files/nautilus-2.30.1-remove-eel-gdk-window-focus.patch62
-rw-r--r--gnome-base/nautilus/files/nautilus-2.30.1-unmount-entries.patch92
3 files changed, 0 insertions, 187 deletions
diff --git a/gnome-base/nautilus/files/nautilus-2.27.4-change-reg-desktop-file-with-no-desktop.patch b/gnome-base/nautilus/files/nautilus-2.27.4-change-reg-desktop-file-with-no-desktop.patch
deleted file mode 100644
index 6bd3dee4cfaa..000000000000
--- a/gnome-base/nautilus/files/nautilus-2.27.4-change-reg-desktop-file-with-no-desktop.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-Gentoo bug 266398
-GNOME #580793 and #571417
-
-Index: nautilus-2.26.2/src/nautilus-main.c
-===================================================================
---- nautilus-2.26.2.orig/src/nautilus-main.c 2009-04-29 17:02:32.709364982 +0200
-+++ nautilus-2.26.2/src/nautilus-main.c 2009-04-29 17:39:36.529860872 +0200
-@@ -391,9 +391,6 @@ main (int argc, char *argv[])
-
- g_set_prgname ("nautilus");
-
-- if (g_file_test (DATADIR "/applications/nautilus.desktop", G_FILE_TEST_EXISTS)) {
-- egg_set_desktop_file (DATADIR "/applications/nautilus.desktop");
-- }
-
- context = g_option_context_new (_("\n\nBrowse the file system with the file manager"));
- g_option_context_add_main_entries (context, options, NULL);
-@@ -464,6 +461,15 @@ main (int argc, char *argv[])
- (NAUTILUS_PREFERENCES_DESKTOP_IS_HOME_DIR, TRUE);
- }
-
-+ /* Which .desktop file contains the relevant session management
-+ information? */
-+ if ((no_desktop || !eel_preferences_get_boolean (NAUTILUS_PREFERENCES_SHOW_DESKTOP))
-+ && g_file_test (DATADIR "/applications/nautilus-home.desktop", G_FILE_TEST_EXISTS)) {
-+ egg_set_desktop_file (DATADIR "/applications/nautilus-home.desktop");
-+ } else if (g_file_test (DATADIR "/applications/nautilus.desktop", G_FILE_TEST_EXISTS)) {
-+ egg_set_desktop_file (DATADIR "/applications/nautilus.desktop");
-+ }
-+
- application = NULL;
-
- /* Do either the self-check or the real work. */
diff --git a/gnome-base/nautilus/files/nautilus-2.30.1-remove-eel-gdk-window-focus.patch b/gnome-base/nautilus/files/nautilus-2.30.1-remove-eel-gdk-window-focus.patch
deleted file mode 100644
index 969d38b96f9b..000000000000
--- a/gnome-base/nautilus/files/nautilus-2.30.1-remove-eel-gdk-window-focus.patch
+++ /dev/null
@@ -1,62 +0,0 @@
-Fix compile failure with gtk+-2.22 by removing eel_gdk_window_focus.
- * Patches **ported** from master repository, not needed 2.90 onwards
- * Might be needed in 2.32
-
---
-From 7e8d1dfa6a17fe9189bf2489b735cd6462f03571 Mon Sep 17 00:00:00 2001
-From: Cosimo Cecchi <cosimoc@gnome.org>
-Date: Sat, 21 Aug 2010 16:57:15 +0000
-Subject: [eel] remove eel_gdk_window_focus
-
----
-From 6b06e0e27ca1cf29afd4fac716c58e15928a8ff8 Mon Sep 17 00:00:00 2001
-From: Cosimo Cecchi <cosimoc@gnome.org>
-Date: Sat, 21 Aug 2010 16:56:57 +0000
-Subject: icon-container: use gdk_window_focus
-
----
---- eel/eel-gdk-extensions.c
-+++ eel/eel-gdk-extensions.c
-@@ -585,19 +585,7 @@
- * the focus at this point. Do a little X trickery to
- * ensure it is focused.
- */
-- eel_gdk_window_focus (window, GDK_CURRENT_TIME);
--}
--
--void
--eel_gdk_window_focus (GdkWindow *window, guint32 timestamp)
--{
-- gdk_error_trap_push ();
-- XSetInputFocus (GDK_DISPLAY (),
-- GDK_WINDOW_XWINDOW (window),
-- RevertToParent,
-- timestamp);
-- gdk_flush();
-- gdk_error_trap_pop ();
-+ gdk_window_focus (window, GDK_CURRENT_TIME);
- }
-
- void
---- eel/eel-gdk-extensions.h
-+++ eel/eel-gdk-extensions.h
-@@ -137,8 +137,6 @@
- /* Misc GdkWindow helper functions */
- void eel_gdk_window_bring_to_front (GdkWindow *window);
- void eel_gdk_window_set_invisible_cursor (GdkWindow *window);
--void eel_gdk_window_focus (GdkWindow *window,
-- guint32 timestamp);
- void eel_gdk_window_set_wm_protocols (GdkWindow *window,
- GdkAtom *protocols,
- int nprotocols);
---- libnautilus-private/nautilus-icon-container.c
-+++ libnautilus-private/nautilus-icon-container.c
-@@ -4475,7 +4475,7 @@
- /* Ensure the window itself is focused.. */
- toplevel = gtk_widget_get_toplevel (GTK_WIDGET (container));
- if (toplevel != NULL && gtk_widget_get_realized (toplevel)) {
-- eel_gdk_window_focus (toplevel->window, GDK_CURRENT_TIME);
-+ gdk_window_focus (toplevel->window, GDK_CURRENT_TIME);
- }
-
- return TRUE;
diff --git a/gnome-base/nautilus/files/nautilus-2.30.1-unmount-entries.patch b/gnome-base/nautilus/files/nautilus-2.30.1-unmount-entries.patch
deleted file mode 100644
index bc953bbc4aa6..000000000000
--- a/gnome-base/nautilus/files/nautilus-2.30.1-unmount-entries.patch
+++ /dev/null
@@ -1,92 +0,0 @@
-From 9bdd0ef925a1e660031917746f8914a38e352576 Mon Sep 17 00:00:00 2001
-From: Martin Pitt <martin.pitt@ubuntu.com>
-Date: Tue, 30 Mar 2010 16:33:51 +0000
-Subject: Do not show Unmount when showing Eject/Safe removal
-
-Having three menu entries (unmount/eject/safe removal) in a volume/drive menu
-entry is too confusing. Unmount only really makes sense for internal drives,
-for external ones it is pretty much a "geek" option. Geeks can use palimpsest
-or "unmount /media/foo" from the CLI if they really want to, for everyone else
-it is just an unintuitive and hard to to explain menu entry.
-
-Bug: https://bugzilla.gnome.org/show_bug.cgi?id=598690
-Bug-Ubuntu: https://launchpad.net/bugs/453072
-(cherry picked from commit 0a5cc4c4e5b01eb8aa38dfae926502ce920efc94)
----
-diff --git a/src/file-manager/fm-directory-view.c b/src/file-manager/fm-directory-view.c
-index d8b9050..361b994 100644
---- a/src/file-manager/fm-directory-view.c
-+++ b/src/file-manager/fm-directory-view.c
-@@ -7782,10 +7782,6 @@ file_should_show_foreach (NautilusFile *file,
- *show_eject = TRUE;
- }
-
-- if (nautilus_file_can_unmount (file)) {
-- *show_unmount = TRUE;
-- }
--
- if (nautilus_file_can_mount (file)) {
- *show_mount = TRUE;
-
-@@ -7805,6 +7801,12 @@ file_should_show_foreach (NautilusFile *file,
- *show_stop = TRUE;
- }
-
-+ /* Dot not show both Unmount and Eject/Safe Removal; too confusing to
-+ * have too many menu entries */
-+ if (nautilus_file_can_unmount (file) && !*show_eject && !*show_stop) {
-+ *show_unmount = TRUE;
-+ }
-+
- if (nautilus_file_can_poll_for_media (file) && !nautilus_file_is_media_check_automatic (file)) {
- *show_poll = TRUE;
- }
-@@ -7852,10 +7854,6 @@ file_should_show_self (NautilusFile *file,
- *show_eject = TRUE;
- }
-
-- if (nautilus_file_can_unmount (file)) {
-- *show_unmount = TRUE;
-- }
--
- if (nautilus_file_can_mount (file)) {
- *show_mount = TRUE;
- }
-@@ -7874,6 +7872,12 @@ file_should_show_self (NautilusFile *file,
- *show_stop = TRUE;
- }
-
-+ /* Dot not show both Unmount and Eject/Safe Removal; too confusing to
-+ * have too many menu entries */
-+ if (nautilus_file_can_unmount (file) && !*show_eject && !*show_stop) {
-+ *show_unmount = TRUE;
-+ }
-+
- if (nautilus_file_can_poll_for_media (file) && !nautilus_file_is_media_check_automatic (file)) {
- *show_poll = TRUE;
- }
-diff --git a/src/nautilus-places-sidebar.c b/src/nautilus-places-sidebar.c
-index 95c06eb..6dc2df7 100644
---- a/src/nautilus-places-sidebar.c
-+++ b/src/nautilus-places-sidebar.c
-@@ -1317,7 +1317,7 @@ check_unmount_and_eject (GMount *mount,
- }
- if (mount != NULL) {
- *show_eject |= g_mount_can_eject (mount);
-- *show_unmount = g_mount_can_unmount (mount);
-+ *show_unmount = g_mount_can_unmount (mount) && !*show_eject;
- }
- }
-
-@@ -1349,6 +1349,9 @@ check_visibility (GMount *mount,
-
- *show_start = g_drive_can_start (drive) || g_drive_can_start_degraded (drive);
- *show_stop = g_drive_can_stop (drive);
-+
-+ if (*show_stop)
-+ *show_unmount = FALSE;
- }
-
- if (volume != NULL) {
---
-cgit v0.8.3.1