summaryrefslogtreecommitdiff
path: root/libnautilus-private/nautilus-link.c
diff options
context:
space:
mode:
authorGene Z. Ragan <gzr@eazel.com>2000-09-08 23:29:52 +0000
committerGene Ragan <gzr@src.gnome.org>2000-09-08 23:29:52 +0000
commit812b5090be545bdf62e0fd5f1f7ff8475e2c7af0 (patch)
tree1224d7d021a01fef2c8fcd67df07e91f9de0dcd7 /libnautilus-private/nautilus-link.c
parent5d1e9b960bbd22b6371e1232f34b968cc3ccf186 (diff)
downloadnautilus-812b5090be545bdf62e0fd5f1f7ff8475e2c7af0.tar.gz
Add call to nautilus_directory_async_state_changed.
2000-09-08 Gene Z. Ragan <gzr@eazel.com> * libnautilus-extensions/nautilus-file.c: (nautilus_file_forget_activation_uri): Add call to nautilus_directory_async_state_changed. * libnautilus-extensions/nautilus-link.c: (nautilus_link_set_link_uri): Removed private nautilus_directory_async_state_changed call. * src/nautilus-window-menus.c: (help_menu_about_nautilus_callback): Added middle inital to my name.
Diffstat (limited to 'libnautilus-private/nautilus-link.c')
-rw-r--r--libnautilus-private/nautilus-link.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/libnautilus-private/nautilus-link.c b/libnautilus-private/nautilus-link.c
index da1054b94..992fb2dd7 100644
--- a/libnautilus-private/nautilus-link.c
+++ b/libnautilus-private/nautilus-link.c
@@ -27,7 +27,6 @@
#include "nautilus-directory.h"
#include "nautilus-directory-notify.h"
-#include "nautilus-directory-private.h"
#include "nautilus-file-utilities.h"
#include "nautilus-file.h"
#include "nautilus-global-preferences.h"
@@ -162,9 +161,8 @@ gboolean
nautilus_link_set_link_uri (const char *path, const char *link_uri)
{
xmlDocPtr document;
- char *uri, *file_uri;
+ char *uri;
NautilusFile *file;
- NautilusDirectory *directory;
document = xmlParseFile (path);
if (document == NULL) {
@@ -181,14 +179,9 @@ nautilus_link_set_link_uri (const char *path, const char *link_uri)
file = nautilus_file_get (uri);
if (file != NULL) {
nautilus_file_forget_activation_uri (file);
- file_uri = nautilus_file_get_uri (file);
- directory = nautilus_directory_get (file_uri);
- nautilus_directory_async_state_changed (directory);
- nautilus_directory_unref (directory);
nautilus_file_changed (file);
nautilus_file_unref (file);
- g_free (file_uri);
}
g_free (uri);