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




commit 867bd8015a7102f4e2b398abbd09cc49def0fe58
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 b609b4e98..829822aee 100644
--- a/gnomemusic/widgets/playertoolbar.py
+++ b/gnomemusic/widgets/playertoolbar.py
@@ -125,7 +125,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]