This commit is contained in:
Ignacio Serantes
2026-04-14 20:59:13 +02:00
parent b253b6d6e7
commit 9d286112b6
5 changed files with 33 additions and 31 deletions

View File

@@ -14,7 +14,7 @@ Classes:
MainWindow: The main application window containing the thumbnail grid and docks.
"""
__appname__ = "BagheeraView"
__version__ = "0.9.21"
__version__ = "0.9.22"
__author__ = "Ignacio Serantes"
__email__ = "kde@aynoa.net"
__license__ = "LGPL"
@@ -4453,10 +4453,9 @@ class MainWindow(QMainWindow):
self.proxy_model.data(selected_indexes[0], PATH_ROLE))
self.populate_open_with_submenu(open_submenu, full_path)
# New action: Open in Fullscreen Viewer
action_open_fullscreen = open_submenu.addAction(
action_open_fullscreen = menu.addAction(
QIcon.fromTheme("view-fullscreen"),
UITexts.CONTEXT_MENU_OPEN_FULLSCREEN_VIEWER)
UITexts.CONTEXT_MENU_FULLSCREEN_VIEWER)
action_open_fullscreen.triggered.connect(
lambda: self.open_in_fullscreen_viewer(selected_indexes[0]))
@@ -4664,11 +4663,11 @@ class MainWindow(QMainWindow):
lambda checked=False, df=desktop_file_id_from_gio_mime:
subprocess.Popen(["gtk-launch", df, full_path]))
menu.addSeparator()
action_other = menu.addAction(QIcon.fromTheme("applications-other"),
UITexts.OPEN_WITH_OTHER)
action_other.triggered.connect(
lambda: self.open_with_system_chooser(full_path))
# menu.addSeparator()
# action_other = menu.addAction(QIcon.fromTheme("applications-other"),
# UITexts.OPEN_WITH_OTHER)
# action_other.triggered.connect(
# lambda: self.open_with_system_chooser(full_path))
except Exception:
action = menu.addAction(UITexts.CONTEXT_MENU_ERROR_LISTING_APPS)
action.setEnabled(False)