Age | Commit message (Collapse) | Author | Files | Lines |
|
Themers can use the .vertical and .horizontal style classes to rotate a background on vertical panels the same way scrollbars are themed. Apply these style classes to PanelPlugs too so this can actually be used.
|
|
*Support both url(image file) and gradient image panel backgrounds in the GTK theme.
*Scaling by 1.0/panel dimensions should never have worked, doesn't now. Get the actual image dimensions instead
*Background: disable in PanelPlug features that don't work on panel toplevel
*panel-background: catch error on unsupported image such as -gtk-gradient
An image bg set in the GTK theme needs to be a file or a css gradient as the older -gtk-gradient does not return a valid cairo_pattern_t when read directly
*GTK 3.14,3.16: fix theme bg image render in plugs
PanelPlug rendering is handled differently with GTK 3.14 and 3.16 than later versions. Handle this so all supported image backgrounds in GTK themes render properly in all supported GTK versions
|
|
Avoid cairo function that seemed to be causing crashes related to setting geometry, use code copied from panel-background.c instead
|
|
Transparent panel backgrounds set in GTK themes have not worked since the GTK 3.20 PanelPlug work. This was because NULL in gtk_window_set_background_pattern breaks on alpha values. Force this transparent and the GTK background is properly drawn
|
|
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.
|
|
|
|
|
|
|
|
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.
|
|
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
|
|
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.
|
|
taken from:
https://git.gnome.org/browse/gnome-panel/commit/?id=f697764
|
|
|
|
taken from:
https://git.gnome.org/browse/gnome-panel/commit/?id=a773c2ef
|
|
|
|
|
|
|
|
|
|
We don't need to reset style when adding/removing classes. It was a regression in commit: 6f634c680fbc5ee5051253554f2710e39f9ea80a
|
|
This fixes the background for GTK+ 3 themes which don't support mate-panel explicitly. Themes could still overwrite the background if they want in the usual way.
|
|
Make applet menus follow the .mate-panel-menu-bar .menu selector in the gtk theme, and the menu window follow the .mate-panel-menu-bar selector. Use the former to set a custom menu theme, the latter to alter or remove shadows from applet menus
|
|
|
|
The new GDK_KEY_ keys are also in Gtk+2.
|
|
Remove change_background_for_widget from GTK3 build (it is useless.)
|
|
|
|
|
|
|
|
|
|
Fix expand
|
|
|
|
|
|
gtk3: set rgba visual for applets
|
|
It was introduced in gtk+-2.24
|
|
It was introduced in gdk2 already so clean up the code.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
http://bugzilla-attachments.gnome.org/attachment.cgi?id=179797
Calling gtk_widget_get_screen() on a widget embedded in a plug doesn't
necessarily return what you expect (because of
gtk_widget_get_toplevel()).
Instead, call gtk_window_get_screen() on the plug.
https://bugzilla.gnome.org/show_bug.cgi?id=632369
|
|
mate_panel_applet_factory_main was being generated with introspectable="0" because of missing annotations
http://git.gnome.org/browse/gnome-panel/commit/?h=gnome-2-32&id=9cbae555115013bc7946e2ce3584d40639248f14
|
|
|