diff options
author | Michael Catanzaro <mcatanzaro@igalia.com> | 2016-01-18 00:21:00 -0600 |
---|---|---|
committer | Michael Catanzaro <mcatanzaro@igalia.com> | 2016-01-18 09:19:42 -0600 |
commit | 88fff36df58831d31f1b9f4990ca84065fa366ca (patch) | |
tree | d13bf0379552f82f0fa1c524bc104c30047ec112 | |
parent | 3ea6201c397faac6cff88d8189f42ca8573ff72f (diff) | |
download | gnome-dictionary-wip/mcatanzaro/roughedges.tar.gz |
Sabotage the sidebarwip/mcatanzaro/roughedges
The app works better without the sidebar.
-rw-r--r-- | src/gdict-app-menus.ui | 4 | ||||
-rw-r--r-- | src/gdict-window.c | 7 |
2 files changed, 6 insertions, 5 deletions
diff --git a/src/gdict-app-menus.ui b/src/gdict-app-menus.ui index 03bdd4e..eb8ca61 100644 --- a/src/gdict-app-menus.ui +++ b/src/gdict-app-menus.ui @@ -56,7 +56,7 @@ <attribute name="accel"><Primary>f</attribute> </item> </section> - <section> + <section> <!-- FIXME: Improve it, then enable in gdict_window_set_sidebar_visible. <submenu> <attribute name="label" translatable="yes">_View</attribute> <section> @@ -88,7 +88,7 @@ <attribute name="accel"><Primary>r</attribute> </item> </section> - </submenu> + </submenu> --> <submenu> <attribute name="label" translatable="yes">_Go</attribute> <section> diff --git a/src/gdict-window.c b/src/gdict-window.c index 8ea2629..fdc8f41 100644 --- a/src/gdict-window.c +++ b/src/gdict-window.c @@ -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); - else + // 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); |