| Age | Commit message (Collapse) | Author | Files | Lines |
|
The window-list preview code uses XGetWindowAttributes and
XGetWindowProperty to capture window decorations, but the wncklet
Makefile was missing the X11 linker flags, causing a build failure.
Fixes #1561
|
|
Account for cairo device scale factor when scaling the captured pixbuf
to the thumbnail surface, so the entire window content is shown on HiDPI
displays.
|
|
Use gdk_pixbuf_get_from_window instead of gdk_cairo_set_source_window to
avoid stale window content in preview thumbnails.
|
|
Capture the window manager frame instead of the client window so that
preview thumbnails include title bars and borders. Use
_NET_FRAME_EXTENTS to strip invisible resize borders from the captured
frame.
|
|
Fixes #1338: The clock-time was jumping (and also the rest of the panel), due to different width of the digits.
The font must support this feature, otherwise this fix will not work:
Example: Font "Cantarell" OK ; Font "Quicksand" still buggy.
|
|
The calendar popup was not freeing the list of events returned by the
calendar client after populating the appointment and task views. This
caused unbounded memory growth every time the popup was opened.
|
|
|
|
|
|
remove transifex configuration
remove "es_ES" as it is the same as "es" and prevent weblate usage
prevent po updates when generating pot files (weblate does that for us)
|
|
During April Fools in the morning, Wanda the fish is expected to show up
upside down, with dirty-looking water, as though dead. However, because
of the hour comparison, it ends up alternating between the standard
animation and the dead fish.
|
|
|
|
|
|
to make it work after the year 2038
See https://en.wikipedia.org/wiki/Year_2038_problem
This patch was done while reviewing potential year-2038 issues in openSUSE.
|
|
This allows users to open the clock/calendar popup through DBus, which
means we could configure a keybinding for it.
|
|
|
|
This in turn emits an 'activate' signal that any applet can connect to
and perform whatever action it means to activate in that applet.
This allows users to control certain applet functionalities through
DBus, like registering new keybindings, or integrating them with other
software.
|
|
panel
*Note that in the wayland panel the show desktop applet works by using an invocation of the window list backend to send a signal to every window to mimimize or unminimize
*This however causes every added button to be counted twice when the show desktop applet is also used
*Detect the show desktop applet, and only divide the number of window list buttons by 2 when it is present
|
|
The monitor origin needs to be taken into account.
|
|
available space
*Set a sane default width of 1/3 the total panel with on startup
*This prevents the panel width from coming up zero or one when GTK gets the allocation with no buttons in it
*Always affirmatively show or hide icons and text when adjusting the buttons for width
*Get the box the tasklist->outer box is packed into for width calculations
*Recompute tasklist width both on adding and removing buttons
|
|
|
|
*Recompute the maximum button width when three fullsize buttons won't fit
*Otherwise short tasklists overflow
|
|
|
|
*Do not hide text and retain icons, that's not what we do in x11
*Hide the icons first, only hide labels when ellipsized text can no longer fit
*ensure last buttons don't over-expand as windows are closed
*divide available panel space by number of buttons to set size of empty buttons on crowded panel
*This more evenly fills the window list when a crowded window list forces empty buttons
*and allows far more buttons to show before the window list pushed other applets off the panel
|
|
The Appointments and Tasks expanders in the calendar popup were
incorrectly linked to the show-calendar-events and show-tasks gsettings.
This caused collapsing the section to toggle the preference, making the
entire section disappear on next popup.
Fixed by adding a new expand-calendar-events and expand-tasks gsettings
keys to track the UI state separately from whether the section is
visible or not.
|
|
Evolution tracks a color for each calendar. We can fetch this to
differentiate events from multiple calendars in the popup.
This also marks the current event in bold and scrolls the window to make
it visible to the user on load.
|
|
Launcher buttons now respond to HiDPI scale factor changes to ensure
icons are reloaded at the new scale when settings change without having
to restart.
|
|
Panels now respond to HiDPI scale factor changes without requiring
a restart. When the monitors-changed signal is received, the panel
updates its scale factor and forces applets to redraw at the new scale.
The temporary size change (to 0 and back) is necessary because applets
don't individually listen to scale change signals.
This eliminates the need for mate-settings-daemon to kill and restart
mate-panel when the scale factor changes.
|
|
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.
|