]> www.fi.muni.cz Git - evince.git/commitdiff
Hook up sidebar toggle.
authorKristian Høgsberg <krh@redhat.com>
Thu, 23 Dec 2004 16:31:00 +0000 (16:31 +0000)
committerKristian Høgsberg <krh@src.gnome.org>
Thu, 23 Dec 2004 16:31:00 +0000 (16:31 +0000)
2004-12-23  Kristian Høgsberg  <krh@redhat.com>

        * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
        toggle.

ChangeLog
shell/ev-window.c

index 0e166f7cdbdc4e7dc321035292ce0d864a0c2daa..de596fb1b1a1104f92103fcb2dd7b7c412f0614b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-12-23  Kristian Høgsberg  <krh@redhat.com>
+
+       * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
+       toggle.
+
 2004-12-23  Adam Weinberger  <adamw@gnome.org>
 
        * configure.ac: Added en_CA to ALL_LINGUAS.
index 27edfee83d5b4b9d175c7aeba4ade47d78879c20..0d8124f6e89ce7ede07201ce48d3b0b162cb858d 100644 (file)
@@ -835,7 +835,11 @@ ev_window_view_statusbar_cb (GtkAction *action, EvWindow *ev_window)
 static void
 ev_window_view_sidebar_cb (GtkAction *action, EvWindow *ev_window)
 {
-        /* FIXME */
+       g_object_set (
+               ev_window->priv->sidebar,
+               "visible",
+               gtk_toggle_action_get_active (GTK_TOGGLE_ACTION (action)),
+               NULL);
 }
 
 static void