After switching the option to show/hide the progress bars, the right click loses its
signal to display the panel context menu. Fixed by packing the progress bars inside
an event box.
New label class XnlpMonitorLabel that sets the requisition size
dynamically, in order to avoid flickering in the panel.
This class is only useful for labels that change periodically.
When the 10 last changes requested a smaller size than the actual
it will adapt to this new size.
Bumped dependency to Xfce Panel 4.9, and replaced Orientation code
against Mode.
Properly support three modes Horizontal, Vertical, and Deskbar by
respecting the Panel HIG. Fixes also bug 8959, code sets 1px border
width for very small panels, 2px otherwise.
Use pixel fixed width (60px) instead of width_chars for labels, because
in vertical mode the size is incorrect.
Fix 9073, custom colors wasn't working for the progress bars, this has
been fixed while rearranging the code.
The code included net/if_ppp.h headers, but the code doesn't
use any function from this header. FreeBSD doesn't ship if_ppp.h
anymore and it broke compilation.
global->monitor->box is the only widget packed inside global->box, since
this is useless monitor->box has been dropped and everything is directly
packed inside global->box.
Part of bug #8937.
The current state is a bit messy. Widget creation is spread over
various functions. With this change, only monitor_new creates the widgets,
while setup_monitor controls which widgets will be shown, and
monitor_set_orientation will deal with the orientation of the
widgets.
Attachment 4047
- include a new option in the settings dialog to show values
- rx/tx is shown respectively on the left/right of the bars
- include a new option to hide the bars