Implement enable switch in GTK4 viewer

Review Request #1193 — Created Dec. 16, 2021 and submitted

Information

gplugin/gplugin
default

Reviewers

This adds a state-set signal on the plugin row, which merely re-broadcasts the signal from the switch. This enables the view to watch for the signal and pass along the desired state to the manager.

The plugin row sets the display of the enable switch whenever the plugin state refreshes. I'm not entirely sure if all states are displayed in the way we want.

Start viewer and see that auto-loaded plugins are actually enabled, and that others can be enabled/disabled.

Summary ID
Implement enable switch in GTK4 viewer
This adds a `state-set` signal on the plugin row, which merely re-broadcasts the signal from the switch. This enables the view to watch for the signal and pass along the desired state to the manager. The plugin row sets the display of the enable switch whenever the plugin state refreshes.
f16cdddd41bdd775e1d20bc36a56af7cc8a7c4e3
grim
  1. Ship It!
  2. Awesome work, thanks!!

  3. 
      
grim
Review request changed

Status: Closed (submitted)

Loading...