summaryrefslogtreecommitdiff
path: root/src/ui/theme.c
AgeCommit message (Collapse)AuthorFilesLines
2015-09-14theme: Rename button_rect() to get_button_rect()Florian Müllner1-6/+6
Basically it's odd to have "button_rect" be a function with all the foo_rect GdkRectangles around - renaming to get_button_rect() will free the name for the generically named "rect" once buttons are the only movable pieces in the frame. https://bugzilla.gnome.org/show_bug.cgi?id=741917
2015-09-14Clean up antialiasing fixesOwen W. Taylor1-24/+11
Simplify the code by noting that when we have square end-caps, the results of generic line path give the right pixel-aligned rectangle for horizontal/vertical lines. Add comments and remove some extra braces. https://bugzilla.gnome.org/show_bug.cgi?id=630426
2015-08-20Gtk3: Fix background colorinfirit1-10/+71
Also drop the mate-desktop dark/light color functions in favour of internal ones.
2015-07-17theme: Remove outdated assertionYaakov Selkowitz1-1/+0
The theme state used to use GtkStateType, but was ported over to GtkStateFlags, leaving behind a broken assertion that fails when using certain Metacity themes, for example Nodoka. https://bugzilla.gnome.org/show_bug.cgi?id=661286 https://git.gnome.org/browse/mutter/commit/?id=28deea4 https://git.gnome.org/browse/metacity/commit/?id=c9099b4 https://github.com/mate-desktop/marco/issues/205
2014-11-25merge metacity(gtk3) changesDenis Gorodnichev1-151/+360
merge metacity(gtk3) changes fix warnings clean up unused variables replace UNUSED_VARIABLE by G_GNUC_UNUSED
2014-11-18Add missing ';'Stefano Karapetsas1-1/+1
Closes https://github.com/mate-desktop/marco/issues/149
2014-11-12buttons: Fix background functions for non-default layoutsinfirit1-2/+103
While the configured layout is taken into account for positioning the buttons, the mapping from button function states to button position states just assumed the default button layout in LTR locales. Do a proper mapping depending on the actual layout instead. Based on metacity commit: 6a52883c2b670ad645257373515d1e704408b93d From: Florian Müllner <[email protected]> Gnome bug: https://bugzilla.gnome.org/show_bug.cgi?id=638700
2014-11-12Fix drawing of <arc> elementsinfirit1-1/+1
This patch fixes the drawing of <arc> theme elements to appear in the desired orientation Based on metacity commit: 120c7790d6c5a837372ef1e0105e89ac674facd8 From: Nickolas Lloyd <[email protected]>
2014-10-27Rework tiling code based off Consortiuminfirit1-2/+61
Taken from https://github.com/SolusOS-discontinued/consortium/commit/b463e03f5bdeab307ceee6b969c681f29537c76d
2014-06-26Remove all trailing whitespaces in the code treeJoaquín Ignacio Aramendía1-7/+7
Just run: $ find -name '*.c' -print0 | xargs -r0 sed -e 's/[[:blank:]]\+$//' -i $ find -name '*.h' -print0 | xargs -r0 sed -e 's/[[:blank:]]\+$//' -i
2014-04-23GTK3 fixesStefano Karapetsas1-0/+4
2014-04-23GTK3 fixesStefano Karapetsas1-2/+31
2014-02-17Cut with fading the Bar title when it's longer than the decoration bar.Omer Akram1-0/+27
2014-01-24ui: Improve GTK3 supportStefano Karapetsas1-4/+26
2013-10-26Starting to add GTK3 supportLaszlo Boros1-17/+324
2012-11-18fixed incorrect fsf addresses.Steve Zesch1-2/+2
2012-10-16improve button theming - taken from UbuntuNelson Marques1-25/+27
2011-12-01moving from https://github.com/perberos/mate-desktop-environmentPerberos1-0/+6652