Skip to content

Commit

Permalink
Merge branch 'develop' into emojis
Browse files Browse the repository at this point in the history
# Conflicts:
#	src/windows/views/files_treeview.py
  • Loading branch information
jonoomph committed May 18, 2020
2 parents be3c280 + 06196de commit 30d1a2a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/windows/main_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -2810,6 +2810,8 @@ def __init__(self, mode=None):
if "linux" in sys.platform:
try:
# Get connection to Unity Launcher
import gi
gi.require_version('Unity', '7.0')
from gi.repository import Unity
self.unity_launcher = Unity.LauncherEntry.get_for_desktop_id(info.DESKTOP_ID)
except Exception:
Expand Down
1 change: 1 addition & 0 deletions src/windows/views/files_treeview.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ def contextMenuEvent(self, event):

menu.addAction(self.win.actionImportFiles)
menu.addAction(self.win.actionThumbnailView)

if self.selected:
# If file selected, show file related options
menu.addSeparator()
Expand Down

0 comments on commit 30d1a2a

Please sign in to comment.