summaryrefslogtreecommitdiff
path: root/src/nautilus-window-pane.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2009-12-11 16:50:39 +0100
committerAlexander Larsson <alexl@redhat.com>2009-12-11 16:52:32 +0100
commit1a6db1b3ff79971f75ad309c22d60c14b2af2857 (patch)
tree7f89335d5dd5e4d1e514fb772e5f6c91738fbcf2 /src/nautilus-window-pane.c
parent84631cacd1909000ebd43b7267b7cacb8115d857 (diff)
downloadnautilus-1a6db1b3ff79971f75ad309c22d60c14b2af2857.tar.gz
Don't show the window until all views in it are visible
For the dual-pane at startup case we want to delay window change until all views are loaded. Also when switching to split view we want to delay showing until the view is loaded.
Diffstat (limited to 'src/nautilus-window-pane.c')
-rw-r--r--src/nautilus-window-pane.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/nautilus-window-pane.c b/src/nautilus-window-pane.c
index 25cc5289e..4b910b352 100644
--- a/src/nautilus-window-pane.c
+++ b/src/nautilus-window-pane.c
@@ -26,6 +26,7 @@
#include "nautilus-window-private.h"
#include "nautilus-navigation-window-pane.h"
#include "nautilus-window-manage-views.h"
+#include <eel/eel-gtk-macros.h>
static void nautilus_window_pane_init (NautilusWindowPane *pane);
static void nautilus_window_pane_class_init (NautilusWindowPaneClass *class);
@@ -54,6 +55,14 @@ get_first_inactive_slot (NautilusWindowPane *pane)
}
void
+nautilus_window_pane_show (NautilusWindowPane *pane)
+{
+ pane->visible = TRUE;
+ EEL_CALL_METHOD (NAUTILUS_WINDOW_PANE_CLASS, pane,
+ show, (pane));
+}
+
+void
nautilus_window_pane_zoom_in (NautilusWindowPane *pane)
{
NautilusWindowSlot *slot;