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 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.
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