[gnome-music/wip/jfelder/gtk4-v3: 33/167] ui/PlayerToolbar: Fix repeat_menu_button usage




commit f7e743d1c4d5b56c1a8bd1ac8d58f67a34283c2e
Author: Marinus Schraal <mschraal gnome org>
Date:   Sun Apr 11 22:22:59 2021 +0200

    ui/PlayerToolbar: Fix repeat_menu_button usage

 data/ui/PlayerToolbar.ui            | 1 -
 gnomemusic/widgets/playertoolbar.py | 1 -
 2 files changed, 2 deletions(-)
---
diff --git a/data/ui/PlayerToolbar.ui b/data/ui/PlayerToolbar.ui
index 995ec1d20..673dedd57 100644
--- a/data/ui/PlayerToolbar.ui
+++ b/data/ui/PlayerToolbar.ui
@@ -200,7 +200,6 @@
             <property name="visible">True</property>
             <property name="can_focus">True</property>
             <property name="receives_default">True</property>
-            <property name="use_popover">True</property>
             <child>
               <object class="GtkBox" id="replayBox">
                 <property name="visible">True</property>
diff --git a/gnomemusic/widgets/playertoolbar.py b/gnomemusic/widgets/playertoolbar.py
index 781450d9e..6dcd94c63 100644
--- a/gnomemusic/widgets/playertoolbar.py
+++ b/gnomemusic/widgets/playertoolbar.py
@@ -126,7 +126,6 @@ class PlayerToolbar(Gtk.ActionBar):
         self._repeat_action.set_state(new_state)
         new_mode = new_state.get_string()
         self._player.props.repeat_mode = RepeatMode(int(new_mode))
-        self._repeat_menu_button.props.active = False
 
     @Gtk.Template.Callback()
     def _on_progress_value_changed(self, progress_scale):


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]