summaryrefslogtreecommitdiff
path: root/src/nautilus-window-pane.c
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2011-02-15 19:53:24 -0500
committerCosimo Cecchi <cosimoc@gnome.org>2011-02-17 11:25:17 -0500
commitc4d48d522dccb915041c9521789a47d2bea0e1e4 (patch)
tree548c955f933b40581150f933a3815a1545e494d4 /src/nautilus-window-pane.c
parent75f4f95bed048d955cabd7e521b6cc78182a0903 (diff)
downloadnautilus-c4d48d522dccb915041c9521789a47d2bea0e1e4.tar.gz
window: cleanup window_pane_zoom madness
Diffstat (limited to 'src/nautilus-window-pane.c')
-rw-r--r--src/nautilus-window-pane.c61
1 files changed, 0 insertions, 61 deletions
diff --git a/src/nautilus-window-pane.c b/src/nautilus-window-pane.c
index ecb9308c6..f5e740b96 100644
--- a/src/nautilus-window-pane.c
+++ b/src/nautilus-window-pane.c
@@ -63,67 +63,6 @@ nautilus_window_pane_show (NautilusWindowPane *pane)
}
void
-nautilus_window_pane_zoom_in (NautilusWindowPane *pane)
-{
- NautilusWindowSlot *slot;
-
- g_assert (pane != NULL);
-
- nautilus_window_set_active_pane (pane->window, pane);
-
- slot = pane->active_slot;
- if (slot->content_view != NULL) {
- nautilus_view_bump_zoom_level (slot->content_view, 1);
- }
-}
-
-void
-nautilus_window_pane_zoom_to_level (NautilusWindowPane *pane,
- NautilusZoomLevel level)
-{
- NautilusWindowSlot *slot;
-
- g_assert (pane != NULL);
-
- nautilus_window_set_active_pane (pane->window, pane);
-
- slot = pane->active_slot;
- if (slot->content_view != NULL) {
- nautilus_view_zoom_to_level (slot->content_view, level);
- }
-}
-
-void
-nautilus_window_pane_zoom_out (NautilusWindowPane *pane)
-{
- NautilusWindowSlot *slot;
-
- g_assert (pane != NULL);
-
- nautilus_window_set_active_pane (pane->window, pane);
-
- slot = pane->active_slot;
- if (slot->content_view != NULL) {
- nautilus_view_bump_zoom_level (slot->content_view, -1);
- }
-}
-
-void
-nautilus_window_pane_zoom_to_default (NautilusWindowPane *pane)
-{
- NautilusWindowSlot *slot;
-
- g_assert (pane != NULL);
-
- nautilus_window_set_active_pane (pane->window, pane);
-
- slot = pane->active_slot;
- if (slot->content_view != NULL) {
- nautilus_view_restore_default_zoom_level (slot->content_view);
- }
-}
-
-void
nautilus_window_pane_slot_close (NautilusWindowPane *pane, NautilusWindowSlot *slot)
{
NautilusWindowSlot *next_slot;