summaryrefslogtreecommitdiff
path: root/libmetacity/meta-theme-gtk.c
Commit message (Collapse)AuthorAgeFilesLines
* misc: remove Coverity annotationsAlberts Muktupāvels2021-03-191-1/+0
|
* theme-gtk: suppress logically dead code defectAlberts Muktupāvels2021-03-151-0/+2
| | | | Coverity CID: #1445648
* libmetacity: remove shade, stick and above buttonsAlberts Muktupāvels2020-04-301-6/+0
| | | | | | | | | | | | | | | | | 1) These buttons are broken with default GTK theme. As nobody has reported bug I assume these buttons are unused. GTK is default theme type since 3.2.0. 2) These buttons are not supported by client side decorated windows. 3) Few Metacity themes I checked had no icons for these buttons. They had empty draw_ops... 4) These buttons has been removed also from Mutter. Functionality itself is not removed! Still available using window menu and/or keybindings.
* libmetacity: remove appmenu buttonAlberts Muktupāvels2020-04-301-5/+0
| | | | | This button has never been used by Metacity nor by Compiz. Remove everyting related to this button.
* libmetacity: fix memory leakAlberts Muktupāvels2020-01-111-0/+1
| | | | https://gitlab.gnome.org/GNOME/mutter/commit/c13ea4f48ddbb8dfe67acc
* libmetacity: fix blurry titlebar fontAlberts Muktupāvels2019-10-161-1/+3
| | | | https://gitlab.gnome.org/GNOME/metacity/issues/2
* libmetacity: add appmenu class to buttonAlberts Muktupāvels2018-11-221-0/+2
|
* libmetacity: set a clip region for titleAlberts Muktupāvels2017-07-211-0/+11
|
* libmetacity: add space between buttons and titleAlberts Muktupāvels2017-07-201-6/+2
|
* libmetacity: properly calculate available space for buttonsAlberts Muktupāvels2017-07-201-5/+9
|
* libmetacity: fix copy/paste errorsAlberts Muktupāvels2017-07-181-2/+2
|
* libmetacity: don't use MetaFrameStyleSet with GTK+ themeAlberts Muktupāvels2017-04-111-41/+41
|
* libmetacity: add meta_theme_impl_get_scaleAlberts Muktupāvels2016-11-281-3/+3
|
* libmetacity: redo button layout codeAlberts Muktupāvels2016-08-181-289/+214
|
* libmetacity: move all button releated info to MetaButtonLayoutAlberts Muktupāvels2016-08-171-14/+13
|
* libmetacity: don't expose MetaButtonLayoutAlberts Muktupāvels2016-08-171-1/+1
|
* libmetacity: rename MetaButtonFunction to MetaButtonTypeAlberts Muktupāvels2016-08-171-50/+50
| | | | | | Name `function` is used inside Metacity theme. Rename existing MetaButtonType to MetaButtonFunction and MetaButtonFunction to MetaButtonType.
* libmetacity: use callback function to get button stateAlberts Muktupāvels2016-08-161-59/+1
|
* libmetacity: don't expose MetaButtonTypeAlberts Muktupāvels2016-08-161-31/+81
|
* libmetacity: replace ints with doubles in few placesAlberts Muktupāvels2016-07-091-13/+15
| | | | | | | | | When we draw decorations we scale down client width and height. This causes problem when client width or height is odd number - decorations is not drawn in full size. Replace ints with doubles to make sure that cairo scales decorations to correct size. Improves HiDPI support.
* libmetacity: add `shadow` and `resize` bordersAlberts Muktupāvels2016-06-081-10/+12
|
* libmetacity: don't expose MetaFrameStyleAlberts Muktupāvels2016-06-071-1/+1
|
* libmetacity: scale text heightAlberts Muktupāvels2016-06-051-9/+10
|
* libmetacity: add composited to MetaThemeImplAlberts Muktupāvels2016-06-031-5/+4
|
* libmetacity: do nothing in GTK+ theme load functionAlberts Muktupāvels2016-06-031-71/+73
| | | | | GTK+ theme use all info/data from MetaStyleInfo. Move existing loading code from meta_theme_gtk_load to meta_theme_gtk_init.
* libmetacity: GObjectize MetaStyleInfoAlberts Muktupāvels2016-06-031-9/+9
|
* libmetacity: scale window decorations on HiDPI displaysAlberts Muktupāvels2016-03-241-46/+84
| | | | | | | | | As we opt out of GTK+/Clutter's HiDPI handling, we need to apply the window scaling factor manually to decorations, both the geometry and when drawing. Based on mutter commit: https://git.gnome.org/browse/mutter/commit/?id=57c1078ee742d9f01e80e7fe05c88adfec4b4ac3
* libmetacity: move scale_border functionAlberts Muktupāvels2016-03-241-10/+0
|
* libmetacity: remove meta_theme_get_nameAlberts Muktupāvels2016-02-231-36/+1
|
* theme: stop hiding titlebar buttons in dialogsFlorian Müllner2016-02-221-3/+0
| | | | | | | As design patterns have evolved, dialogs that use CSD do use titlebar buttons, so it's time to re-enable them for SSD as well. https://bugzilla.gnome.org/show_bug.cgi?id=641630
* libmetacity: fix get_shadow_extentsAlberts Muktupāvels2016-02-221-1/+1
|
* libmetacity: don't draw titlebar in fullscreenAlberts Muktupāvels2016-02-151-0/+3
|
* libmetacity: fix titlebar in GTK+ themeAlberts Muktupāvels2016-02-151-17/+16
|
* libmetacity: don't expose MetaFrameLayoutAlberts Muktupāvels2016-02-071-0/+1
|
* libmetacity: correctly center button verticallyAlberts Muktupāvels2016-02-071-2/+2
|
* libmetacity: use correct style context to retrieve border-radiusAlberts Muktupāvels2016-02-071-19/+20
|
* libmetacity: make sure invisible area is large enoughAlberts Muktupāvels2016-02-071-4/+32
|
* libmetacity: rename invisible_border to invisible_resize_borderAlberts Muktupāvels2016-02-071-17/+10
|
* libmetacity: support margins on titlebar title/buttons in GTK+ themeAlberts Muktupāvels2016-02-071-3/+29
| | | | | | | | | GTK+ improved its CSS support, and the default theme started to make use of it, so we must update our theming code accordingly. Add support for margins where they make sense. Adapted from: https://git.gnome.org/browse/mutter/commit/?id=e0ffef06dd810ff5acb54605f05f95133541151b
* libmetacity: consider minimum sizes in GTK+ themeAlberts Muktupāvels2016-02-071-5/+25
| | | | | | | | | GTK+ improved its CSS support, and the default theme started to make use of it, so we must update our theming code accordingly. Start by supporting min-width/min-height where it makes sense. Adapted from: https://git.gnome.org/browse/mutter/commit/?id=d5b69bcd542b759af661de2caa5a0e7fe6901e9f
* libmetacity: add substructures to MetaFrameLayoutAlberts Muktupāvels2016-02-071-75/+75
| | | | | | | | Add gtk and metacity substructures to MetaFrameLayout. Move GTK+ or Metacity only variables to these substructures. This commit also adapts changes from this mutter commit: https://git.gnome.org/browse/mutter/commit/?id=6b92b45021773b93c008aafb4fcd24167784b0d6
* libmetacity: remove button background rects from GTK+ themeAlberts Muktupāvels2016-02-071-92/+18
|
* libmetacity: don't use GtkSettings to change gtk-theme-nameAlberts Muktupāvels2016-02-071-16/+26
|
* theme: move get_frame_borders, calc_geometry and draw_frameAlberts Muktupāvels2016-02-041-0/+884
|
* theme: move MetaTheme to libmetacity and GObjectize itAlberts Muktupāvels2016-01-311-1/+18
|
* libmetacity: use load vfunc to load GTK+ themeAlberts Muktupāvels2016-01-311-0/+101
|
* libmetacity: add MetaThemeImpl, MetaThemeGtk and MetaThemeMetacityAlberts Muktupāvels2016-01-281-0/+37