[gnome-terminal] window: Don't show the fallback app menu
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-terminal] window: Don't show the fallback app menu
- Date: Thu, 24 Jan 2013 13:36:56 +0000 (UTC)
commit db532fb41033793c0ac9eaeeaa264566d37ac1bd
Author: Christian Persch <chpe gnome org>
Date: Thu Jan 24 14:34:46 2013 +0100
window: Don't show the fallback app menu
When the shell was active when the server started, the app menu is installed.
When the shell now crashes / is replaced by a non-app-menu aware WM, the
app menu is shown as fallback inside the window. Set the show-appmenu property
to FALSE to prevent that.
src/terminal-window.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/terminal-window.c b/src/terminal-window.c
index 306b3c8..e6c923b 100644
--- a/src/terminal-window.c
+++ b/src/terminal-window.c
@@ -2095,6 +2095,7 @@ terminal_window_new (GApplication *app)
{
return g_object_new (TERMINAL_TYPE_WINDOW,
"application", app,
+ "show-menubar", FALSE,
NULL);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]