Age | Commit message (Collapse) | Author | Files | Lines |
|
Do not set an extra a11y name and description on an internal child of the
panel, because its toplevel has most of it already through setting the GTK
window title. Instead, explicitly set the a11y name and description on the
toplevel directly, possibly overriding GTK's value implicitly set via
gtk_window_set_title(), but which would be the same anyway.
This prevents e.g. a screen reader vocalizing the panel name twice when
entering it, once for the toplevel and once for the internal child.
This also avoids announcing the panel again when moving from one of the hide
buttons to one of the applets or launcher.
|
|
|
|
fixes https://github.com/mate-desktop/mate-panel/issues/745
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- unref objects in toplevel's dispose function instead of finalize
- disconnect from toplevel's GSettings objects before deleting them
|
|
|
|
Fixes cppcheck warnings:
[mate-panel/panel-toplevel.c:2315]: (style) Clarify calculation precedence for '&' and '?'.
[mate-panel/panel-toplevel.c:4687]: (style) Clarify calculation precedence for '&' and '?'.
[mate-panel/panel-toplevel.c:5036]: (style) Clarify calculation precedence for '&' and '?'.
|
|
|
|
of 4 ints
|
|
Origin commit :
https://github.com/GNOME/gnome-panel/commit/19129513e9dbfef9a985e0666d98d60a9e7b2779#diff-97cdffd8b53134e4fdfdd45b4a862042R2144
|
|
origin commit:
https://gitlab.gnome.org/GNOME/gnome-panel/commit/6015418
|
|
Thanks to Juha Leppänen, Kuopio, Finland
for simplifing the code
|
|
panel_toplevel_queue_auto_hide()"
This reverts commit 0d29acf6a70090ee771de2793b1af8e1388a430f.
Which causes a regression.
Fixes https://github.com/mate-desktop/mate-panel/issues/773
|
|
fix #733
|
|
in HiDPI
|
|
*Drawer coding style cleanup
*Drawer code organized
*Rearranged and labeled code
*Drawer fix arrows
*Fixed hide code for drawer in toplevel.
*fix #528
*fix #704
|
|
|
|
*Fix scaling of panel widgets, buttons, and the menu bar
*Draw grab handles at the ends of the panel
*Fix size of _almost_ all included applets
*Fix panel snapping coordinates
*Down-scale monitor coordinates to support multi-monitors
Author: Victor Kareh <[email protected]>
Date: Wed Dec 20 14:03:18 2017 -0500
|
|
This commit reverts:
https://github.com/mate-desktop/mate-panel/commit/7b2bc7d9f98c6ba8c2c31bdf9605faadb42a7e0e
And it applies an alternative to fix the deprecated functions:
gdk_screen_get_width
gdk_screen_get_height
|
|
panel_toplevel_queue_auto_hide()
|
|
change larger
|
|
found by cppcheck
|
|
|
|
Fixes #530.
|
|
Fix the logic guarding against updating the name and description so
that it properly checks against strings in the same locale.
This prevents spamming accessibility 'accessible-name' change events,
avoiding some noise when interacting with the panel.
|
|
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.
|
|
|
|
|
|
|
|
taken from:
https://git.gnome.org/browse/gnome-panel/commit/?id=281f4d5
|
|
|
|
|
|
panel-toplevel.c move background handling to the panel toplevel in GTK 3.18 and GTK 3.20 builds only, seems to fix the applet crashes on theme changes with a custom background loaded, and in GTK 3.20 also preserves custom backgrounds when GTK themes are changed
|
|
- MatePanelAppletFrameDBus
- PanelSeparator
- PanelToplevel
|
|
taken from:
https://git.gnome.org/browse/gnome-panel/commit/?id=e56b20d
|
|
gdk_cursor_new_for_display for both GTK versions
|
|
taken from:
https://git.gnome.org/browse/gnome-panel/commit/?id=e14b9ac
|
|
|
|
|
|
Keep the .mate-panel-menu-bar and .gnome-panel-menu-bar style classes on the panel toplevel unconditionally. GTK Inspector showed that the toplevel was actually being themed by PanelWidget and not by PanelToplevel, causing multiple issues. This was why it was not possible to set an image or an alpha background in the GTK theme. The .mate-custom-panel-background style class was being applied to the toplevel, but not mate-panel-menu-bar and .gnome-panel-menu-bar . This was also why resetting the panel from a custom to a system background required restarting the panel.
I found all of this because of a bug or changed feature (not sure which) in GTK 3.19.7 which prevented the panel from being themed at all. Fixing this right also fixes all the bugs mentioned above. First restart after setting a custom theme will sometimes but not reliably crash an applet, not sure if that is a pre-existing bug though. At any rate, setting ANY custom background was just broken by gtk3.19.7. don't know if they will fix that or we will have to. That one can wait.
|
|
|
|
|
|
|
|
gdk_window_set_geometry_hints accept 0 as flags when geometry is null
return 1px width/height while image is not loadded
|