Age | Commit message (Collapse) | Author | Files | Lines |
|
leave the code in place so it can be uncommented and used for further work on wayland
|
|
Conventionally, the applets on a MATE Panel are positioned relative to the
left edge of the panel (if the panel is horizontal) or the top edge (if the
panel is vertical). There has also been some (buggy) support for positioning
of applets relative to the right (or bottom) edge of the panel, so that
applets on the right side of the panel will stay on the right side even if
the user changes screen resolutions or if the panel changes size for some
other reason.
However, many users want to also place applets at or near the center of their
panel(s). There is no such conventional support for positioning applets
relative to the center of the panel, so users have positioned applets near
the center of the panel -- but the position recorded is relative to the left
side of the panel. As such, the applets will almost certainly shift over
to the left or right slightly if the panel is ever resized, and the user will
have to reposition all those centered applets yet again. This is especially
frustrating if the user switches monitors on a regular basis!
This patch radically revamps the MATE Panel's positioning framework, and
deprecates the original "right-stick" feature. To replace the right-stick
feature, this patch instead associates an "edge relativity" setting with
each and every panel applet: An applet can be relative to the start (left/
top), end (right/bottom), or center of the panel. This setting can be
changed using DConf/GSettings, using a custom panel layout file, or even
by simply dragging the applet to the appropriate place on the panel.
(Conventionally, applets are not even right-stuck automatically even when the
user drags the applet over to the far right of the panel!) As a bonus, when
the user drags an applet across the center of the panel, the applet will
temporarily "stick" to the very center of the panel, to allow the user to
very precisely align any applet they wish.
|
|
|
|
|
|
|
|
|
|
|
|
cppcheck --enable=all . 2> err.txt
grep variableScope err.txt
|
|
|
|
|
|
This revert
https://github.com/mate-desktop/mate-panel/commit/f0f4c5e
and fixes hopefully https://github.com/mate-desktop/marco/issues/209
|
|
|
|
|
|
|
|
The background is in https://gitlab.gnome.org/GNOME/gtk/issues/85 . One of
the conclusions, in https://gitlab.gnome.org/GNOME/gtk/issues/85#note_264804
, is that mate-panel needs to properly transfer focus on alt-F1 keyboard
shortcut.
It used to work only by luck before, only because gtk used to
deactivate itself during a keyboard grab. But as discussed in
https://gitlab.gnome.org/GNOME/gtk/issues/85 that behavior poses
accessibility feedback issues, is not coherent, and keyboard grab
feedback will not be available in wayland anyway. Thus @ebassi saying
in https://gitlab.gnome.org/GNOME/gtk/issues/85#note_264804 that not
transferring focus properly is the actual bug.
This change explictly switches to the menu bar after saving which X Window
had the focus, and on menu bar deactivation restores focus to that X Window.
Fixes #851
|
|
|
|
* matemenu_tree_get_canonical_menu_path () now return absolute file
path, not basename like matemenu_tree_get_menu_file.
|
|
|
|
|
|
|
|
Fixes #586
|
|
fixes runtime warning on applet removal
|
|
(#515)
This patch re-purposes the existing fallback support for the now obsolete
matemenu-simple-editor to add (optional) support for menulibre. The logic is
simple, if menulibre is installed use it in preference to mozo. If menulibre
is not available, fallback to mozo.
The rationale is this; if you've installed menulibre you want to use it
in preference to mozo. Menulibre offers a superset of menu editting
capabilities compared to mozo and is growing in popularity. This change will
allow distro maintainers to chose which menu editor they want
to offer.
|
|
and require libmate-desktop >= 1.17
WARNING: use GTK+3 build of libmateweather for this build.
that lib is not migrated to GTK+3 only as we will possibly
use libgweather instead of it.
|
|
|
|
|
|
|
|
g_settings_get_string returns newly-allocated string
|
|
|
|
|
|
|
|
|
|
https://github.com/mate-desktop/mate-panel/issues/24
https://bugzilla.gnome.org/show_bug.cgi?id=598196
patch by Damir Gilyazov
|
|
Bug: http://bugzilla.gnome.org/show_bug.cgi?id=499148
Bug-Ubuntu: https://bugs.launchpad.net/bugs/4712
|
|
|
|
|