Lapo Calamandrei
1bd0431ab2
Adwaita: fix bogus selector...
...
...ruining the indeterminate check animation
2016-02-11 18:38:31 +01:00
Lapo Calamandrei
460aa64c58
Adwaita: animate check and radios
2016-02-11 18:27:25 +01:00
Emmanuele Bassi
90d5c7f9e8
mir: Add C++ guards
...
Avoid missing symbols when compiling C++ including the GDK Mir backend
header.
https://bugzilla.gnome.org/show_bug.cgi?id=761829
2016-02-11 12:01:39 +00:00
Matthias Clasen
bb15c53966
notebook: fix arrow states
...
Some code was confusing 0 with ARROW_NONE, causing us to not properly
update the state of the arrow gadgets.
2016-02-11 06:47:28 -05:00
Benjamin Otte
f5d4fb1a0b
inspector: Don't use unused variables
...
Windows-specific refactorings broke this.
2016-02-11 04:14:56 +01:00
Benjamin Otte
88b7dfdb1e
win32: Move init code into windows-specific code
...
Avoids warnings about undefined functions on non-windows.
2016-02-11 04:14:28 +01:00
Benjamin Otte
4dfbaccd67
win32 theme: Add a GtkWin32Theme object
...
This object wraps a HTHEME and takes care of recreating it on theme changes.
2016-02-11 03:44:48 +01:00
Benjamin Otte
1519801878
win32: Capture WM_THEMECHANGED
...
We're not doing anything useful with it yet. This will follow in the coming commits.
2016-02-11 03:44:48 +01:00
Benjamin Otte
99153ed585
win32: Remove XP-specific code
...
We don't support XP anymore.
2016-02-11 03:44:48 +01:00
Benjamin Otte
a620a1d688
win32: Remove unused functions / header includes
2016-02-11 03:44:48 +01:00
Benjamin Otte
033fb5a879
win32: Always pass a window to the default event filters
...
This has to happen or the event filter cannot identify what type
of display the event is from (ie if it's an XEvent, a broadway
event or a win32 MSG.
2016-02-11 03:44:48 +01:00
Benjamin Otte
f9c2982ddc
testsuite: No warnings on type conversions please
...
long is 32bit on win64, so it's int cast to pointer of different size, and gcc doesn't like that.
2016-02-11 03:44:47 +01:00
Benjamin Otte
9efb275a13
filechoosernativewin32: Remove unused variables
2016-02-11 03:44:47 +01:00
Benjamin Otte
dda959332f
imcontextsimple: Remove unused variable on win32
2016-02-11 03:44:47 +01:00
Benjamin Otte
b561af25ec
testgtk: Compile without warnings on win32
2016-02-11 03:44:47 +01:00
Benjamin Otte
34db80c28b
tests: Remove unused variable
2016-02-11 03:44:47 +01:00
Benjamin Otte
ce8a98e21b
win32 theme: Get rid of deprecated style properties
...
That's pretty easy, because we can just delete them. The theme is broken either way.
2016-02-11 03:44:47 +01:00
Benjamin Otte
9c700b2bc6
win32 theme: Replace pseudoclasses with undeprecated ones
2016-02-11 03:44:47 +01:00
Benjamin Otte
93ecb1d187
win32 theme: Do a quick'n'dirty search/replace
...
Try to replace the old style names with then new style names.
The theme is still entirely way too broken. But at least one can see something.
2016-02-11 03:44:47 +01:00
Benjamin Otte
ec3ce21beb
win32: Remove _gdk_display usge from dnd code
2016-02-11 03:44:47 +01:00
Benjamin Otte
7f266e1a03
win32: Make cursor code work without _gdk_display
2016-02-11 03:44:47 +01:00
Benjamin Otte
76e56c5038
win32: Stop using _gdk_display global in device code
...
Use gdk_device_get_display() instead.
2016-02-11 03:44:47 +01:00
Benjamin Otte
ccbfa64d67
win32embedwidget: Mark deprecated sections
2016-02-11 03:44:47 +01:00
Benjamin Otte
ccc7e3058c
filechoosernativewin32: Silence gcc
2016-02-11 03:44:47 +01:00
Benjamin Otte
068f8a3da1
filechoosernativewin32: Add missing return type
...
Looks like a line accidentally was deleted there.
2016-02-11 03:44:47 +01:00
Benjamin Otte
117e303b44
filechoosernativewin32: Define MSC_VER at top of file
...
The headers we include might include windows headers which define _MSC_VER already.
2016-02-11 03:44:47 +01:00
Benjamin Otte
0ea9131ff7
printoperation-win32: Silence gcc
2016-02-11 03:44:47 +01:00
Benjamin Otte
573f51cb29
mountoperation: Silence gcc
...
Also, printf()ing a GPid should be forbidden.
2016-02-11 03:44:47 +01:00
Benjamin Otte
1d980192fa
immodule: Stop gcc from complaining
2016-02-11 03:44:47 +01:00
Benjamin Otte
766b1b9886
win32: Remove deprecation warnings in dnd code
2016-02-11 03:44:46 +01:00
Benjamin Otte
4ce6d10601
win32: Remove deprecation warnings in devicemanager code
2016-02-11 03:44:46 +01:00
Benjamin Otte
584931e94d
win32: Use g_set_object()
...
... instead of a hand-rolled version that does the same thing.
2016-02-11 03:44:46 +01:00
Benjamin Otte
788951c543
win32: Fix empty body warning
2016-02-11 03:44:46 +01:00
Matthias Clasen
bfd254c932
gtk-demo: Add more foreign drawing examples
...
Add a notebook with an active tab.
Based on a patch by Caolan McNamara.
2016-02-10 21:20:34 -05:00
Caolán McNamara
671552043c
gtk-demo: attempt at a notebook with active box-shadow in tab
2016-02-10 17:26:12 -05:00
Matthias Clasen
8e6cc260ca
testgtk: Remove an unused variable
2016-02-10 16:10:23 -05:00
Caolán McNamara
701cdda3dc
gtk-demo: Add a menu to foreigndrawing
...
and demo that the block arrows require GTK_STATE_FLAG_DIR_LTR or
GTK_STATE_FLAG_DIR_RTL set to appear
https://bugzilla.gnome.org/show_bug.cgi?id=761828
2016-02-10 16:07:51 -05:00
Rafael Fontenelle
751b69cbae
Updated Brazilian Portuguese translation
2016-02-10 16:55:55 +00:00
Timm Bäder
becfd18b07
overlay: set css name
2016-02-10 14:03:56 +01:00
Timm Bäder
bdd182f38c
frame: Set border gadget state after creating it
2016-02-10 14:03:39 +01:00
Timm Bäder
c44364f1d1
spinbutton: Free the gadget in finalize
2016-02-10 12:30:35 +01:00
Timm Bäder
8ea573b473
css node tree: Fix crash
...
This function would return "" whenever the state of the css node was
unset, causing a crash when selecting the css node tree from the
sidebar.
2016-02-10 12:28:32 +01:00
Matthias Clasen
7ad6043478
gtk-demo: Improve the tag implementation
...
Add margins and make it so that clicking on margins next to
links does not activate them.
2016-02-10 00:07:37 -05:00
Matthias Clasen
a3a5cf1087
text view: Improve tag pointer tracking
...
A problem that has been observed in polari is that links in tags
are clickable all the way into the margin. This problem is caused
by gtk_text_view_get_iter_at_position ignoring the return value
of pango_layout_xy_to_index. Instead, pass it back as a boolean
return value. This is technically an API break, but we've allowed
ourselves to change return types from void to gboolean before.
2016-02-10 00:01:54 -05:00
Rui Matos
019dab7c38
gtkmagnifier: Avoid a crash if the inspected widget is finalized
...
If the inspected widget is finalized and we then try to disconnect
from its signals we'll crash.
https://bugzilla.gnome.org/show_bug.cgi?id=761775
2016-02-09 15:35:17 +01:00
Timm Bäder
1331b60029
A few more documentation fixes
2016-02-09 08:05:16 +01:00
Timm Bäder
c5369356e8
Various documentation fixes
...
Always have Since: annotations at the very bottom, use the correct
ClassName::signal-name/ClassName:property-name syntax, fix a few typos
in type names, wrong function names, non-existing type names, etc.
2016-02-08 22:56:52 +01:00
Rico Tzschichholz
76fedc1882
gtk: Fix some return-values annotations (transfer none/full)
2016-02-08 14:03:55 +01:00
Ignacio Casal Quinteiro
eb555979db
win32: properly handle show and focus
...
The first time a window is shown we should always call SW_SHOWNORMAL.
Understand whether to call SW_SHOW or SW_SHOWNORMAL and the specific
ones for the temporary windows depending on IsWindowVisible.
This also fixes the problem when calling gtk_window_present and
the window is snapped to the left or right of the screen.
This patch is based on the patches provided by Yevgen Muntyan
and Aleksander Morgado.
https://bugzilla.gnome.org/show_bug.cgi?id=698652
2016-02-08 13:25:01 +01:00
Yevgen Muntyan
07a994c89f
win32: on focus restore the window if iconified
...
If the window is iconified we want to restore the window
to get the proper size instead of showing it normal which
would change the size of the window.
https://bugzilla.gnome.org/show_bug.cgi?id=698652
2016-02-08 12:58:58 +01:00