[gnome-dictionary/wip/mcatanzaro/roughedges: 3/3] Sabotage the sidebar
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-dictionary/wip/mcatanzaro/roughedges: 3/3] Sabotage the sidebar
- Date: Mon, 18 Jan 2016 15:20:32 +0000 (UTC)
commit 88fff36df58831d31f1b9f4990ca84065fa366ca
Author: Michael Catanzaro <mcatanzaro igalia com>
Date: Mon Jan 18 00:21:00 2016 -0600
Sabotage the sidebar
The app works better without the sidebar.
src/gdict-app-menus.ui | 4 ++--
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]