diff options
Diffstat (limited to 'mate-dictionary')
-rw-r--r-- | mate-dictionary/src/gdict-window.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/mate-dictionary/src/gdict-window.c b/mate-dictionary/src/gdict-window.c index 2f4b9d9c..4e91a1f0 100644 --- a/mate-dictionary/src/gdict-window.c +++ b/mate-dictionary/src/gdict-window.c @@ -253,30 +253,6 @@ gdict_window_set_sidebar_visible (GdictWindow *window, } static void -gdict_window_set_statusbar_visible (GdictWindow *window, - gboolean is_visible) -{ - g_assert (GDICT_IS_WINDOW (window)); - - is_visible = !!is_visible; - - if (is_visible != window->statusbar_visible) - { - GtkAction *action; - - window->statusbar_visible = is_visible; - - if (window->statusbar_visible) - gtk_widget_show (window->status); - else - gtk_widget_hide (window->status); - - action = gtk_action_group_get_action (window->action_group, "ViewStatusbar"); - gtk_toggle_action_set_active (GTK_TOGGLE_ACTION (action), window->statusbar_visible); - } -} - -static void gdict_window_definition_cb (GdictContext *context, GdictDefinition *definition, GdictWindow *window) |