elementary / videos

Video player and library app designed for elementary OS
https://elementary.io
GNU General Public License v3.0
58 stars 18 forks source link

Application: create play/pause GLib.Action #271

Closed danirabbit closed 2 years ago

danirabbit commented 2 years ago

Save global playback state in a GLib.Action so that it's easy to get/set from anywhere. One less reason to pass ClutterGst.Playback to BottomBar which helps with #261

danirabbit commented 2 years ago

@JoseExposito yeah I'm trying to separate actions that are performed on the window/UI itself vs actions on the media/application. Things might not be totally perfect right now, but at least that's the intended direction