diff --git a/po/arch-update.pot b/po/arch-update.pot index 8f1df6f..cbf513f 100644 --- a/po/arch-update.pot +++ b/po/arch-update.pot @@ -463,10 +463,10 @@ msgstr "" msgid "The '${config_file}' configuration file has been generated" msgstr "" -#: src/script/arch-update-tray.py:117 +#: src/script/arch-update-tray.py:118 msgid "Run Arch-Update" msgstr "" -#: src/script/arch-update-tray.py:118 +#: src/script/arch-update-tray.py:119 msgid "Exit" msgstr "" diff --git a/po/fr.po b/po/fr.po index 342990a..5b2a298 100644 --- a/po/fr.po +++ b/po/fr.po @@ -497,10 +497,10 @@ msgstr "" msgid "The '${config_file}' configuration file has been generated" msgstr "Le fichier de configuration '${config_file}' a été généré" -#: src/script/arch-update-tray.py:117 +#: src/script/arch-update-tray.py:118 msgid "Run Arch-Update" msgstr "Lancer Arch-Update" -#: src/script/arch-update-tray.py:118 +#: src/script/arch-update-tray.py:119 msgid "Exit" msgstr "Quitter" diff --git a/src/script/arch-update-tray.py b/src/script/arch-update-tray.py index 16ea7d1..41f13be 100755 --- a/src/script/arch-update-tray.py +++ b/src/script/arch-update-tray.py @@ -13,6 +13,7 @@ log = logging.getLogger(__name__) # Find Statefile +STATE_FILE = None if 'XDG_STATE_HOME' in os.environ: STATE_FILE = os.path.join( os.environ['XDG_STATE_HOME'], 'arch-update', 'current_state')