mirror of
https://github.com/SoongNoonien/mpdevil.git
synced 2023-08-10 21:12:44 +03:00
avoid DeprecationWarning
This commit is contained in:
parent
08ff73d797
commit
b833cb3ca2
@ -559,8 +559,8 @@ class TrackView(Gtk.Box):
|
|||||||
|
|
||||||
#status bar
|
#status bar
|
||||||
status_bar=Gtk.Box(orientation=Gtk.Orientation.HORIZONTAL, spacing=10)
|
status_bar=Gtk.Box(orientation=Gtk.Orientation.HORIZONTAL, spacing=10)
|
||||||
status_bar.set_margin_left(4)
|
status_bar.set_margin_start(4)
|
||||||
status_bar.set_margin_right(4)
|
status_bar.set_margin_end(4)
|
||||||
status_bar.pack_start(self.playlist_info, True, True, 0)
|
status_bar.pack_start(self.playlist_info, True, True, 0)
|
||||||
status_bar.pack_end(audio, False, False, 0)
|
status_bar.pack_end(audio, False, False, 0)
|
||||||
|
|
||||||
@ -1763,8 +1763,8 @@ class MainWindow(Gtk.ApplicationWindow):
|
|||||||
#packing
|
#packing
|
||||||
self.vbox=Gtk.Box(orientation=Gtk.Orientation.VERTICAL, spacing=4)
|
self.vbox=Gtk.Box(orientation=Gtk.Orientation.VERTICAL, spacing=4)
|
||||||
self.hbox=Gtk.Box(orientation=Gtk.Orientation.HORIZONTAL, spacing=4)
|
self.hbox=Gtk.Box(orientation=Gtk.Orientation.HORIZONTAL, spacing=4)
|
||||||
self.hbox.set_margin_left(2)
|
self.hbox.set_margin_start(2)
|
||||||
self.hbox.set_margin_right(2)
|
self.hbox.set_margin_end(2)
|
||||||
self.hbox.set_margin_bottom(2)
|
self.hbox.set_margin_bottom(2)
|
||||||
self.vbox.pack_start(self.info_bar, False, False, 0)
|
self.vbox.pack_start(self.info_bar, False, False, 0)
|
||||||
self.vbox.pack_start(self.browser, True, True, 0)
|
self.vbox.pack_start(self.browser, True, True, 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user