Age | Commit message (Collapse) | Author | Files | Lines |
|
fixes https://github.com/mate-desktop/mate-panel/issues/439
|
|
|
|
|
|
credits and thanks to Joanmarie from orca project
fixes
partially https://github.com/mate-desktop/mate-panel/issues/441
https://github.com/mate-desktop/mate-panel/issues/440
https://github.com/mate-desktop/mate-panel/issues/444
|
|
fixes a build warning
|
|
|
|
Revert "Cancel background settings upon MatePanelAppletFrameDBus destruction. This is an attempt to fix https://github.com/mate-desktop/mate-panel/issues/214"
This reverts commit e6a14da0f7946f77e4316a05e051527b54ec1c99.
|
|
https://github.com/mate-desktop/mate-panel/commit/c5cd7ee4a663d862a5893fb48cbfb087540978cc
|
|
|
|
|
|
|
|
|
|
|
|
This reverts commit c57aa66fc8ddcc9baa21446e87c9332f11e0abed.
|
|
|
|
|
|
|
|
|
|
|
|
panel-plug.c Changing the panel background handling (from gnome-panel) for GTK 3.18 requires that the panelplug changes from gnome-panel also be applied or applets can mismatch the panel toplevel when an alpha value is present
|
|
panel-plug-private.h Changing the panel background handling (from gnome-panel) for GTK 3.18 requires that the panelplug changes from gnome-panel also be applied or applets can mismatch the panel toplevel when an alpha value is present
|
|
mate-panel-applet.c Changing the panel background handling (from gnome-panel) for GTK 3.18 requires that the panelplug changes from gnome-panel also be applied or applets can mismatch the panel toplevel when an alpha value is present.
|
|
panel-widget.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
|
|
panel-toplevel.h 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
|
|
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
|
|
panel-separator.c
|
|
panel-profile.c
|
|
panel-menu-bar.c
|
|
panel-applet-frame.c
|
|
panel.c
|
|
Revert a technically incorrect hack previously needed for GTk 3.18 but no longer needed after moving the background handling to the panel toplevel. Moving the BG is GTK 3.18 and later only it seems
|
|
This allows to use class names consistently. The old WnckPager CSS selector will not work with GTK+ 3.20.
|
|
This fixes also distcheck
|
|
The mate-custom-panel-background style class persists on the panel widget when resetting the panel BG to the system theme. It will overrride the panel system theme and turn the panel transparent with the new applet changes for some reason, so don't run panel_background_apply_css on GTK 3.20 builds. It's not needed to override t.he theme background for a custom background with the new code and GTK 3.20, and mate-panel-menu-bar is already present
|
|
Update makefile and configure.ac to build the new files needed for GTK 3.19 and later builds.
|
|
file panel-plug-private.h used intact from github.com/GNOME/gnome-panel/commit/3115f77b536a7c79c7d43ded0591e2b8f45219c4 "restore custom background on applets
Only included from mate-panel-applet.c when built against GTK 3.19 or later
|
|
New file panel-plug.c used intact from
github.com/GNOME/gnome-panel/commit/3115f77b536a7c79c7d43ded0591e2b8f45219c4 "restore custom background on applets)
Used only in gtk 3.20 builds, though not sure if whole file built but not used when it's header file is not included in anything due to build time
conditionals.
|
|
mate-panel-applet.c
based on
github.com/GNOME/gnome-panel/commit/3115f77b536a7c79c7d43ded0591e2b8f45219c4 "restore custom background on applets)
Reverts and replaces use of gtk_window_ensure_native on applets, uses the panel-plug-private files from gnome panel intact. This way the system theme returns when custom background is deselected w/o having to restart the panel.
These changes kept behind gtk3.20 only build time conditionals. requires if-elif-endif three-way conditionals due to the extent to GTK differences. Doing it this way keeps panel applets from being twice as dark as the panel when an alpha color background is selected
|
|
- remove check for menubar schema as it's already installed along with panel itself
- properly unref menubar_settings object
- make key type unsigned
- drop obsolete MAX_ITEMS_OR_SUBMENU define
|
|
|
|
Add back the default background for themes such as Adwaita that do not explicitly support MATE. Tested with custom and system themes in Adwaita and all themes I have. System themes work perfectly, custom themes require restarting panel after any theme change, still need to restart panel after returning to the system theme from a custom theme as well.
|
|
Use gdk_window_ensure_native to applets when and only when a custom background is selected.
Doing so when the system bg is selected will turn applets clear,
so will not doing so when a custom background is selected.
Keep all this behind if # GTK_CHECK_VERSION (3, 19, 0) so as not to screw up anything
in older GTK versions.
|
|
This makes custom backgrounds show on the panel, the menu, the launcher applets
but not yet the tray, the clock button, the trash, or most applets from mate-applets.
Sometimes panel BG not drawn after theme change until panel restarted.
Still, this is a clue-will keep working.
Adding gdk_window_ensure_native (window) was taken from gnome-panel but caused the
default background not to show if the system BG is selected and does not explicitly
set the theme. Also using this brings back the requirement to restart the panel to
fully apply a system BG but progress is being made here.
|
|
|
|
|
|
|
|
with 24px panel 24px menu bar icon is too big: touches borders
|
|
adapted from:
https://git.gnome.org/browse/gnome-panel/commit/?id=eefb31f
|
|
|
|
also rename setup_menu_item_with_icon() to setup_menuitem_with_icon(),
and drop GtkStock support from it
|