Age | Commit message (Collapse) | Author | Files | Lines |
|
mate-panel uses libsoup indirectly through libmateweather, which already
requires libsoup-3.0. Evolution Data Server (used by the clock applet
for calendar integration) also requires libsoup-3.0.
|
|
|
|
* clock: Store calendar client in ClockData
This simplifies the evolution calendar client architecture and makes the
popup show up faster, since we don't need to create a new one every time
we open it.
* clock: Fix calendar data refresh when opening popup
The calendar popup was not showing recently added Evolution
events/tasks. Added a refresh timeout call every time the calendar popup
opens. That way the popup opens immediately and the data is refresh
after a small delay.
|
|
|
|
A previous overzealous cleanup left some hanging screen variables and
one instance of an uninitialized screen being used.
|
|
Recent versions of libwnck introduced a WnckHandler object to be used as
the main entry point into the library.
|
|
*Disable grabbing and moving panels in wayland due to tendency of panel other than on top to jump to top or left
*Note that nonexpanded panels in wayland cannot be dragged along the screen edge as we have their centered position hardcoded using gtk-layer-shell at this time
|
|
There are no distros (that I could find) that ship both an old
libwnck<3.32.0 with a new MATE>=1.28. Dropping this should be safe and
removes complexity.
Since all of these were already wrapped inside HAVE_X11, it should not
affect Wayland at all.
|
|
Provide a fallback preferences path in case the applet doesn't provide
one. This happens when running outside the actual panel, like in the
case of mate-panel-test-applets.
|
|
We remove a bunch of functions, since they are already handled by
libecal, and add correction to times based on the difference between the
event's own timezone and our current local timezone.
|
|
Add Evolution Data Server (EDS) calendar integration to the MATE panel
clock applet, most of it ported from gnome-panel's clock applet. This
allows users to view calendar events and tasks directly from the clock
popup calendar.
The calendar integration is disabled by default and can be enabled
with --enable-eds during configuration. When disabled, the clock
applet functions normally without any EDS dependencies.
|
|
|
|
All applet menus already use theme icon names directly, making this
legacy stock icon code obsolete. Removing it eliminates all the icon
factory deprecation warnings.
|
|
Screen functions are replaced with their Display equivalents to remove
deprecation warnings. Display functions take into account the entire
display server connection, rather than a single physical monitor.
|
|
Also replace gtk_dialog_add_button with panel_dialog_add_button to
ensure mnemonics and icons are preserved.
|
|
|
|
|
|
Co-authored-by: Colomban Wendling <[email protected]>
|
|
|
|
Before this commit, the Clock Applet's popup window would expand off the
screen if the user added more than a few locations to the Locations list.
In addition, the list of locations in the Clock Applet Preferences could get
extremely tall as well, and could even push the bottom part of the
Preferences dialog off the screen.
This commit adds (vertical) scrollbars to both widgets.
|
|
|
|
|
|
Otherwise different jobs seem to overwrite each other, loosing part of
their cache.
|
|
|
|
Teach cppcheck the C11 _Noreturn attribute.
|
|
Give it relevant -D/-I flags so it can perform more useful checks.
This makes if slower, but hopefully more accurate and useful.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
It's not really something that usually needs be run everywhere, it
should be pretty stable as long as the build system is properly set
up.
This can still be enabled back for all targets if needed.
|
|
We're trying GitHub Actions for this one, no need for a duplicate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%l is an glibc extension for strftime, this extensions isn't supported
by musl libc.
Replace %l with %_I, which is functionaly equivalence.
%_I itself is also an extensions, however, %_I is supported by both
glibc, musl, FreeBSD and deriviates, AIX, and Solaris.
Fix: #1451
|
|
|
|
|
|
We need to check the existence of dconf-editor's GSettings schema before
using it, because the program will abort if dconf-editor is not installed
on the system when it tries to access it.
|
|
When loading an icon from a path rather than the icon theme, we scale
it down to match the scale we need[^1], but we leaked the original
pixbuf in this case.
Fixes #1444.
[^1]: See commit e5c8646d8f6167fe2d3634a4604a1bf9ec8ee5af
|
|
|
|
Since the icon loader is no longer present, there is no need to track
the icon theme when the applet is realized. This is will all be taken
care of by libwnck.
|
|
This function only loads the icon during the startup-notification, at
which point it gets replaced by the actual icon read in libwnck. Moving
forward the loading function should become part of libwnck.
|
|
|