wf-shell icon indicating copy to clipboard operation
wf-shell copied to clipboard

panel network: Implement more detailed information

Open ammen99 opened this issue 7 years ago • 6 comments

Maybe we can even show a list of networks to choose from? Would definitely be cool, although that will require some work.

ammen99 avatar Sep 05 '18 11:09 ammen99

With the network widget having customisable action on click, maybe we could launch nm-connection-manager near the widget? I'm trying to figure out how the clock draws the calendar but I'm drawing a blank :smile:

psstoyanov avatar Aug 27 '21 13:08 psstoyanov

With the network widget having customisable action on click, maybe we could launch nm-connection-manager near the widget? I'm trying to figure out how the clock draws the calendar but I'm drawing a blank 😄

The clock uses a popover iirc (https://docs.gtk.org/gtk3/class.Popover.html)

ammen99 avatar Aug 27 '21 13:08 ammen99

Thanks! Looks like the popover is bound in the Init function for the clock. Maybe I could experiment a bit and see if something useful would turn up.

psstoyanov avatar Aug 27 '21 13:08 psstoyanov

My idea didn't turn out as well as I hoped. nm-connection-editor lists only existing connections which doesn't align with the original of show available ones

psstoyanov avatar Sep 07 '21 21:09 psstoyanov

Dealing with NetworkManager is rather complicated. Good luck!

Here's code I recently implemented that lets the user pick a network in carbonOS's Setup: https://gitlab.com/carbonOS/setup/-/blob/main/src/pages/network.vala

AdrianVovk avatar Sep 07 '21 22:09 AdrianVovk

I believe using system tray (#153) with nm-applet provides much enough information and features to be a proper replacement for a "native" widget.

NamorNiradnug avatar Jul 08 '23 22:07 NamorNiradnug