Commit c402fec9 authored by Kris Thomsen's avatar Kris Thomsen Committed by Vadim Rutkovsky

Remove additional deprecations

Forgot a few - and forgot to clean up after myself

https://bugzilla.gnome.org/show_bug.cgi?id=737142
parent e344a64b
......@@ -22,7 +22,7 @@
<child>
<object class="GtkImage" id="image1">
<property name="can_focus">False</property>
<property name="icon-size">1</property>
<property name="icon_size">1</property>
</object>
</child>
</object>
......
......@@ -553,13 +553,9 @@ class Player(GObject.GObject):
self.repeatBtnImage = self._ui.get_object('playlistRepeat')
if Gtk.Settings.get_default().get_property('gtk_application_prefer_dark_theme'):
#color = Gdk.Color(red=65535, green=65535, blue=65535)
color = Gdk.RGBA(red=1.0, green=1.0, blue=1.0, alpha=1.0)
else:
#color = Gdk.Color(red=0, green=0, blue=0)
color = Gdk.RGBA(red=0.0, green=0.0, blue=0.0, alpha=0.0)
#self._playImage.modify_fg(Gtk.StateType.ACTIVE, color)
#self._pauseImage.modify_fg(Gtk.StateType.ACTIVE, color)
self._playImage.override_color(Gtk.StateFlags.ACTIVE, color)
self._pauseImage.override_color(Gtk.StateFlags.ACTIVE, color)
......
......@@ -177,7 +177,7 @@ class Window(Gtk.ApplicationWindow):
@log
def _setup_view(self):
self._box = Gtk.VBox()
self._box = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)
self.player = Player()
self.selection_toolbar = SelectionToolbar()
self.toolbar = Toolbar()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment