Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Archive
gnome-dictionary
Commits
88fff36d
Commit
88fff36d
authored
Jan 18, 2016
by
Michael Catanzaro
Browse files
Sabotage the sidebar
The app works better without the sidebar.
parent
3ea6201c
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/gdict-app-menus.ui
View file @
88fff36d
...
...
@@ -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>
...
...
src/gdict-window.c
View file @
88fff36d
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment