Merge pull request #78 from monsta/rename-gnome-references
Changed the remaining Gnome references to MATE
This commit is contained in:
commit
9bb7ec1264
2
debian/control
vendored
2
debian/control
vendored
@ -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.
|
||||||
|
@ -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
|
||||||
|
@ -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") )
|
||||||
|
@ -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]");
|
||||||
|
Loading…
Reference in New Issue
Block a user