Commit e414ada1 authored by Michael Meeks's avatar Michael Meeks Committed by Michael Meeks

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.
parent 90fef815
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.
2002-02-11 Jody Goldberg <jody@gnome.org>
* src/nautilus-bookmark-parsing.c : Include libxml/globals.h to get
......
......@@ -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);
......
......@@ -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);
......
......@@ -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);
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment