summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meeks <michael@ximian.com>2002-02-11 11:16:02 +0000
committerMichael Meeks <michael@src.gnome.org>2002-02-11 11:16:02 +0000
commite414ada1b132e8dd5c8446be209e650eba7020b4 (patch)
tree2f2bad852d5af60f9c3dde628497339ee78a9806
parent90fef8156583648e9943b5f4a62e8404ec7eaedc (diff)
downloadnautilus-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.
-rw-r--r--ChangeLog8
-rw-r--r--src/nautilus-navigation-window.c10
-rw-r--r--src/nautilus-object-window.c10
-rw-r--r--src/nautilus-spatial-window.c10
-rw-r--r--src/nautilus-window.c10
5 files changed, 32 insertions, 16 deletions
diff --git a/ChangeLog b/ChangeLog
index db4fb5346..194890076 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+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
diff --git a/src/nautilus-navigation-window.c b/src/nautilus-navigation-window.c
index a40465a48..ce310e935 100644
--- a/src/nautilus-navigation-window.c
+++ b/src/nautilus-navigation-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);
diff --git a/src/nautilus-object-window.c b/src/nautilus-object-window.c
index a40465a48..ce310e935 100644
--- a/src/nautilus-object-window.c
+++ b/src/nautilus-object-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);
diff --git a/src/nautilus-spatial-window.c b/src/nautilus-spatial-window.c
index a40465a48..ce310e935 100644
--- a/src/nautilus-spatial-window.c
+++ b/src/nautilus-spatial-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);
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);