From 42c302c8606e8dd40d0fd59b00f6396642a74991 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 29 Jul 2019 09:17:30 +1000 Subject: [PATCH] tools: fix a few comments referring to old names Signed-off-by: Peter Hutterer --- tools/ratbagd.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/ratbagd.py b/tools/ratbagd.py index 0656c1cc..1a1c589d 100644 --- a/tools/ratbagd.py +++ b/tools/ratbagd.py @@ -811,7 +811,7 @@ class RatbagdMacro(GObject.Object): @GObject.Property def keys(self): - """A list of (RatbagdButton.MACRO_*, value) tuples representing the + """A list of (RatbagdButton.Macro.*, value) tuples representing the current macro.""" return self._macro @@ -821,7 +821,7 @@ class RatbagdMacro(GObject.Object): libratbag format. @param macro The macro in libratbag format, as - [(RatbagdButton.MACRO_*, value)]. + [(RatbagdButton.Macro.*, value)]. """ ratbagd_macro = RatbagdMacro() @@ -838,7 +838,7 @@ class RatbagdMacro(GObject.Object): def append(self, type, value): """Appends the given event to the current macro. - @param type The type of event, as one of RatbagdButton.MACRO_*. + @param type The type of event, as one of RatbagdButton.Macro.*. @param value If the type denotes a key event, the X.Org or Gdk keycode of the event, as int. Otherwise, the value of the timeout in milliseconds, as int.