From: Kristian Høgsberg Date: Thu, 23 Dec 2004 16:31:00 +0000 (+0000) Subject: Hook up sidebar toggle. X-Git-Tag: EVINCE_0_1_0~58 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=63cb6b1b8f61547c3ab6c4e305bad2a4828f9bfa;p=evince.git Hook up sidebar toggle. 2004-12-23 Kristian Høgsberg * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar toggle. --- diff --git a/ChangeLog b/ChangeLog index 0e166f7c..de596fb1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-12-23 Kristian Høgsberg + + * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar + toggle. + 2004-12-23 Adam Weinberger * configure.ac: Added en_CA to ALL_LINGUAS. diff --git a/shell/ev-window.c b/shell/ev-window.c index 27edfee8..0d8124f6 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -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