mirror of
https://github.com/SoongNoonien/mpdevil.git
synced 2023-08-10 21:12:44 +03:00
replaced " = " by "="
This commit is contained in:
parent
98a71297d6
commit
bee7cf8e8f
@ -172,7 +172,7 @@ class MPRISInterface: # TODO emit Seeked if needed
|
|||||||
}
|
}
|
||||||
|
|
||||||
# start
|
# start
|
||||||
self._bus = Gio.bus_get_sync(Gio.BusType.SESSION, None)
|
self._bus=Gio.bus_get_sync(Gio.BusType.SESSION, None)
|
||||||
Gio.bus_own_name_on_connection(self._bus, self._MPRIS_NAME, Gio.BusNameOwnerFlags.NONE, None, None)
|
Gio.bus_own_name_on_connection(self._bus, self._MPRIS_NAME, Gio.BusNameOwnerFlags.NONE, None, None)
|
||||||
self._node_info=Gio.DBusNodeInfo.new_for_xml(self._INTERFACES_XML)
|
self._node_info=Gio.DBusNodeInfo.new_for_xml(self._INTERFACES_XML)
|
||||||
for interface in self._node_info.interfaces:
|
for interface in self._node_info.interfaces:
|
||||||
@ -4015,7 +4015,7 @@ class MainWindow(Gtk.ApplicationWindow):
|
|||||||
|
|
||||||
def _on_cursor_watch(self, obj, typestring):
|
def _on_cursor_watch(self, obj, typestring):
|
||||||
if obj.get_property("cursor-watch"):
|
if obj.get_property("cursor-watch"):
|
||||||
watch_cursor = Gdk.Cursor(Gdk.CursorType.WATCH)
|
watch_cursor=Gdk.Cursor(Gdk.CursorType.WATCH)
|
||||||
self.get_window().set_cursor(watch_cursor)
|
self.get_window().set_cursor(watch_cursor)
|
||||||
else:
|
else:
|
||||||
self.get_window().set_cursor(None)
|
self.get_window().set_cursor(None)
|
||||||
@ -4053,7 +4053,7 @@ class mpdevil(Gtk.Application):
|
|||||||
|
|
||||||
# notifications
|
# notifications
|
||||||
Notify.init("mpdevil")
|
Notify.init("mpdevil")
|
||||||
self.notify = Notify.Notification.new("")
|
self.notify=Notify.Notification.new("")
|
||||||
|
|
||||||
def do_activate(self):
|
def do_activate(self):
|
||||||
if not self._window: # allow just one instance
|
if not self._window: # allow just one instance
|
||||||
|
Loading…
Reference in New Issue
Block a user