c6a55dbf04
This patch enhances the panel clock by adding a config file option which can be used to either disable the clock or make it also show seconds in the current clock format. v2: Implement suggestions from Pekka: - Include Signed-off-by - Coding style fixes - Implement clock widget allocation by using width from cairo_text_extents - Highlight config option values in man page v3: Implement suggestions from Pekka and Bryce: - Use CLOCK_FORMAT_* instead of FORMAT_* in the enum - Switch to using fixed clock widget size instead of one returned from cairo_text_extents - Fixes to config option highlighting in the man page v4: Implement more suggestions from Pekka and Bryce: - Improve patch changelog - Move the check for CLOCK_FORMAT_NONE into the caller function - Fix a memory leak in panel_create introduced by previous revision of this patch Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=57583 Signed-off-by: Armin Krezović <armin.krezovic@fet.ba> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> |
||
---|---|---|
.. | ||
calibrator.c | ||
clickdot.c | ||
cliptest.c | ||
desktop-shell.c | ||
dnd.c | ||
editor.c | ||
eventdemo.c | ||
flower.c | ||
fullscreen.c | ||
gears.c | ||
image.c | ||
ivi-shell-user-interface.c | ||
keyboard.c | ||
multi-resource.c | ||
nested-client.c | ||
nested.c | ||
presentation-shm.c | ||
resizor.c | ||
scaler.c | ||
screenshot.c | ||
simple-damage.c | ||
simple-dmabuf-intel.c | ||
simple-dmabuf-v4l.c | ||
simple-egl.c | ||
simple-shm.c | ||
simple-touch.c | ||
smoke.c | ||
stacking.c | ||
subsurfaces.c | ||
terminal.c | ||
transformed.c | ||
weston-info.c | ||
weston-simple-im.c | ||
window.c | ||
window.h |