mirror of https://github.com/Syncplay/syncplay
Use folder_film.png as icon for 'open containing folder'
This commit is contained in:
parent
483330e0f1
commit
dd2029b00a
|
@ -659,6 +659,7 @@ guiIcons = ['resources/accept.png', 'resources/arrow_undo.png', 'resources/clock
|
|||
'resources/film_go.png', 'resources/world_go.png', 'resources/arrow_refresh.png', 'resources/bullet_right_grey.png',
|
||||
'resources/film_folder_edit.png',
|
||||
'resources/film_edit.png',
|
||||
'folder_film.png'
|
||||
'resources/shield_edit.png',
|
||||
'resources/shield_add.png',
|
||||
'resources/email_go.png',
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 792 B |
|
@ -517,7 +517,7 @@ class MainWindow(QtGui.QMainWindow):
|
|||
pathFound = self._syncplayClient.fileSwitch.findFilepath(firstFile)
|
||||
if pathFound:
|
||||
menu.addAction(QtGui.QPixmap(resourcespath + u"film_go.png"), getMessage("openmedia-menu-label"), lambda: self.openFile(pathFound))
|
||||
menu.addAction(QtGui.QPixmap(resourcespath + u"film_folder_edit.png"),
|
||||
menu.addAction(QtGui.QPixmap(resourcespath + u"folder_film.png"),
|
||||
getMessage('open-containing-folder'),
|
||||
lambda: utils.open_system_file_browser(pathFound))
|
||||
if self._syncplayClient.isUntrustedTrustableURI(firstFile):
|
||||
|
@ -584,7 +584,7 @@ class MainWindow(QtGui.QMainWindow):
|
|||
if not isURL(filename) and filename <> getMessage("nofile-note"):
|
||||
path = self._syncplayClient.fileSwitch.findFilepath(filename)
|
||||
if path:
|
||||
menu.addAction(QtGui.QPixmap(resourcespath + u"film_folder_edit.png"), getMessage('open-containing-folder'), lambda: utils.open_system_file_browser(path))
|
||||
menu.addAction(QtGui.QPixmap(resourcespath + u"folder_film.png"), getMessage('open-containing-folder'), lambda: utils.open_system_file_browser(path))
|
||||
else:
|
||||
return
|
||||
menu.exec_(self.listTreeView.viewport().mapToGlobal(position))
|
||||
|
|
Loading…
Reference in New Issue