Eric Williams
276101a3bc
Fix typo in previous documentation fix for gtk_css_provider_load_from_data()
2016-01-14 17:01:26 -05:00
Matthias Clasen
5842e68a0d
Document -gtk-recolor syntax
2016-01-14 16:06:16 -05:00
Matthias Clasen
beec55a22b
Add a way to load recolored icons in CSS
...
This can come in handy to load images that are not in an icon theme,
but still benefit from symbolic recoloring.
https://bugzilla.gnome.org/show_bug.cgi?id=760536
2016-01-14 13:51:15 -05:00
Matthias Clasen
1b0ef71696
icon theme: Export recoloring function
...
This will be used in subsequent commits.
https://bugzilla.gnome.org/show_bug.cgi?id=760536
2016-01-14 13:51:09 -05:00
Matthias Clasen
7d717c8113
icon theme: Add a way to create GtkIconInfos from files
...
This is sometimes needed, and calling into actual icon theme
code just for it is confusing - the resulting icon does not
depend on the icon theme at all.
https://bugzilla.gnome.org/show_bug.cgi?id=760536
2016-01-14 13:50:58 -05:00
Lapo Calamandrei
c667f9f1d1
Adwaita: pathbar style cleanup
2016-01-14 17:54:31 +01:00
Florian Müllner
ea69bf8c17
cssstyleproperty: Expose min-width/height
2016-01-14 17:20:51 +01:00
Lapo Calamandrei
bc2355e0b1
Adwaita: remove superfluous selector on keycap styling
...
now that keys are made directly with labels istead of frames.
2016-01-14 16:26:22 +01:00
Timm Bäder
4703d2bbf0
boxgadget: Don't use g_assert
...
Use g_return_if_fail instead so nothing abort()s.
2016-01-14 16:02:36 +01:00
Timm Bäder
a5fabee202
entry: Don't draw icons twice
2016-01-14 16:02:12 +01:00
Timm Bäder
49d251a330
entry: Remove unused code
2016-01-14 16:02:12 +01:00
Timm Bäder
2397d76137
label: Remove some unneeded conditionals
...
We are never passing NULL here.
2016-01-14 16:02:12 +01:00
Timm Bäder
6a97b2563b
shortcutlabel: Use a label directly
...
We can everything we need without the frame around it now.
2016-01-14 16:02:12 +01:00
Руслан Ижбулатов
37bd22c3d9
GDK W32: Don't use WM-drawn shadow for tooltips
...
This prevents WM from drawing shadows around tooltip windows,
which, in Adwaita, should have no shadow and are CSD-ish (which means
that tooltip window is larger than it looks, and WM draws the shadow
only on the outside, leaving a gap between the visible tooltip edge and
the shadow).
https://bugzilla.gnome.org/show_bug.cgi?id=759898
2016-01-14 14:53:15 +00:00
Paolo Borelli
3cd79c11fc
win32: remove _gdk_root global variable
2016-01-14 14:30:37 +01:00
Руслан Ижбулатов
e44b420617
Ensure that the fstat fix is not applied on x86_64
2016-01-14 12:52:04 +00:00
Matthias Clasen
0acc6578d8
expander: center the arrow
...
In lieu of more sophisticated alignment, we need to at least
center the arrow allocation wrt to the label.
2016-01-14 07:35:59 -05:00
Руслан Ижбулатов
59f1b87409
W32: Ensure that correct statting function is used by iconcache
...
With Mingw-w64 fstat() can be an inline function that
calls _fstat32() or _fstat64(), depending on some macros.
And if LFS is enabled, fstat() is defined to turn into
_fstat32i64() or _fstat64(). And some/all of the above
might also be macros as well. Side-step all that mess
and excplicitly re-define fstat as _fstat32, which is
guaranteed to use a version of "stat" struct that
has 32-bit size and time fields, which is what we want.
https://bugzilla.gnome.org/show_bug.cgi?id=760615
2016-01-14 09:44:22 +00:00
Matthias Clasen
d2e80a7993
font chooser: Add a CSS name
...
The CSS name for GtkFontChooserWidget is fontchooser.
2016-01-13 23:42:35 -05:00
Matthias Clasen
c80adc33a4
app chooser: Set a CSS name
...
The CSS name for GtkAppChooserWidget is appchooser.
2016-01-13 23:41:38 -05:00
Matthias Clasen
9657ec9331
print dialog: Set a CSS name
...
The CSS name for GtkPrintUnixDialog is printdialog.
2016-01-13 23:41:38 -05:00
Matthias Clasen
704b41b504
file chooser: Set a CSS name
...
The CSS name for GtkFileChooserWidget is ... filechooser.
2016-01-13 23:41:38 -05:00
Matthias Clasen
2f169a493b
color chooser: Set a CSS name
...
The CSS name for GtkColorChooserWidget is ... colorchooser.
2016-01-13 23:41:38 -05:00
Matthias Clasen
dc5c82e29c
inspector: Don't select 'randomly'
...
While rescanning the object tree, we were emitting ::object-selected
signals, possibly causing wild blinking in the application window.
Don't do that.
https://bugzilla.gnome.org/show_bug.cgi?id=760572
2016-01-13 23:24:38 -05:00
Matthias Clasen
0d298ea75b
Expand CSS icon property docs a bit
2016-01-13 23:06:32 -05:00
Matthias Clasen
f0d4d96ded
Fix doc syntax
2016-01-13 22:48:19 -05:00
Matthias Clasen
25ccbf4e3f
Improve docs for icon-related CSS properties
...
Clarify the relation between the various properties and the
icon loading functions.
2016-01-13 16:25:41 -05:00
Matthias Clasen
1009c88186
Make -gtk-icontheme() use -gtk-icon-palette
...
This makes it possible to recolor themed icons with -gtk-icon-palette,
regardless whether they are loaded by the theme or the application.
2016-01-13 16:17:44 -05:00
Matthias Clasen
34c263683c
Move the -gtk-icon-palette property up
...
Other properties will start depending on it in subsequent
commits, so move it up to prevent ordering problems.
2016-01-13 16:16:39 -05:00
Matthias Clasen
1f65f1b746
color swatch: Use right allocation for window
...
Generally, input-only windows that correspond to CSS boxes
should be sized to the border allocation of the gadget.
2016-01-13 14:00:10 -05:00
Rafael Fontenelle
e8b11778a8
Updated Brazilian Portuguese translation
2016-01-13 18:55:36 +00:00
Matthias Clasen
2ec16c9f91
Add css node tests for right-to-left levelbars
2016-01-13 13:39:41 -05:00
Cosimo Cecchi
897126ae2b
notebook: fix a GCC warning
2016-01-13 08:30:02 -08:00
Matthias Clasen
a0fdbff938
Add css node tests for paned node ordering
2016-01-13 00:41:44 -05:00
Matthias Clasen
fb77ebe17e
paned: Update node ordering according to text direction
...
This was overlooked in the initial node conversion.
2016-01-13 00:40:11 -05:00
Matthias Clasen
7743944124
GtkBox: Documentation tweak
2016-01-13 00:39:53 -05:00
Matthias Clasen
e386fcae04
Update expected output of notebook css node test
...
The stack node is new.
2016-01-13 00:26:48 -05:00
Matthias Clasen
93aac8a86c
notebook: Document the .dnd style class
...
We should aim to document all style classes that themes
can encounter during the normal operation of a widget.
2016-01-13 00:24:40 -05:00
Matthias Clasen
ea4cff1ea4
Use convenience API that was introduced recently
...
Use gtk_css_gadget_set_state in all the places where we previously
were getting a node from a gadget, just to call gtk_css_node_set_state.
2016-01-13 00:19:31 -05:00
Matthias Clasen
64b499be66
builtin icon: Don't save/restore cairo state
...
The reason why this was introduced is now handled in
gtk_css_stylke_render_icon since commit
0138af9f96
.
2016-01-13 00:01:14 -05:00
Matthias Clasen
c71089a038
box gadget: Add some documentation
2016-01-12 23:57:35 -05:00
Matthias Clasen
2677eee720
box: Document child node ordering
2016-01-12 23:40:28 -05:00
Dominique Leuenberger
d7e5fd2e2f
QEMU USB Tablet is not really a tablet - it's a trick
...
Unfortunately, Qemu gives us this confusing device to work with,
and the best we can do is filter it out based on its name.
https://bugzilla.gnome.org/show_bug.cgi?id=760445
2016-01-12 23:03:14 -05:00
Ting-Wei Lan
f4d2d66b1e
broadway: Call setlocale in main function of broadwayd
...
It is required to correctly show translated messages on some locales.
https://bugzilla.gnome.org/show_bug.cgi?id=760416
2016-01-12 23:00:03 -05:00
Timm Bäder
b8db48079f
switch: Fix text positioning
...
https://bugzilla.gnome.org/show_bug.cgi?id=760509
2016-01-12 21:56:53 +01:00
Timm Bäder
a8ceeb1766
switch: Don't include margins in input window size
...
https://bugzilla.gnome.org/show_bug.cgi?id=760509
2016-01-12 21:56:53 +01:00
Timm Bäder
ff7e2797f6
modelbutton: Don't include margins in input window size
...
https://bugzilla.gnome.org/show_bug.cgi?id=760509
2016-01-12 21:56:49 +01:00
Timm Bäder
788ee466b8
button: Don't include margins in input window size
...
And do the same thing for GtkCheckButton
https://bugzilla.gnome.org/show_bug.cgi?id=760509
2016-01-12 21:56:44 +01:00
Timm Bäder
19fa893067
entry: typo
2016-01-12 21:54:45 +01:00
Alberts Muktupāvels
0ba5e38c91
gdkseat: remove return from gdk_seat_ungrab
2016-01-12 18:49:40 +02:00