Jasper St. Pierre
5674f2ce50
gtkiconview: Take padding into account when getting the cursor hotspot
...
This makes the icon view look completely seamless when dragging.
https://bugzilla.gnome.org/show_bug.cgi?id=705605
2013-08-07 11:53:05 -04:00
Jasper St. Pierre
d72252c7d6
gtkiconview: Remove the border and background from drag icons
...
This doesn't look good when combined with rounded corners on
selected items.
https://bugzilla.gnome.org/show_bug.cgi?id=705605
2013-08-07 11:53:04 -04:00
Jasper St. Pierre
b9d85b9412
gtkdnd: Clean up the doc comment of gtk_drag_begin
2013-08-07 11:53:04 -04:00
Jasper St. Pierre
0c49f734a2
gtkstylecontext: Remove some dead code when rendering layouts
2013-08-07 11:53:04 -04:00
Ignacio Casal Quinteiro
fb2bc06f50
headerbar: use a more standard headerbar look for the close button
...
https://bugzilla.gnome.org/show_bug.cgi?id=705601
2013-08-07 16:49:34 +02:00
Alexander Larsson
8e423ba292
gtkdnd: Use surface based cursor APIs
...
This allows things to correctly scale things on HiDPI screens.
2013-08-07 13:34:10 +02:00
Alexander Larsson
b2113b7384
gdk: Add gdk_cursor_new_from_surface
...
We need this to be able to handle scaled cursor images.
We implement the new _from_pixbuf by converting to a surface and
assuming the scale was 1.
2013-08-07 13:34:10 +02:00
Alexander Larsson
71fe43543c
gdk: Add gdk_cursor_get_surface()
...
We want a surface so we can properly represent the scale factor for it.
All backends are converted to use surfaces and we reimplement the
backwards compat code in the generic code.
2013-08-07 13:34:10 +02:00
Alexander Larsson
54f5e4af53
gdk_pixbuf_get_from_surface: Avoid copying if source is image surface
...
If the source surface is an image surface we don't need to coerce
it to one.
2013-08-07 13:34:10 +02:00
Alexander Larsson
9bde6b10ef
gtkiconhelper: Add _gtk_icon_helper_ensure_surface to private header
2013-08-07 13:34:10 +02:00
Jasper St. Pierre
2d27e7e978
examples: Use git.mk
2013-08-07 06:18:07 -04:00
Paolo Borelli
0b200aaa32
Add gtk_list_box_prepend
...
Add a convenience method for prepending rows to a list box without
having to fiddle with a sort function.
https://bugzilla.gnome.org/show_bug.cgi?id=705558
2013-08-07 10:52:11 +02:00
Marek Černocký
cdd17183e6
Updated Czech translation
2013-08-06 20:43:27 +02:00
Chao-Hsiung Liao
110ad2a59e
Updated Traditional Chinese translation(Hong Kong and Taiwan)
2013-08-06 19:56:09 +08:00
Colin Walters
14fb34c9a9
accessibility-dump: Update expected contents
2013-08-06 11:22:59 +01:00
Colin Walters
052640bd3f
accessibility-dump: Print diff by default
...
There's just no reason not to; it makes things less tedious to
run from the command line.
2013-08-06 11:22:59 +01:00
Sébastien Wilmet
425deda2be
Improve doc of gtk_text_tag_table_remove()
...
It's obvious, but it's better to say it.
https://bugzilla.gnome.org/show_bug.cgi?id=705529
2013-08-05 23:01:37 +02:00
Alexander Larsson
0296f1a43a
gtkdnd: Use RGBA windows when dragging if possible
...
If we have rgba visuals and a composited screen we should
just use a RGBA window rather than shaped windows.
2013-08-05 16:49:18 +02:00
Alexander Larsson
499cef1bb0
css: Inherit device scale in _gtk_css_image_get_surface
...
To handle hidpi support we need to make sure we don't
downscale scaled css images.
Note: If cairo_surface_create_similar starts doing this
by itself we need to back this out.
2013-08-05 16:14:25 +02:00
William Jon McCann
8c7a8e9314
Add autoscroll when dragging past boundary of range
...
A problem with the zoom scroll mode is that you have to restart
if you hit the bottom of the screen before you hit the bottom
of your document.
This commit adds an autoscroll feature to the zoom scroll: if
you move outside the window while in zoom scroll mode, we keep
scrolling in the direction you were going until you let go
of the mouse button.
https://bugzilla.gnome.org/show_bug.cgi?id=704703
2013-08-05 08:47:27 +02:00
William Jon McCann
c3e172e546
Add press and hold support to set zoom scroll mode
...
Triggering zoom scroll mode by Shift click was too much
of an easter egg. It also requires using keyboard and
mouse together, which is hard to do for many users.
Instead, we now trigger zoom scroll mode by click-and-hold
(or touch-and-hold).
https://bugzilla.gnome.org/show_bug.cgi?id=704703
2013-08-05 08:47:27 +02:00
William Jon McCann
46302c522b
Add mouse pointer support to press and hold
...
The internal class GtkPressAndHold was so far only
reacting to touch events. But in most cases where
a touch-and-hold or 'long press' pattern is useful,
click-and-hold can also be used.
This patch makes GtkPressAndHold react to mouse
clicks as well.
https://bugzilla.gnome.org/show_bug.cgi?id=704703
2013-08-05 08:45:46 +02:00
Benjamin Berg
06430f0e67
Depend on cairo 1.12 (bug #705215 )
...
This is required for cairo_surface_create_similar_image.
2013-08-05 01:40:22 +02:00
Matthias Clasen
b38a096aee
GtkHeaderBar: optionally add a close button
...
Add a boolean property that controls whether a window close button
will be shown in the header bar or not. Doing this in the toolkit
will ensure consistency of the visual apperance.
https://bugzilla.gnome.org/show_bug.cgi?id=702971
2013-08-05 01:37:58 +02:00
Fran Diéguez
f960cb1971
Updated Galician translations
2013-08-04 19:54:00 +02:00
Benjamin Otte
40506cf648
range: Remove dead assignment
2013-08-04 17:27:30 +02:00
Gabor Kelemen
dcd5fcff20
Stop damned-lies complaining about missing .ui/.ui.h files
2013-08-04 16:44:36 +02:00
Rob Bradford
a4d9e92f66
wayland: Dispatch pending events before entering poll
...
If we don't dispatch the pending events then we can enter poll with events
still requiring to be processed and which can then lead to us deadlocking
there.
2013-08-04 14:42:14 +01:00
Rob Bradford
a8fc099a72
wayland: Only try and process keyboard events when focussed
...
When combining Clutter with GTK+ we can receive events for surfaces which in
the client side we do not have focussed.
2013-08-04 14:42:14 +01:00
Rob Bradford
3625f17857
wayland: Only try and process pointer events when focussed
...
When combining Clutter with GTK+ we can receive events for surfaces which in
the client side we do not have focussed.
2013-08-04 14:42:14 +01:00
Rob Bradford
e8e6ae8189
wayland: Only process the event if it's for a GdkWindow
...
When we combine GTK with Clutter we will receive events for both surfaces that
we have created as well as those created by Clutter.
2013-08-04 14:42:14 +01:00
Gabor Kelemen
17778499fa
Updated Hungarian translation
2013-08-04 14:32:29 +02:00
Gabor Kelemen
a541de41ca
Updated Hungarian translation
2013-08-04 12:55:17 +02:00
Marek Černocký
957938642b
Updated Czech translation
2013-08-04 09:26:43 +02:00
Cosimo Cecchi
3ebde5303a
themingengine: use gtk_icon_source_get_state_wildcarded()
...
A recent refactor of this code missed a check for the wildcarded state
on the icon source.
2013-08-04 09:19:03 +02:00
Matthias Clasen
eece18d21d
GtkTreeView: Remove a dead assignment
...
This was found by the clang static analyzer.
2013-08-04 01:27:39 +02:00
Matthias Clasen
0d999c626f
Wayland: Add a missing break statement
...
Found by the clang static analyzer.
2013-08-04 01:27:39 +02:00
Aurimas Černius
bfc8b4dd6b
Updated Lithuanian translation
2013-08-03 23:37:04 +03:00
Victor Ibragimov
edae43c920
Tajik translation updated
2013-08-04 00:37:17 +05:00
Matthias Clasen
2430496da4
Remove assertions that are no longer true
...
The GtkBuilder infobar tests were asserting facts about the
internal structure of the widget that are no longer true.
2013-08-03 18:31:09 +02:00
Kjartan Maraas
97e8614eb3
Updated Norwegian bokmål translation
2013-08-03 18:22:21 +02:00
Cosimo Cecchi
ab88110b51
iconhelper: clear the surface on invalidation
...
This was missed during the pixbuf->surface conversion, so when the state
changed we were not recreating a new surface for it.
2013-08-03 18:08:33 +02:00
Matthias Clasen
bd9ad3c9c2
Add .ui.h files to git
...
These files are generated, so adding them to git is somewhat
icky, but it helps translators who currently can't use intltool-update
on a fresh git checkout.
2013-08-03 17:26:27 +02:00
Alexander Larsson
3a0b65c5b9
x11: send monitors-changed when screen scale changes
2013-08-03 16:53:46 +02:00
Alexander Larsson
9237da2e57
x11: Update root window scale when the screen scale changes
2013-08-03 16:53:46 +02:00
Matthias Clasen
1db773cd9a
Update expected output for the infobar a11y test
...
This changed due to the recent GtkInfoBar revealer changes.
2013-08-03 15:34:46 +02:00
William Jon McCann
362d4fb686
Fix layout of infobar
...
Make sure the close button is right aligned and centered vertically.
2013-08-03 15:15:12 +02:00
William Jon McCann
041b0e1861
demo: add a multi-line infobar example
2013-08-03 15:15:12 +02:00
Christian Hergert
6424739819
searchbar: use gtk_search_bar_connect_entry() in documentation.
2013-08-03 15:13:27 +02:00
Matthias Clasen
aace5a8946
Add a revealer to GtkInfoBar
...
Make GtkInfoBar slide in and out as it is shown or hidden.
https://bugzilla.gnome.org/show_bug.cgi?id=704334
2013-08-03 09:04:47 +02:00