Changed the remaining Gnome references to MATE

This commit is contained in:
monsta 2014-03-28 10:48:47 +04:00
parent 8c2ef69ca9
commit f07b58b310
4 changed files with 6 additions and 6 deletions

2
debian/control vendored
View File

@ -8,5 +8,5 @@ Standards-Version: 3.7.2
Package: mintmenu Package: mintmenu
Architecture: all 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 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. One of the most advanced menus under Linux. MintMenu supports filtering, favorites, easy-uninstallation, autosession, and many other features.

View File

@ -30,7 +30,7 @@ msgid "Couldn't initialize plugin"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenu.py:758 #: usr/lib/linuxmint/mintMenu/mintMenu.py:758
msgid "Advanced Gnome Menu" msgid "Advanced MATE Menu"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenu.py:845 #: usr/lib/linuxmint/mintMenu/mintMenu.py:845

View File

@ -735,7 +735,7 @@ class MenuWin( object ):
about.set_license(gpl) about.set_license(gpl)
except Exception, detail: except Exception, detail:
print detail print detail
about.set_comments( _("Advanced Gnome Menu") ) about.set_comments( _("Advanced MATE Menu") )
# about.set_authors( ["Clement Lefebvre <clem@linuxmint.com>", "Lars-Peter Clausen <lars@laprican.de>"] ) # about.set_authors( ["Clement Lefebvre <clem@linuxmint.com>", "Lars-Peter Clausen <lars@laprican.de>"] )
about.set_translator_credits(("translator-credits") ) about.set_translator_credits(("translator-credits") )
#about.set_copyright( _("Based on USP from S.Chanderbally") ) #about.set_copyright( _("Based on USP from S.Chanderbally") )

View File

@ -295,11 +295,11 @@ class ApplicationLauncher( easyButton ):
self.appExec = self.strip_accents(desktopItem.getExec()) self.appExec = self.strip_accents(desktopItem.getExec())
self.appIconName = desktopItem.getIcon() self.appIconName = desktopItem.getIcon()
self.appCategories = desktopItem.getCategories() 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.useTerminal = desktopItem.getTerminal()
self.appPath = desktopItem.getPath() self.appPath = desktopItem.getPath()
if not self.appGnomeDocPath: if not self.appMateDocPath:
self.appKdeDocPath = desktopItem.getDocPath() or "" self.appKdeDocPath = desktopItem.getDocPath() or ""
self.appName = self.appName.strip() self.appName = self.appName.strip()
@ -409,7 +409,7 @@ class ApplicationLauncher( easyButton ):
shutil.copyfile( self.desktopFile, self.startupFilePath ) 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 ) item = matedesktop.item_new_from_uri( self.startupFilePath, matedesktop.LOAD_ONLY_IF_EXISTS )
if item: if item:
r = re.compile("%[A-Za-z]"); r = re.compile("%[A-Za-z]");