aboutsummaryrefslogtreecommitdiff
path: root/src/prepaid-manager-applet.py
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2020-03-31 16:35:18 +0200
committerGuido Günther <agx@sigxcpu.org>2020-03-31 18:16:28 +0200
commit52b85f55adc750e84c584fcbd939d0cc38d9568b (patch)
tree18ae4dd4c230ec8e22a9924172cdc54f97f823d0 /src/prepaid-manager-applet.py
parentd481e04a2e3713d563037889b1dc5b1417e63ecd (diff)
Introduce and use app_id
Diffstat (limited to 'src/prepaid-manager-applet.py')
-rwxr-xr-xsrc/prepaid-manager-applet.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/prepaid-manager-applet.py b/src/prepaid-manager-applet.py
index 9f6278c..d751ca0 100755
--- a/src/prepaid-manager-applet.py
+++ b/src/prepaid-manager-applet.py
@@ -779,8 +779,8 @@ def setup_i18n():
def setup_prgname():
"""Set the prgname since gnome-shell is application based"""
- GLib.set_prgname(ppm.prgname)
- Gdk.set_program_class(ppm.prgname)
+ GLib.set_prgname(ppm.app_id)
+ Gdk.set_program_class(ppm.app_id)
GLib.set_application_name(_("Prepaid Manager"))
@@ -797,7 +797,7 @@ def main(args):
logging.basicConfig(level=log_level,
format='ppm: %(levelname)s: %(message)s')
- logging.debug("%s %s", ppm.prgname, ppm.version)
+ logging.debug("%s %s", ppm.app_id, ppm.version)
setup_i18n()
setup_prgname()