summaryrefslogtreecommitdiff
path: root/src/ui/theme-viewer.c
AgeCommit message (Collapse)AuthorFilesLines
2019-06-05theme-viewer: Fix invisible bordersVictor Kareh1-2/+2
https://bugzilla.gnome.org/show_bug.cgi?id=662895 upstream commit: https://gitlab.gnome.org/GNOME/metacity/commit/6836a621
2019-06-05theme: Make meta_frame_draw_theme take a GtkStyleContext instead of a widgetVictor Kareh1-1/+1
The style context of the widget is rarely what we want. We won't fix this to be a MetaFrames style context yet; this just changes the internal API. https://bugzilla.gnome.org/show_bug.cgi?id=690317 upstream commit: https://gitlab.gnome.org/GNOME/metacity/commit/76aa0704
2019-06-05Replace public MetaFrameGeometry with MetaFrameBordersVictor Kareh1-7/+4
There were actually *two* MetaFrameGeometry structs: one in theme-private.h, one in frame.h. The latter public struct was populated by a mix of (void*) casting and int pointers, usually pulling directly from the data in the private struct. Remove the public struct, replace it with MetaFrameBorders and scrap all the pointer hacks to populate it, instead relying on both structs being used in common code. This commit should be relatively straightforward, and it should not do any tricky logic at all, just a sophisticated find and replace. https://bugzilla.gnome.org/show_bug.cgi?id=644930 upstream commit: https://gitlab.gnome.org/GNOME/metacity/commit/72224a165 NOTE: Patch copied from metacity and adapted for marco.
2019-04-23theme-viewer: avoid deprecated gtk_widget_override_background_colorAlberts Muktupavels1-3/+23
origin commit by: https://gitlab.gnome.org/GNOME/metacity/commit/542a2b4
2018-08-28Add frame type for attached modal dialogsOwen W. Taylor1-0/+7
Add a new frame type META_FRAME_TYPE_ATTACHED which is used for attached modal dialogs. The theme format version is bumped to 3.2, and attached windows can have borders defined in a metacity-theme-3.xml as: <window version=">= 3.2" type="attached" style_set="[name]"/> If no style is defined for "attached", drawing will fall back to the "border" type. https://bugzilla.gnome.org/show_bug.cgi?id=592382 NOTE: Patch copied from mutter and adapted for metacity.
2018-02-16avoid deprecated GtkButton:use-stockPablo Barciela1-5/+2
2018-02-15avoid deprecated GtkStockPablo Barciela1-1/+6
2017-02-07theme-viewer: don't use deprecated gtk_widget_override_fontraveit651-1/+23
taken from: https://git.gnome.org/browse/metacity/commit/?id=02fa1e1
2017-02-07theme-viewer: don't use deprecated GtkAlignmentraveit651-17/+10
taken from: https://git.gnome.org/browse/metacity/commit/?id=66d54f5
2017-02-07theme-viewer: port GtkAction to GActionraveit651-86/+113
2017-02-07theme-viewer: don't use deprecated gtk_scrolled_window_add_with_viewportraveit651-2/+2
2017-02-07theme-viewer: port GtkTable to GtkGridraveit651-38/+36
2017-01-06theme-viewer: use GtkStyleContextmonsta1-10/+22
picked from upstream: https://git.gnome.org/browse/metacity/commit/src/ui/theme-viewer.c?id=238e83a98cf014c9b1082d21541e63f102d441d6 https://git.gnome.org/browse/metacity/commit/src/ui/theme-viewer.c?id=c9099b4a90932a22c86b960c8b4dc7cd1458defe
2017-01-06theme-viewer: use GdkRGBA instead of GdkColormonsta1-14/+17
2017-01-06theme-viewer: remove unused codemonsta1-307/+0
same as done upstream: https://git.gnome.org/browse/metacity/commit/?id=93e8c8d8b399200291965357f893fff404426eae
2016-11-25theme-viewer: fix buildmonsta1-9/+10
2016-10-15move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build optionmonsta1-24/+6
2016-05-17fix a typo with deprecated GtkMiscraveit651-2/+2
2016-01-25fix dprecated GtkMiscWolfgang Ulbrich1-0/+5
2016-01-21[GTK+3] theme viewer: fix deprecated usage of GtkHButtonBoxmonsta1-0/+4
2015-09-14Remove deprecated GTK+ symbols and use accessor functionsinfirit1-63/+75
Direct struct access has been deprecated, so use the appropriate replacements to build with GSEAL enabled.
2014-11-25Replace gtkstock icon usageinfirit1-2/+2
2014-11-25Gtk3: Silence the GtkVBox and GtkHBox deprecations warningsinfirit1-0/+6
2014-10-25theme-viewer: stop using gtk_misc_set_alignment for Gtk+3infirit1-0/+5
Based on metacity commit: 99bfe2d27c6babeeea3539b990505895750d3541 From: Alberts Muktupāvels <[email protected]>
2014-06-26Remove all trailing whitespaces in the code treeJoaquín Ignacio Aramendía1-86/+86
Just run: $ find -name '*.c' -print0 | xargs -r0 sed -e 's/[[:blank:]]\+$//' -i $ find -name '*.h' -print0 | xargs -r0 sed -e 's/[[:blank:]]\+$//' -i
2012-11-18fixed incorrect fsf addresses.Steve Zesch1-2/+2
2011-12-01moving from https://github.com/perberos/mate-desktop-environmentPerberos1-0/+1338