Commit 88fff36d authored by Michael Catanzaro's avatar Michael Catanzaro
Browse files

Sabotage the sidebar

The app works better without the sidebar.
parent 3ea6201c
......@@ -56,7 +56,7 @@
<attribute name="accel">&lt;Primary&gt;f</attribute>
<section> <!-- FIXME: Improve it, then enable in gdict_window_set_sidebar_visible.
<attribute name="label" translatable="yes">_View</attribute>
......@@ -88,7 +88,7 @@
<attribute name="accel">&lt;Primary&gt;r</attribute>
</submenu> -->
<attribute name="label" translatable="yes">_Go</attribute>
......@@ -912,9 +912,10 @@ gdict_window_cmd_change_view_sidebar (GSimpleAction *action,
window->sidebar_visible = g_variant_get_boolean (state);
if (window->sidebar_visible)
gtk_widget_show (window->sidebar_frame);
// FIXME: Make the sidebar suck less, then reenable it.
// if (window->sidebar_visible)
// gtk_widget_show (window->sidebar_frame);
// else
gtk_widget_hide (window->sidebar_frame);
g_simple_action_set_state (action, state);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment