summaryrefslogtreecommitdiff
path: root/mate-panel
AgeCommit message (Collapse)AuthorFilesLines
2016-02-09Fix ButtonWidget appearing as a thin line on creationWolfgang Ulbrich1-11/+21
It makes no sense to use the size of the icon to tell GTK+ about our preferred width/height: what we really care about is the size of our parent, since we're filling it anyway. taken from: https://git.gnome.org/browse/gnome-panel/commit/?h=gnome-3-0&id=e870aaa
2016-01-23GTK3: More panel BG rendering bugfixeslukefromdc1-0/+9
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.
2016-01-23Gtk3: Don't use deprecated gtk_misc_set_alignmentRoy Zhang5-0/+25
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-05profile: simplify a couple of functionsmonsta1-6/+2
2016-01-05profile: fix indent & spacing a bitmonsta1-20/+22
2016-01-05profile: rename get/set rgba functions for consistencymonsta3-8/+8
2016-01-05properties dialog: use convenience function to compare colorsmonsta1-6/+2
2016-01-05properties dialog: less #if'smonsta1-13/+13
2016-01-05rename mate-panel-*.{c|h} -> panel-*.{c|h} for consistencymonsta21-78/+74
(libmate-panel-applet files are left alone since there are public header files used by all panel applets)
2016-01-04xutils: remove unused variablesmonsta1-3/+0
2016-01-04applet-frame: fix indent a bitmonsta1-5/+5
2016-01-04separator: less #if'smonsta1-34/+29
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: group some local functions by GTK+ versionmonsta1-20/+18
2016-01-04background: even less #if'smonsta1-7/+7
2016-01-04background: less #if'smonsta1-18/+18
2016-01-04background: all functions should have PanelBackground as 1st argumentmonsta6-7/+7
2016-01-04background: normalize usage of GTK_CHECK_VERSIONmonsta2-7/+3
2016-01-04background: drop variable that's only assigned but never checkedmonsta2-5/+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-23never agree to expand an attached toplevel (drawer's panel)monsta1-0/+5
2015-12-21panel-widget: drop unused variables (assigned but never read after)monsta2-16/+0
2015-12-21drawer: don't try to set NULL tooltipmonsta1-6/+4
2015-12-21drawer: some fixesmonsta1-32/+21
2015-12-21panel-profile: simplify some codemonsta1-51/+30
2015-12-18panel-profile: fix indent a bitmonsta1-9/+12
2015-12-18toplevel: remove unused variable in GTK+3 buildmonsta1-2/+1
2015-12-18toplevel: define set_arrow_type function only for GTK+ 3.14monsta1-0/+2
2015-12-18button-widget: avoid build warnings about unused variablesMonsta1-14/+9
2015-12-18button-widget: properly init a variable in GTK+3 buildMonsta1-2/+6
2015-12-18button-widget: removed unused variablemonsta1-2/+1
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-12-03Add separate "Delete" button in reload applet dialogmonsta1-8/+20
and the "Don't reload" button will no longer delete the applet adapted from https://git.gnome.org/browse/gnome-panel/commit/?id=2a1faa93b8cdb12a8c0ff9d4fc870216a55fb5e0
2015-12-03remove redundant function declarationsmonsta1-3/+0
2015-11-20Don't set the panel transparent by defaultBalló György6-17/+41
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-11-12fix indent a bitMonsta1-4/+4
2015-11-12don't destroy a widget in its draw/expose signalMonsta1-2/+11
ported from: https://git.gnome.org/browse/gnome-panel/commit/?id=8c275a2adf4ad99297a17cabf251344837620831 https://git.gnome.org/browse/gnome-panel/commit/?id=be33e799d968a073c0a8856c96d11e8594b88bc4
2015-10-26bring back good old deprecated function which works perfectlyMonsta1-3/+1
thanks to some genius from gnome team, we're now supposed to re-implement gtk_widget_reparent from scratch in every place we need to move a widget between containers. thanks but no thanks. don't fix what's not broken. fixes #360
2015-10-25run dialog: make app description label unfocusableMonsta2-1/+2
2015-10-15Don't change position/right-stick of locked appletsClement Lefebvre1-4/+11
Until position calculations are refactored to fix the issue of the panel applets getting reordered on resolution changes don't save position/right-stick on locked applets.
2015-10-10panel-menu-items.c: places menu alpha OKlukefromdc1-1/+7
The places menu follows .mate-panel-menu-bar just fine, but buggy wm/gtk3.16 combos require robust RGBA support explicitly set in the application. Add support to panel-menu-items.c as only adding it to menu.c, applet.c, and mate-panel-applet.c will miss this menu.