Carlos Garnacho
37262f9725
statusicon: Rely on GtkIconHelper for pixbuf resizes
...
The same is now achieved by forcing pixbuf rescaling on the icon helper
2012-07-13 16:56:37 +02:00
Carlos Garnacho
77221c18a3
Ensure pixbufs as entry icons get resized
...
Entries don't expand vertically if they are given pixbufs larger
than the calculated height for the current font, resulting in
cropped icons, so force the pixbuf to be rescaled so it fits
on the entry allocated size.
https://bugzilla.gnome.org/show_bug.cgi?id=678087
2012-07-13 16:56:37 +02:00
Carlos Garnacho
b5d45a9edc
Add API to force a GtkIconHelper pixbuf rescaling
...
This API is handy in entries and status icons, where the size is
limited and independent of the pixbuf size
2012-07-13 16:56:37 +02:00
Carlos Garnacho
36bcb3bf95
menu: small code cleanup
...
Don't check twice for the widget being realized to move
both windows
2012-07-13 14:49:47 +02:00
Carlos Garnacho
10fa09137e
menu: code style fix
...
The newline before != looks unintentional
2012-07-13 14:47:38 +02:00
Carlos Garnacho
ebdd60c63b
icontheme: Don't assume a symbolic icon size of 16x16
...
If the symbolic icon has other size than 16x16, the embedder
SVG that overrides colors would still force that size, resulting
in clipping instead of resizing. So fetch the original pixbuf
size the first time a symbolic icon is requested for a GtkIconInfo,
and use that size for the embedder SVG so it can be scaled properly
afterwards.
https://bugzilla.gnome.org/show_bug.cgi?id=677567
2012-07-13 14:44:05 +02:00
Carlos Garnacho
db569cbee7
introspection: mark data in GtkCallback as closure
...
This is needed for so GtkContainer::forall() can be implemented
in non-native code, and the callback gets the passed data if
called.
https://bugzilla.gnome.org/show_bug.cgi?id=644926#c28
2012-07-13 14:43:23 +02:00
Matthias Clasen
d101d4b862
Some updates
2012-07-13 08:25:17 -04:00
Andika Triwidada
4ca1ca5b39
Updated Indonesian translation of Property Nicks
2012-07-13 11:48:44 +07:00
Andika Triwidada
ed0cabf8a4
Updated Indonesian translation
2012-07-13 10:59:57 +07:00
Rob Bradford
91a11ee277
wayland: Ensure we destroy the shell surface when destroying the surface
...
Otherwise we can try and use an invalid object that the compositor has already
deleted.
2012-07-12 15:58:38 +01:00
Rob Bradford
8bd1478596
wayland: wl_shell_surface_set_popup requires a valid seat and serial
...
If we don't have our own grab then get the grab from the parent.
2012-07-12 15:58:38 +01:00
Rob Bradford
5b81186be3
wayland: Protocol update: wl_pointer_set_cursor takes a serial
2012-07-12 15:58:38 +01:00
Rob Bradford
310fd40357
wayland: Protocol update: wl_shell_surface_resize and _move take serials
2012-07-12 15:58:38 +01:00
Rob Bradford
9f039e5b74
wayland: Save the serial number for the ping event
2012-07-12 15:58:38 +01:00
Rob Bradford
a4f032f1ea
wayland: Save the serial numbers for the pointer events
2012-07-12 15:58:38 +01:00
Rob Bradford
7fe87016f3
wayland: Add internal API for handling Wayland serial numbers
...
We need to keep track of the serial numbers for various API requests.
2012-07-12 15:58:38 +01:00
Rob Bradford
17d1c3c833
wayland: Ensure that _get_client_pointer returns a pointer
...
The previous implementation could return a device that is a keyboard.
2012-07-12 15:58:38 +01:00
Rob Bradford
77791f0708
wayland: Port to libxkbcommon API changes
...
xkb_string_to_keysym -> xkb_keysym_from_name
xkb_keysym_get_name -> xkb_keysym_get_name
2012-07-12 15:58:38 +01:00
Rob Bradford
93a338245a
wayland: Switch to new wayland cursors mechanism
2012-07-12 15:58:38 +01:00
Rob Bradford
33b9f8e1b8
wayland: Protocol change: wl_buffer_damage
...
wl_buffer_damage is no longer necessary - it is sufficient to damage the
surface that the buffer is attached to instead.
2012-07-12 15:58:38 +01:00
Rob Bradford
6cdb75256e
wayland: Protocol change: configure event
...
The 'time' value has been removed.
2012-07-12 15:58:38 +01:00
Rob Bradford
0d1ae2e0dd
wayland: Protocol change: wl_shell_surface_* take surfaces for parents
...
These functions used to take shell_surface objects and now take surface
objects the parents.
2012-07-12 15:58:38 +01:00
Rob Bradford
8d7869ecbb
wayland: Remove unused variable
2012-07-12 15:58:38 +01:00
Rob Bradford
598c1b27fe
wayland: Temporary disable/hackaround keyboard code
2012-07-12 15:58:38 +01:00
Rob Bradford
f20ac38315
wayland: Port to SHM pool allocation mechanism
2012-07-12 15:58:38 +01:00
Rob Bradford
3eb0b195ed
wayland: Port to new input protocol mechanism
...
This replaces the wl_input_device with wl_pointer, wl_keyboard, wl_touch all
tied together under a wl_seat.
This is quite a radical change in protocol and for now keyboard handling is
disabled.
2012-07-12 15:58:38 +01:00
Rob Bradford
b1a5b19b4a
wayland: Load cursor theme using new Wayland cursor library
...
This requires the SHM object be initialised - therefore this is the most
logical (if slightly ugly place.)
We also need to make sure that we do something clever to load the correct
cursor theme.
2012-07-12 15:58:38 +01:00
Rob Bradford
2928ffc7b1
wayland: Remove unhelpful debug message
2012-07-12 15:58:37 +01:00
Rob Bradford
936ceb84b5
wayland: Protocol change: ping event on shell_surface
2012-07-12 15:58:37 +01:00
Rob Bradford
8d8ae74eeb
wayland: Update configure.ac to add now needed wayland-cursor
2012-07-12 15:58:37 +01:00
Rob Bradford
a9dc48ce94
wayland: Update to new header path for xkbcommon
2012-07-12 15:58:37 +01:00
Matthias Clasen
0b5f12975f
Consistently allow -1 to mean 'append' in tree models
...
Both GtkListStore and GtkTreeStore had a few methods that allowed
-1 to mean 'append' when specified as a position, but others that
demanded positive position arguments. Make this consistent by
always allowing -1.
https://bugzilla.gnome.org/show_bug.cgi?id=667808
2012-07-12 08:42:34 -04:00
Emmanuele Bassi
3d7a2d7883
Ensure that XDG_DATA_HOME is created before using it
...
The recently-used.xbel storage for recently used files is located inside
the $XDG_DATA_HOME directory; there's no actual guarantee that the
directory has been created already, even though it's very highly
probable on any modern distribution. We should create it, along with its
intermediate parents, before constructing the file monitor that we use
to get change notifications.
https://bugzilla.gnome.org/show_bug.cgi?id=671817
https://bugzilla.gnome.org/show_bug.cgi?id=667808
2012-07-12 08:42:33 -04:00
Micah Carrick
0ddb50235f
Fix typo replacing action "Parse" with "Paste"
...
The builder XML description has an action for "win.parse" but the
application is looking for "win.paste". Rename the label to
"_Paste" and the action to "win.paste" in the window action XML.
https://bugzilla.gnome.org/show_bug.cgi?id=678829
2012-07-11 07:26:19 -04:00
Phil Clayton
bd3e3974c9
Change signal parameter names in GdkWindow to be valid C identifiers
...
https://bugzilla.gnome.org/show_bug.cgi?id=679228
2012-07-11 07:24:47 -04:00
Matthias Clasen
5de021cfdc
Revert "level-bar: introduce GtkLevelBar"
...
This reverts commit 126a2308ca
.
Pushed by mistake.
2012-07-11 07:15:34 -04:00
Matthias Clasen
67d4b161ea
Revert "visuals: add a visual demo for GtkLevelBar"
...
This reverts commit ffdd7a5e18
.
Pushed by mistake.
2012-07-11 07:15:07 -04:00
Víctor Manuel Jáquez Leal
79be9a341b
docs: link against libgdk-3.la
...
https://bugzilla.gnome.org/show_bug.cgi?id=679409
2012-07-11 06:55:18 -04:00
Cosimo Cecchi
ffdd7a5e18
visuals: add a visual demo for GtkLevelBar
...
https://bugzilla.gnome.org/show_bug.cgi?id=677892
https://bugzilla.gnome.org/show_bug.cgi?id=679409
2012-07-11 06:55:17 -04:00
Cosimo Cecchi
126a2308ca
level-bar: introduce GtkLevelBar
...
Similar to CcStrengthBar from gnome-control-center, but more generic and
with thorough CSS styling support.
https://bugzilla.gnome.org/show_bug.cgi?id=677892
2012-07-10 22:41:12 -04:00
Matthias Clasen
f7683b05b1
GtkApplication: Fix unsetting menu models
...
Pointed out by Zachary Dovel in
http://bugzilla.gnome.org/show_bug.cgi?id=679705
2012-07-10 21:25:58 -04:00
Kjartan Maraas
f3e7c06a82
Updated Norwegian nynorsk translation
2012-07-10 15:17:06 +02:00
Matthias Clasen
b90f40544f
Silence the build
...
Hide gdbus-codegen behind $(AM_V_GEN) for silence and cleanliness.
2012-07-09 22:12:45 -04:00
Matthias Clasen
8142a505fc
Add missing functions to the docs
...
://bugzilla.gnome.org/show_bug.cgi?id=678828
2012-07-09 20:19:24 -04:00
Antoine Jacoutot
974212ec82
OpenBSD: use G_N_ELEMENTS instead of nitems
...
nitems is never guaranteed to be defined in sys/params.h as it is meant
to be defined within a protected ifdef __KERNEL conditional.
Use G_N_ELEMENTS from GLib which is the proper way of doing this.
2012-07-09 18:20:34 +02:00
Benjamin Otte
b900016a05
a11y: Make lockbutton notify about state changes
...
In particular, ensure that the name of the lockbutton gets updated as
the displayed text of the lockbutton changes.
https://bugzilla.gnome.org/show_bug.cgi?id=677347
2012-07-09 03:12:13 +02:00
Benjamin Otte
58cf6dfaaf
a11y: Get lockbutton text directly
...
Instead of letting the generic button code attempt to find the currently
displayed text, just return the text directly.
https://bugzilla.gnome.org/show_bug.cgi?id=677347
2012-07-09 02:58:22 +02:00
Benjamin Otte
fb1b025cbf
a11y: Add separate accessible for GtkLockButton
...
The accessible doesn't do anything yet, this is just infrastructure
work.
2012-07-09 02:29:16 +02:00
Benjamin Otte
0dbf5db0e1
a11y: Don't mess up if column gets hidden
...
We were using a function that insisted on visible columns for computing
the potential ID of an invisible column. Not good.
https://bugzilla.gnome.org/show_bug.cgi?id=675990
2012-07-09 01:28:26 +02:00