diff --git a/usr/lib/linuxmint/mintUpdate/mintUpdate.py b/usr/lib/linuxmint/mintUpdate/mintUpdate.py index 479c364e..ae2cc521 100755 --- a/usr/lib/linuxmint/mintUpdate/mintUpdate.py +++ b/usr/lib/linuxmint/mintUpdate/mintUpdate.py @@ -1868,7 +1868,7 @@ def get_inhibitor_info(self, reason): name = "org.freedesktop.PowerManagement" path = "/org/freedesktop/PowerManagement/Inhibit" iface = "org.freedesktop.PowerManagement.Inhibit" - args = GLib.Variant("(ss)", ("MintUpdate", reason)) + args = GLib.Variant("(ss)", ("mintupdate", reason)) uninhibit_method = "UnInhibit" else: # https://github.com/linuxmint/cinnamon-session/blob/master/cinnamon-session/csm-inhibitor.h#L51-L58 @@ -1885,7 +1885,7 @@ def get_inhibitor_info(self, reason): name = "org.gnome.SessionManager" path = "/org/gnome/SessionManager" iface = "org.gnome.SessionManager" - args = GLib.Variant("(susu)", ("MintUpdate", xid, reason, flags)) + args = GLib.Variant("(susu)", ("mintupdate", xid, reason, flags)) uninhibit_method = "Uninhibit" return name, path, iface, args, uninhibit_method