[metacity] theme: update style hierarchy (again)
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [metacity] theme: update style hierarchy (again)
- Date: Thu, 12 Nov 2015 16:16:20 +0000 (UTC)
commit 17f31fec961067a725f11166297c64fd195dd168
Author: Florian Müllner <fmuellner gnome org>
Date: Fri Nov 6 22:01:45 2015 +0100
theme: update style hierarchy (again)
GTK+ has updated some more widgets to use element names, so do some
catching up again...
src/ui/theme.c | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
---
diff --git a/src/ui/theme.c b/src/ui/theme.c
index f0dcd7c..09a98e8 100644
--- a/src/ui/theme.c
+++ b/src/ui/theme.c
@@ -6064,32 +6064,30 @@ meta_theme_create_style_info (GdkScreen *screen,
create_style_context (GTK_TYPE_HEADER_BAR,
style_info->styles[META_STYLE_ELEMENT_FRAME],
provider,
- NULL,
+ "headerbar",
GTK_STYLE_CLASS_TITLEBAR,
GTK_STYLE_CLASS_HORIZONTAL,
"default-decoration",
- "header-bar",
NULL);
style_info->styles[META_STYLE_ELEMENT_TITLE] =
create_style_context (GTK_TYPE_LABEL,
style_info->styles[META_STYLE_ELEMENT_TITLEBAR],
provider,
- NULL,
+ "label",
GTK_STYLE_CLASS_TITLE,
NULL);
style_info->styles[META_STYLE_ELEMENT_BUTTON] =
create_style_context (GTK_TYPE_BUTTON,
style_info->styles[META_STYLE_ELEMENT_TITLEBAR],
provider,
- NULL,
- GTK_STYLE_CLASS_BUTTON,
+ "button",
"titlebutton",
NULL);
style_info->styles[META_STYLE_ELEMENT_IMAGE] =
create_style_context (GTK_TYPE_IMAGE,
style_info->styles[META_STYLE_ELEMENT_BUTTON],
provider,
- NULL,
+ "image",
NULL);
return style_info;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]