Merge pull request #16 from stefano-k/master
replace mate-open with gvfs-open
This commit is contained in:
commit
0f9ba88c54
2
debian/control
vendored
2
debian/control
vendored
@ -7,6 +7,6 @@ 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-mate-desktop, python-corba, python-mate, python-xdg, libmatepanelapplet, libmatedesktop, mate-menus
|
Depends: python (>= 2.4), python (<< 3), python-gtk2, python-glade2, mint-common, python-mate-menu, python-mate-desktop, python-corba, python-mate, python-xdg, libmatepanelapplet, libmatedesktop, mate-menus, gvfs-bin
|
||||||
Description: Advanced Gnome menu
|
Description: Advanced Gnome 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.
|
||||||
|
@ -165,7 +165,7 @@ class pluginclass:
|
|||||||
def callback(self, widget, filename=None):
|
def callback(self, widget, filename=None):
|
||||||
self.Win.hide()
|
self.Win.hide()
|
||||||
|
|
||||||
x = os.system("mate-open \""+filename+"\"")
|
x = os.system("gvfs-open \""+filename+"\"")
|
||||||
if x == 256:
|
if x == 256:
|
||||||
dia = gtk.Dialog('File not found!',
|
dia = gtk.Dialog('File not found!',
|
||||||
None, #the toplevel wgt of your app
|
None, #the toplevel wgt of your app
|
||||||
|
Loading…
Reference in New Issue
Block a user