71559c603e
file chooser: Avoid nonworking search+save combinations
...
With the location entry up in the header bar in save mode, we can
end up with the search model being in use when the user types in
the location entry. In this case, we don't make the Save button
sensitive as we should.
Having two entries in the dialog is somewhat confusing anyway,
so just stop the search when the user starts typing in the location
entry.
https://bugzilla.gnome.org/show_bug.cgi?id=761757
2016-02-12 22:05:40 -05:00
811a9b21c1
file chooser: Use the right model when getting the selection
...
We don't need to make assumptions about which model is currently
used since gtk_tree_selection_get_selection hands us the model.
https://bugzilla.gnome.org/show_bug.cgi?id=761757
2016-02-12 20:35:26 -05:00
4c37719639
Adwaita: Insensitive notebook arrows
...
Just make insensitive notebook arrows gray until better
styling appears.
https://bugzilla.gnome.org/show_bug.cgi?id=761716
2016-02-12 18:24:20 -05:00
102b3bfddf
paned: Draw handle before children
2016-02-12 18:10:02 -05:00
d55b8151f2
x11: Avoid setting has_pointer_focus if a EWMH compliant WM is present
...
This is mostly useful to have focus behave sanely on lack of WM, so avoid
any check there if we're positive there is a WM handling focus.
https://bugzilla.gnome.org/show_bug.cgi?id=677329
2016-02-12 22:05:30 +01:00
48d7219296
paned: Don't overdraw
...
When moving children 'off', we can't allow them to draw outside
the paned allocation, so clip when drawing.
https://bugzilla.gnome.org/show_bug.cgi?id=761903
2016-02-12 15:02:34 -05:00
5562f4f273
gtk-demo: spinbutton and menubar examples
...
https://bugzilla.gnome.org/show_bug.cgi?id=761900
2016-02-12 10:02:31 -05:00
eb90c4f9ed
Adwaita: make popovers less 1995
...
- use regular bgcolor
2016-02-12 14:38:03 +01:00
170cb01675
Revert "Remove _gtk_box_get_children"
...
This reverts commit 572e9a0402
.
_gtk_box_get_children was not doing exactly the same than
gtk_container_get_children does, because the latter uses the forall
implementation of GtkBox that takes into account the children pack mode while
the former just iterated the list of children. This broke the order of
the buttons in a GtkButtonBox when they were packaged with PACK_END.
2016-02-12 13:29:21 +01:00
452d25b13d
placessidebar: Increase padding
...
This should bring us back to the look of 3.18.
https://bugzilla.gnome.org/show_bug.cgi?id=761791
2016-02-11 22:51:35 -05:00
a47d9a7b65
treeview: Make sure the editing widget's top left is always visible
...
https://bugzilla.gnome.org/show_bug.cgi?id=761838
2016-02-11 22:41:58 -05:00
32804e098e
Adwaita: Don't grow flat entries
...
Entries in treeviews and similar embedded situations don't really
work well if their height is forced to be big. Take out the min-height
for these.
https://bugzilla.gnome.org/show_bug.cgi?id=761686
2016-02-11 22:36:07 -05:00
85b44a3e20
cannot not -> must
...
https://bugzilla.gnome.org/show_bug.cgi?id=761826
2016-02-11 22:18:26 -05:00
56ba81530a
placesview: Fix some minor issues
...
Make the button not grow too big, and ensure that the actionbar
has a background.
https://bugzilla.gnome.org/show_bug.cgi?id=761792
2016-02-11 22:16:33 -05:00
23d2f2d0e1
Adwaita: tone down treeview separators
2016-02-11 22:03:47 -05:00
3bf1151051
Fix Quartz clipboard image retrieval.
...
It does no good to iterate through a series of mime types to call a
function when the eventually-called function,
_gtk_quartz_get_selection_data_from_pasteboard() in this case, gives the
wrong answer and stops the iteration on all but one especially if that
one isn't first.
The one is "image/tiff" and the quartz pasteboard function will return
any image type Quartz knows about for it, so lose the iteration and use
only "image/tiff".
2016-02-11 14:00:47 -08:00
1bd0431ab2
Adwaita: fix bogus selector...
...
...ruining the indeterminate check animation
2016-02-11 18:38:31 +01:00
460aa64c58
Adwaita: animate check and radios
2016-02-11 18:27:25 +01:00
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
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
f5d4fb1a0b
inspector: Don't use unused variables
...
Windows-specific refactorings broke this.
2016-02-11 04:14:56 +01:00
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
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
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
99153ed585
win32: Remove XP-specific code
...
We don't support XP anymore.
2016-02-11 03:44:48 +01:00
a620a1d688
win32: Remove unused functions / header includes
2016-02-11 03:44:48 +01:00
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
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
9efb275a13
filechoosernativewin32: Remove unused variables
2016-02-11 03:44:47 +01:00
dda959332f
imcontextsimple: Remove unused variable on win32
2016-02-11 03:44:47 +01:00
b561af25ec
testgtk: Compile without warnings on win32
2016-02-11 03:44:47 +01:00
34db80c28b
tests: Remove unused variable
2016-02-11 03:44:47 +01:00
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
9c700b2bc6
win32 theme: Replace pseudoclasses with undeprecated ones
2016-02-11 03:44:47 +01:00
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
ec3ce21beb
win32: Remove _gdk_display usge from dnd code
2016-02-11 03:44:47 +01:00
7f266e1a03
win32: Make cursor code work without _gdk_display
2016-02-11 03:44:47 +01:00
76e56c5038
win32: Stop using _gdk_display global in device code
...
Use gdk_device_get_display() instead.
2016-02-11 03:44:47 +01:00
ccbfa64d67
win32embedwidget: Mark deprecated sections
2016-02-11 03:44:47 +01:00
ccc7e3058c
filechoosernativewin32: Silence gcc
2016-02-11 03:44:47 +01:00
068f8a3da1
filechoosernativewin32: Add missing return type
...
Looks like a line accidentally was deleted there.
2016-02-11 03:44:47 +01:00
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
0ea9131ff7
printoperation-win32: Silence gcc
2016-02-11 03:44:47 +01:00
573f51cb29
mountoperation: Silence gcc
...
Also, printf()ing a GPid should be forbidden.
2016-02-11 03:44:47 +01:00
1d980192fa
immodule: Stop gcc from complaining
2016-02-11 03:44:47 +01:00
766b1b9886
win32: Remove deprecation warnings in dnd code
2016-02-11 03:44:46 +01:00
4ce6d10601
win32: Remove deprecation warnings in devicemanager code
2016-02-11 03:44:46 +01:00
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
788951c543
win32: Fix empty body warning
2016-02-11 03:44:46 +01:00
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