[gnome-clocks] Alarm, World: Correct argument names



commit 1a91e33b11980955fa8b4c85a237b4eee7766199
Author: Volker Sobek <reklov live com>
Date:   Wed Jan 2 13:59:16 2013 +0100

    Alarm, World: Correct argument names
    
    Alarm.__init__() and World.__init__() both used swapped argument
    names.

 gnomeclocks/alarm.py |    4 ++--
 gnomeclocks/world.py |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gnomeclocks/alarm.py b/gnomeclocks/alarm.py
index a7d26f8..8ec0785 100644
--- a/gnomeclocks/alarm.py
+++ b/gnomeclocks/alarm.py
@@ -447,8 +447,8 @@ class AlarmStandalone(Gtk.EventBox):
 
 
 class Alarm(Clock):
-    def __init__(self, embed, toolbar):
-        Clock.__init__(self, _("Alarm"), embed, toolbar)
+    def __init__(self, toolbar, embed):
+        Clock.__init__(self, _("Alarm"), toolbar, embed)
 
         # Translators: "New" refers to an alarm
         self.new_button = ToolButton(_("New"))
diff --git a/gnomeclocks/world.py b/gnomeclocks/world.py
index f2d6a21..2579bcf 100644
--- a/gnomeclocks/world.py
+++ b/gnomeclocks/world.py
@@ -290,8 +290,8 @@ class WorldStandalone(Gtk.EventBox):
 
 
 class World(Clock):
-    def __init__(self, embed, toolbar):
-        Clock.__init__(self, _("World"), embed, toolbar)
+    def __init__(self, toolbar, embed):
+        Clock.__init__(self, _("World"), toolbar, embed)
 
         # Translators: "New" refers to a world clock
         self.new_button = ToolButton(_("New"))



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]