Skip to content
Commits on Source (4)
mate-menu (19.10.2-2) unstable; urgency=medium
* debian/control:
+ Bump Standards-Version: to 4.4.1. No changes needed.
+ Add Rules-Requires-Root: field and set it to no.
+ Add D (mate-menu): python3-gi-cairo. (Closes: #942676).
* debian/patches:
+ Add 1001_check-availability-of-env-vars.patch. Fix
occurring exception (crash) when a user clicks the
"Edit properties" item in context menu of applications
list. (LP:#1845816). Thanks to Nicholas Guriev for
providing the patch.
* debian/copyright:
+ Update copyright attributions.
-- Mike Gabriel <sunweaver@debian.org> Thu, 31 Oct 2019 21:33:36 +0100
mate-menu (19.10.2-1) unstable; urgency=medium
[ Martin Wimpress ]
......
......@@ -27,6 +27,7 @@ Depends: ${python3:Depends},
mozo | menulibre,
python3 (>= 3.3),
python3-configobj,
python3-gi-cairo,
python3-setproctitle,
python3-xdg,
python3-xlib,
......
......@@ -8,7 +8,6 @@ Files: README.md
data/icons/ddg.png
data/icons/dictionary.png
data/icons/google.png
data/icons/mate-logo-dark.svg
data/icons/wikipedia.png
data/mate-menu-config.glade
data/mate-menu.1
......@@ -48,10 +47,6 @@ Copyright: 2007-2014, Clement Lefebvre <root@linuxmint.com>
2016, Sorokin Alexei <sor.alexei@meowr.ru>
License: GPL-2+
Files: data/icons/mate-logo.svg
Copyright: 2015, Doug Torrance <dtorrance@monmouthcollege.edu>
License: GPL-3+
Files: po/*
Copyright:
abuyop <abuyop@gmail.com>
......@@ -164,20 +159,3 @@ License: Expat
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
License: GPL-3+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the GNU General
Public License version 3 can be found in `/usr/share/common-licenses/GPL-3'.
From ff3c5a1beafc3816880dc53c33fec545e9cfc359 Mon Sep 17 00:00:00 2001
From: Nicholas Guriev <guriev-ns@ya.ru>
Date: Thu, 31 Oct 2019 09:28:13 +0300
Subject: [PATCH] Check availability of environment variables
Fixes: https://launchpad.net/bugs/1845816
---
mate_menu/plugins/applications.py | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/mate_menu/plugins/applications.py b/mate_menu/plugins/applications.py
index cbf0e9a..e349378 100644
--- a/mate_menu/plugins/applications.py
+++ b/mate_menu/plugins/applications.py
@@ -49,10 +49,12 @@ def __init__(self, name, summary, description):
def get_user_item_path():
item_dir = None
- if os.environ.has_key('XDG_DATA_HOME'):
+ if 'XDG_DATA_HOME' in os.environ:
item_dir = os.path.join(os.environ['XDG_DATA_HOME'], 'applications')
- else:
+ elif 'HOME' in os.environ:
item_dir = os.path.join(os.environ['HOME'], '.local', 'share', 'applications')
+ else:
+ item_dir = os.path.join('/', 'tmp', 'applications')
if not os.path.isdir(item_dir):
os.makedirs(item_dir)
@@ -61,7 +63,7 @@ def get_user_item_path():
def get_system_item_paths():
item_dirs = []
- if os.environ.has_key('XDG_DATA_DIRS'):
+ if 'XDG_DATA_DIRS' in os.environ:
item_dirs = os.environ['XDG_DATA_DIRS'].split(":")
item_dirs.append(os.path.join('/usr', 'share'))
return item_dirs
1001_check-availability-of-env-vars.patch