From f07b58b310ccc31d18ef2a682b8d353a42e7126c Mon Sep 17 00:00:00 2001 From: monsta Date: Fri, 28 Mar 2014 10:48:47 +0400 Subject: [PATCH] Changed the remaining Gnome references to MATE --- debian/control | 2 +- mintmenu.pot | 2 +- usr/lib/linuxmint/mintMenu/mintMenu.py | 2 +- usr/lib/linuxmint/mintMenu/plugins/easybuttons.py | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/debian/control b/debian/control index abccafc..99440bc 100644 --- a/debian/control +++ b/debian/control @@ -8,5 +8,5 @@ Standards-Version: 3.7.2 Package: mintmenu Architecture: all Depends: python (>= 2.4), python (<< 3), python-gtk2, python-glade2, mint-common, python-mate-menu, python-xdg, libmatepanelapplet, libmatedesktop, mate-menus, gvfs-bin, python-xlib, gir1.2-mate-panel, gir1.2-gtk-2.0, mozo -Description: Advanced Gnome menu +Description: Advanced MATE menu One of the most advanced menus under Linux. MintMenu supports filtering, favorites, easy-uninstallation, autosession, and many other features. diff --git a/mintmenu.pot b/mintmenu.pot index 3b503d8..9595e4a 100644 --- a/mintmenu.pot +++ b/mintmenu.pot @@ -30,7 +30,7 @@ msgid "Couldn't initialize plugin" msgstr "" #: usr/lib/linuxmint/mintMenu/mintMenu.py:758 -msgid "Advanced Gnome Menu" +msgid "Advanced MATE Menu" msgstr "" #: usr/lib/linuxmint/mintMenu/mintMenu.py:845 diff --git a/usr/lib/linuxmint/mintMenu/mintMenu.py b/usr/lib/linuxmint/mintMenu/mintMenu.py index 0a2d1a7..c3574dc 100755 --- a/usr/lib/linuxmint/mintMenu/mintMenu.py +++ b/usr/lib/linuxmint/mintMenu/mintMenu.py @@ -735,7 +735,7 @@ class MenuWin( object ): about.set_license(gpl) except Exception, detail: print detail - about.set_comments( _("Advanced Gnome Menu") ) + about.set_comments( _("Advanced MATE Menu") ) # about.set_authors( ["Clement Lefebvre ", "Lars-Peter Clausen "] ) about.set_translator_credits(("translator-credits") ) #about.set_copyright( _("Based on USP from S.Chanderbally") ) diff --git a/usr/lib/linuxmint/mintMenu/plugins/easybuttons.py b/usr/lib/linuxmint/mintMenu/plugins/easybuttons.py index 7efed90..38404ec 100755 --- a/usr/lib/linuxmint/mintMenu/plugins/easybuttons.py +++ b/usr/lib/linuxmint/mintMenu/plugins/easybuttons.py @@ -295,11 +295,11 @@ class ApplicationLauncher( easyButton ): self.appExec = self.strip_accents(desktopItem.getExec()) self.appIconName = desktopItem.getIcon() self.appCategories = desktopItem.getCategories() - self.appGnomeDocPath = desktopItem.get( "X-MATE-DocPath" ) or "" + self.appMateDocPath = desktopItem.get( "X-MATE-DocPath" ) or "" self.useTerminal = desktopItem.getTerminal() self.appPath = desktopItem.getPath() - if not self.appGnomeDocPath: + if not self.appMateDocPath: self.appKdeDocPath = desktopItem.getDocPath() or "" self.appName = self.appName.strip() @@ -409,7 +409,7 @@ class ApplicationLauncher( easyButton ): shutil.copyfile( self.desktopFile, self.startupFilePath ) - # Remove %u, etc. from Exec entry, because gnome will not replace them when it starts the app + # Remove %u, etc. from Exec entry, because MATE will not replace them when it starts the app item = matedesktop.item_new_from_uri( self.startupFilePath, matedesktop.LOAD_ONLY_IF_EXISTS ) if item: r = re.compile("%[A-Za-z]");