[gnome-documents] mainWindow: Don't show an extra menu when the app menu is disabled
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents] mainWindow: Don't show an extra menu when the app menu is disabled
- Date: Thu, 8 Oct 2015 07:28:20 +0000 (UTC)
commit 58db54e91a85dbf7bf4da13f76013aa241032e1f
Author: Debarshi Ray <debarshir gnome org>
Date: Thu Oct 8 09:21:19 2015 +0200
mainWindow: Don't show an extra menu when the app menu is disabled
GTK+ gets confused because we don't put a GtkHeaderBar directly into
the GtkWindow's titlebar spot, and ends up showing an extra menu below
the header bar. Set GtkApplicationWindow:show-menubar to false to sort
things out.
https://bugzilla.gnome.org/show_bug.cgi?id=756220
src/mainWindow.js | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/mainWindow.js b/src/mainWindow.js
index ad6ae2b..35bd61d 100644
--- a/src/mainWindow.js
+++ b/src/mainWindow.js
@@ -50,6 +50,7 @@ const MainWindow = new Lang.Class({
width_request: _WINDOW_MIN_WIDTH,
height_request: _WINDOW_MIN_HEIGHT,
window_position: Gtk.WindowPosition.CENTER,
+ show_menubar: false,
title: _("Documents") });
// apply the last saved window size and position
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]