Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion extensions/cpsection/keyboard/view.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class LayoutCombo(Gtk.Box):
}

def __init__(self, keyboard_manager, n):
GObject.GObject.__init__(self)
super().__init__()
self._keyboard_manager = keyboard_manager
self._index = n

Expand Down
2 changes: 1 addition & 1 deletion extensions/deviceicon/audio.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ class DeviceModelAudio(GObject.GObject):
}

def __init__(self):
GObject.GObject.__init__(self)
super().__init__()

self._device = None
self._last_level = 0
Expand Down
2 changes: 1 addition & 1 deletion extensions/deviceicon/battery.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ class DeviceModel(GObject.GObject):
}

def __init__(self, battery):
GObject.GObject.__init__(self)
super().__init__()
self._battery = UPowerGlib.Device()
self._battery.set_object_path_sync(battery, None)
self._connect_battery()
Expand Down
2 changes: 1 addition & 1 deletion src/jarabe/desktop/grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class Grid(SugarExt.Grid):
}

def __init__(self, width, height):
GObject.GObject.__init__(self)
super().__init__()

self._children = []
self._child_rects = {}
Expand Down
2 changes: 1 addition & 1 deletion src/jarabe/desktop/meshbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ class DeviceObserver(GObject.GObject):
}

def __init__(self, device):
GObject.GObject.__init__(self)
super().__init__()
self._bus = dbus.SystemBus()
self.device = device

Expand Down
2 changes: 1 addition & 1 deletion src/jarabe/frame/clipboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class Clipboard(GObject.GObject):
}

def __init__(self):
GObject.GObject.__init__(self)
super().__init__()

self._objects = {}
self._next_id = 0
Expand Down
2 changes: 1 addition & 1 deletion src/jarabe/frame/eventarea.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class EventArea(GObject.GObject):
}

def __init__(self, settings):
GObject.GObject.__init__(self)
super().__init__()

self._hover = False
self._sids = {}
Expand Down
2 changes: 1 addition & 1 deletion src/jarabe/journal/iconmodel.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class IconModel(GObject.GObject, Gtk.TreeModel, Gtk.TreeDragSource):
_PAGE_SIZE = 100

def __init__(self, query):
GObject.GObject.__init__(self)
super().__init__()

self._last_requested_index = None
self._cached_row = None
Expand Down
2 changes: 1 addition & 1 deletion src/jarabe/journal/listmodel.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class ListModel(GObject.GObject, Gtk.TreeModel, Gtk.TreeDragSource):
_PAGE_SIZE = 10

def __init__(self, query):
GObject.GObject.__init__(self)
super().__init__()

self._last_requested_index = None
self._temp_drag_file_uid = None
Expand Down
2 changes: 1 addition & 1 deletion src/jarabe/journal/palettes.py
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ def __init__(self, journalactivity,
uid_list,
alert_title, alert_message,
operation_cb):
GObject.GObject.__init__(self)
super().__init__()

self._journalactivity = journalactivity

Expand Down
2 changes: 1 addition & 1 deletion src/jarabe/model/adhoc.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class AdHocManager(GObject.GObject):
_CHANNEL_11 = 11

def __init__(self):
GObject.GObject.__init__(self)
super().__init__()

self._bus = dbus.SystemBus()
self._device = None
Expand Down
2 changes: 1 addition & 1 deletion src/jarabe/model/brightness.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class Brightness(GObject.GObject):
changed_signal = GObject.Signal('changed', arg_types=([int]))

def __init__(self):
GObject.GObject.__init__(self)
super().__init__()
self._path = None
self._helper_path = None
self._max_brightness = None
Expand Down
2 changes: 1 addition & 1 deletion src/jarabe/model/buddy.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def __init__(self, **kwargs):
self._tags = None
self._current_activity = None

GObject.GObject.__init__(self, **kwargs)
super().__init__(**kwargs)

def get_nick(self):
return self._nick
Expand Down
2 changes: 1 addition & 1 deletion src/jarabe/model/bundleregistry.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class BundleRegistry(GObject.GObject):

def __init__(self):
logging.debug('STARTUP: Loading the bundle registry')
GObject.GObject.__init__(self)
super().__init__()

self._mime_defaults = self._load_mime_defaults()

Expand Down
2 changes: 1 addition & 1 deletion src/jarabe/model/desktop.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class DesktopViewModel(GObject.GObject):
}

def __init__(self):
GObject.GObject.__init__(self)
super().__init__()

