Paolo Borelli
7047099fd8
Win32: fold the gdkinput.c file in gdkdisplay-win32.c
...
This is similar to what is done in the X11 and wayland backends.
It also gets rid of the _gdk_input_devices global variable
2016-02-22 21:45:08 +01:00
Paolo Borelli
b3a80180c7
Win32: remove leftover function
...
gdk_devices_list was removed from the API in 3.0 and it is not
in the headers. The win32 implementation lingered on by mistake.
2016-02-22 21:45:08 +01:00
Jordi Mas
ff9e73d71e
Update Catalan translation
2016-02-22 20:43:27 +01:00
Piotr Drąg
ca050e10c1
Updated POTFILES.skip
2016-02-22 20:36:28 +01:00
Chun-wei Fan
07d32687d8
MSVC 2008 builds: Fix previous commit
...
The previous commit had the MSVC 2008 property sheet in the wrong place.
Fix that.
2016-02-22 22:23:26 +08:00
Lapo Calamandrei
5906b15c5e
Adwaita: avoids up pointing scale slider to jump down on hover
...
and comment back sass debugging stuff in the process...
2016-02-22 11:29:43 +01:00
Lapo Calamandrei
9fb9d208fd
Adwaita: fix scale with marks sliders
...
looks like sass was confused by the way I structured the loops,
this works that around.
2016-02-22 11:16:32 +01:00
Lapo Calamandrei
7f89856b29
Adwaita: color scale slider fixes
...
use the pointy slider on colorscales, this way it picks the
correct slider on rtl.
2016-02-22 10:55:58 +01:00
Chun-wei Fan
5962daef4f
Windows: Update how gtk-win32.rc is generated
...
On Visual Studio, unlike MinGW, manifest files are embedded via
including the manifest file as a resource file in the projects, not
via the .rc file. This means that the line in the .rc file that
specifies the manifest file would cause trouble, so that line gets
removed when the full gtk3-win32.rc is generated on Visual Studio builds,
otherwise 2010+ Visual Studio will complain when compiling the .rc file.
Also, the inclusion of winuser.h will cause warnings during the
compilation of the .rc file.
Fix this by isolating the Win32 resource portions of gtk-win32.rc.in to
gtk-win32.rc.body.in and:
-On MinGW, construct the full gtk-win32.rc by doing the winver.h and
winuser.h inclusion first, then append the contents of gtk-win32.rc.body,
and then appending the line to embed the manifest file.
-On Visual Studio, simply copy the gtk-win32.rc.body to gtk-win32.rc,
and generate the full libgtk3.manifest file.
https://bugzilla.gnome.org/show_bug.cgi?id=762311
2016-02-22 17:40:17 +08:00
Benjamin Otte
6c0270bbcb
win32 theme: Make tooltips look right
...
Includes adding fallback support
2016-02-22 04:37:57 +01:00
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