This commit is contained in:
committed by
Git OBS Bridge
parent
4c95f12259
commit
5db7441254
@@ -7,6 +7,8 @@ Sun Jun 11 17:10:09 UTC 2017 - sor.alexei@meowr.ru
|
||||
Preferences -> Applications.
|
||||
* Fix missing drag-data-get event handler.
|
||||
* Fix launching menu editors.
|
||||
- Add mate-menu-17.10.3-fix-launching.patch: Fix entries launching
|
||||
with arguments.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 9 07:16:28 UTC 2017 - sor.alexei@meowr.ru
|
||||
|
||||
@@ -28,6 +28,8 @@ Url: https://bitbucket.org/ubuntu-mate/mate-menu
|
||||
Source: https://launchpad.net/ubuntu/+archive/primary/+files/%{name}_%{version}.orig.tar.gz
|
||||
# PATCH-FEATURE-OPENSUSE mate-menu-yast2-software.patch sor.alexei@meowr.ru -- Use YaST2 and GNOME PackageKit package managers.
|
||||
Patch0: %{name}-yast2-software.patch
|
||||
# PATCH-FIX-UPSTREAM mate-menu-17.10.3-fix-launching.patch sor.alexei@meowr.ru -- Fix entries launching with arguments.
|
||||
Patch1: %{name}-17.10.3-fix-launching.patch
|
||||
BuildRequires: gobject-introspection-devel
|
||||
BuildRequires: intltool
|
||||
BuildRequires: python >= 2.7
|
||||
@@ -66,6 +68,7 @@ Environment.
|
||||
%prep
|
||||
%setup -q -n ubuntu-mate-%{name}-%{_rev}
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
sed -i 's/su-to-root/xdg-su/g' %{_name}/execute.py
|
||||
|
||||
%build
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
--- a/mate_menu/execute.py
|
||||
+++ b/mate_menu/execute.py
|
||||
@@ -55,9 +55,8 @@ def Execute( cmd , commandCwd=None):
|
||||
cmd = RemoveArgs(cmd)
|
||||
|
||||
try:
|
||||
- os.chdir( cwd )
|
||||
- string = ' '.join(cmd)
|
||||
- subprocess.Popen([string])
|
||||
+ os.chdir(cwd)
|
||||
+ subprocess.Popen(cmd)
|
||||
return True
|
||||
except Exception, detail:
|
||||
print detail
|
||||
Reference in New Issue
Block a user