lp:~quequotion/plank

Owned by quequotion
Get this repository:
git clone https://git.launchpad.net/~quequotion/plank
Only quequotion can upload to this repository. If you are quequotion please log in for upload directions.

Branches

Name Last Modified Last Commit
instance_controls 2020-09-13 06:10:37 UTC
Add window controls to instance menu items /as a submenu/

Author: quequotion
Author Date: 2020-09-12 07:40:04 UTC

Add window controls to instance menu items /as a submenu/

Currently only "Close", "Switch to", and "Minimize".

The submenu is required to have a "close instance" feature.

Gtk won't allow a button on a MenuItem. Unfortunately, submenus
break MenuItem's .activate.connnect() signal--contrary to how
this is documented--so window switching also had to move from the
window_item into the submenu. I wanted "minimize active instance"
to happen on the window_item as well, but for the same reason it
must be done in the submenu.

It isn't as pretty as what I had in mind, but it does *work*.

11 of 1 result
This repository contains Public information 
Everyone can see this information.

Subscribers