[nautilus] Use mount default location for desktop links
- From: Alexander Larsson <alexl src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [nautilus] Use mount default location for desktop links
- Date: Fri, 27 Nov 2009 12:15:20 +0000 (UTC)
commit ce39f704ff3494893a1198697cc2ae7b12f0d7ee
Author: Alexander Larsson <alexl redhat com>
Date: Fri Nov 27 13:09:25 2009 +0100
Use mount default location for desktop links
libnautilus-private/nautilus-desktop-link.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libnautilus-private/nautilus-desktop-link.c b/libnautilus-private/nautilus-desktop-link.c
index a58f4ce..9951bf9 100644
--- a/libnautilus-private/nautilus-desktop-link.c
+++ b/libnautilus-private/nautilus-desktop-link.c
@@ -80,7 +80,7 @@ mount_changed_callback (GMount *mount, NautilusDesktopLink *link)
}
link->details->display_name = g_mount_get_name (mount);
- link->details->activation_location = g_mount_get_root (mount);
+ link->details->activation_location = g_mount_get_default_location (mount);
link->details->icon = g_mount_get_icon (mount);
nautilus_desktop_link_changed (link);
@@ -261,7 +261,7 @@ nautilus_desktop_link_new_from_mount (GMount *mount)
link->details->display_name = g_mount_get_name (mount);
- link->details->activation_location = g_mount_get_root (mount);
+ link->details->activation_location = g_mount_get_default_location (mount);
link->details->icon = g_mount_get_icon (mount);
link->details->signal_handler_obj = G_OBJECT (mount);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]