Fixed an issue related to showing the application name in the menu bar of Gnome desktop under Wayland.

Sun, 02 Feb 2020 11:04:32 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 02 Feb 2020 11:04:32 +0100
changeset 7380
c99320e859ca
parent 7378
e44a53a41b5d
child 7381
cee375d46f2f

Fixed an issue related to showing the application name in the menu bar of Gnome desktop under Wayland.

eric6/WebBrowser/WebBrowserPage.py file | annotate | diff | comparison | revisions
eric6/eric6.py file | annotate | diff | comparison | revisions
eric6/eric6_browser.py file | annotate | diff | comparison | revisions
eric6/eric6_compare.py file | annotate | diff | comparison | revisions
eric6/eric6_configure.py file | annotate | diff | comparison | revisions
eric6/eric6_diff.py file | annotate | diff | comparison | revisions
eric6/eric6_editor.py file | annotate | diff | comparison | revisions
eric6/eric6_hexeditor.py file | annotate | diff | comparison | revisions
eric6/eric6_iconeditor.py file | annotate | diff | comparison | revisions
eric6/eric6_plugininstall.py file | annotate | diff | comparison | revisions
eric6/eric6_pluginrepository.py file | annotate | diff | comparison | revisions
eric6/eric6_pluginuninstall.py file | annotate | diff | comparison | revisions
eric6/eric6_qregexp.py file | annotate | diff | comparison | revisions
eric6/eric6_qregularexpression.py file | annotate | diff | comparison | revisions
eric6/eric6_re.py file | annotate | diff | comparison | revisions
eric6/eric6_shell.py file | annotate | diff | comparison | revisions
eric6/eric6_snap.py file | annotate | diff | comparison | revisions
eric6/eric6_sqlbrowser.py file | annotate | diff | comparison | revisions
eric6/eric6_tray.py file | annotate | diff | comparison | revisions
eric6/eric6_trpreviewer.py file | annotate | diff | comparison | revisions
eric6/eric6_uipreviewer.py file | annotate | diff | comparison | revisions
eric6/eric6_unittest.py file | annotate | diff | comparison | revisions
--- a/eric6/WebBrowser/WebBrowserPage.py	Sat Feb 01 17:25:30 2020 +0100
+++ b/eric6/WebBrowser/WebBrowserPage.py	Sun Feb 02 11:04:32 2020 +0100
@@ -18,7 +18,8 @@
 )
 try:
     from PyQt5.QtWebEngine import PYQT_WEBENGINE_VERSION
-except AttributeError:
+    # __IGNORE_EXCEPTION__
+except (AttributeError, ImportError):
     PYQT_WEBENGINE_VERSION = QT_VERSION
 from PyQt5.QtWebChannel import QWebChannel
 
--- a/eric6/eric6.py	Sat Feb 01 17:25:30 2020 +0100
+++ b/eric6/eric6.py	Sun Feb 02 11:04:32 2020 +0100
@@ -256,6 +256,9 @@
     
     sys.excepthook = excepthook
     
