diff options
author | Michael Meeks <michael@ximian.com> | 2002-02-11 11:16:02 +0000 |
---|---|---|
committer | Michael Meeks <michael@src.gnome.org> | 2002-02-11 11:16:02 +0000 |
commit | e414ada1b132e8dd5c8446be209e650eba7020b4 (patch) | |
tree | 2f2bad852d5af60f9c3dde628497339ee78a9806 /src/nautilus-window.c | |
parent | 90fef8156583648e9943b5f4a62e8404ec7eaedc (diff) | |
download | nautilus-e414ada1b132e8dd5c8446be209e650eba7020b4.tar.gz |
remove registering own 'synchronizer' #ifdef bits.
2002-02-08 Michael Meeks <michael@ximian.com>
* src/nautilus-window.c
(nautilus_window_constructed): remove registering own
'synchronizer' #ifdef bits.
(nautilus_window_allow_stop): add 'access' sys
calls to allow easier strace profiling.
Diffstat (limited to 'src/nautilus-window.c')
-rw-r--r-- | src/nautilus-window.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/nautilus-window.c b/src/nautilus-window.c index a40465a48..ce310e935 100644 --- a/src/nautilus-window.c +++ b/src/nautilus-window.c @@ -28,6 +28,7 @@ /* nautilus-window.c: Implementation of the main window object */ #include <config.h> +#include <unistd.h> #include "nautilus-window-private.h" #include "nautilus-application.h" @@ -702,10 +703,6 @@ nautilus_window_constructed (NautilusWindow *window) gtk_paned_pack1 (GTK_PANED (window->content_hbox), GTK_WIDGET (window->sidebar), FALSE, TRUE); -#if 0 - bonobo_ui_engine_add_sync (bonobo_window_get_ui_engine (BONOBO_WINDOW (window)), - sidebar_sync); -#endif } bonobo_ui_component_freeze (window->details->shell_ui, NULL); @@ -1714,6 +1711,11 @@ nautilus_window_allow_stop (NautilusWindow *window, gboolean allow) nautilus_window_ui_freeze (window); + if (allow) + access ("nautilus-throbber: start", 0); + else + access ("nautilus-throbber: stop", 0); + nautilus_bonobo_set_sensitive (window->details->shell_ui, NAUTILUS_COMMAND_STOP, allow); |