self._number_of_views = 1
self._view_icons = None
Expand Down
2 changes: 1 addition & 1 deletion src/jarabe/model/filetransfer.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
class BaseFileTransfer(GObject.GObject):

def __init__(self, connection):
GObject.GObject.__init__(self)
super().__init__()
self._connection = connection
self._state = FT_STATE_NONE
self._transferred_bytes = 0
Expand Down
2 changes: 1 addition & 1 deletion src/jarabe/model/friends.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class Friends(GObject.GObject):
}

def __init__(self):
GObject.GObject.__init__(self)
super().__init__()

self._friends = {}
self._path = os.path.join(env.get_profile_path(), 'friends')
Expand Down
2 changes: 1 addition & 1 deletion src/jarabe/model/invites.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ class Invites(GObject.GObject):
}

def __init__(self):
GObject.GObject.__init__(self)
super().__init__()

self._dispatch_operations = {}

Expand Down
6 changes: 3 additions & 3 deletions src/jarabe/model/neighborhood.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class ActivityModel(GObject.GObject):
}

def __init__(self, activity_id, room_handle):
GObject.GObject.__init__(self)
super().__init__()

self.activity_id = activity_id
self.room_handle = room_handle
Expand Down Expand Up @@ -188,7 +188,7 @@ class _Account(GObject.GObject):
}

def __init__(self, account_path):
GObject.GObject.__init__(self)
super().__init__()

self.object_path = account_path

Expand Down Expand Up @@ -754,7 +754,7 @@ class Neighborhood(GObject.GObject):
}

def __init__(self):
GObject.GObject.__init__(self)
super().__init__()

self._buddies = {None: get_owner_instance()}
self._activities = {}
Expand Down
4 changes: 2 additions & 2 deletions src/jarabe/model/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ class AccessPoint(GObject.GObject):
}

def __init__(self, device, model):
GObject.GObject.__init__(self)
super().__init__()
self.device = device
self.model = model

Expand Down Expand Up @@ -787,7 +787,7 @@ class Connection(GObject.GObject):
}

def __init__(self, bus, path):
GObject.GObject.__init__(self)
super().__init__()
obj = bus.get_object(NM_SERVICE, path)
self._connection = dbus.Interface(obj, NM_CONNECTION_IFACE)
self._removed_handle = self._connection.connect_to_signal(
Expand Down
2 changes: 1 addition & 1 deletion src/jarabe/model/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class SessionManager(GObject.GObject):
MAX_SHUTDOWN_TRIES = 10

def __init__(self):
GObject.GObject.__init__(self)
super().__init__()

#address = SugarExt.xsmp_init()
#os.environ['SESSION_MANAGER'] = address
Expand Down
2 changes: 1 addition & 1 deletion src/jarabe/model/shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def __init__(self, activity_info, activity_id, color, window=None):
_windows -- GtkWindows registered for the activity. The lowest
one in the stack is the main window.
"""
GObject.GObject.__init__(self)
super().__init__()

self._windows = []
self._service = None
Expand Down
2 changes: 1 addition & 1 deletion src/jarabe/model/update/aslo.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class _UpdateChecker(GObject.GObject):
_CHUNK_SIZE = 10240

def __init__(self):
GObject.GObject.__init__(self)
super().__init__()
self._bundle = None

def check(self, bundle):
Expand Down
2 changes: 1 addition & 1 deletion src/jarabe/model/update/microformat.py
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ class MetadataLookup(GObject.GObject):
}

def __init__(self, url):
GObject.GObject.__init__(self)
super().__init__()
self._url = url
self._icon_file_name = None
self._size = None
Expand Down
2 changes: 1 addition & 1 deletion src/jarabe/model/update/updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class Updater(GObject.GObject):
}

def __init__(self):
GObject.GObject.__init__(self)
super().__init__()

settings = Gio.Settings.new(_UPDATE_KEYS_PATH)
backend = settings.get_string(_UPDATE_BACKEND_KEY)
Expand Down
2 changes: 1 addition & 1 deletion src/jarabe/util/downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class Downloader(GObject.GObject):
}

def __init__(self, url, session=None, request_headers=None):
GObject.GObject.__init__(self)
super().__init__()
self._uri = GLib.Uri.parse(url, GLib.UriFlags.NONE)
self._session = session or get_soup_session()
self._pending_buffers = []
Expand Down
2 changes: 1 addition & 1 deletion src/jarabe/util/telepathy/connection_watcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class ConnectionWatcher(GObject.GObject):
}

def __init__(self, bus=None):
GObject.GObject.__init__(self)
super().__init__()

if bus is None:
self.bus = dbus.Bus()
Expand Down