[gtranslator] Force menubar hide on window startup
- From: Daniel Garcia Moreno <danigm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtranslator] Force menubar hide on window startup
- Date: Sat, 27 Apr 2019 15:55:48 +0000 (UTC)
commit 438f71222b673e1019440f5a62e1e725ec91a6ee
Author: Daniel GarcĂa Moreno <dani danigm net>
Date: Sat Apr 27 17:54:59 2019 +0200
Force menubar hide on window startup
src/gtr-application.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/gtr-application.c b/src/gtr-application.c
index 1922d95f..ff4c0714 100644
--- a/src/gtr-application.c
+++ b/src/gtr-application.c
@@ -736,6 +736,7 @@ gtr_application_create_window (GtrApplication *app)
"(ii)", &w, &h);
gtk_window_set_default_size (GTK_WINDOW (window), w, h);
+ gtk_application_window_set_show_menubar (GTK_APPLICATION_WINDOW (window), FALSE);
if ((state & GDK_WINDOW_STATE_MAXIMIZED) != 0)
gtk_window_maximize (GTK_WINDOW (window));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]