Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dorota Czaplejewicz
gtk
Commits
33dac505
Commit
33dac505
authored
Jul 01, 2019
by
Adrien Plazas
Browse files
Support libhandy hardcoded styles
This is needed to port libhandy classes.
parent
3a2b7211
Changes
2
Hide whitespace changes
Inline
Side-by-side
gtk/Makefile.am
View file @
33dac505
...
...
@@ -601,6 +601,7 @@ gtk_private_h_sources = \
gtkwindowprivate.h
\
gtktreemenu.h
\
gdkpixbufutilsprivate.h
\
hdy-style-private.h
\
open-type-layout.h
\
language-names.h
\
script-names.h
...
...
@@ -1325,6 +1326,10 @@ gtk.gresource.xml: Makefile.am inspector/Makefile.inc
n
=
`
basename
$$
f
`
;
\
echo
" <file preprocess='xml-stripblanks'>ui/
$$
n</file>"
>>
$@
;
\
done
;
\
for
f
in
$(srcdir)
/style/
*
.css
;
do
\
n
=
`
basename
$$
f
`
;
\
echo
" <file>style/
$$
n</file>"
>>
$@
;
\
done
;
\
for
s
in
16x16 22x22 24x24 32x32 48x48
;
do
\
for
c
in
actions status categories
;
do
\
for
f
in
$(srcdir)
/icons/
$$
s/
$$
c/
*
.png
;
do
\
...
...
gtk/hdy-style-private.h
0 → 100644
View file @
33dac505
/*
* Copyright (C) 2019 Purism SPC
*
* SPDX-License-Identifier: LGPL-2.1+
*/
#pragma once
#include
"gtkstyleprovider.h"
G_BEGIN_DECLS
/* The style provider priority to use for libhandy widgets custom styling. It is
* higher than settings but lower than applications, so application developers
* can nonetheless apply custom styling on top of it. */
#define GTK_HDY_STYLE_PROVIDER_PRIORITY (GTK_STYLE_PROVIDER_PRIORITY_SETTINGS + 1)
G_END_DECLS
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment