Skip to content
Commits on Source (4)
mate-accessibility (0.12.1) jessie; urgency=medium
[ Colomban Wendling ]
* mate-accessibility-common: Add a workaround for missing MATE
panel applets.
-- Alex ARNAUD <alexarnaud@hypra.fr> Fri, 03 May 2019 16:04:18 +0200
mate-accessibility (0.12.0) jessie; urgency=medium
[ Alex ARNAUD ]
......
......@@ -4,4 +4,5 @@ usr/share/glib-2.0/schemas/01_enable_a11y.gschema.override
usr/share/glib-2.0/schemas/01_enable_accessibility_theme.gschema.override
etc/X11/Xsession.d/01speech-dispatcher-pulseaudio-cleanup-with-session
etc/X11/Xsession.d/89atk-adaptor
etc/X11/Xsession.d/93mate-panel-workaround
po/mate-accessibility.mo usr/share/locale/fr/LC_MESSAGES/
# This file is sourced by Xsession(5), not executed.
TOPLEVEL_SCHEMA=org.mate.panel.toplevel
TOPLEVEL_PATH=/org/mate/panel/toplevels
# Temporarily resize the panel to refresh the applets and try and work
# around https://github.com/mate-desktop/mate-panel/issues/897.
(for i in 1 2 3; do
# give some time for mate-panel to start up
sleep 10
panel_pid="$(pgrep -u "$USER" -n -x mate-panel)" || continue
export DBUS_SESSION_BUS_ADDRESS="$(grep -z DBUS_SESSION_BUS_ADDRESS= /proc/$panel_pid/environ | cut -d= -f2-)"
for panel in $(gsettings get org.mate.panel toplevel-id-list | tr -d "[',]"); do
size=$(gsettings get ${TOPLEVEL_SCHEMA}:${TOPLEVEL_PATH}/$panel/ size)
gsettings set ${TOPLEVEL_SCHEMA}:${TOPLEVEL_PATH}/$panel/ size $((size + 1))
gsettings set ${TOPLEVEL_SCHEMA}:${TOPLEVEL_PATH}/$panel/ size $size
done
break # it's done, break out of the retry loop
done) &