Commits

Damián Nohales committed 668cf6b

Force to show images on some buttons to override Gtk settings

  • Participants
  • Parent commits 83de331

Comments (0)

Files changed (2)

data/main_window.ui

                 <property name="can_focus">False</property>
                 <property name="use_action_appearance">False</property>
                 <child>
-                  <object class="GtkToggleButton" id="togglebutton1">
+                  <object class="GtkToggleButton" id="togglebutton_playlist">
                     <property name="label" translatable="yes">Playlist</property>
                     <property name="visible">True</property>
                     <property name="can_focus">True</property>
                 <property name="can_focus">False</property>
                 <property name="use_action_appearance">False</property>
                 <child>
-                  <object class="GtkToggleButton" id="togglebutton2">
+                  <object class="GtkToggleButton" id="togglebutton_downloads">
                     <property name="visible">True</property>
                     <property name="can_focus">True</property>
                     <property name="receives_default">True</property>
         self.button_playlist_clear = builder.get_object('button_playlist_clear')
         self.button_save_playlist = builder.get_object('button_save_playlist')
         self.button_lyrics = builder.get_object('button_lyrics')
+        self.button_lyrics.get_image().show()
         self.button_love = builder.get_object('button_love')
         self.button_songinfo = builder.get_object('button_songinfo')
         self.songinfo = builder.get_object('songinfo')
         button_shuffle.set_active(int(config()['shuffle_playlist']))
         
         self.panes = builder.get_object('notebook1')
-        self.playview_pane_label = builder.get_object('togglebutton1')
-        self.downloads_pane_label = builder.get_object('togglebutton2')
+        self.playview_pane_label = builder.get_object('togglebutton_playlist')
+        self.playview_pane_label.get_image().show()
+        self.downloads_pane_label = builder.get_object('togglebutton_downloads')
         
         self.entry_search = builder.get_object('toolentry_search')
         self.entry_filter = builder.get_object('entry_filter')