+    from PyQt5.QtGui import QGuiApplication
+    QGuiApplication.setDesktopFileName("eric6.desktop")
+    
     options = [
         ("--config=configDir",
          "use the given directory as the one containing the config files"),
--- a/eric6/eric6_browser.py	Sat Feb 01 17:25:30 2020 +0100
+++ b/eric6/eric6_browser.py	Sun Feb 02 11:04:32 2020 +0100
@@ -139,6 +139,9 @@
     """
     global app
     
+    from PyQt5.QtGui import QGuiApplication
+    QGuiApplication.setDesktopFileName("eric6_browser.desktop")
+    
     options = [
         ("--config=configDir",
          "use the given directory as the one containing the config files"),
--- a/eric6/eric6_compare.py	Sat Feb 01 17:25:30 2020 +0100
+++ b/eric6/eric6_compare.py	Sun Feb 02 11:04:32 2020 +0100
@@ -61,6 +61,9 @@
     """
     Main entry point into the application.
     """
+    from PyQt5.QtGui import QGuiApplication
+    QGuiApplication.setDesktopFileName("eric6_compare.desktop")
+    
     options = [
         ("--config=configDir",
          "use the given directory as the one containing the config files"),
--- a/eric6/eric6_configure.py	Sat Feb 01 17:25:30 2020 +0100
+++ b/eric6/eric6_configure.py	Sun Feb 02 11:04:32 2020 +0100
@@ -60,6 +60,9 @@
     """
     Main entry point into the application.
     """
+    from PyQt5.QtGui import QGuiApplication
+    QGuiApplication.setDesktopFileName("eric6_configure.desktop")
+    
     options = [
         ("--config=configDir",
          "use the given directory as the one containing the config files"),
--- a/eric6/eric6_diff.py	Sat Feb 01 17:25:30 2020 +0100
+++ b/eric6/eric6_diff.py	Sun Feb 02 11:04:32 2020 +0100
@@ -53,6 +53,9 @@
     """
     Main entry point into the application.
     """
+    from PyQt5.QtGui import QGuiApplication
+    QGuiApplication.setDesktopFileName("eric6_diff.desktop")
+    
     options = [
         ("--config=configDir",
          "use the given directory as the one containing the config files"),
--- a/eric6/eric6_editor.py	Sat Feb 01 17:25:30 2020 +0100
+++ b/eric6/eric6_editor.py	Sun Feb 02 11:04:32 2020 +0100
@@ -62,6 +62,9 @@
     """
     Main entry point into the application.
     """
+    from PyQt5.QtGui import QGuiApplication
+    QGuiApplication.setDesktopFileName("eric6_editor.desktop")
+    
     options = [
         ("--config=configDir",
          "use the given directory as the one containing the config files"),
--- a/eric6/eric6_hexeditor.py	Sat Feb 01 17:25:30 2020 +0100
+++ b/eric6/eric6_hexeditor.py	Sun Feb 02 11:04:32 2020 +0100
@@ -60,6 +60,9 @@
     """
     Main entry point into the application.
     """
+    from PyQt5.QtGui import QGuiApplication
+    QGuiApplication.setDesktopFileName("eric6_hexeditor.desktop")
+    
     options = [
         ("--config=configDir",
          "use the given directory as the one containing the config files"),
--- a/eric6/eric6_iconeditor.py	Sat Feb 01 17:25:30 2020 +0100
+++ b/eric6/eric6_iconeditor.py	Sun Feb 02 11:04:32 2020 +0100
@@ -60,6 +60,9 @@
     """
     Main entry point into the application.
     """
+    from PyQt5.QtGui import QGuiApplication
+    QGuiApplication.setDesktopFileName("eric6_iconeditor.desktop")
+    
     options = [
         ("--config=configDir",
          "use the given directory as the one containing the config files"),
--- a/eric6/eric6_plugininstall.py	Sat Feb 01 17:25:30 2020 +0100
+++ b/eric6/eric6_plugininstall.py	Sun Feb 02 11:04:32 2020 +0100
@@ -52,6 +52,9 @@
     """
     Main entry point into the application.
     """
+    from PyQt5.QtGui import QGuiApplication
+    QGuiApplication.setDesktopFileName("eric6_plugininstall.desktop")
+    
     options = [
         ("--config=configDir",
          "use the given directory as the one containing the config files"),
--- a/eric6/eric6_pluginrepository.py	Sat Feb 01 17:25:30 2020 +0100
+++ b/eric6/eric6_pluginrepository.py	Sun Feb 02 11:04:32 2020 +0100
@@ -52,6 +52,9 @@
     """
     Main entry point into the application.
     """
+    from PyQt5.QtGui import QGuiApplication
+    QGuiApplication.setDesktopFileName("eric6_pluginrepository.desktop")
+    
     options = [
         ("--config=configDir",
          "use the given directory as the one containing the config files"),
--- a/eric6/eric6_pluginuninstall.py	Sat Feb 01 17:25:30 2020 +0100
+++ b/eric6/eric6_pluginuninstall.py	Sun Feb 02 11:04:32 2020 +0100
@@ -52,6 +52,9 @@
     """
     Main entry point into the application.
     """
+    from PyQt5.QtGui import QGuiApplication
+    QGuiApplication.setDesktopFileName("eric6_pluginuninstall.desktop")
+    
     options = [
         ("--config=configDir",
          "use the given directory as the one containing the config files"),
--- a/eric6/eric6_qregexp.py	Sat Feb 01 17:25:30 2020 +0100
+++ b/eric6/eric6_qregexp.py	Sun Feb 02 11:04:32 2020 +0100
@@ -55,6 +55,9 @@
     """
     Main entry point into the application.
     """
+    from PyQt5.QtGui import QGuiApplication
+    QGuiApplication.setDesktopFileName("eric6_qregexp.desktop")
+    
     options = [
         ("--config=configDir",
          "use the given directory as the one containing the config files"),
--- a/eric6/eric6_qregularexpression.py	Sat Feb 01 17:25:30 2020 +0100
+++ b/eric6/eric6_qregularexpression.py	Sun Feb 02 11:04:32 2020 +0100
@@ -55,6 +55,9 @@
     """
     Main entry point into the application.
     """
+    from PyQt5.QtGui import QGuiApplication
+    QGuiApplication.setDesktopFileName("eric6_qregularexpression.desktop")
+    
     options = [
         ("--config=configDir",
          "use the given directory as the one containing the config files"),
--- a/eric6/eric6_re.py	Sat Feb 01 17:25:30 2020 +0100
+++ b/eric6/eric6_re.py	Sun Feb 02 11:04:32 2020 +0100
@@ -55,6 +55,9 @@
     """
     Main entry point into the application.
     """
+    from PyQt5.QtGui import QGuiApplication
+    QGuiApplication.setDesktopFileName("eric6_re.desktop")
+    
     options = [
         ("--config=configDir",
          "use the given directory as the one containing the config files"),
--- a/eric6/eric6_shell.py	Sat Feb 01 17:25:30 2020 +0100
+++ b/eric6/eric6_shell.py	Sun Feb 02 11:04:32 2020 +0100
@@ -55,6 +55,9 @@
     """
     Main entry point into the application.
     """
+    from PyQt5.QtGui import QGuiApplication
+    QGuiApplication.setDesktopFileName("eric6_shell.desktop")
+    
     options = [
         ("--config=configDir",
          "use the given directory as the one containing the config files"),
--- a/eric6/eric6_snap.py	Sat Feb 01 17:25:30 2020 +0100
+++ b/eric6/eric6_snap.py	Sun Feb 02 11:04:32 2020 +0100
@@ -52,6 +52,9 @@
     """
     Main entry point into the application.
     """
+    from PyQt5.QtGui import QGuiApplication
+    QGuiApplication.setDesktopFileName("eric6_snap.desktop")
+    
     options = [
         ("--config=configDir",
          "use the given directory as the one containing the config files"),
--- a/eric6/eric6_sqlbrowser.py	Sat Feb 01 17:25:30 2020 +0100
+++ b/eric6/eric6_sqlbrowser.py	Sun Feb 02 11:04:32 2020 +0100
@@ -59,6 +59,9 @@
     """
     Main entry point into the application.
     """
+    from PyQt5.QtGui import QGuiApplication
+    QGuiApplication.setDesktopFileName("eric6_sqlbrowser.desktop")
+    
     options = [
         ("--config=configDir",
          "use the given directory as the one containing the config files"),
--- a/eric6/eric6_tray.py	Sat Feb 01 17:25:30 2020 +0100
+++ b/eric6/eric6_tray.py	Sun Feb 02 11:04:32 2020 +0100
@@ -55,6 +55,9 @@
     """
     Main entry point into the application.
     """
+    from PyQt5.QtGui import QGuiApplication
+    QGuiApplication.setDesktopFileName("eric6_tray.desktop")
+    
     options = [
         ("--config=configDir",
          "use the given directory as the one containing the config files"),
--- a/eric6/eric6_trpreviewer.py	Sat Feb 01 17:25:30 2020 +0100
+++ b/eric6/eric6_trpreviewer.py	Sun Feb 02 11:04:32 2020 +0100
@@ -67,6 +67,9 @@
     """
     global app
     
+    from PyQt5.QtGui import QGuiApplication
+    QGuiApplication.setDesktopFileName("eric6_trpreviewer.desktop")
+    
     options = [
         ("--config=configDir",
          "use the given directory as the one containing the config files"),
--- a/eric6/eric6_uipreviewer.py	Sat Feb 01 17:25:30 2020 +0100
+++ b/eric6/eric6_uipreviewer.py	Sun Feb 02 11:04:32 2020 +0100
@@ -60,6 +60,9 @@
     """
     Main entry point into the application.
     """
+    from PyQt5.QtGui import QGuiApplication
+    QGuiApplication.setDesktopFileName("eric6_uipreviewer.desktop")
+    
     options = [
         ("--config=configDir",
          "use the given directory as the one containing the config files"),
--- a/eric6/eric6_unittest.py	Sat Feb 01 17:25:30 2020 +0100
+++ b/eric6/eric6_unittest.py	Sun Feb 02 11:04:32 2020 +0100
@@ -61,6 +61,9 @@
     """
     Main entry point into the application.
     """
+    from PyQt5.QtGui import QGuiApplication
+    QGuiApplication.setDesktopFileName("eric6_unittest.desktop")
+    
     options = [
         ("--config=configDir",
          "use the given directory as the one containing the config files"),

eric ide

mercurial