Stefan Kost
e14bf989eb
widget: more details on gtk_widget_grab_focus docs
...
Tell that widget needs to be mapped and realized.
2010-09-01 16:56:42 +03:00
Stefan Kost
076ae4f5ad
container: clarify the docs
...
Hightlight more that focus_child is a container internal thing and suggest
what application developers most likely were looking for instead.
2010-09-01 16:56:42 +03:00
Stefan Kost
d945a3cef4
container: don't leak the focus_child ref count
...
gtk_conatiner_set_focus_child() takes a ref. Release the ref in _destroy().
Fixes #414712 .
2010-09-01 16:56:34 +03:00
Ivar Smolin
a3268e29a1
[l10n] Updated Estonian translation
2010-09-01 11:24:39 +03:00
Mattias Põldaru
75fca2449f
[l10n] Updated Estonian translation
2010-09-01 11:11:39 +03:00
Lionel Landwerlin
30a52271e5
directfb: implement draw_drawable_with_src instead of draw_drawable in GdkDrawableImplDirectFB
...
This is required by the rotated button test in gtk-demo
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
2010-08-31 21:08:21 +02:00
Lionel Landwerlin
b7b9a01efb
TOFINISH: fixes on clear/scrolling
...
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
2010-08-31 21:08:21 +02:00
Lionel Landwerlin
4509240d0e
directfb: fix gdk_directfb_child_at
...
When GDK looks for the window under pointer, the gdk-directfb backend
looks at windows starting from the root window to the upper window in
the stack. For this, it looks at window's size and position. This
patch fix the assumption that windows are always natives windows from
which we can retrieve backend's private data.
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
2010-08-31 21:08:21 +02:00
Lionel Landwerlin
65f7b09b39
directfb: fix GdkPixmap creation
...
Since GDK has introduced the offscreen window concept, pixmap can be
created using drawables which aren't native windows. This patch fix
this assumption.
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
2010-08-31 21:08:21 +02:00
Lionel Landwerlin
8e958f58c9
directfb: remove useless cairo_surface cleanup
...
This is done by gdk_directfb_cairo_surface_destroy via cairo_surface_set_user_data.
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
2010-08-31 21:08:21 +02:00
Lionel Landwerlin
333d53b342
directfb: remove useless code manipulating window's private data
...
The window management code used to deal with gdk internals. It seems a
lot of code has been pushed to the generic gdk code, so we remove
useless code.
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
2010-08-31 21:08:21 +02:00
Lionel Landwerlin
737f035959
directfb: rework backend initialization a little bit
...
Make it look more like the x11 backend. Also some people reported
crash early in the backend initialization about some colormap stuff,
this should avoid the problem.
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
2010-08-31 21:08:21 +02:00
Lionel Landwerlin
2970d775ed
directfb: get rid of useless gdkWindow reference in GdkWindowImplDirectFB
...
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
2010-08-31 21:08:21 +02:00
Lionel Landwerlin
5538315d38
directfb: event manager rewrite
...
The event translation code used to deal a lot with gdk internals. It
seems a lot of code has been pushed to the generic gdk code, so we
needed to rewrite the things a little bit.
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
2010-08-31 21:08:21 +02:00
Lionel Landwerlin
ecb7734660
directfb: split gdk_directfb_event_make function
...
In prevision of coming event manager rewrite.
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
2010-08-31 21:08:21 +02:00
Lionel Landwerlin
9de2f4b9cc
directfb: get rid of abs_x,abs_y computation within the backend
...
The computation of abs_x,abs_y is done by the generic code of GDK when
events are raised. We don't care about that anymore.
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
2010-08-31 21:08:21 +02:00
Lionel Landwerlin
68ba791720
directfb: use boilerplate macros for GdkWindow
...
This patch reduce boilerplate for GdkWindowImplDirectFB using G_DEFINE_TYPE macro.
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
2010-08-31 21:08:20 +02:00
Lionel Landwerlin
4e9be0c9e9
directfb: use boilerplate macros for GdkPixmap
...
This patch reduce boilerplate for GdkPixmapImplDirectFB using G_DEFINE_TYPE macro.
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
2010-08-31 21:08:20 +02:00
Lionel Landwerlin
000b2fa22b
directfb: use boilerplate macros for GdkImage
...
This patch reduce boilerplate for GdkImage using G_DEFINE_TYPE macro.
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
2010-08-31 21:08:20 +02:00
Lionel Landwerlin
59d6e84459
directfb: drop cairo < 1.6 dependency
...
This removes the cairo's versions checks < 1.6 since GTK+ now requires
cairo >= 1.6.
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
2010-08-31 21:08:20 +02:00
Lionel Landwerlin
f8d42326ea
directfb: coding style coherency
...
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
2010-08-31 21:08:20 +02:00
Lionel Landwerlin
3c3aa2778b
directfb: add missing symbols for gdk input 2.22
...
Also make it look more like the x11 backend.
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
2010-08-31 21:08:20 +02:00
Lionel Landwerlin
8637b3eb37
directfb: drop internal reference to gdk-pixbuf
...
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
2010-08-31 21:08:20 +02:00
Fridrich Štrba
4226a6cfcd
Porting the MS Windows theme engine to cairo - Part 2 rectangle and line drawing
2010-08-31 18:03:52 +02:00
Fridrich Štrba
eea413fe9d
Porting MS Windows theme engine to cairo - Part 1: stippling
2010-08-31 18:02:31 +02:00
Philip Withnall
6e4765b1e9
Update British English translation
2010-08-31 09:40:16 +01:00
Matthias Clasen
ce41d56f73
Fix GtkStock documentation
...
After the big icon rename, all the links in the docs have to
be updated, and we need to copy the right icons.
2010-08-31 00:36:27 -04:00
Matthias Clasen
5c74a696d5
Make stock icons use standard icon names
...
At least where standard names are available, instead of relying
on a symlink forest in the icon theme directory. For directional
variants, we look up icons by the pair ("foo-rtl", "foo") or
("foo-ltr", "foo"). See bug 626474.
2010-08-31 00:34:56 -04:00
Gabor Kelemen
0499938cf8
Updated Hungarian translation
2010-08-31 02:27:53 +02:00
Gabor Kelemen
39a9857c00
Updated Hungarian translation
2010-08-31 02:19:45 +02:00
Matthias Clasen
11b47eaa54
Bump version
2010-08-30 15:07:28 -04:00
Martin Schlemmer
1402c861a9
[win32] Properly draw the menu separator for Windows Vista/7.
...
Also adds the bits for transparency.
2010-08-30 20:03:04 +02:00
Martin Schlemmer
e822af1d98
[win32] Use pango_win32_font_description_from_logfontw() to get
...
the system font, instead of the code duplication.
2010-08-30 20:00:53 +02:00
Martin Schlemmer
78d120e299
[win32] Fix some warnings related to type differences and unused variables
2010-08-30 19:59:25 +02:00
Matthias Clasen
a5ee5feed0
Update NEWS for 2.21.7
2010-08-30 13:46:08 -04:00
Szilárd Pfeiffer
65f10fb0f9
modules/other/gail/gailtogglebutton.c: Add/remove indeterminate state
...
GailToggleButton does not set/unset ATK_STATE_INDETERMINATE according to the
value of GtkToggleButton's inconsistent property.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=626537
(cherry picked from commit 86851b7ad3
)
2010-08-30 12:53:36 -04:00
Matthias Clasen
4e2ade8d6b
Make gdk_keymap_map_virtual_modifiers work early
...
It needs to ensure that we have an uptodate modmap. Bug 616401
(cherry picked from commit d5a8a3c9bc
)
2010-08-30 12:52:40 -04:00
Matthias Clasen
c9c23ef031
Remove depth restriction from gtk_combo_box_set_active_iter docs
...
While it may not work perfectly in menu mode, it works fine for
list mode. Bug 627843.
(cherry picked from commit 2766cd14ad
)
2010-08-30 12:50:25 -04:00
Andika Triwidada
d28a54e7f6
Updated Indonesian translation
2010-08-30 18:23:19 +07:00
Jorge González
50cc4896ad
Updated Spanish translation
2010-08-30 01:03:15 +02:00
Fran Diéguez
8aa07505ae
Updated Galician translations
2010-08-29 22:44:50 +02:00
Philip Withnall
818ef9aaf6
Miscellaneous string fixes
...
Mostly capitalisation fixes. Closes: bgo#528257
2010-08-29 19:05:26 +01:00
Philip Withnall
77d28e3104
Miscellaneous property string fixes
2010-08-29 19:02:00 +01:00
Fridrich Štrba
895b9ff43f
A proper fix for win32 build
2010-08-29 18:16:58 +02:00
Fridrich Štrba
af44019baf
Revert "Fix windows build of the branch"
...
This reverts commit c7e650ae5d
.
2010-08-29 18:16:19 +02:00
Hans Breuer
17269e6c1d
win32: Fix a bunch of c99isms
...
With c89 (which msvc implements) variables still need to be
declared at the beginning of a block.
2010-08-29 14:31:06 +02:00
Hans Breuer
707f1a9a84
win32: Further fixing _gdk_window_impl_new()
...
- attributes->wclass is not consistently set anymore,
use private->input_only instead [1]
- don't put window into parent->children a second time
(now there is no window reference problem anymore)
2010-08-29 14:22:08 +02:00
Matthias Clasen
91ce32602a
Use G_PARAM_DEPRECATED for deprecated shadow properties
...
These have been deprecated for a long time, marking them as such
will make diagnostic mode more useful.
2010-08-28 17:28:59 -04:00
Fridrich Štrba
c7e650ae5d
Fix windows build of the branch
2010-08-28 18:50:45 +02:00
Philip Withnall
a1e8ea6b7f
Update British English translation
2010-08-28 16:05:08 +01:00