Age | Commit message (Collapse) | Author |
|
Don't expand/fill the systray items, align them in the center of the
systray panel. This makes sure the icons are drawn at the size they
expect.
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
|
|
Signed-off-by: Ross Burton <ross.burton@arm.com>
|
|
Add a SECURITY.md file with hints for security researchers and other
parties who might report potential security vulnerabilities.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
matchbox-panel was intended to be GPLv2+ licensed, however the wrong GPL
fragment was added in startup/startup.c in the original import which
stated it was GPL v2 only, and that was copied into startup-notify.
The code that this was based on, mb-applet-startup-monitor, is MIT
licensed[1] so this change isn't a problem.
[1] https://git.yoctoproject.org/matchbox-history/tree/mb-applet-startup-monitor/mbmonitor.c
Signed-off-by: Ross Burton <ross.burton@arm.com>
|
|
Fixes [YOCTO #13319]
Signed-off-by: Mingde (Matthew) Zeng <matthew.zeng@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
|
|
At some point we should move to autoconf-archive, but this works for now.
Signed-off-by: Ross Burton <ross.burton@intel.com>
|
|
Signed-off-by: Ross Burton <ross.burton@intel.com>
|
|
Signed-off-by: Ross Burton <ross.burton@intel.com>
|
|
Enable the foreign strictness, and remove files that we don't use anymore.
|
|
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
|
|
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
|
|
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
|
|
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
|
|
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
|
|
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
|
|
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
|
|
GtkWindow will default to 200 height on realize unless we request
otherwise before that. On the other hand, struts can only be set
after the window has been realized.
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
|
|
Cairo context is now in widget-relative coordinates instead of
window-relative: undo that transform so the icon draw code actually
draws inside the window.
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
|
|
|
|
These changes should not affect fucntionality
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
|
|
|
|
|
|
|
|
No caching, but it's lighter and doesn't misbehave (i.e. size-allocate loop).
|
|
--mode supports:
"dock" (usual panel behaviour)
"titlebar" (embed into Matchbox titlebar, not funtional at present)
"window" (normal window, for testing)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
In the process refresh the bulk of the code from it's upstream in gnome-panel.
|
|
|
|
Whilst porting to GTK+ 3 the layout model was simplified: panels are always
full-width and you just pick an edge and size. The panel is also multi-screen
and multi-monitor aware now.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
There are cases (in qemu at least) where set_active()
is never called on startup. Make sure we initialize the active
state so the icon gets loaded and the applet is not confused
about the current state.
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
|
|
Signed-off-by: Ross Burton <ross.burton@intel.com>
|
|
If the machine doesn't actually have a battery, don't print two warnings to the
console.
Signed-off-by: Ross Burton <ross.burton@intel.com>
|
|
Consecutive separators results in empty strings and NULLs being passed to
load_applet() which produces warnings, so handle these cases.
Signed-off-by: Ross Burton <ross.burton@intel.com>
|
|
|
|
|
|
|
|
|