summaryrefslogtreecommitdiff
path: root/libnautilus-private/nautilus-desktop-link.c
diff options
context:
space:
mode:
authorMartin Wehner <martin.wehner@gmail.com>2005-02-27 15:06:16 +0000
committerMartin Wehner <mwehner@src.gnome.org>2005-02-27 15:06:16 +0000
commit27f4601144e482057e4d84198f1e8c2a27c6d2ac (patch)
tree90193e4d4771508b91c7e00ec02a579760a7510e /libnautilus-private/nautilus-desktop-link.c
parent804f56e668fc93a5339d2a06c649c54689293c64 (diff)
downloadnautilus-27f4601144e482057e4d84198f1e8c2a27c6d2ac.tar.gz
Make Computer icon renameable. (#154122) Patch from Tim Savannah
2005-02-27 Martin Wehner <martin.wehner@gmail.com> * libnautilus-private/nautilus-desktop-link.c: (nautilus_desktop_link_can_rename): Make Computer icon renameable. (#154122) Patch from Tim Savannah <opticcow@linux-militia.net>
Diffstat (limited to 'libnautilus-private/nautilus-desktop-link.c')
-rw-r--r--libnautilus-private/nautilus-desktop-link.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libnautilus-private/nautilus-desktop-link.c b/libnautilus-private/nautilus-desktop-link.c
index daf7ffd34..d0ddd7683 100644
--- a/libnautilus-private/nautilus-desktop-link.c
+++ b/libnautilus-private/nautilus-desktop-link.c
@@ -302,7 +302,8 @@ gboolean
nautilus_desktop_link_can_rename (NautilusDesktopLink *link)
{
return (link->details->type == NAUTILUS_DESKTOP_LINK_HOME ||
- link->details->type == NAUTILUS_DESKTOP_LINK_TRASH);
+ link->details->type == NAUTILUS_DESKTOP_LINK_TRASH ||
+ link->details->type == NAUTILUS_DESKTOP_LINK_COMPUTER);
}
gboolean