[polari] MainWindow: Remove left-over app menu
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari] MainWindow: Remove left-over app menu
- Date: Wed, 23 Mar 2022 14:19:21 +0000 (UTC)
commit db3dab61e6cf164e8ad4e7cd3f538fc686e873d2
Author: Florian Müllner <fmuellner gnome org>
Date: Wed Mar 23 06:59:11 2022 +0100
MainWindow: Remove left-over app menu
We kept a minimal app menu around when the menu was phased out,
to keep the 'Quit' action working as expected. But the shell
stopped showing the menu years ago, and nowadays its quit
implementation considers the 'app.quit' action, so there's no
longer any reason for dragging the old left-over along.
Part-of: <https://gitlab.gnome.org/GNOME/polari/-/merge_requests/252>
data/org.gnome.Polari.data.gresource.xml | 1 -
data/resources/menus.ui | 10 ----------
src/mainWindow.js | 1 -
3 files changed, 12 deletions(-)
---
diff --git a/data/org.gnome.Polari.data.gresource.xml b/data/org.gnome.Polari.data.gresource.xml
index 5fa758ea..55a67e4e 100644
--- a/data/org.gnome.Polari.data.gresource.xml
+++ b/data/org.gnome.Polari.data.gresource.xml
@@ -4,7 +4,6 @@
<file alias="style.css">resources/style.css</file>
<file alias="data/networks.json">resources/networks.json</file>
<file alias="gtk/help-overlay.ui" preprocess="xml-stripblanks">resources/help-overlay.ui</file>
- <file alias="gtk/menus.ui" preprocess="xml-stripblanks">resources/menus.ui</file>
<file alias="icons/scalable/status/people-symbolic.svg"
preprocess="xml-stripblanks">resources/people-symbolic.svg</file>
<file alias="icons/scalable/status/polari-user-notify-symbolic.svg"
preprocess="xml-stripblanks">resources/polari-user-notify-symbolic.svg</file>
<file alias="ui/connection-details.ui"
preprocess="xml-stripblanks">resources/connection-details.ui</file>
diff --git a/src/mainWindow.js b/src/mainWindow.js
index ee3751a1..c4a604b5 100644
--- a/src/mainWindow.js
+++ b/src/mainWindow.js
@@ -127,7 +127,6 @@ class MainWindow extends Adw.ApplicationWindow {
_channelChangedId = 0;
constructor(params) {
- params.show_menubar = false;
super(params);
this._userListPopover.set_parent(this._showUserListButton);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]