summaryrefslogtreecommitdiff
path: root/mate-panel/panel-background.c
AgeCommit message (Collapse)AuthorFilesLines
2018-01-30background: reword warning about unsupported background-image valuemonsta1-4/+1
make it more clear that the problem is in the theme, not the panel
2017-07-02Make panel image background in GTK theme work againlukefromdc1-9/+31
*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
2016-11-21move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build optionmonsta1-484/+6
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.
2016-03-25 GTK3.18-revert hack not needed with moved bg codelukefromdc1-7/+1
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
2016-01-10background: reduce number of #if's once moremonsta1-16/+15
2016-01-10background: reduce number of #if's againmonsta1-9/+13
2016-01-10background: reduce number of #if'smonsta1-16/+20
2016-01-05background: use convenience function to compare colorsmonsta1-5/+3
2016-01-04background: nested GTK_CHECK_VERSION's make no sensemonsta1-4/+2
2016-01-04background: even less #if'smonsta1-7/+6
2016-01-04background: oops... fix build breakage from last commit (GTK+2 only)monsta1-17/+16
2016-01-04background: group some more local functions, drop some #if'smonsta1-20/+16
2016-01-04background: drop unused local function from GTK+3 buildmonsta1-40/+2
2016-01-04background: all functions should have PanelBackground as 1st argumentmonsta1-2/+2
2016-01-04background: normalize usage of GTK_CHECK_VERSIONmonsta1-3/+0
2016-01-04background: drop variable that's only assigned but never checkedmonsta1-4/+0
2016-01-04background: explicitly check for CAIRO_STATUS_SUCCESS return valuemonsta1-1/+1
2016-01-02Fix rendering of user backgrounds in gtk3.18+lukefromdc1-0/+6
User set panel backgrounds other than colors with an alpha value fail on restarting the panel using gtk3.18 or 3.19. This makes picture and fully opaque color backgrounds set by the user work again and for some reason does not break transparent color backgrounds either. Tested with gtk3.19.5, should work with gtk3.18 as this bug was exactly the same but needs testing with it.
2015-12-15gtk3: fix infinite loop with Traditional themesBalló György1-1/+0
We don't need to reset style when adding/removing classes. It was a regression in commit: 6f634c680fbc5ee5051253554f2710e39f9ea80a
2015-11-20Don't set the panel transparent by defaultBalló György1-12/+33
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.
2015-05-25Merge pull request #289 from rilian-la-te/simplify_imagemonsta1-73/+1
Remove change_background_for_widget from GTK3 build (it is useless.)
2015-05-21GTK3: fix typo in gtk_style_context mate-custom-panel-backgroundraveit651-2/+2
2015-03-06Remove change_background_for_widget from GTK3 build (it is useless.)Konstantin Pugin1-73/+1
2014-11-23Gtk3: panel: Explicitly check return value of cairo_surface_status()infirit1-1/+1
Do not assume that CAIRO_STATUS_SUCCESS == 0. This clarifies the code Taken from gnome-panel commit: d376b00a0a5856b3d5eb20a7dc1b39440d2f3938
2014-06-20Fix RGBA issues for GTK3Konstantin Pugin1-65/+76
2014-05-16Use GDK_WINDOW_XIDinfirit1-2/+1
2013-11-29Panel background improvements for GTK3Stefano Karapetsas1-43/+62
2013-10-26mate-panel: Add GTK3 supportStefano Karapetsas1-7/+418
2013-05-31fix for #111Scott Balneaves1-0/+1
2012-11-18fixed incorrect fsf addresses.Steve Zesch1-2/+2
2011-12-01moving from https://github.com/perberos/mate-desktop-environmentPerberos1-0/+1156