- Adding: preferences_context_menu.patch
Without this it's possible to disable the menu bar with no way to bring it back. OBS-URL: https://build.opensuse.org/package/show/X11:LXQt/qterminal?expand=0&rev=2
This commit is contained in:
parent
15097196a4
commit
38b2e429fa
13
preferences_context_menu.patch
Normal file
13
preferences_context_menu.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
diff -urEbwB qterminal-0.6.0/src/termwidget.cpp qterminal-0.6.0.new/src/termwidget.cpp
|
||||||
|
--- qterminal-0.6.0/src/termwidget.cpp 2014-10-22 10:13:14.000000000 +0200
|
||||||
|
+++ qterminal-0.6.0.new/src/termwidget.cpp 2016-03-08 14:50:34.453218129 +0100
|
||||||
|
@@ -106,6 +106,9 @@
|
||||||
|
menu.addAction(Properties::Instance()->actions[SPLIT_VERTICAL]);
|
||||||
|
#warning TODO/FIXME: disable the action when there is only one terminal
|
||||||
|
menu.addAction(Properties::Instance()->actions[SUB_COLLAPSE]);
|
||||||
|
+ menu.addSeparator();
|
||||||
|
+ menu.addAction(Properties::Instance()->actions[TOGGLE_MENU]);
|
||||||
|
+ menu.addAction(Properties::Instance()->actions[PREFERENCES]);
|
||||||
|
menu.exec(mapToGlobal(pos));
|
||||||
|
}
|
||||||
|
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 8 13:54:46 UTC 2016 - mvetter@suse.com
|
||||||
|
|
||||||
|
- Adding: preferences_context_menu.patch
|
||||||
|
Without this it's possible to disable the menu bar with
|
||||||
|
no way to bring it back.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Mar 5 12:17:51 UTC 2016 - avvissu@yandex.ru
|
Sat Mar 5 12:17:51 UTC 2016 - avvissu@yandex.ru
|
||||||
|
|
||||||
|
@ -24,6 +24,10 @@ License: GPL-2.0
|
|||||||
Group: System/X11/Terminals
|
Group: System/X11/Terminals
|
||||||
Url: http://lxqt.org
|
Url: http://lxqt.org
|
||||||
Source0: https://github.com/lxde/qterminal/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
Source0: https://github.com/lxde/qterminal/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
|
# Without this its possible to disable the menu bar with no way to re-enable it
|
||||||
|
# Upstreamed with https://github.com/lxde/qterminal/commit/ad2445836ad744539b4d9e03e20f2308e6e26deb#diff-0ef013cb405aa918f9f7af26a0c78c30
|
||||||
|
# should be in next release
|
||||||
|
Patch0: preferences_context_menu.patch
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: libQt5Gui-private-headers-devel
|
BuildRequires: libQt5Gui-private-headers-devel
|
||||||
@ -44,6 +48,7 @@ The lightweight Qt terminal emulator.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake \
|
%cmake \
|
||||||
|
Loading…
Reference in New Issue
Block a user