Benjamin Otte
808017d1d0
win32 theme: Size titlebar icons correctly.
...
Sizing according to
http://web.archive.org/web/20070301202835/http://shellrevealed.com/photos/blog_images/images/4538/original.aspx
2016-02-22 04:37:57 +01:00
Benjamin Otte
414657100f
win32draw: Use the right checks
...
The first check was the wrong way around.
The second check made the function look wrong. Invalid ID is actually
the special case that should be handled first, so write the function
like that.
2016-02-22 04:37:57 +01:00
Benjamin Otte
cdb12fec9e
win32 theme: Replace metric ids with metric names
...
Makes it more obvious what's actually happening.
2016-02-22 04:37:57 +01:00
Benjamin Otte
dc1e191df5
csssizevalue: Allow using the name for a win32 metric
...
... instead of just the ID.
2016-02-22 04:37:56 +01:00
Benjamin Otte
98216867d1
win32: Allow querying names for metrics
2016-02-22 04:37:56 +01:00
Benjamin Otte
63934ba36c
win32 theme: Replace color ids with color names
...
Makes it more obvious what's actually happening.
2016-02-22 02:36:11 +01:00
Benjamin Otte
37a4e1cda9
csscolor: Allow using the name for a win32 color
...
... instead of just the ID.
2016-02-22 02:36:11 +01:00
Benjamin Otte
ecaca073f1
win32: Allow querying names for colors
2016-02-22 02:36:11 +01:00
Allin Cottrell
46d3611052
Fix Quartz Full Screen Crash.
2016-02-21 16:22:27 -08:00
John Ralls
3cf98a4353
Fix typo.
2016-02-21 16:17:46 -08:00
Benjamin Otte
e935993d96
win32 fallback: Draw window title button images
...
Taken from Wine's Marlett font.
2016-02-21 20:44:37 +01:00
Benjamin Otte
828f2e1801
win32 theme: Sanitize a few colors
2016-02-21 20:44:36 +01:00
Benjamin Otte
2e709fde82
win32 fallback: Add code to draw titlebars
2016-02-21 20:44:36 +01:00
Benjamin Otte
3c5c748cd4
win32 fallback: Warn if we don't know how to draw a part
2016-02-21 20:44:36 +01:00
Benjamin Otte
c73db50aed
win32: Implement GetSystemMetric() fallbacks
...
Default values taken from Wine.
2016-02-21 20:44:36 +01:00
Benjamin Otte
c2dd3c0d89
win32: Move variable definition to not cause gcc warning
...
It's only used on win32, so only define it there.
2016-02-21 20:44:36 +01:00
A S Alam
00559e1b86
updated Punjabi Translation
2016-02-21 09:31:14 -06:00
A S Alam
908bcf3c15
updated Punjabi Translation
2016-02-21 09:31:06 -06:00
Matthias Clasen
0c91584532
Adwaita: Drop decoration.ssd selector
...
We've settled on window.ssd decoration instead.
https://bugzilla.gnome.org/show_bug.cgi?id=760714
2016-02-21 00:55:41 -05:00
Matthias Clasen
cee39bfd46
Add a release note about drawingarea background
2016-02-21 00:48:56 -05:00
Matthias Clasen
5a80a35757
drawingarea: Update docs around background handling
...
The behavior changed this cycle. Update the docs to recommend
an explicit gtk_render_background call.
2016-02-21 00:46:54 -05:00
Matthias Clasen
52e0ab53dc
print dialog: More baseline alignment
...
Some places were missing the right valign setting to make
baselines line up properly.
2016-02-21 00:09:32 -05:00
Matthias Clasen
e9300e2f79
dnd: Avoid a crash
...
gtk_image_definition_new_icon_name ("") returns NULL. Bail
out early in this case to avoid unreffing NULL later.
https://bugzilla.gnome.org/show_bug.cgi?id=762392
2016-02-20 22:43:43 -05:00
Matthias Clasen
a754579e44
css gadget: Adjust baselines for min-height
...
We were forcing the size to be at least min-height, but we left the
baselines as they were, which had the effect of making text e.g
in entries 'stick to the top'.
With this change, we adjust the baseline to keep the ratio of
baseline to height unchanged.
2016-02-20 22:31:39 -05:00
Benjamin Otte
f3d67cc2ac
win32 theme: Add rudimentary titlebar support
2016-02-21 03:02:36 +01:00
Benjamin Otte
eda348d2b5
win32: Handle size queries for all values
...
Fall back to GetSystemMetrics() whenever GetThemeSysSize() didn't work.
2016-02-21 03:02:36 +01:00
Benjamin Otte
63eb15b730
win32: Add missing break in switch statement
...
Oops.
2016-02-21 03:02:36 +01:00
Benjamin Otte
1548b680fc
css: Make outline-offset animatable
...
CSS claims it should be, so we make it.
2016-02-21 01:02:51 +01:00
Benjamin Otte
e4a485dca2
renderborder: Add API to query the outline clip
...
And use it in implementation of gadgets.
2016-02-21 01:02:51 +01:00
Benjamin Otte
23b3774e6b
css: Mark outline properties as affecting clip when they do
2016-02-21 01:02:51 +01:00
Matthias Clasen
966dd56e45
entry: Fix baseline allocation
...
Position the text on the baseline again.
2016-02-20 18:55:17 -05:00
Matthias Clasen
6b53138a01
box: Fix rtl allocation with center widget
...
The code for adjusting the center widget allocation in case
of uneven sides never worked right in RTL. This was finally
noticed for tabs with close button, which commonly use a
centered label.
2016-02-20 16:45:26 -05:00
Lapo Calamandrei
7698ac447a
Adwaita: remove unused selector in _common.scss
2016-02-20 19:52:46 +01:00
Lapo Calamandrei
effee1f35e
Revert "Adwaita: resurrect scale-has-marks-above/below classes"
...
This reverts commit edcc0c2783
.
Since the colorscale styling is wrong in rtl, need to do things
differntly.
2016-02-20 19:50:49 +01:00
Lapo Calamandrei
44f6fcfbd3
Adwaita: move 1px up the check asset
2016-02-20 19:37:21 +01:00
Lapo Calamandrei
b23300c89d
Adwaita: fix entry progressbar
...
it now moves using the whole entry lenght, in the process the
style was tweaked to not need a special case for focused entries.
2016-02-20 19:31:58 +01:00
Matthias Clasen
7c577ddf4f
assistant: Add margin to action area
...
We are no longer setting a margin on the content area, so put
one on the action area itself to prevent the buttons from touching
the edge.
https://bugzilla.gnome.org/show_bug.cgi?id=762315
2016-02-20 11:27:56 -05:00
Lapo Calamandrei
edcc0c2783
Adwaita: resurrect scale-has-marks-above/below classes
...
the colorscales use said classes.
2016-02-20 17:25:51 +01:00
Matthias Clasen
d2454000f6
expander: Draw focus again
...
This was lost when GtkExpander was ported to use box gadgets.
2016-02-20 11:17:12 -05:00
Matthias Clasen
7ed1225296
check button: Draw focus again
...
The box gadget now has API for this; use it.
2016-02-20 10:54:48 -05:00
Matthias Clasen
ebff86d6f6
box gadget: Make it possible to draw focus
...
There are widgets which use a box gadget and take focus,
like GtkCheckButton.
2016-02-20 10:54:48 -05:00
Matthias Clasen
e837aa69b6
x11: Some cleanups to the multihead initialization
...
The significant change here is a memory leak fix in init_xrandr15.
The rest of the changes makes init_xrandr13 and init_xrandr15 more
parallel, and simplifies init_multihead.
2016-02-20 10:54:48 -05:00
Marco Trevisan (Treviño)
1dda932109
X11, GdkScreen: properly implement init_randr15 including output name
...
https://bugzilla.gnome.org/show_bug.cgi?id=762319
2016-02-20 10:45:44 -05:00
Lapo Calamandrei
079e90b780
Adwaita: scale slider assets refresh
...
...and update the theme accordingly.
2016-02-20 16:07:00 +01:00
Benjamin Otte
d2fb069426
entry: Make get_text_area_size() vfunc work again
...
GdTaggedEntry needs that. Though there's probably a bunch of work left
inside GdTaggedEntry to make it look cute again (like storing the area
it reserves for itself to allocate tags in).
2016-02-20 03:25:39 +01:00
Lapo Calamandrei
a979cff748
Adwaita: check/radio/slider gradient tweaks
2016-02-19 18:03:38 +01:00
Carlos Garnacho
ebb175021e
wayland: Implement gtk_shell.set_startup_id
...
Fetch the DESKTOP_STARTUP_ID envvar at the same point it's done
for the X11 backend, and notify the startup ID gotten on
notify_startup_complete().
2016-02-19 17:45:42 +01:00
Carlos Garnacho
ce62f0513d
wayland: Update gtk-shell protocol to v3
...
Add a gtk_shell.set_startup_id request, so the application can communicate
to the compositor the startup id that it received through the
DESKTOP_STARTUP_ID envvar, or other means.
2016-02-19 17:45:42 +01:00
Paolo Borelli
7505d49741
Win32: free the monitors array
2016-02-19 15:49:29 +01:00
Paolo Borelli
3aec838313
Win32: chain up screen finalize
...
Add the proper chain up (in preparation to actually freeing stuff) and
remove the empty dispose implementation
2016-02-19 15:49:29 +01:00