Skip to content

Commit

Permalink
Hide bars - grave keystroke
Browse files Browse the repository at this point in the history
Set scrolled window vertical policy to Never

(cherry picked from commit b187982)
  • Loading branch information
caclark committed Apr 12, 2022
1 parent 14263bc commit 7ce520c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layout.c
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ static GtkWidget *layout_tool_setup(LayoutWindow *lw)

toolbar = layout_actions_toolbar(lw, TOOLBAR_MAIN);
scroll_window = gtk_scrolled_window_new(NULL, NULL);
gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scroll_window), GTK_POLICY_AUTOMATIC,GTK_POLICY_AUTOMATIC);
gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scroll_window), GTK_POLICY_AUTOMATIC,GTK_POLICY_NEVER);
gtk_scrolled_window_add_with_viewport(GTK_SCROLLED_WINDOW(scroll_window), menu_bar);

gtk_widget_show(scroll_window);
Expand Down

0 comments on commit 7ce520c

Please sign in to comment.