| Age | Commit message (Collapse) | Author | Files | Lines |
|
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
|
|
|
|
|
|
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.
|
|
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.
|
|
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.
|
|
|
|
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.
|
|
|
|
|
|
*Otherwise taskbuttons for programs using URLs or filenames in the window name can balloon across the whole taskbar
|
|
as necessary
*Empty space between buttons removed
*padding in buttons similar to x11
*Vertical panel: do not modify buttons, they just plain work!
*We have a working window list on vertical panels in wayland only
*Horizontal panels:
*expand buttons like in X11 until more expanded buttons won't fit
*When expanded buttons won't fit, resize buttons to fit tasklist
*When ellipsized text plus icon won't fit, remove the label
*When one more button with icon won't fit, remove the icon
*but bring back the (compressable) label as in x11.
*Prevents window list buttons disappearing when theme does not set a border
|
|
*we need this for theming
|
|
*allows up to 20 window buttons on a half screen width window list before overflow
|
|
Fix distribution of the applet service files sources when building from
an in-process-configured build. This fixes `make distcheck` and
tarballs in builds configured with `--with-in-process-applets=all` (or
actually any in-process applet).
The issue was that the .service.in file was referenced indirectly in
EXTRA_DIST, and the variable listed there was only filled in a
conditional. Automake is not able to resolve this and see it still
should distribute the reference of that variable, even if set
conditionally. Fix this by always setting the variable properly, even
if it's only used for out-of-process builds.
|
|
* applets/wncklet/wayland-backend: add basic icon support
This commit uses GTK to find an icon with the same name as the wayland app_id.
A more complete implementation would need to search for .desktop files matching the app_id, get the icon name and finally use GTK to find the proper icon based on that name.
* applets/wncklet/wayland-backend: add more complete icon support
* applets/wncklet/wayland-backend: code style fixup
|
|
* applets/wncklet/wayland-backend: Add basic context menu for (un)maximize, (un)minimize and close
* applets/wncklet/wayland-backend: code style fixup
|
|
Fix for "no option to disable middle-click to close in window list"
https://github.com/mate-desktop/mate-panel/issues/962#issuecomment-1418934577
|
|
Fix for "no option to disable middle-click to close in window list"
https://github.com/mate-desktop/mate-panel/issues/962#issuecomment-141893457
|
|
Fix for "no option to disable middle-click to close in window list"
https://github.com/mate-desktop/mate-panel/issues/962#issuecomment-1418934577
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Fixes https://github.com/mate-desktop/mate-desktop/issues/478
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
adapt ui file to reverted window-list.c
|
|
stored values"
This reverts commit ce8167e1b498e47ca6f667f83acaf21d407135bb.
|
|
|
|
values
- use g_settings_bind when possible
|
|
Set some callback functions in the ui file.
|
|
|
|
|