WIP: close sidebar when closing

This commit is contained in:
Adrien Bourmault 2023-02-23 20:07:38 +01:00
parent 0a7c9d28d3
commit df294bd780
No known key found for this signature in database
GPG Key ID: 6EB408FE0ACEC664
1 changed files with 1 additions and 0 deletions

View File

@ -158,6 +158,7 @@ void ui_set_stack(const char *mode)
"x-office-presentation-symbolic"); "x-office-presentation-symbolic");
break; break;
case 'h': case 'h':
gtk_paned_set_position(window->main_paned, 0);
gtk_menu_button_set_icon_name(window->main_button_mode, gtk_menu_button_set_icon_name(window->main_button_mode,
"user-home-symbolic"); "user-home-symbolic");
break; break;