Matthias Clasen
0b3710d762
Fix doc format problems
2011-01-30 00:04:04 -05:00
Matthias Clasen
e8a0f3cfb8
Fix the build
2011-01-29 23:52:32 -05:00
Matthias Clasen
0b5a530ef1
More updates
2011-01-29 23:33:56 -05:00
Matthias Clasen
bb8e1c67c6
Check if buffer is NULL after setting it to NULL, not before.
...
This catches cases when "notify::buffer" handler does not recreate
the buffer again, which could end in reference leak.
https://bugzilla.gnome.org/show_bug.cgi?id=634677
(cherry picked from commit d688343a31
)
2011-01-29 23:33:56 -05:00
Luca Ferretti
840c9aa8d9
Updated Italian translation
2011-01-29 16:04:11 +01:00
Luca Ferretti
f80f4f5ce3
Updated Italian translation
2011-01-29 16:04:11 +01:00
Matthias Clasen
6dd57dfe65
Updates for 2.24.0
2011-01-28 23:19:39 -05:00
Matthias Clasen
7cda5b54fb
Bump version to 2.24.0
2011-01-28 23:19:14 -05:00
Ignacio Casal Quinteiro
b08b4cccc5
Remove gtk_paste_point_override mark if we don't insert any text.
...
This patch fixes bug #590459 .
2011-01-28 13:29:10 +01:00
Martin Pitt
461d71f6aa
[GI] Fix gtk_tree_view_get_cursor() transfer annotation
2011-01-26 14:41:09 +01:00
Martin Pitt
a33dceee4b
[GI] Backport transfer annotations
2011-01-26 14:10:12 +01:00
Pavel Holejsovsky
5cded4d5e2
[GI] Add missing (transfer) annotations
...
Backported from master commit 2f0d40335b
.
2011-01-26 12:49:08 +01:00
Pavel Holejsovsky
9b2457a671
[GI] Fixes of existing incorrect annotations
...
Backported from master commit 3c8fc21e9b
.
2011-01-26 12:29:21 +01:00
Matthias Clasen
0455bcfda4
Expose gtk-auto-mnemonics as an Xsetting
2011-01-23 16:58:50 -05:00
Matthias Clasen
a5d35b95f0
Default target version of gtk-builder-convert should be 2.0
2011-01-23 16:52:40 -05:00
Johan Dahlin
c44fe0bc54
Add a couple of missing annotations
...
Backported from master commit 19cab17c
.
2011-01-17 14:12:24 +01:00
Christian Persch
164149a8dc
Add target version handling to gtk-builder-convert
...
When converting to gtk3, replace GtkComboBoxEntry with GtkComboxBox
has-entry=True, and remove the has-separator property from GtkDialogs.
Bug #639327 .
2011-01-17 07:48:34 -05:00
Martin Pitt
78a4b090e2
Gtk{List,Tree}Store: Fix GI array annotations
2011-01-15 15:34:00 -06:00
Matthias Clasen
dfa1ea8245
Add accessors for GtkRange::round-digits
...
Patch by Christian Dywan,
https://bugzilla.gnome.org/show_bug.cgi?id=351755
2011-01-15 00:26:08 -05:00
Tomeu Vizoso
f40a129e28
gtk_tree_model_iter_next's iter is (in), not (inout)
2011-01-10 15:51:22 -06:00
Martin Pitt
e48f5b4073
Backport a lot of GI transfer annotations
...
This dramatically improves using GTK2 with g-i.
Taken from master commit e0aa12eb0a
without the non-documentation changes.
2011-01-10 14:43:00 -06:00
Tristan Van Berkom
cc44561b61
Added GtkBuildable support for specifying <items> in GtkComboBoxText.
...
Conflicts:
gtk/gtkcomboboxtext.c
2011-01-10 22:43:57 +09:00
Tristan Van Berkom
ff780aa35e
Added GtkBuildable support to add "tag" children to GtkTextTagTable.
...
Conflicts:
gtk/gtktexttagtable.c
2011-01-10 22:39:05 +09:00
Tristan Van Berkom
737941b333
Added GtkBuilder support for "menu" child type of GtkMenuToolButton
...
Conflicts:
gtk/gtkmenutoolbutton.c
2011-01-10 22:31:25 +09:00
Martin Pitt
e361e38e09
Fix GI annotation of GtkTreeModelFilter
...
Cherrypicked from master commit e0aa12eb
.
2011-01-09 22:10:49 -06:00
John (J5) Palmieri
8253735ed1
Add GtkBuilder and GtkDialog annotations for tranfer and scope
...
Cherrypicked from master commit c78a23bd
.
2011-01-09 21:56:49 -06:00
Martin Pitt
caf389649a
Fix GtkMessageDialog annotations
...
Cherrypicked from master commit e0aa12eb
.
2011-01-09 21:39:15 -06:00
Tomeu Vizoso
1435dcc1cb
The 'len' argument of gtk_text_buffer_insert and gtk_text_buffer_insert_at_cursor isn't really the length of the 'text' argument
...
(Cherrypicked from master commit 24d8c776d4
)
2011-01-09 21:34:13 -06:00
Martin Pitt
4ea1f5e15e
Fix gtk_icon_theme_load_icon annotation
...
Cherrypicked from master (e0aa12eb0a
) to fix return value transfer annotation.
2011-01-09 13:04:09 -06:00
Alan Knowles
a59f254fad
Fix various gir annotations on tree API
...
Just add (out) tags where needed to generate valid gir.
2011-01-09 12:47:01 -06:00
Martin Pitt
af45513d78
Add GtkRadioButton constructor GI annotations
...
Taken from GTK 3. This allows programs to sensibly use radio buttons with
either GTK2 or GTK3 with g-i.
2011-01-09 12:15:03 -06:00
Bruce Cowan
5ad3a3b440
Updated British English translation
2011-01-07 23:10:46 +00:00
Matthias Clasen
f54ad24ec2
bump version
2011-01-06 17:29:24 -05:00
Matthias Clasen
832f1de519
Fix symbol lists
2011-01-06 17:27:05 -05:00
Matthias Clasen
9c1b0e4cc0
Update the NEWS
2011-01-06 14:19:09 -05:00
Matthias Clasen
b9c9919fe2
Mention gvfs in the gtk_show_uri() docs
...
https://bugzilla.gnome.org/show_bug.cgi?id=622125
2011-01-06 13:00:07 -05:00
Matthias Clasen
e00c9fbc18
Some documentation improvements for gtk_init/gtk_parse_args
...
https://bugzilla.gnome.org/show_bug.cgi?id=562182
2011-01-06 12:58:52 -05:00
Matthias Clasen
fda6444216
Document DESKTOP_STARTUP_ID use
...
Closes https://bugzilla.gnome.org/show_bug.cgi?id=165987
2011-01-06 12:58:30 -05:00
Milan Bouchet-Valat
67d042f02b
GtkComboBox(Text): Add documentation about the entry
2011-01-06 12:57:59 -05:00
Matthias Clasen
ed4605e597
cups printbackend: create a pdf surface when appropriate
...
This should address bug 560177.
Based on a patch by Adrian Johnson.
2011-01-06 12:53:03 -05:00
Matthias Clasen
2cf66d39e4
Remove gtk_printer_new from gtkprintbackend.h
...
The function has been in gtkprinter.h forever.
2011-01-06 12:52:26 -05:00
Adrian Johnson
0c6d327a25
Set file GtkPrinter accepts_pdf/ps based on selected format
2011-01-06 12:52:17 -05:00
Adrian Johnson
7de568a2ae
Set "accepts-pdf" property to true only if supported by the print backend
2011-01-06 12:52:09 -05:00
Matthias Clasen
3241efa11c
Deprecated long-obsolete linux-fb related GtkWindow API
2011-01-06 12:48:23 -05:00
Matthias Clasen
472aeda2e0
Bump version to 2.23.90
2011-01-06 12:17:28 -05:00
Adel Gadllah
6490a22aaf
GdkX11dnd: Fix build issue
...
I messed up while rebasing the window caches patch.
2011-01-05 17:54:29 +01:00
Matthias Clasen
644f25c497
Decouple GdkWindowCache life-cycle from GdkX11DragContext
...
By making window caches refcounted. This fixes problems with leaking
drag contexts, as experienced in
https://bugzilla.gnome.org/show_bug.cgi?id=637691
and
https://bugzilla.gnome.org/show_bug.cgi?id=144324
Based on a patch by drago01@gmail.com
2011-01-05 17:37:37 +01:00
Benjamin Otte
54a07580c0
range: Deprecate update policies.
...
They're gonna be removed from GTK3.
2011-01-05 14:53:15 +01:00
Murray Cumming
87285bc8bf
gdk_spawn* deprecation docs: Mention actual replacement functions.
2011-01-05 01:34:49 +01:00
Benjamin Otte
882db1cf5f
gdk: Remove GTK_COMPILATION checks from headers
...
Now that gtk doesn't compile with GDK_DISABLE_DEPRECATED anymore,
they're not needed.
2011-01-03 19:07:07 +01:00
Benjamin Otte
79b4c34a8f
gtk: Remove GDK_DISABLE_DEPRECATED from compilation flags
...
With the recent deprecations going on, a lot of code doesn't compile
without warnings anymore. And instead of fixing maintenance-only code,
it's easier to just keep calling deprecated functions.
2011-01-03 19:07:07 +01:00
Benjamin Otte
fb2eb5f1aa
tests: Remove gtk_set_locale() calls
...
They are unnecessary and cause compilation warnings due to deprecations.
2011-01-03 19:07:07 +01:00
Benjamin Otte
9591369339
gdk: Deprecate gdk_display_set_pointer_hooks()
2011-01-03 19:07:07 +01:00
Benjamin Otte
b225585844
gdk: Deprecated gdk_set_pointer_hooks()
2011-01-03 19:07:07 +01:00
Matthias Clasen
6f776f0814
Scale down print dialog size
...
Shrink the preview display a little to make the print dialog
fit on a typical netbook screen.
https://bugzilla.gnome.org/show_bug.cgi?id=637958
2011-01-03 12:54:48 -05:00
Matthias Clasen
171bac4626
GtkBuilder migration docs: remove reference to a fixed issue
2011-01-03 12:21:52 -05:00
Matthias Clasen
f9dd531bc9
Don't use deprecated API
...
This should fix copy/paste problems observed with 2.23.3, as seen
eg in http://bugzilla.gnome.org/show_bug.cgi?id=637973
2010-12-27 19:06:18 -05:00
Matthias Clasen
c76b247da5
Revert some over-eager deprecation removal
...
We can't replace drawable api with window api when the object
is actually a pixmap.
2010-12-27 18:16:14 -05:00
Murray Cumming
e369d70dd6
Fix typos in 2 gobject-introspection annotations.
2010-12-27 20:57:14 +01:00
Alejandro Piñeiro
1e93d01d47
Clean the code to check the redundan object on the show watcher
...
The watcher doesn't add a window if is a redundant object. This
patch fixes two things:
* The check was made twice.
* It uses a check with the string "redundant object", when the
defined role ATK_ROLE_REDUNDANT_OBJECT is available
2010-12-27 16:37:28 +01:00
Alejandro Piñeiro
1e196b39b8
Proper connection to a toplevel window destroy signal
...
Only connect to the destroy of a toplevel window if it was
really added to the toplevel list of windows.
The destroy callback was added to remove the window from
the toplevel list. The callback doesn't cause a error,
but would iterate on the toplevel list without success.
2010-12-27 16:37:09 +01:00
Tor Lillqvist
be8c0e4734
No fsync on Windows
2010-12-27 11:31:37 +02:00
Tor Lillqvist
9fb03bb402
Export gdk_x11_ functions only on X11
2010-12-27 11:30:07 +02:00
Matthias Clasen
120915d6de
Reinstate the implementation of gdk_window_foreign_new_for_display
...
This was accidentally dropped when introducing
gdk_x11_window_foreign_new_for_display().
2010-12-23 11:58:26 -05:00
Matthias Clasen
e2361108f4
Document that keymap functions will stop accepting NULL
2010-12-23 10:15:59 -05:00
Matthias Clasen
b447cd972e
Fix a typo in GtkCombo
...
There is no GtkButton::depressed signal.
Reported by Nicolas Setton in bug 633089.
2010-12-22 14:53:13 -05:00
Matthias Clasen
8bccb1ecf1
Bump version
2010-12-21 23:19:09 -05:00
Matthias Clasen
5383f20c7e
Update NEWS
2010-12-21 21:46:11 -05:00
Matthias Clasen
3e9dc75768
Fix another typo
2010-12-21 18:06:54 -05:00
Matthias Clasen
8ad1c959ef
Fix a typo
2010-12-21 11:35:38 -05:00
Matthias Clasen
dd05e41475
Deprecate gdk_xid_table* functions
2010-12-21 09:54:15 -05:00
Matthias Clasen
7b1c38b57c
Deprecated gdk_drag_find_window and gdk_drag_get_protocol
2010-12-21 09:54:15 -05:00
Matthias Clasen
a88f8e4c57
Deprecate gdk_drag_context_new
2010-12-21 09:54:15 -05:00
Matthias Clasen
bad6d00966
Deprecate some gdk text conversion routines
...
And add x11-specific replacements for them
2010-12-21 09:54:15 -05:00
Matthias Clasen
e65e208d40
Deprecate gdk_set_locale and gtk_set_locale
2010-12-21 09:54:14 -05:00
Matthias Clasen
6250c1dbe1
Deprecate gdk_net_wm_supports
2010-12-21 09:54:14 -05:00
Matthias Clasen
dd1de27061
Deprecate gdkx_visual_get
2010-12-21 09:54:14 -05:00
Matthias Clasen
08e4a60de1
Deprecate gdk_spawn apis
2010-12-21 09:54:14 -05:00
Matthias Clasen
2f8c78ddc5
Deprecate foreign window apis
...
And add x11- and win32-specific apis for these at the same time
2010-12-21 09:54:14 -05:00
Matthias Clasen
0f8251da61
Deprecate gdk_set_sm_client_id
...
And add a gdk_x11_set_sm_client_id to replace it.
2010-12-21 09:54:13 -05:00
Matthias Clasen
3bdd56c928
Add some forgotten accessors for GdkDragContext
...
These fields are accessed in gtk.
2010-12-21 09:54:13 -05:00
Matthias Clasen
b2bd11618f
Don't access GdkDragContext fields directly
...
Instead use the accessors.
2010-12-21 09:54:13 -05:00
Carlos Garcia Campos
55cf284749
printing: Set new print operation settings before emitting custom-widget-apply signal
...
So that custom settings can be added from the custom-widget-apply
callback.
https://bugzilla.gnome.org/show_bug.cgi?id=637069
2010-12-20 21:09:16 +01:00
Tristan Van Berkom
53ff5679f7
Fixed gtk_entry_set_icon_tooltip_text & markup to not crash
...
Setting this property before the icon is actually set was
resulting in a crash (found by way of Glade bug 606103).
2010-12-17 18:17:45 +09:00
Matthias Clasen
c282958fb4
Optimize gdk_window_set_shape_combine_region
...
When setting no shape on an unshaped window, nothing changes,
so return early instead of recomputing lots of visibility
information.
Pointed out by Owen Taylor in bug 637156.
2010-12-14 22:24:09 -05:00
Matthias Clasen
64f2460b7b
Deprecate gtk_widget_reset_shapes
...
This function has been removed in GTK+ 3
2010-12-14 22:18:41 -05:00
Tristan Van Berkom
fced380ec9
gtktoolitemgroup: don't use GTimeSpec
...
Use gint64 time instead.
Conflicts:
gtk/gtktoolitemgroup.c
2010-12-15 01:07:06 +09:00
Martyn Russell
512d29e53a
gtk-faq: Fix all information related to CVS
...
Fixes bug #636832 , anoncvs.gnome.org does not exist
2010-12-09 23:47:31 +00:00
Matthias Clasen
098e02c29d
Revert b3c5232a9b
...
This causes warning and breaks e.g. the mozilla build.
2010-12-04 18:35:03 -05:00
Matthias Clasen
b2274ba08a
Avoid delays in starting applications
...
Only query file info once, and don't do it for non-native files, since
that may cause sync network IO.
Bug http://bugzilla.gnome.org/show_bug.cgi?id=635588
2010-11-29 21:08:59 +01:00
Murray Cumming
6e2573fd76
gtk_combo_box_get_active_text(): Fix my docs typo.
2010-11-25 12:28:15 +01:00
Murray Cumming
36a1730bb8
gtk_combo_box_get_active_text(): Documentation: Restore old text.
...
Bring back the note about using this with GtkComboBoxEntry because
otherwise it is a change of behaviour in the stable branch. This does
apparently still work because the get_active_text vfunc is implemented
in GtkComboBoxEntry.
Also make the deprecation note more helpful, giving a hint about what
to do in both cases. Note that the advice is ugly for the
GtkComboBoxEntry case and I wish there was real API for that.
2010-11-25 11:58:47 +01:00
Michael Natterer
b3c5232a9b
Bug 565665 - GtkTargetEntry member target should be const char *
2010-11-24 21:01:10 +01:00
Michael Natterer
d0f2b13309
gdk: add gdk_device_get_n_keys() to access the sealed num_keys member
2010-11-24 20:15:29 +01:00
Benjamin Otte
07c00b9969
gtk: Deprecate GtkRuler and subclasses.
...
They have been removed fom GTK 3.
2010-11-24 17:26:09 +01:00
Colin Walters
058ff14ac8
iconcache: Ensure we don't lose data on power loss
...
fsync() should ensure our data hits disk; since corrupt icon
caches break all apps, we need to ensure it's valid.
https://bugzilla.gnome.org/show_bug.cgi?id=635307
2010-11-22 13:46:10 -05:00
Michael Natterer
7f6b9ce7f5
gtk: draw the frame around the spinbutton's buttons conditionally
...
(depending on GtkEntry::has-frame)
2010-11-19 14:54:41 +01:00
Benjamin Otte
3024081928
tests: Remove broken ellipsise test
2010-11-18 17:47:43 +01:00
Benjamin Otte
516a6d8495
testgtk: Make it compile with warnings enabled
...
The code is pretty hairy, so it'll probably not work. But at least it
won't crash.
2010-11-18 17:47:43 +01:00
Benjamin Otte
f27b33b40e
tests: Don't clip in offscreenbox test
...
The clipping is unnecessary
2010-11-18 17:47:43 +01:00
Benjamin Otte
b91b0ebbd7
tests: Remove unused variable
2010-11-18 17:47:43 +01:00
Benjamin Otte
931d93d9a4
tests: Define GTK_DISABLE_DEPRECATED in statusicon test
...
We support blinking in that test...
2010-11-18 17:47:43 +01:00
Benjamin Otte
5101c0d469
gail: Use non-deprecated gdk_pixmap_get_size()
2010-11-18 17:47:43 +01:00
Benjamin Otte
b70f365c22
gail: Use gdk_window_get_screen()
2010-11-18 17:47:43 +01:00
Benjamin Otte
55b88f1779
tests: Add a hack to silence gcc
2010-11-18 17:47:43 +01:00
Benjamin Otte
b38249b35c
gtkrc: Crude hack to silence gcc 4.5 enum warnings
2010-11-18 17:47:43 +01:00
Benjamin Otte
02ae5c8cdf
iconview: Correct type of enum variable
...
Thanks gcc!
2010-11-18 17:47:43 +01:00
Benjamin Otte
f0ff8dfd0f
bindings: Crude hack to silence gcc 4.5 enum warnings
2010-11-18 17:47:43 +01:00
Benjamin Otte
adfcc91be6
iconfactory: Silence gcc warning
2010-11-18 17:47:42 +01:00
Benjamin Otte
3770f98e7b
filechooser: Remove unused variables
2010-11-18 17:45:14 +01:00
Benjamin Otte
49b7cef2c3
aboutdialog: Remove unused function
2010-11-18 17:45:14 +01:00
Benjamin Otte
795e1b77e3
gtk-demo: offscreen examples use deprecated functions
2010-11-18 17:45:14 +01:00
Benjamin Otte
5f044d33ef
gtk-demo: Remove unused functions
2010-11-18 17:45:14 +01:00
Benjamin Otte
9e91b6557a
cups: Add hack to work around gcc warning
...
gcc warns if you switch on values that are not part of the enum you're
switching on. So handle those cases in the default handler by using if
statments.
PS: Someone file a bug against cups about this?
2010-11-18 17:45:14 +01:00
Benjamin Otte
176218c5a0
API: Add gdk_pixmap_get_size()
...
Allows querying a pixmap's size when compiling with deprecations.
2010-11-18 17:45:14 +01:00
Kjartan Maraas
174158bf9c
Updated Norwegian bokmål translation
2010-11-18 14:09:35 +01:00
Michael Natterer
2ab90f5d65
gdk: cast impl to GdkWindow* when calling gdk_drawable_get_size()
2010-11-18 13:24:51 +01:00
Michael Natterer
95f588dc78
gtk: draw the progress only on the text area
...
so it doesn't extend under GtkSpinButton's buttons.
2010-11-16 19:28:12 +01:00
Federico Mena Quintero
10d541b8b6
bgo#634558 - filechooser - Actually focus the Search entry when selecting the Search shortcut
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2010-11-16 11:01:37 -06:00
Javier Jardón
70929bc7ba
Deprecate GtkCallbackMarshal and GtkFunction
...
As they're only used by already deprecated API
https://bugzilla.gnome.org/show_bug.cgi?id=629955
2010-11-16 07:24:22 +01:00
Bastien Nocera
df08bc43ec
gdk: Add XSetting for "gtk-cursor-blink-timeout"
...
Otherwise the blink timeout is the one used by default in GTK+.
https://bugzilla.gnome.org/show_bug.cgi?id=634697
2010-11-15 17:20:02 +00:00
Fan, Chun-wei
f03eca7b1d
gtktoolitemgroup: Update to new Glib api
...
Also, bump required Glib version to 2.27.3
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=634882
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-11-15 16:21:17 +01:00
Petr Kovar
513befc4f2
Update Czech translation
2010-11-15 06:21:23 +01:00
Matthias Clasen
7f85787916
Bump version
2010-11-10 10:22:47 -05:00
Matthias Clasen
e01ae1ee12
Bump version to 2.32.2
2010-11-10 09:22:51 -05:00
Matthias Clasen
675cbdc163
Update NEWS for 2.32.2
2010-11-10 09:22:30 -05:00
Matthias Clasen
1fb94a8410
autogen: allow libtool 2.4
...
Proposed by Jürg Billeter
2010-11-10 09:21:10 -05:00
Jürg Billeter
4773148f1a
Use more gdk_window_ accessors instead of gdk_drawable_ accessors
...
This fixes compile-time warnings and crashes on 64-bit systems.
2010-11-10 09:09:38 -05:00
Matthias Clasen
75a1102901
NEWS for 2.23.1
2010-11-10 09:00:20 -05:00
Cosimo Cecchi
6400a3281b
icon-theme: always force icon sizes for emblems
...
https://bugzilla.gnome.org/show_bug.cgi?id=634060
2010-11-10 09:00:20 -05:00
Cosimo Cecchi
bfa741bace
icon-theme: support pixbufs implementing the GIcon interface
...
https://bugzilla.gnome.org/show_bug.cgi?id=634060
2010-11-10 09:00:20 -05:00
Matthias Clasen
779f4e10be
GtkComboBox: Add a constructor that takes a model and adds an entry
...
https://bugzilla.gnome.org/show_bug.cgi?id=633050
2010-11-10 09:00:19 -05:00
Chun-wei Fan
eb6cce1675
gtk-demo.vcproj: Fix linking options
...
-made up for missed libraries and wrong subsystem settings on non-Debug|win32 configs
2010-11-10 09:17:31 +08:00
Chun-wei Fan
f9220cbd59
gdk.vcprojin: Fixed for coming 2.24 release
...
-Included .rc file
-made up for missed libraries in linking for configs other than Debug|Win32
2010-11-10 09:14:42 +08:00
Chun-wei Fan
6e93a0ae28
gtk+.vcprojin: Update for the coming 2.24 release
...
-update .def generation for Win64
-included .rc file for version info
-remove GDK-Pixbuf as they are now referenced in the property sheet
2010-11-10 09:10:11 +08:00
Chun-wei Fan
e9393ed855
gtk+.sln: Remove all Gdk-Pixbuf compilation stuff for 2.24
...
Gdk-Pixbuf is now in a package of its own, so remove them here
2010-11-10 09:03:13 +08:00
Chun-wei Fan
a0693b4c57
gtk+.vsprops: Update for the coming 2.24
...
-Removed installation of gdkprivate.h and gtkprivate.h
-purge GDK-Pixbuf compilation stuff and added it as a dependency
-install demo program and demo sources and data in bin\gtk-demo
-made up for missing headers
2010-11-10 09:00:23 +08:00
Benjamin Otte
bf395263b2
gdk: Use the correct surface size when creating surfaces
...
Previously we used the size of the csw window, which could easily be
huge and cause CAIRO_SURFACE_INVALID_SIZE errors. If we use the real
size, we work around this problem. The surface can now potentially be
bigger than before but we should handle that when clipping in csw.
https://bugzilla.gnome.org/show_bug.cgi?id=633701
2010-11-08 16:14:14 -05:00
Hans Breuer
1050485a13
Prefer MessageBeep() over Beep()
...
Only the former respects the sound volume setting. If MessageBeep() fails fall back to the latter.
(cherry picked from commit 5e59db1554
)
2010-11-07 22:38:20 +01:00
Hans Breuer
8a9d458baf
Bug 609622 - disappearing statusicon
...
Windows 7 is managing status icon visibility across process lifetime,
which did not work with GTK+ create icons. Apparently the mechanism
does not require use of new API (like suggested by MSDN), but it is
enough to give a "unique" tooltip at creation time.
Formerly this initial tooltip was not set at all, later setting via
gtk_status_icon_set_tooltip_text() is not enough, but luckily
different follow-up tooltips don't disturb the intended behavior.
(cherry picked from commit ae0544c636
)
2010-11-07 22:37:19 +01:00
Hans Breuer
230e3a3a99
win32: Update msvc build
2010-11-07 22:36:46 +01:00
Christian Dywan
6a80d40154
Only show Desktop in file chooser button if there is one
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=632894
2010-11-03 19:23:48 +01:00
Takayuki KUSANO
6e6b82abb9
Updated Japanese translation
2010-11-03 08:59:35 +09:00
Emmanuele Bassi
7825f01b2f
recent-manager: Add migration to the new storage file location
...
The recently-used.xbel file location has been moved from $HOME to
$XDG_DATA_DIR, to be compliant with the desktop bookmark specification
and with other desktop environments following it.
The effective change was done in gtk+-3, but we need a migration path
for gtk+-2.
The possible cases are:
• the old file is not present, so we just switch to the new one;
• the old file is present, but the new one is not; in this case
we rename the old file to the new one.
• both the old file and the new file are present; in this case,
we try a simple merge of the contents and remove the old file.
The merge is the (obviously) more expensive option, but it should only
happen once.
https://bugzilla.gnome.org/show_bug.cgi?id=633242
2010-10-31 14:30:59 +00:00
Martin Nordholts
78bb09c5a1
Handle NULL intp in test_increment_intp()
...
Support passing NULL for &int to gtk_test_display_button_window() so
we can use that function also when we are not interested in counting
clicks.
2010-10-31 00:08:16 +02:00
Kristian Rietveld
15eecb1645
quartz: release pattern in GC finalize
2010-10-24 14:39:52 +02:00
Kristian Rietveld
dfd7e05123
quartz: Reset drawable on pattern callback info when gc is updated
2010-10-24 14:39:52 +02:00
Kristian Rietveld
b0a17e5a37
Pass pixmap to _gdk_pixmap_get_cgimage() and not the impl
2010-10-24 14:39:52 +02:00
Javier Jardón
1d444d8def
gtkwidget: Properly deprecate gtk_widget_hide_all
...
This really fixes commit 7b5b230ead
2010-10-20 18:33:51 +02:00
Javier Jardón
508f727665
gtkwidget: The deprecated function is gtk_widget_hide_all not gtk_widget_hide
...
This fixes commit 7b5b230ead
2010-10-19 20:21:13 +02:00
Cody Russell
7b5b230ead
Deprecate gtk_widget_hide_all().
2010-10-19 19:54:32 +02:00
Kristian Rietveld
f62b56194b
quartz: Always use generic color space
...
Switch all usage of device color spaces to generic color spaces. Since
the former color spaces are no longer device-dependent as of Mac OS X
10.4, these yielded a very costly color space conversion when drawing
pixmaps to the screen. We now avoid this by using the generic color
space.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=624025
2010-10-19 10:41:01 +02:00
Kristian Rietveld
e6e9eef855
Rework GdkPixmapImplQuartz to create CGImage on-demand
...
If the data that backs a bitmap context changes, then the CGImage that
is backed by this data might not always update due to caching effects.
By creating the CGImage on-demand, we ascertain ourselves that the
CGImage is up to date.
2010-10-19 10:40:48 +02:00
Kristian Rietveld
3258af741e
Use gdk_window_ accessors instead of gdk_drawable_ accessors if possible
...
The gdk_drawable_ accessors were deprecated. Removes a lot of
compile-time warnings and eventually also makes things work again
on Mac (miscompile due to the missing prototypes).
2010-10-19 10:37:15 +02:00
Bastien Nocera
51dcd09950
testgtk: Fix build
2010-10-18 17:37:32 +01:00
Matthias Clasen
b94372f199
Don't add a second cell renderer
...
When has-entry is TRUE, GtkComboBox already adds a cell renderer
for the text column, so avoid adding a second one in GtkComboBoxText.
https://bugzilla.gnome.org/show_bug.cgi?id=632381
(cherry picked from commit b613cc6478
)
2010-10-18 08:19:59 -04:00
Matthias Clasen
5e94e36f9a
Use new GtkComboBoxEntry in all tests
...
(cherry picked from commit 6db62c6617
)
2010-10-18 08:17:50 -04:00
Christian Dywan
883835d17b
Don't use old GtkComboBoxEntry in gail
...
Use gtk_combo_box_get_has_entry instead.
(cherry picked from commit f891c58432
)
2010-10-18 08:16:18 -04:00
Matthias Clasen
3a90254369
Bump version to 2.23.1
2010-10-16 17:41:15 -04:00
Matthias Clasen
0200763126
Fix header inclusions for !srcdir builds
2010-10-16 16:53:44 -04:00
Matthias Clasen
d14ecbeba9
Update NEWS for 2.23.0
2010-10-16 13:35:28 -04:00
Matthias Clasen
d929bffd25
Fix some issues with GtkComboBoxText
2010-10-16 08:03:58 -04:00
Matthias Clasen
ea0170250a
Fix build
2010-10-16 01:11:45 -04:00
Marek Kasik
5045337162
Parse lpoptions correctly
...
Parse options job-sheets, job-hold-until and sides correctly.
Add get_lpoption_name() for translation of lpoption names to
gtk option names. Usable for options which values don't need
conversion (e.g. number-up, number-up-layout, job-billing
and job-priority).
Rename array option_names to ppd_option_names to reflect its
purpose better. Rename get_option_name() to get_ppd_option_name()
because of the same reason.
(cherry picked from commit 95e69afea8
)
2010-10-16 01:11:44 -04:00
Christian Dywan
d942045c10
Use property system to coerce model data to G_TYPE_STRING
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=423201
2010-10-16 01:11:44 -04:00
Matthias Clasen
009ea42112
Add docs for GtkComboBoxText
...
(cherry picked from commit 3e9bdf6fd9
)
2010-10-16 01:11:44 -04:00
Matthias Clasen
f76c62929a
Deprecate the old combobox text convenience api
...
(cherry picked from commit 43250e8faf
)
2010-10-16 01:11:44 -04:00
Matthias Clasen
b68d58c0b1
Use the new GtkComboBoxText API
...
Also remove mentions of the old text convenience API from the docs,
and point to GtkComboBoxText instead.
(cherry picked from commit e7f51ef6a4
)
2010-10-16 01:11:44 -04:00
Christian Dywan
406c9c9c68
Added GtkComboBoxText api
...
This is a derived class of GtkComboBox to replace the
gtk_combo_box_*_text() convenience API.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=612396
Signed-off-by: Javier Jardón <jjardon@gnome.org >
(cherry picked from commit 7a5a5e9c5d
)
2010-10-16 01:11:44 -04:00
Javier Jardón
44e186658b
docs: update OSX port project page
2010-10-16 01:11:44 -04:00
Christian Persch
2a646c1d21
Take cursor hotspot from pixbuf if available
...
Allow -1 for the hotspot coordinates in gdk_cursor_new_from_pixbuf,
if the pixbuf contains the x_hot/y_hot options with appropriate values.
Bug #632140 .
2010-10-16 01:11:43 -04:00
Matthias Clasen
6a2524324f
Deprecate gtk_init_add, gtk_remove_add and friends
...
This functions are going to be removed in GTK+ 3.
https://bugzilla.gnome.org/show_bug.cgi?id=629955
2010-10-16 01:11:43 -04:00
Federico Mena Quintero
caf38fc213
Part of bgo#613728 - [GtkTreeView] Focus the list, not the headers, when Tab-focusing
...
The idea is that it is way more common to want to manipulate the
actual list, rather than the headers. Once you Tab into the treeview
(and the list part gets the focus), you can use Shift-Tab to focus
the headers.
This means that some hysteresis is added to the focus chain, but
it makes the treeview a lot more convenient to focus with the keyboard.
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2010-10-14 13:23:04 -05:00
Matthias Clasen
880c9d82ec
Deprecate GtkComboBoxEntry in favor of added properties to GtkComboBox
...
GtkComboBox now sports a construct-only "has-entry" property which
decides if it uses a GtkEntry to allow additional user input. Also
it has a new "entry-text-column" to fetch strings for the entry
from the model.
This patch deprecates the GtkComboBoxEntry and updates the rest of GTK+
to use the new semantics on GtkComboBox instead.
(cherry picked from commit 9612c64817
)
2010-10-13 22:43:40 -04:00
Matthias Clasen
9f08f69f4b
Don't use newly deprecated gdk_drawable apis
...
https://bugzilla.gnome.org/show_bug.cgi?id=631697
2010-10-08 14:39:17 -04:00
Federico Mena Quintero
5350edbb2c
Filechooser - In OPEN or SAVE mode, typing a plain folder name should switch to it
...
If you type 'subfolder/' and hit Enter, the file chooser will switch you to
it. But if you type just 'subfolder' without the trailing slash, apps would
receive *that* filename (e.g. file:///foo/bar/subfolder) as the response, and
they would likely print an error that they can't open that file (as it is
a folder). So, we change the file chooser's current folder to that subfolder
in this case.
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2010-10-06 12:59:44 -05:00
Javier Jardón
463e6843b9
docs: Fix some docs in gdkrgb
...
Reported by Milan Bouchet-Valat in
https://bugzilla.gnome.org/show_bug.cgi?id=631473
2010-10-06 01:00:35 +02:00
Federico Mena Quintero
09cf709fe9
Handle the case where you type /blah/nonexistent in SELECT_FOLDER mode
...
Previously name_entry_get_parent_info_cb() would fail as it doesn't handle SELECT_FOLDER.
Now we just make that function act the same as for CREATE_FOLDER mode. In either
case, if you type "/blah/nonexistent" and hit Enter, you want a folder
with that name to be created (under the already-existing /blah).
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2010-10-05 15:19:50 -05:00
Stephen Shaw
b6f4b7dbce
Clarify the name of a callback
...
The old save_entry_get_info_cb() was misnamed; it is actually used
to see if a file's presumed parent *is* a folder. So we rename
it to name_entry_get_parent_info_cb().
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2010-10-05 15:19:50 -05:00
Stephen Shaw
c9ea622fc6
bgo#629722 - file chooser should cope with typing a directory name and then Enter
...
file_exists_get_info_cb() used to let some actions fall through to
the code that checks for the file type of the selected file's parent
(e.g. to see if /foo/bar *is* indeed a folder if you type /foo/bar/baz).
However, we need to be more explicit for each file chooser action, as
in SELECT_FOLDER mode typing /foo/foldername and hitting Enter would not
give you an immediate selection, but rather the file chooser would
complain that it couldn't create that directory as it already exists.
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2010-10-05 15:19:50 -05:00
Claudio Saavedra
fac5167404
Fix maintainer-clean
...
gtkimcontextsimpleseqs.h is not really autogenerated but shipped
https://bugzilla.gnome.org/show_bug.cgi?id=630708
2010-09-28 11:16:38 +03:00
Matthias Clasen
d1f256ac30
Backport some new GdkWindow api from 2.90
...
This commit adds
gdk_window_get_display
gdk_window_get_screen
gdk_window_get_visual
gdk_window_get_width
gdk_window_get_height
and deprecates the corresponding GdkDrawable APIs.
This will make it easier to prepare the port to GTK+ 3
2010-09-27 20:37:03 -04:00
Matthias Clasen
2e5251b405
Add gdk_cairo_set_source_window
...
And deprecate gdk_cairo_set_source_pixmap.
2010-09-27 19:00:10 -04:00
Matthias Clasen
a2087c9095
Deprecate gtk_object_destroy
2010-09-26 22:33:18 -04:00
Matthias Clasen
c4bc22d77b
Backport the uri hook cleanup
...
This commit deprecates gtk_link_button_set_uri_hook(),
gtk_about_dialog_set_email_hook() and gtk_about_dialog_set_url_hook(),
and adds a GtkAboutDialog::activate-link signal.
2010-09-24 12:40:53 -04:00
Matthias Clasen
ce6090b11e
Add an index for 2.24 api additions
2010-09-24 11:53:05 -04:00
Matthias Clasen
74ad2e1e7e
GtkNotebook: deprecate some tab-dnd-related functions
...
gtk_notebook_set_window_creation_hook has been removed in GTK+ 3,
deprecate it here. gtk_notebook_get/set_group has been deprecated
in favour of the new gtk_notebook_get/set_group_name.
http://bugzilla.gnome.org/show_bug.cgi?id=630521
2010-09-24 11:50:26 -04:00
Matthias Clasen
f574305b17
Set version to 2.23.0
2010-09-23 23:36:53 -04:00
Matthias Clasen
71bec7e7ad
Bump version
2010-09-23 13:36:46 -04:00
Takayuki KUSANO
b7cd904fe3
Updated Japanese translation (symbolic link related)
2010-09-24 02:13:15 +09:00
Javier Jardón
537a2534b9
INSTALL.in: the Glib required version is 2.25.10
2010-09-23 17:05:46 +02:00
Matthias Clasen
6c95f0475f
Update INSTALL information
2010-09-23 08:17:42 -04:00
Matthias Clasen
43bc74eae1
Update NEWS for 2.22.0
2010-09-22 23:06:21 -04:00
Kenneth Nielsen
2119046a1c
Updated Danish translation
2010-09-22 22:59:24 +02:00
Sweta Kothari
530cf56f24
Updated Gujarati Translations
2010-09-22 16:50:01 +05:30
Jonh Wendell
990715e5db
Updated Brazilian Portuguese translation
2010-09-21 21:25:41 -03:00
Jonh Wendell
dd5cf4769a
Updated Brazilian Portuguese translation
2010-09-21 21:09:07 -03:00
Inaki Larranaga Murgoitio
4272a6f1d8
Updated Basque language
2010-09-21 15:39:52 +02:00
Inaki Larranaga Murgoitio
fb4ae28444
Updated Basque language
2010-09-21 15:32:54 +02:00
Aron Xu
6d9959b30c
Add a ug.po for po-properties, re-enable ug in LINGUAS.
2010-09-20 20:12:26 +00:00
Kjartan Maraas
f6e92685a6
Remove ug since it broke the build. Please add the translation to po-properties as well next time.
2010-09-20 21:04:25 +02:00
Bakaoukas Nikolaos
fe5c6f29fe
Updated Greek translation
2010-09-20 19:00:58 +03:00
Colin Walters
62c2b4f529
introspection: Only use 0.9.3 API
2010-09-20 10:00:30 -04:00
Takayuki KUSANO
2dd67663c8
Updated Japanese translation
2010-09-20 18:40:57 +09:00
Gheyret Kenji
1757426e86
Add Uighur UI translation.
2010-09-20 05:15:04 +00:00
Kenneth Nielsen
d508b22228
Updated Danish translation
2010-09-19 17:41:15 +02:00
Wouter Bolsterlee
efc03dd0ee
Updated Dutch translation by Vincent van Adrighem
2010-09-19 16:37:50 +02:00
Matthias Clasen
4850fa57f9
Fix up a botched cherry-pick
2010-09-17 11:05:42 -04:00
Matthias Clasen
d7cc714705
Add some element-type annotations to gtk apis
2010-09-17 09:50:57 -04:00
Matthias Clasen
0ebde0bbe5
Fix a doc comment
...
(cherry picked from commit 28c66ed9b0
)
2010-09-17 09:49:54 -04:00
Matthias Clasen
a3fa516c60
Scan gdk/x11 sources for Gdk-3.0.gir
...
The doc comments (with annotations) for some of the gdk api are down
in x11/ sources, so we need to scan those too, when building Gdk-3.0.gir.
2010-09-17 09:49:19 -04:00
Matthias Clasen
27970efd52
Add annotations
...
The goi scanner warns about these nowadays.
(cherry picked from commit 6aa8941b84
)
2010-09-17 09:47:47 -04:00
Aron Xu
44b8334775
Update Simplified Chinese translation.
2010-09-16 17:22:27 +00:00
Aron Xu
3a634939a8
Update Simplified Chinese UI translation.
2010-09-16 15:45:51 +00:00
Christian Kirbach
7e0f13f678
[i18n] Updated German translation
2010-09-16 15:43:09 +02:00
Petr Kovar
2c6685355b
Update Czech translation
2010-09-15 20:29:41 +02:00
Petr Kovar
42e2d014d0
Update Czech translation
2010-09-15 19:56:56 +02:00
Sebastian Dröge
285ab04c0c
gdk: Only use XComposite if it is available
...
Fixes build if it isn't available. Bug #629748 .
2010-09-15 16:41:41 +02:00
Aron Xu
b9db80d62c
Update Simplified Chinese translation.
2010-09-15 16:06:33 +08:00
Andika Triwidada
2ba282165e
Updated Indonesian translation
2010-09-15 09:25:48 +07:00
Matthias Clasen
7c44678f53
Bump version after release
2010-09-14 07:53:19 -04:00
Matthias Clasen
f9473472dd
Change the initial value of GtkDialog::has-separator to match the default
2010-09-13 23:43:45 -04:00
Matthias Clasen
3cd5d1619c
Update NEWS for 2.21.8
2010-09-13 23:43:45 -04:00
Milan Bouchet-Valat
2363cccd24
bgo#486839 - Fix path bar size group in the file chooser
...
Since the location button is hidden in save mode, we need to add the
path bar to the size group too. The location button still has to be in
the group though, because it's larger than the path bar (when
shown). Instead of using the recent/search icons, add their hboxes so
that themed widget spacings don't introduce variations.
2010-09-13 14:58:04 -05:00
Matthias Clasen
4394a972dc
Fix a logic error in the gdk_display deprecation
2010-09-13 13:14:18 -04:00
Takayuki KUSANO
7cf1133d45
Updated Japanese translation.
2010-09-14 01:41:18 +09:00
Adel Gadllah
81ec8c7a1b
[GdkWindowCache] Don't ignore the CompositeOverlayWindow
...
Add the composite overlay window to the cache, as this can be a reasonable Xdnd proxy as well.
This is only done when the screen is composited in order to avoid mapping
the COW. We assume that the CM is using the COW (which is true for pretty
much any CM currently in use).
https://bugzilla.gnome.org/show_bug.cgi?id=601731
2010-09-13 18:21:15 +02:00
Takayuki KUSANO
dddeee0cb2
Updated Japanese translation.
2010-09-13 02:06:19 +09:00
Christian Kirbach
80c096ed6e
[l10n] Updated German translation
2010-09-12 13:26:23 +02:00
Andika Triwidada
92235e2a58
Updated Indonesian translation
2010-09-11 15:21:46 +07:00
Matthias Clasen
9190497b4a
Don't use g_idle_add to schedule idles in GDK
...
We need to use gdk_threads_add_idle, in order to keep GDK code
under the GDK lock.
Bug 629277
(cherry picked from commit 08dd02fe25
)
2010-09-10 22:35:36 -04:00
Matthias Clasen
a3c3031a0e
Deprecate gdk_display and GDK_DISPLAY
2010-09-10 22:33:58 -04:00
Matthias Clasen
ee14cc3160
Build fixes after GtkItem deprecation
2010-09-10 22:33:58 -04:00
Mike Gorse
ecc6577a37
Gail: Deprecate gail_cell_type_add_action_interface
2010-09-10 09:44:41 -04:00
Mike Gorse
e58f22a7ea
Gail: Take fill/page size into account when returning a range's maximum value
2010-09-10 06:11:08 -04:00
Tor Lillqvist
88f54ea47d
Avoid potential DLL hijacking in Wintab code
...
Load Wintab32.dll from an absolute path. A proper Wintab32.dll, if
present, should be in the Windows system directory, so load it from
there.
2010-09-09 20:21:03 +03:00
Changwoo Ryu
fa1b57ca97
Updated Korean translation
2010-09-10 02:04:20 +09:00
Mike Gorse
be0beb758e
Remove g_print calls
2010-09-09 09:34:28 -04:00
Michael Meeks
1b05158db9
Fix build breakage in deprecation notes for gtkitem
2010-09-09 11:52:30 +01:00
Matthias Clasen
15df889204
Add deprecation notes for GtkItem
2010-09-09 00:02:18 -04:00
Matthias Clasen
eb77f20c52
Change the default of GtkDialog::has-separator to FALSE
...
Otherwise, the removing deprecated API will force the appearance
of a dialog separators, which would be unfortunate.
2010-09-08 23:53:55 -04:00
Colin Walters
750c81f43d
gdk: Prefix keys with _KEY by default
...
The keysyms create a lot of potential namespace conflicts for
C, and are especially problematic for introspection, where we take
constants into the namespace, so GDK_Display conflicts with GdkDisplay.
For C application compatiblity, add gdkkeysyms-compat.h which uses
the old names. In GTK2, this header is included by default.
https://bugzilla.gnome.org/show_bug.cgi?id=629093
2010-09-08 19:07:23 -04:00
Colin Walters
ae84810db5
gdk: Update gdkkeysyms.h
...
In preparation for adding a namespace prefix for introspection.
2010-09-08 18:56:59 -04:00
Mike Gorse
8ec4f184ab
Remove a duplicate variable
...
Bug#628110: gtk_spinner_accessible_get_type always returns null
2010-09-08 17:54:17 -04:00
Colin Walters
8e75ddeac6
introspection: Update to new scanner API
...
* Add --warn-all
* Drop unnecessary of --strip-prefix; for GdkX11, use --symbol-prefix
https://bugzilla.gnome.org/show_bug.cgi?id=628160
Conflicts:
configure.in
gdk/Makefile.am
gtk/Makefile.am
2010-09-08 11:13:12 -04:00
Inaki Larranaga Murgoitio
373f2b8a0c
Updated Basque language
2010-09-08 12:15:23 +02:00
Matthias Clasen
19ef533618
Fix the build after recent deprecations
2010-09-07 10:53:10 -04:00
Matthias Clasen
bcdd895229
Avoid segfault on xkbless systems
...
This was reported in bug 628932 to cause problems on VNC.
(cherry picked from commit d5c2cb7bcb
)
2010-09-07 00:11:55 -04:00
Benjamin Otte
ba5ba3b022
gdk: Ensure flush of surface when cairo_t is destroyed
...
Add an ugly workaround because GTK does not ensure surfaces get flushed
before directly accessing the drawable backed by the surface. This is
not visible on X11 (where flushing is a no-op), but can be seen on
Windows.
https://bugzilla.gnome.org/show_bug.cgi?id=628291
2010-09-07 02:42:27 +02:00
Duarte Loreto
ebc6238a0e
Updated Portuguese translation
2010-09-07 00:46:51 +01:00
Duarte Loreto
b6a733c9d2
Updated Portuguese translation
2010-09-07 00:41:30 +01:00
Luca Ferretti
522a2f0214
Updated Itlian translation
2010-09-07 00:10:38 +02:00
Luca Ferretti
7e9f7d7703
Fixed Italian translation, previously committed in wrong po directory
2010-09-07 00:06:36 +02:00
Luca Ferretti
1294e41449
Updated Italian translation
2010-09-06 23:51:24 +02:00
Matej Urbančič
7ea18bc4ee
Updated Slovenian translation
2010-09-06 16:46:12 +02:00
Gabor Kelemen
4f6c63f0c9
Updated Hungarian translation
2010-09-06 15:41:36 +02:00
Daniel Nylander
bbd68748bc
Updated Swedish translation
2010-09-06 15:29:53 +02:00
Daniel Nylander
33fd9626eb
Updated Swedish translation
2010-09-06 15:25:48 +02:00
Baurzhan Muftakhidinov
2ee665300b
Updated Kazakh translation
2010-09-06 10:49:49 +06:00
Neil Roberts
c3c5575fc1
Initialize more attributes in gdk_window_ensure_native
...
The attributes struct has some members that aren't covered by the
attributes_mask so they should always be filled in. The Win32 backend
was using the window type member when creating the window
implementation. Previously this was left uninitialized so it would end
up thinking the window is input_only and nothing would get painted.
https://bugzilla.gnome.org/show_bug.cgi?id=628049
Signed-off-by: Hans Breuer <hans@breuer.org >
2010-09-05 16:01:23 +02:00
Hans Breuer
5077d9cce8
msvc: No more fake folder.png and drive-harddisk.png
2010-09-05 16:01:22 +02:00
Khaled Hosny
007595b639
Updated Arabic translation
2010-09-05 15:55:36 +02:00
Chao-Hsiung Liao
727287b870
Updated Traditional Chinese translation (Hong Kong and Taiwan)
2010-09-05 19:36:46 +08:00
Claude Paroz
ae98e7dd7a
Updated French translation
2010-09-04 23:18:31 +02:00
Piotr Drąg
6db486993d
Updated Polish translation
2010-09-04 17:50:12 +02:00
Piotr Drąg
ca63fd71d7
Updated Polish translation
2010-09-04 17:49:38 +02:00
Philip Withnall
2e2431f353
Update British English translation
2010-09-04 15:09:20 +01:00
Jorge González
ef06c92610
Updated Spanish translation
2010-09-04 09:40:58 +02:00
Matthew Barnes
1175e6b98c
Don't leak display name
...
Bug 628656 - _gdk_windowing_get_startup_notify_id memory leak
get_display_name() returns a newly allocated string, which was being fed
directory info a g_strdup_printf() call.
(cherry picked from commit bf3b5f785e
)
2010-09-03 12:51:24 -04:00
Matej Urbančič
d72cfae56a
Updated Slovenian translation
2010-09-03 18:34:59 +02:00
Tor Lillqvist
027380d33e
Just use TrackMouseEvent directly
...
TrackMouseEvent is present in user32.dll in all Windows versions we
support. No need to look it up dynamically. No need to fallback to
_TrackMouseEvent from comctrl32.dll.
2010-09-03 00:49:02 +03:00
Luca Ferretti
20d8fbd90f
Updated Italian translation
2010-09-02 23:33:59 +02:00
Matthias Clasen
9f9170e3aa
Deprecate blinking status icons
...
Just a bad idea...
2010-09-02 11:28:18 -04:00
Matthias Clasen
6f6650e6cf
Document separator-related api in GtkDialog as deprecated
2010-09-02 11:18:01 -04:00
Yaron Shahrabani
b288284122
Updated Hebrew translation.
2010-09-02 18:09:12 +03:00
Yaron Shahrabani
7a1cf58934
Updated Hebrew translation.
2010-09-02 18:06:36 +03:00
Tor Lillqvist
d6e11a97e3
Avoid potential DLL hijacking in ms-windows theme engine
...
Load uxtheme.dll from an absolute path. A proper uxtheme.dll, if
present, will always be in the Windows system directory, so load it
from there.
2010-09-02 14:44:34 +03:00
Kjartan Maraas
4bd9e3aecc
Updated Norwegian bokmål translation
2010-09-02 12:16:37 +02:00
Kjartan Maraas
88a521862a
Updated Norwegian bokmål translation
2010-09-02 12:02:03 +02:00
Fran Diéguez
fc82963911
Updated Galician translations
2010-09-02 10:43:25 +02:00
Matthias Clasen
45ed34c78f
Add new functions to the docs
2010-09-01 23:06:37 -04:00
Matthias Clasen
190b3c372a
Deprecate GtkIconView::orientation
...
Rename the orientation property to item-orientation, since that is
closer to the meaning of the property and avoids confusion with
GtkOrientable::orientation. Also add getter and setter for the new
property, and deprecate the old property and getter/setter.
2010-09-01 22:39:33 -04:00
Matthias Clasen
49e18a29b2
Deprecate 'opt-in' style properties
...
The following style properties are there to let theme engines 'opt-in'
to more correct behaviour while maintaining compatibility with existing
themes. GTK+ 3 engines are expected to handle the more correct behaviour,
and these properties will no longer be there in GTK+ 3:
GtkEntry::state-hint
GtkTreeView::row-ending-details
GtkRange::trough-side-details
GtkRange::stepper-position-details
GtkRange::activate-slider
2010-09-01 22:19:20 -04:00
Carl-Anton Ingmarsson
7f2b4bb381
docs: Further fix GtkStock documentation
...
Some icons were left out from the
commit 9688665334
https://bugzilla.gnome.org/show_bug.cgi?id=628308
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-09-01 17:47:51 +02:00
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
Martin Schlemmer
770e308c42
win32: cummulated backport of xp theme fixes from master
2010-08-28 15:14:31 +02:00
Gabor Kelemen
5149e93f97
Updated Hungarian translation
2010-08-28 10:52:28 +02:00
Jorge González
49abec1de8
Updated Spanish translation
2010-08-28 10:18:54 +02:00
Yaron Shahrabani
095343ff8d
Updated Hebrew translation.
2010-08-28 10:39:32 +03:00
Yaron Shahrabani
012d605c23
Updated Hebrew translation.
2010-08-28 10:31:19 +03:00
Fran Diéguez
9596c3fd24
Updated Galician translations
2010-08-27 23:41:27 +02:00
Bruno Brouard
7dc89847a7
Updated French translation
2010-08-27 23:02:20 +02:00
Hans Breuer
e339d36a02
win32: Resurrect some enter/leave notify events for native windows
...
The button highlighting in testgtk works again, even with
GDK_NATIVE_WINDOWS. Unfortunately testgtk:menus still does
not work for the forced-native-window-case.
2010-08-27 21:29:33 +02:00
Hans Breuer
068515ad96
Further fix _gdk_window_impl_new() for win32 and ...
...
Beside fixing _gdk_window_impl_new() as adviced in
http://mail.gnome.org/archives/gtk-devel-list/2010-August/msg00214.html
the patch adds implementations for set_background, set_back_pixmap,
restack_under, restack_toplevel and clear_region methods.
2010-08-27 21:23:59 +02:00
Neil Roberts
2e08524481
win32: Never pass SWP_NOSIZE or SWP_NOMOVE to SetWindowPos
...
In _gdk_window_move_resize_child it tries to decide whether to pass
SWP_NOSIZE and SWP_NOMOVE based on whether the new size and position
is different from the window's existing position. However it seems
that GDK now ends up updating the window's position before calling
_gdk_window_move_resize_child so this would mean it would think the
window never changes size or position so SWP_NOSIZE|SWP_NOMOVE would
always be set. This causes child windows to never be resized.
This patch changes it so that it never passes either flag to
SetWindowPos. I don't know whether this will cause any side effects
but you'd think it shouldn't do any harm to reassert the current size.
https://bugzilla.gnome.org/show_bug.cgi?id=628049
Signed-off-by: Hans Breuer <hans@breuer.org >
2010-08-27 20:38:01 +02:00
Hans Breuer
0e781823cb
Update mscv/win32 build
...
Fix makefiles for separated gdk-pixbuf and declare variable at
the beginning of a block (fix c99ism).
2010-08-27 20:34:23 +02:00
Sergey Orlov
6d0ff4708c
bgo#614006 - GtkFileSystemModel - Make sure to generate node IDs are valid for new files
...
When a file was inserted during the period that the editable row was
active, the node IDs would not get updated correctly.
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2010-08-24 17:14:29 -05:00
Kjartan Maraas
b53e822af7
Updated Norwegian bokmål translation
2010-08-21 11:17:28 +02:00
Matthias Clasen
1cd305e85f
Fix up indices for 2.22 api additions
2010-08-19 18:16:43 -04:00
Stefan Kost
587a1de401
[filechooserentry] don't show misplaced completion popup
...
Override the key-press-event instead of overriding the focus method.
Fixes #627139
2010-08-19 09:35:32 +03:00
Matthias Clasen
67684a05b6
Deprecate GtkWidget::draw-border style property
...
This style property is not used at all in the wild, and handling
it has some performance overhead.
2010-08-18 12:49:34 -04:00
Benjamin Otte
1f905a1c17
testgtk: undef GDK_DISABLE_DEPRECATED
...
We test ctree code here and that code uses pixmaps.
2010-08-17 19:10:51 +02:00
Benjamin Otte
36f931f292
testdnd: Convert to use pixbufs as icons
...
Using Pixmaps is outdated.
2010-08-17 19:07:54 +02:00
Benjamin Otte
d24a6727b8
gtk-demo: Adapt textview example for stipple removal
2010-08-17 19:06:14 +02:00
Matthias Clasen
02520a0781
Bump version
2010-08-16 20:05:25 -04:00
Matthias Clasen
a3689e670e
More NEWS
2010-08-16 18:16:04 -04:00
Matthias Clasen
1d5a6e790a
Fix up some documentation issues
2010-08-16 17:38:23 -04:00
Benjamin Otte
315c23546d
colorsel: Create cursor image using Cairo
2010-08-16 20:01:49 +02:00
Benjamin Otte
9f1cb0798b
API: Add gdk_window_get_background_pattern()
...
This is the suggested way for GTK3 to store a Window's background so it
makes sense to use the same function today already.
2010-08-16 20:01:49 +02:00
Kristian Rietveld
77b703c2fc
quartz: stop offscreen windows code from crashing.
...
This is an adapted version of commit
bde0f9a8f6
on master.
Mainly fixes to properly differentiate bewteen toplevel and offscreen
windows, since these sometimes need different treatment. Furthermore,
usage of gdk_window_get_effective_foo() instead of gdk_window_get_foo()
where applicable.
There is an drawing issue left when scrolling e.g. tree views in
offscreen windows. I think this is likely an issue with
gdk_quartz_draw_drawable() which is used for the copy area code in
offscreen windows. It works fine in master, since this was converted
to Cairo.
2010-08-15 17:34:33 +02:00
Benjamin Otte
370dfc16ca
Remove window background getters again
...
They were added as accessors for 2.22 even though querying the
background wasn't possible previously. As GTK 3.0 will change background
handling, it doesn't make sense at all to expose these getters.
2010-08-15 03:31:37 +02:00
Benjamin Otte
767235aabc
gtk-demo: update drawingarea example
...
Use gdk_window_create_similar_surface() instead of gdk_pixmap_new()
2010-08-12 23:38:17 +02:00
Benjamin Otte
3df3ff9a3a
docs: Add note to gdk_pixmap_new() about create_similar() function
...
gdk_window_create_similar_surface() is basically the replacement for
this function.
2010-08-12 23:34:37 +02:00
Benjamin Otte
997d3aada6
API: Add gdk_window_create_similar_surface()
2010-08-12 23:30:19 +02:00
Sven Herzberg
00857133d4
avoid redundant recursion for executing tests
...
[cherry-picked cd00b0a
from master]
* Makefile.decl: make sure that check-local does not depend on a
recursive target for the tests. This way check can recurse and call
check-local in each folder which then invokes test-cwd. This will
make sure that a toplevel check-local doesn't recurse into subfolders
as well. The was resulting in test being run twice (for "/tests"), tree
times (e.g. for "/gtk/tests") and potentially more often
2010-08-12 11:23:42 +02:00
Benjamin Otte
0e183fe745
pixmap: Deprecate create_from_data() constructors
...
And document that GdkPixmap will go away in GTK 3.
2010-08-12 03:02:38 +02:00
Benjamin Otte
cedf52fb81
x11: Deprecate GdkGC functions
...
They are gone in GTK3, just like the rest of GdkGC.
2010-08-12 01:54:58 +02:00
Matthias Clasen
329b34b8cb
Fix a mis-merge
2010-08-11 07:19:10 -04:00
Benjamin Otte
9d2f8f5098
docs: Add paragraph about GdkRegion replacement in GTK3
...
https://bugzilla.gnome.org/show_bug.cgi?id=613284
2010-08-10 18:26:12 +02:00
Benjamin Otte
e8915ae422
gdk: Undeprecate gdk_region_xor()
...
cairo_region_xor() does now exist, so there's no need to deprecate this
function.
2010-08-10 18:26:12 +02:00
Matthias Clasen
a41107b616
Fix another build failure
2010-08-10 09:24:51 -04:00
Matthias Clasen
8963e7cc46
Remove merge conflicts
2010-08-10 07:43:26 -04:00
Matthias Clasen
70f65529a5
Make it possible to make the expander label fill the entire space
...
This adds a boolean GtkExpander::label-fill property and uses it
when allocating space to the label. Based on a patch by Matt Barnes,
bug 614049.
2010-08-09 23:18:31 -04:00
Matthias Clasen
64bcdb78e0
Fix gail_notebook_get_selection_count()
...
This function should return 0 for empty notebooks. Based on
a patch by Mike Gorse, bug 557263.
(cherry picked from commit 7844d3b8db
)
2010-08-09 23:14:58 -04:00
Matthias Clasen
2161fb5b8c
Clarify the docs for gtk_widget_set_has_window()
...
The previous version of the docs did not make it clear that has-window
is the defaults. Pointed out by Magnus Hjorth, bug 615474.
(cherry picked from commit 61e34032ec
)
2010-08-09 23:14:47 -04:00
Christian Dywan
a11e4a58c0
Clarify memory management of tree models
...
It helps to be explicit about these things.
Bug 609264.
(cherry picked from commit 2a12f74c8e
)
2010-08-09 23:14:14 -04:00
Hiroyuki Ikezoe
fd352a10ca
Drop xim-related configure options from the docs
...
These options have been dropped from configure a while ago,
so they should no longer be in the docs either. Bug 605190.
2010-08-09 23:13:53 -04:00
Sam Thursfield
1fed87720e
Add missing accessors for notebook details
...
The ms-windows theme engine needs to access the tab-{h,v}border,
so add accessors. Bug 625655.
(cherry picked from commit a2b72c5953
)
2010-08-09 21:24:29 -04:00
Sam Thursfield
28eebcf383
Towards GSEAL-clean build on win32
...
Use accessors instead of direct member access in a few places.
Bug 625655.
(cherry picked from commit 4047d0526d
)
2010-08-09 21:24:19 -04:00
Szilárd Pfeiffer
db2053ac1f
Implement GailAdjustment::get_minimium_increment
...
...and use it in GailRange and GailSpinButton. Bug 625953.
(cherry picked from commit 93fa95e79f
)
2010-08-09 21:24:03 -04:00
Szilárd Pfeiffer
85f8f64d78
Make Gail work with custom treemodels
...
Gail did set the role to ATK_ROLE_TABLE for anything that is
not a GtkTreeStore. The propery way to do this is to look at the
tree model flags for list-onlyness. Bug 580291.
(cherry picked from commit 2686af2fbb
)
2010-08-09 21:23:17 -04:00
Matthias Clasen
0e1342b5e5
Update NEWS for 2.21.6
2010-08-09 01:38:29 -04:00
Benjamin Otte
bff0d11c4d
gdk: Deprecate GdkRGB functions
2010-08-08 02:59:21 +02:00
Benjamin Otte
78bf0f3071
demos: Convert to drawing with Cairo instead of GdkRGB
2010-08-08 01:07:45 +02:00
Benjamin Otte
d80bc7868f
demos: No need to set the rgb colormap here
2010-08-08 01:07:29 +02:00
Benjamin Otte
244fc05cff
demos: Convert testpixbuf-save to Cairo
2010-08-08 01:06:38 +02:00
Benjamin Otte
d7a1973f9f
gtk-demo: Make pixbufs demo use Cairo
2010-08-08 01:05:30 +02:00
Benjamin Otte
a907d5e2cc
Deprecate all of GdkImage
2010-08-07 22:17:43 +02:00
Benjamin Otte
8a2a736af4
Deprecated all GdkGC functions
2010-08-07 22:08:21 +02:00
Benjamin Otte
41b637c338
hsv: Remove unused variable
2010-08-07 22:04:21 +02:00
Benjamin Otte
84f565505f
testgtk: Remove unused variable
2010-08-07 21:19:02 +02:00
Benjamin Otte
3d506df234
gdk: Deprecate all drawing functions
...
These functions will be gone in Gtk 3.0 and be replaced by Cairo
functions.
Includes not disabling deprecated functions in old widgets that aren't
going to be ported.
2010-08-07 15:35:51 +02:00
Benjamin Otte
99c851c72d
colorsel: Use gdk_pixbuf_get_from_drawable()
...
Instead of fiddling with GdkImage directly.
2010-08-07 15:35:51 +02:00
Benjamin Otte
df120b78b3
testgtk: Remove image from drawable test
...
The test only tested old APIs.
2010-08-07 15:35:50 +02:00
Benjamin Otte
18ac62d459
testgtk: Remove alpha drawing test
...
We use Cairo for that these days.
2010-08-07 15:35:50 +02:00
Benjamin Otte
b50cdb4b5e
testgtk: Draw rotated text example with pangocairo
2010-08-07 15:35:50 +02:00
Benjamin Otte
4150ffbbe2
tests: Remove gdk_draw_pixbuf() with Cairo equivalent
2010-08-07 15:35:50 +02:00
Benjamin Otte
e75fad5fbd
testgtk: Replace gdk_draw_rectangle() with Cairo
2010-08-07 15:35:50 +02:00
Benjamin Otte
0d42dabf6c
tests: Use gdk_screen_get_default_colormap()
...
We don't need the RGB colormap here.
2010-08-07 15:35:50 +02:00
Benjamin Otte
141b2ceff2
tests: Use GdkPixbuf for taking a screenshot, not GdkImage
2010-08-07 15:35:50 +02:00
Benjamin Otte
8dc19e4158
tests: Make testoffscreen use Cairo
2010-08-07 15:35:50 +02:00
Benjamin Otte
8e537f94ac
test: Convert testinput to Cairo
...
The test is broken though as it draws onto windows outside of expose
events.
And we all know you shouldn't do that.
2010-08-07 15:35:50 +02:00
Benjamin Otte
2b9b125a88
tests: replace gdk_draw_drawable() with Cairo calls in testinput
2010-08-07 15:35:50 +02:00
Benjamin Otte
970ae51e38
demos: Use Cairo instead of gdk_draw_pixbuf()
2010-08-07 15:35:50 +02:00
Benjamin Otte
0ba97c7aae
gtk-demo: Blit backing pixmap using Cairo
2010-08-07 15:35:50 +02:00
Benjamin Otte
ddb905e99a
gtk-demo: Convert drawingarea example to Cairo
2010-08-07 15:35:50 +02:00
Benjamin Otte
f69034a079
gtk-demo: Convert color selection example to Cairo
2010-08-07 15:35:50 +02:00
Benjamin Otte
53cf3d2edc
cups: Fix cast warnings
2010-08-07 15:35:50 +02:00
Benjamin Otte
88b7857bc8
pixbuf-engine: Draw mask with Cairo
...
No more gdk_pixbuf_render_threshold_alpha()
2010-08-07 15:35:50 +02:00
Benjamin Otte
9e1ae0e29a
pixbuf-engine: replace call to gdk_draw_pixbuf() with Cairo equivalent
2010-08-07 15:35:50 +02:00
Benjamin Otte
769c63c7ef
pixbuf-engine: Replace gdk_draw_pixbuf() with Cairo equivalent
...
This replaces the tiled fill call only.
2010-08-07 15:35:50 +02:00
Benjamin Otte
3cbdc7ac89
imcontextxim: Draw with Cairo
2010-08-07 15:35:49 +02:00
Benjamin Otte
e95f6da116
testing: Use Cairo calls instead of gdk_draw_line() to test server sync
2010-08-07 15:35:49 +02:00
Benjamin Otte
d5ff6b6c66
treeview: Draw the dnd pixmaps with Cairo
2010-08-07 15:35:49 +02:00
Benjamin Otte
2e1f12642b
treeview: Draw lines with Cairo
2010-08-07 15:35:49 +02:00
Benjamin Otte
c1292fe01d
treeview: Unify all line drawing into the same function
...
This is useful because the dashing stuff needs to be done and it seems
like a good idea to unify it.
2010-08-07 15:35:49 +02:00
Benjamin Otte
7ee63c07ee
treeview: Draw column reordering arrows with Cairo
2010-08-07 15:35:49 +02:00
Benjamin Otte
09080e3c76
textview: draw dnd icon with Pango
2010-08-07 15:35:49 +02:00
Benjamin Otte
bb3c91bfda
textview: Draw drag icons using Cairo
2010-08-07 15:35:49 +02:00
Benjamin Otte
fe401cdbb4
ruler: Replace gdk_draw_drawable calls with Cairo
...
and get rid of the custom GC
2010-08-07 15:35:49 +02:00
Benjamin Otte
6740d24bb8
menu: replace gdk_draw_drawable() call with Cairo equivalent
2010-08-07 15:35:49 +02:00
Benjamin Otte
e570fe6730
label: Draw all text using PangoCairo
...
This includes the addition of a "small" helper function,
_gtk_pango_fill_layout() that ignores color information. This
functionality is not available inside Pango and until that happens, we
need this fix. The bug is filed at:
https://bugzilla.gnome.org/show_bug.cgi?id=624917
2010-08-07 15:35:49 +02:00
Benjamin Otte
f36bb4d91d
gdk: Simplify deprecation guards in gdkdrawable.h
2010-08-07 15:35:49 +02:00
John Stowers
32c4f471d5
Add gdk_display_is_closed
...
https://bugzilla.gnome.org/show_bug.cgi?id=624224
2010-08-07 23:11:42 +12:00
Benjamin Otte
28f51514f9
colorbutton: Render with Cairo
...
In particular, this gets rid of gdk_draw_pixbuf() and GdkGC usage.
2010-08-07 02:39:21 +02:00
Benjamin Otte
92055d8d32
entry: replace gdk_draw_pixbuf() call with Cairo version
2010-08-07 02:39:21 +02:00
Tomeu Vizoso
568865ab1b
Stop assuming that priv->label_widget will be a GtkLabel.
...
https://bugzilla.gnome.org/show_bug.cgi?id=623603
2010-08-05 10:35:45 +02:00
Philip Withnall
0a61e919e2
Add (transfer none) annotation to gtk_tree_selection_get_selected_rows()
...
Closes: bgo#625650
2010-08-05 00:55:56 +01:00
Philip Withnall
fa509fcc78
Add (inout) annotation to gtk_tree_model_iter_next()
...
Closes: bgo#625650
2010-08-05 00:54:44 +01:00
Paolo Borelli
996fd9dc5e
Annotate GtkTextBuffer insert methods
2010-08-04 21:07:31 +02:00
Cody Russell
b41972bd96
Change GtkCalendar's inner border and separator values from hard-coded
...
ones to using style properties.
https://bugzilla.gnome.org/show_bug.cgi?id=624779
2010-08-03 10:53:05 -05:00
Fridrich Štrba
3c7bb5b746
Fix 32-bit Windows build using mingw-w64 toolchain
2010-08-03 03:04:39 +02:00
Tomeu Vizoso
23f7d3a0ea
Annotate gdk_rectangle_intersect
2010-07-28 16:53:14 +02:00
Tomeu Vizoso
fd75ced492
Generate GdkX11-2.0.typelib (backported from HEAD)
...
https://bugzilla.gnome.org/show_bug.cgi?id=625491
2010-07-28 15:03:28 +02:00
Benjamin Otte
01fea4032f
gdk: Revert making get_size optional
...
49a0ec6e95
added this hunk without
explanations and it's obviously wrong because failing to have a get_size
vfunc will now not set width and height and they'll end up with invalid
values.
In fact, the GdkDrawableImpl{X11,Win32,Quartz} functions do not have
get_size implemented, so the patch was most likely an attempt to work
around calling this function erroneously on the impl objects.
The correct fix is to call impl->wrapper instead.
2010-07-26 11:58:23 +02:00
Benjamin Otte
e1c7ff8ee0
x11: Query size on real drawable
...
The X11 drawable does not have a clue about the real size of the
surface.
This might also be the cause for:
https://bugzilla.gnome.org/show_bug.cgi?id=599574
2010-07-26 11:58:23 +02:00
Benjamin Otte
fafc457a01
cups: Fix cast warnings
2010-07-26 11:58:23 +02:00
Emmanuele Bassi
7a68f42d2e
Do not return values from a function returning void
2010-07-26 11:58:23 +02:00
Szilárd Pfeiffer
ec332bbd42
Moved the drawing of horizontal grid lines after cell drawing.
...
Without the change if the cell background is set the horizontal
grid line cannot be seen.
2010-07-25 14:54:18 +02:00
John Stowers
dc2fea413b
Add gdk_device_get_n_axes
...
https://bugzilla.gnome.org/show_bug.cgi?id=624221
2010-07-25 12:32:43 +12:00
John Stowers
6c25cf872f
Add gdk_cursor_get_cursor_type
...
https://bugzilla.gnome.org/show_bug.cgi?id=624087
2010-07-25 12:32:38 +12:00
Federico Mena Quintero
05e2004eb6
Clarify what the @event is used for when calling gtk_drag_begin()
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2010-07-23 11:51:23 -05:00
Christian Dywan
186f858d86
Correct emission of switch-page from the menu
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=624687
2010-07-23 13:52:23 +02:00
Stanislav Brabec
13dba0a461
Fix stuck pointer grab due to passing GDK_CURRENT_TIME to gtk_drag_begin()
...
If gtk_drag_begin() gets passed GDK_CURRENT_TIME, try to use
gtk_get_current_event_time(). If it fails, use GDK_CURRENT_TIME when
ungrabbing in gtk_drag_end().
For more see https://bugzilla.gnome.org/show_bug.cgi?id=623865
2010-07-22 16:22:26 -05:00
Kjartan Maraas
f1627fc8f5
Updated Norwegian bokmål translation
2010-07-19 21:35:48 +02:00
Christian Persch
8f42a13ce7
gtknotebook: Fix critical warnings on scroll events
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=604391
2010-07-19 15:30:23 +02:00
Emmanuele Bassi
81321b7d55
docs: Fix GtkRecentManager:limit annotation
...
Fix a typo in the name that prevented cross-linking, and remove the
redundant deprecation text (which is added by gtk-doc by default).
2010-07-15 09:55:49 +01:00
Javier Jardón
838dfd50ac
Deprecate GtkRecenManager::limit property
...
The :limit property of GtkRecentManager does not serve any useful
purpose: the length of the list should be managed by the view
(implementing GtkRecentChooser), and not by the model (the recent
manager).
https://bugzilla.gnome.org/show_bug.cgi?id=624333
2010-07-15 02:50:49 +02:00
Christian Dywan
aa017fae64
Deprecate GtkNotebookPage as used in switch-page
...
Fixes: 618327
2010-07-13 16:55:04 +02:00
Matthias Clasen
c492c798fc
Bump version
2010-07-12 13:44:36 -04:00
Matthias Clasen
0e99667286
Fix the build
2010-07-12 13:09:44 -04:00
Matthias Clasen
5af7597e2e
Updates
2010-07-12 12:54:50 -04:00
Matthias Clasen
266fbce3a3
Small GtkTable doc improvement
...
(cherry picked from commit ab6927e4fa
)
2010-07-12 12:35:29 -04:00
Matthias Clasen
47836a3af1
Respect GtkEntry::state-hint when drawing spinbutton features
...
As proposed in bug 589904 by Thomas Wood.
(cherry picked from commit bcbb976d91
)
2010-07-12 12:35:15 -04:00
John (J5) Palmieri
1a30c3f272
annotation (transfer-none) fix that somehow got dropped from last patch
...
* gtk_tree_path_get_indices_with_depth - annotate the return as 'transfer none'
to avoid double frees
2010-07-12 12:34:38 -04:00
John (J5) Palmieri
72cd4207b7
fix some tree model annotations
...
* gtk_tree_model_iter_next - 'inout' is poorly defined and causes bugs so
revert back to the default 'in' annotation
* gtk_tree_path_get_indices_with_depth - annotate the return as 'transfer none'
to avoid double frees
(cherry picked from commit b5f878dec8
)
2010-07-12 12:33:05 -04:00
Philip Withnall
9a71ad7ca9
Add (out) annotations to GtkTreeIter parameters
...
(cherry picked from commit 0b51abbfdf
)
2010-07-12 12:32:54 -04:00
Colin Walters
1af84d33f7
Fix annotation syntax for gtk_widget_class_path
...
(cherry picked from commit c609c4e807
)
2010-07-12 12:31:23 -04:00
John (J5) Palmieri
3511fe4355
fix annotation for gtk_window_set_default_icon_list
2010-07-12 12:31:03 -04:00
Colin Walters
b27d39ee23
Fix annotation on gtk_tree_model_get_value
...
(cherry picked from commit aff8fb2ea2
)
2010-07-12 12:30:10 -04:00
Ignacio Casal Quinteiro
ef3ec85bac
Bind get_bounds and use out instead of out caller-allocates.
...
There is no need to use caller-allocates if the scanner already detects it.
(cherry picked from commit f50d06baea
)
2010-07-12 12:29:49 -04:00
Xan Lopez
3b62411040
Remove leftover uses/references of GtkNotebook::group-id
...
(cherry picked from commit 533ea97c67
)
2010-07-12 12:29:24 -04:00
Tomeu Vizoso
10ebcedf56
Annotate gdk_display_manager_list_displays return value
...
https://bugzilla.gnome.org/show_bug.cgi?id=623307
(cherry picked from commit eae60c34d2
)
2010-07-12 12:28:48 -04:00
John (J5) Palmieri
89743a6370
revert inout annotation for gtk_tree_model_iter_next parameter
...
* 'inout' is poorly defined and causes bugs so revert back to the default
'in' annotation
2010-07-08 15:11:27 -04:00
Philip Withnall
f1e0b23697
Add (out) annotations to GtkTreeIter parameters
2010-07-07 18:28:41 +02:00
Tor Lillqvist
f2d6ab4062
Drop leftover reference to local gdk-pixbuf library
2010-07-05 15:11:25 +03:00
Tor Lillqvist
91728b0890
Drop gdk-pixbuf stuff
2010-07-05 14:57:04 +03:00
Tor Lillqvist
130c42c4c9
We need to link gdk with the gio library for non-X11 backends
...
(For X11, we link with gio-unix which takes care of it.)
2010-07-05 14:45:35 +03:00
Javier Jardón
3805dc3605
Deprecate GtkWindow:allow-grow and GtkWindow::allow_shrink properties
...
Bump required Glib version to 2.15.10 as we are using the
new G_PARAM_DEPRECATED
2010-07-02 21:55:14 +02:00
Colin Walters
e339a9b0da
Actually build faq if enabled
...
Previously we required an explicit "make html" in this subdirectory
for no reason. Just build it if make is invoked at the toplevel
and we have docbook.
2010-07-01 15:16:25 -04:00
Javier Jardón
6de36e580b
[gdk] Add gdk_window_has_native() function
...
https://bugzilla.gnome.org/show_bug.cgi?id=622677
2010-07-01 02:39:39 +02:00
Benjamin Otte
b1cc8b9cd8
Make toolbutton not call functions on non-GtkMisc
2010-06-30 18:43:26 +02:00
Benjamin Otte
807c14741f
Deprecate GdkRegion symbols that have no Cairo equivalent
...
https://bugzilla.gnome.org/show_bug.cgi?id=613284
2010-06-30 16:25:03 +02:00
Matthias Clasen
b404a437c7
Bump version
2010-06-29 22:36:15 -04:00
Matthias Clasen
ce8a190b25
Update NEWS for GTK+ 2.21.4
2010-06-29 21:11:34 -04:00
Matthias Clasen
f23c956473
Revert commit a9b778931c
...
The change turned out to break the pygtk build. So add the
pointless return values back, and document them as going
away in the future.
2010-06-29 21:07:54 -04:00
Matthias Clasen
c47c91cd3a
Make sure we always include gdk-pixbuf in the gdk requires
...
This is needed since we include gdk-pixbuf.h in public gdk headers
(cherry picked from commit b6cc7dbd21
)
2010-06-29 07:58:33 -04:00
Colin Walters
d89ac0ba69
Support NOCONFIGURE (from gnome-common)
...
gnome-common's autogen.sh uses NOCONFIGURE to skip running configure.
Support that in addition to the current AUTOGEN_SUBDIR_MODE.
2010-06-28 17:45:41 -04:00
Matthias Clasen
bdbe090dc0
Silence the build
2010-06-28 13:31:57 -04:00
Matthias Clasen
6af9817392
Fix dynamic module check
...
Also, prevent a stray 'yes' in configure output by putting the
corresponding AC_MSG_CHECKING call back
Bug 623016
2010-06-28 12:38:38 -04:00
Philip Withnall
b89dcab5a5
Add allow-none to gdk_window_set_cursor()
2010-06-27 19:20:54 +01:00
Kristian Rietveld
e634f3fbe0
Move Leopard-specific type definitions to gdkquartz.h
...
Update includes subsequently where it matters. Fixes build on Mac OS
X 10.4.
2010-06-27 10:41:15 +02:00
Kristian Rietveld
3770d914ec
Refactor to use API that's available in OS X 10.4 as well
2010-06-27 10:41:15 +02:00
John Ralls
093a867e51
Bug 622333 - Crash in gdk_window_impl_quartz_begin_paint_region
2010-06-27 10:41:15 +02:00
Kristian Rietveld
9f5f47f8be
Flip clip mask image when setting clip mask on GC
2010-06-27 10:41:15 +02:00
Kristian Rietveld
49f72c1fb4
Rework color translation to support gray scale and bitmaps
2010-06-27 10:41:15 +02:00
Kristian Rietveld
42d07ad6ce
Add gray visual, implement "get_best" functions
2010-06-27 10:41:15 +02:00
Matthias Clasen
75585d16de
Bump version
2010-06-27 01:52:12 -04:00
Matthias Clasen
f1b158bacd
Updates
2010-06-27 00:54:16 -04:00
Matthias Clasen
674b196577
Adapt to the new, external gdk-pixbuf
2010-06-26 21:57:04 -04:00
Matthias Clasen
2417a819ef
Remove gdk-pixbuf pc files.
...
Noticed in bug 622847
2010-06-26 21:30:21 -04:00
Mirsal Ennaime
1607efc0b5
Add an accessor for the GSEALed Gtkbutton's event_window attribute
...
* Add the gtk_button_get_event_window() function
Closes: bgo#622581
(cherry picked from commit 23a61525f6
)
2010-06-26 21:22:48 -04:00
Matthias Clasen
47f0af6092
Add context to detail strings when drawing steppers
...
As usual, this is protected by a style property:
GtkRange::stepper-position-details
The detail strings are
<detail>_start, <detail>_end and <detail>_middle.
See bug 621250
(cherry picked from commit e73a2e5654
)
2010-06-26 21:10:41 -04:00
Matthias Clasen
cbf303d8c6
Add an accessor for GdkImage->mem
...
See bug # 522756
(cherry picked from commit 53796b7f1f
)
2010-06-26 17:00:39 -04:00
Tristan Van Berkom
1adba9e908
Exposed GtkTreeView's internal GtkTreeSelection for builder files
...
(cherry picked from commit 17516dc83c
)
2010-06-26 14:27:15 -04:00
Matthias Clasen
63a276654d
Make the message area available in gtkbuilder as well
...
See bug 32069.
2010-06-26 14:24:59 -04:00
Ignacio Casal Quinteiro
eb1ec05da3
Fix annotation of gtk_text_iter_(forward/backward)_search.
...
(cherry picked from commit 7e3e2bf29a
)
2010-06-26 14:24:49 -04:00
Marek Kasik
c1c3670711
Don't handle CUPS' "connecting-to-device" state reason
...
CUPS backend shouldn't handle "connecting-to-device" state reason.
It shows "Printer '%s' may not be connected" for this state,
which is not true in almost all cases. Better is to use
"printer-state-message" which contains correct message (#622011 ).
(cherry picked from commit 998459afb7
)
2010-06-26 14:24:34 -04:00
Javier Jardón
081eaf4484
Remove unnused variable
...
(cherry picked from commit 7ea1556cd0
)
2010-06-26 14:17:30 -04:00
Chris Kühl
85ed525682
[docs] Fixes issue with GtkEntryBuffer signal documentation
...
(cherry picked from commit 078da34a26
)
2010-06-26 14:11:00 -04:00
Stanislas Marquis
82c89e9456
[docs] Fix gtk_tree_sortable_set_sort_column_id()
...
@sortable => @sort_column_id
Signed-off-by: Javier Jardón <jjardon@gnome.org >
(cherry picked from commit a14c820aa9
)
2010-06-26 14:09:53 -04:00
Javier Jardón
70094721aa
[docs/gtk-faq] Close <para> tag
...
(cherry picked from commit d581c619db
)
2010-06-26 14:08:31 -04:00
Javier Jardón
6eebe91b7a
[gtk/gtkmenu] Emit an "attach-widget" event in gtk_menu_attach_to_widget()
...
Reported by ageorge@datasys.net in bug
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=621683
(cherry picked from commit 318fa1e179
)
2010-06-26 14:06:48 -04:00
Javier Jardón
90dd7e2990
[docs] Fix missing comma in gtkrc docs
...
Reported by Alexander Saprykin in bug
https://bugzilla.gnome.org/show_bug.cgi?id=621775
2010-06-26 14:06:10 -04:00
Stanislas Marquis
f0fa511457
[docs] Add 'Since: 2.16' tag to GtkEntryIconPosition
...
Signed-off-by: Javier Jardón <jjardon@gnome.org >
(cherry picked from commit 972e75e8b0
)
2010-06-26 14:05:20 -04:00
Thomas Wood
a9b778931c
GtkCalendar: some functions always return TRUE, so change them to void
...
Certain functions for GtkCalendar always return the same value. Therefore
they do not actually need to return a value at all.
Bug #621136 .
(cherry picked from commit e19c50b538
)
2010-06-26 14:03:32 -04:00
Paolo Borelli
ace3ea4a89
Annotate the methods to get TextBuffer iters
...
(cherry picked from commit cf14d4f368
)
2010-06-26 14:03:00 -04:00
John (J5) Palmieri
95b7dca983
annotate gtk_color_selection_get_current_color color param as out
...
(cherry picked from commit 76db7d69f1
)
2010-06-26 13:53:15 -04:00
Matthias Clasen
cb29d27707
Make GTK+ build against an external gdk-pixbuf
2010-06-26 02:29:29 -04:00
Colin Walters
946c1ca136
Actually build the tutorial if enabled
...
Previously we required an explicit "make html" in this subdirectory
for no reason. Just build it if make is invoked at the toplevel
and we have docbook.
2010-06-25 21:03:34 -04:00
Matthias Clasen
fa7ace866c
Fix the build
...
Forgot to update callers of _gtk_window_group_get_current_grab.
2010-06-24 13:06:29 -04:00
Javier Jardón
7d6d1af7a1
[docs] Fix annotations: "(allow-none): (out)" -> "(out) (allow-none)"
2010-06-24 18:13:17 +02:00
Javier Jardón
022f88a6ac
[GtkTable] Add gtk_table_get_size()
...
Add accessor function to retrieve the number of rows and columns
in the table.
2010-06-24 17:49:30 +02:00
Matthias Clasen
5c93288199
Make gtk_window_group_get_current_grab public
...
See bug #620832 .
2010-06-24 11:21:29 -04:00
Javier Jardón
c0c4ab0946
[gtk] Add gtk_font_selection_dialog_get_font_selection()
...
This is needed to access the fontsel sealed member.
2010-06-23 01:38:36 +02:00
Javier Jardón
a39c3b43b2
[test] Exclude message-area as it's a object property
2010-06-22 22:46:29 +02:00
Javier Jardón
8ceef86cf8
Add new api to gtk.symbols
...
Add newly added api gtk_accessible_set_widget() and
gtk_message_dialog_get_message_area()
2010-06-22 21:52:48 +02:00
Javier Jardón
200896e9b9
Use the correct guards in gtk_accessible_set_widget()
...
Also, allow the widget variable to be NULL
2010-06-22 21:13:41 +02:00
Tor Lillqvist
bba451147b
Generate correct grab broken event for WM_KILLFOCUS
...
WM_KILLFOCUS means that a keyboard grab (not a pointer grab), if any,
has been broken. I don't think this bug has matterd much as gtk
generates a grab-broken-event signal for both keybord and pointer
grabs being broken anyway.
2010-06-22 21:32:05 +03:00
Federico Mena Quintero
ce504e2217
bgo#328069 - Add gtk_message_dialog_get_message_area()
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2010-06-22 13:10:52 -05:00
Vincent Untz
49943be22b
bgo#622371 - Add gtk_accessible_set_widget() - the widget field was GSEAL()ed.
...
https://bugzilla.gnome.org/show_bug.cgi?id=622371
2010-06-22 12:22:38 -05:00
Yaakov Selkowitz
6922490fa5
Do not dist gir_DATA
...
GIR files contain a shared-library attribute which varies per platform,
and therefore must not be disted; see bug 621611 for rationale.
https://bugzilla.gnome.org/show_bug.cgi?id=621719
2010-06-20 08:26:26 +02:00
Matthias Clasen
cbb01e6063
Prevent concurrent use of GTK+ 2 and 3
...
If we detect a gtk3-only symbol, error out early.
2010-06-18 22:40:50 -04:00
Javier Jardón
606180b746
Deprecate GTK_OBJECT_FLAGS() and GtkObjectFlags enum
...
This macro will be moved to a private header in GTK+3.
https://bugzilla.gnome.org/show_bug.cgi?id=615666
2010-06-16 20:50:29 +02:00
Javier Jardón
8fc7a58504
gail: do not use removed GTK_WIDGET_*SET macros
...
In the absence of new API to port to, left the code commented
with a /* FIXME */ state, for somebody with better gail knowledge
to fix.
2010-06-16 20:44:00 +02:00
Benjamin Otte
a8e3ce6bb4
Can't select file on file browser after changing sort order
...
The row values are 1-indexed not 0-indexed, this has to be taken into
account when producing the new_order array.
https://bugzilla.gnome.org/show_bug.cgi?id=621414
2010-06-16 12:41:40 +02:00
Benjamin Otte
6138f23f5b
Make declaration return a boolean when the function does that
2010-06-16 11:54:41 +02:00
Matthias Clasen
d9250dfa1f
Bump version
2010-06-10 14:13:37 -04:00
Matthias Clasen
a36bfa1424
2.21.2
2010-06-10 14:11:20 -04:00
Matthias Clasen
75afa7d8d3
Don't call update-po at dist time
...
Since we want to not commit changes after distcheck
2010-06-10 12:42:20 -04:00
Matthias Clasen
68f31098ad
Updates
2010-06-10 10:16:41 -04:00
Cosimo Cecchi
5b41e388c9
Add missing methods to the GdkDragContext docs.
2010-06-10 16:12:34 +02:00
Cosimo Cecchi
b5fdb45259
Add a missing accessor for GdkDragContext->source_window.
2010-06-10 16:12:34 +02:00
Marek Kasik
52c7ad6de3
Test connection to all given addresses when printing
...
Go to the next address given by CUPS if we fail to connect to
previous address (#603637 ).
(cherry picked from commit f8ac123192
)
2010-06-10 09:50:59 -04:00
Johan Dahlin
05dad359e7
[gtktreeview] Add a couple of annotations
...
(cherry picked from commit 5c283cacbe
)
2010-06-10 09:11:40 -04:00
Matthias Clasen
eade6b23be
Updates
2010-06-10 09:06:02 -04:00
Michael Natterer
e494ec1d61
gdk: fix typo in the docs for gdk_drag_context_get_selected_action()
2010-06-10 13:15:12 +02:00
Cosimo Cecchi
54e959ef96
Add an accessor for GtkViewport->view_window ( #621081 ).
2010-06-09 18:23:20 +02:00
Steve Frécinaux
1a00cb9df5
[gtkwidget] Add type annotations for the event signals.
2010-06-08 22:38:40 +02:00
Benjamin Otte
af7f95207e
menu: Fix wrong comparison causing navigation region to not get removed
...
The navigation region that got created for right-facing submenus when
moving the cursor up would have two negative values which caused the
check to go wrong.
I refactored the code to make that check into a separate function as it
makes the check not only harder to get wrong, but also the code easier
to read.
http://bugzilla.gnome.org/show_bug.cgi?id=620863
2010-06-08 21:56:28 +02:00
Federico Mena Quintero
4acbc2fdb0
bgo#608537 - Make the file chooser's sort arrows consistent with the HIG
...
... Although I think the HIG gets things backwards anyway.
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2010-06-08 12:11:00 -05:00
Hib Eris
070afc587c
[gdk/win32] Fix typo
2010-06-08 15:46:05 +02:00
John (J5) Palmieri
3b50f22873
add transfer-none to return value of gtk_widget_get_window
2010-06-07 18:38:21 -04:00
Steve Frécinaux
d3adde0116
[gdkevents] Add annotations for GdkEvent getters.
2010-06-08 00:05:58 +02:00
Steve Frécinaux
88dbf5cabf
[gtktextbuffer] Annotate gtk_text_buffer_create_mark()
...
Add (transfer none) to the return value of gtk_text_buffer_create_mark(),
as the documentation clearly states the caller doesn't have ownership of
the returned value.
2010-06-08 00:04:26 +02:00
John (J5) Palmieri
1bd94d731b
annotate allow-none for gtk_image_menu_item_new_from_stock accel_group param
2010-06-07 16:17:31 -04:00
John (J5) Palmieri
5ac10f45f1
add allow-none annotation to gtk_clipboard_set_can_store's targets parameter
2010-06-07 13:20:01 -04:00
Stanislas Marquis
f14fc8bc37
[docs] Fix GtkWindow: activate-default => activate-focus.
...
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-06-05 00:47:16 +02:00
Matthias Clasen
d780a23746
Silence a few warnings in !HAVE_RANDR builds
...
(cherry picked from commit b96a05b81f
)
2010-06-04 15:47:42 -04:00
Matthias Clasen
e6b02c883f
Silence a few configure warnings about datarootdir
...
(cherry picked from commit 112d97d498
)
2010-06-04 15:47:28 -04:00
Matthias Clasen
429b728fe1
Fix a typo
...
(cherry picked from commit 354086bafc
)
2010-06-04 15:47:16 -04:00
Matthias Clasen
c3a9713775
Avoid a 'EXTRA_DIST multiply defined' warning
...
(cherry picked from commit 974d7137a0
)
2010-06-04 15:47:02 -04:00
Javier Jardón
e4ece66c9c
gtktoolshell: Fix some "Since" tags
...
get_ellipsize_mode(), get_text_alignment(), get_text_orientation()
and get_text_size_group() were added in GTK+ 2.20, not 2.14.
Reported by Stanislas Marquis on IRC.
2010-06-04 17:55:38 +02:00
Colin Walters
c8262d39fa
Use g_source_set_name for all custom GSources in GTK+
...
Naming the sources allows easier debugging with e.g. SystemTap
probes.
https://bugzilla.gnome.org/show_bug.cgi?id=620511
2010-06-03 21:32:06 -04:00
Colin Walters
e16a965ef6
Require glib git (for upcoming g_source_set_name patch)
2010-06-03 21:31:25 -04:00
Matthew Barnes
01e2fc5b5a
Bug 596428 - GtkAssistant: Support ending with a progress page
...
- Add gtk_assistant_commit()
This function discards the visited pages list so the back button is not
shown on the current page, and removes the cancel button from subsequent
pages. Use this when information provided thus far cannot be revisited.
- Don't show the Forward button on a GTK_ASSISTANT_PAGE_PROGRESS if it's
the last page (according to the forward page function).
- Append a progress page to the GtkAssistant demo.
2010-06-03 17:27:34 -04:00
Michael Natterer
22c61e0c8f
app: forgot to update API docs in the last commit
2010-06-02 21:11:45 +02:00
Michael Natterer
d393cb377c
gdk: rename gdk_drag_context_get_action() to gdk_drag_context_get_selected_action()
...
so its purpose is clear.
2010-06-02 20:42:11 +02:00
Didier Roche
8a6f6b5421
Fix fail to build when building with introspection
...
In debian/ubuntu, builddir != srcdir. This trigger an error on
introspection_files where srcdir is added to x11/*.c. Indeed,
srcdir is added again later: $(addprefix $(srcdir)/,$(introspection_files))
making $(srcdir)/$(srcdir)/x11/*.c (not an issue on jhbuild as srcdir = .)
2010-06-02 18:25:12 +02:00
Garrett Regier
75e48d68bc
Bug 611709 - Add gtk_statusbar_remove_all
2010-06-02 17:57:25 +02:00
Cody Russell
6c0ff288b0
Bug 608218 - GtkOffscreenWindow causes bad window with GtkEntry
...
We now exit early from gdk_window_register_dnd() to avoid crashing if the
window type is GDK_WINDOW_OFFSCREEN and does not support dnd operations.
This makes it possible to use any dnd-enabled widgets, such as GtkEntry,
within a GtkOffscreenWindow.
2010-06-01 18:46:38 -05:00
Matthias Clasen
ae7cfc70c7
Bump version
2010-05-30 18:33:09 -04:00
Matthias Clasen
2788322135
2.21.1
2010-05-30 18:30:16 -04:00
Michael Natterer
7cfdf8fa32
tests: gtk_box_new() is 3.0 API, use gtk_vbox_new() instead
2010-05-30 15:34:27 +02:00
Matthias Clasen
4451536712
Fix the build
...
One hunk got lost when cherry-picking the icon view keynav changes.
2010-05-30 02:56:16 -04:00
Matthias Clasen
fcf0edb6c1
Updates
2010-05-30 02:39:33 -04:00
Sebastian Dröge
39f3d5e182
Don't include __bss_start, _edata and _end symbols in the abichecks
...
They are added by the binutils gold linker.
2010-05-30 02:26:32 -04:00
Tor Lillqvist
97015c226f
Don't use g_drag_context_ref
...
(cherry picked from commit a709056140
)
2010-05-30 02:23:03 -04:00
Javier Jardón
fe22d4a402
[docs] Fix GdkColor description: blue and green colors are changed
...
Reported by César Themudo here:
https://bugzilla.gnome.org/show_bug.cgi?id=618162
(cherry picked from commit b76557e944
)
2010-05-30 02:22:26 -04:00
Javier Jardón
6abc512298
Fix typo in gtkprintoperation
...
Reported by Andika Triwidada in
https://bugzilla.gnome.org/show_bug.cgi?id=618093
(cherry picked from commit 7b2024c1bd
)
2010-05-30 02:22:09 -04:00
Matthias Clasen
5cededa0aa
Improved icon view keynav
...
Use ::keynav-failed for arrow navigation in icon views, so that
it is possible to override error handling. Also add API to get the
row/col of an item. With this, it is possible to make arrow keynav
span adjacent icon views, which is desired in the new control-center
shell. testiconview-keynav demonstrates this.
2010-05-30 02:19:50 -04:00
Michael Natterer
cb8c076321
Bug 607628 - DnD operation doesn't work when using offscreen
...
Changed the way to find the drop widget from a top->bottom recursion
using GdkWindow positions to a liner bottom->top walk up the widget
hierarchy using _gtk_widget_find_at_coords() and
gtk_widget_translate_coordinates(), which both do the right things for
offscreen widgets.
2010-05-29 05:04:54 +02:00
John (J5) Palmieri
3e16fd9967
gtk_tree_selection_get_selected: added transfer none annotation to model out arg
2010-05-27 18:38:18 -04:00
John (J5) Palmieri
84e9c08a40
gtk_tree_view_get_model: return value annotated transfer none
2010-05-27 17:00:51 -04:00
John (J5) Palmieri
e89187fc87
annotation fixes
...
* gtk_tree_model_get_column_type: transfer none added to the return value
* gtk_tree_model_get_path: value parameter switched from inout to out
so that it is annotated with caller-allocates
2010-05-27 17:00:31 -04:00
Javier Jardón
b0359fb944
Deprecate GTK_NO_REPARENT
2010-05-27 19:19:07 +02:00
Javier Jardón
cfb988ab38
Seal gdk
...
Add G_SEAL annotation for struct members, and add accessors for
the (useful) fields. Patch based on work by Garrett Regier,
see bug #592580 .
2010-05-27 16:25:54 +02:00
Michael Natterer
c4b1bbf3e2
Bug 607628 - DnD operation doesn't work when using offscreen
...
Turn find_widget_under_pointer() into internal API
_gtk_widget_find_at_coords() which is needed for fixing above
bug. This should actually be a public utility function, and will be
moved to another file when its final API has been decided.
2010-05-26 17:15:39 +02:00
Carlos Garcia Campos
4acc2716cb
GtkWindow: Add gtk_window_has_group()
...
To check whether the window has an explicit group
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=618271
2010-05-26 17:01:01 +02:00
Benjamin Otte
6c7dc26935
Revert "Implement GdkRegion in terms of cairo_region_t"
...
This reverts commit 5616bdc3dc
.
I always thought cairo_region_t was a Cairo 1.8 feature. Apparently it
isn't, so the 3 patches I just reverted made Gtk depend on an unreleased
Cairo version. This is obviously not a good thing.
Expect those patches to reland once there's a Cairo 1.10 out (probably
around Gtk 4...)
2010-05-26 09:25:55 +02:00
Benjamin Otte
863853ec5f
Revert "Remove _gdk_region_new_from_yxbanded_rects()"
...
This reverts commit dde9cf2882
.
2010-05-26 09:25:44 +02:00
Benjamin Otte
fd20ac0751
Revert "Deprecate the GdkRegion API"
...
This reverts commit 821dd33918
.
2010-05-26 09:25:35 +02:00
John (J5) Palmieri
15037df282
add a transfer none annotation to gtk_tree_view_get_selection
...
* it returns the selection from its priv structure without reffing
2010-05-25 11:51:27 -04:00
Matthias Clasen
2aa560865e
Fix libjasper test
...
This was reported in bug 551322.
(cherry picked from commit 8e315466b9
)
2010-05-24 13:31:42 -04:00
Marek Kasik
45a83fdbeb
Honor PPD reading over listing of printers
...
Reading of PPD files collides with getting list of printers.
It helps to give higher priority to getting of PPDs than to
getting list of printers (#614581 ).
2010-05-24 16:54:34 +02:00
Benjamin Otte
821dd33918
Deprecate the GdkRegion API
...
Includes fixing all callers to use the cairo region API instead. This is
usually just replacing the function names, the only difference is
gdk_region_get_rectangles() being replaced by
cairo_region_num_rectangles() and cairo_region_get_rectangle() which
required a bit more work.
https://bugzilla.gnome.org/show_bug.cgi?id=613284
2010-05-23 23:27:15 +02:00
Benjamin Otte
dde9cf2882
Remove _gdk_region_new_from_yxbanded_rects()
...
It was an internal function and we can use
cairo_region_create_rectangles() instead.
https://bugzilla.gnome.org/show_bug.cgi?id=613284
2010-05-23 23:20:30 +02:00
Benjamin Otte
5616bdc3dc
Implement GdkRegion in terms of cairo_region_t
...
Only changes in headers: GdkRegion is typedeffed to cairo_region_t. The
type was opaque so it doesn't matter.
https://bugzilla.gnome.org/show_bug.cgi?id=613284
2010-05-23 23:16:06 +02:00
Benjamin Otte
43091232a2
Get rid of navigation region in GtkMenu
...
This completes the move to get rid of using a GdkRegion for the
navigation region and the only user of gdk_region_polygon(). We keep
track of the triangle and compute in/out points ourselves now.
Unfortunately the DRAW_STAYUP_TRIANGLES debugging code doesn't work
using cairo, so I removed it completely.
2010-05-23 22:51:55 +02:00
Benjamin Otte
239cfddc97
Create the navigation region without flipping
...
Gets rid of some code in preparation to switching to do the computation
completely without GdkRegion.
2010-05-23 21:06:24 +02:00
Matthias Clasen
ef2dc17256
Deprecate GtkBoxChild
...
This was discussed in bug 613132.
Conflicts:
gtk/gtkbox.h
2010-05-22 00:18:16 -04:00
Matthias Clasen
60d1ac5539
Remove long-obsolete docs
...
There are no traces of GDK_USE_XFT, GXID_HOST or GXID_PORT in the
code anymore.
(cherry picked from commit 7652c2b3e0
)
2010-05-21 22:16:38 -04:00
Matthias Clasen
c81abfae02
Document GSEAL_ENABLE with other preprocessor symbols.
...
(cherry picked from commit 747c834f27
)
2010-05-21 22:08:58 -04:00
Matthias Clasen
a184432baf
Make the !xkb build survive a little longer
...
This fixes bug 619114.
(cherry picked from commit eff1fe2500
)
2010-05-21 12:15:52 -04:00
Marek Kasik
8cd4c387f0
Update list of US Letter locales
...
Sync paper size fallbacks with the latest 1.8.1 CLDR table (#618000 ).
2010-05-21 12:14:30 +02:00
Jan Arne Petersen
96986af5b4
GtkRange: Redraw if GtkRange is a GtkScale and value is drawn.
...
* gtk/gtkrange.c: (gtk_range_adjustment_value_change):
Queue the draw also if the range is a scale and the value is drawn,
fixing bug #533946 (Markus Brinkmann), when two HScales use one
adjustment.
2010-05-18 08:54:57 +02:00
Matthias Clasen
02d8976176
Another attempt to handle pngs changing int types
...
(cherry picked from commit 006d5718fa
)
2010-05-17 18:53:49 -04:00
Luca Ferretti
c05ec8d783
Updated Italian translation
2010-05-14 12:54:15 +02:00
Kristian Rietveld
42664a22cf
Bug 565559 - Incorrect leave-notify signals for treeview
...
Set enter and leave notify mask on header window.
Extract from a patch by Hans van Hintum.
2010-05-12 12:20:18 +02:00
Paul Davis
7d61c9fff5
Remove arbitrary limit on number of redraw rectangles
...
The aim of this limit was to not degrade performance too much, however,
it actually did degrade performance to a large extent.
2010-05-12 12:20:16 +02:00
Matthias Clasen
7df52ebdd4
bump version
2010-05-07 17:17:37 -04:00
Matthias Clasen
f2f0ae89ae
2.21.0
2010-05-07 17:13:56 -04:00
Matthias Clasen
bec4cfc758
Update
2010-05-07 16:08:23 -04:00
Matthias Clasen
1fb1f6a7b1
Correct a Since: tag
2010-05-07 13:34:36 -04:00
Matthias Clasen
0e7f5332d3
Add an index for 2.22 api additions
2010-05-07 09:28:21 -04:00
Javier Jardón
489657f305
Use event instead key in the previous patch
2010-05-05 04:08:23 +02:00
Javier Jardón
fc35cd9bfe
Added api to reset the im context in GtkTextView and GtkEntry
...
Also, added api to allow an input method to internally handle
key press and release events in the GtkTextView and GtkEntry
cases.
This is simply a wrapper to the gtk_im_context_filter_keypress()
function, but It's added to not access the ->im_context
directly.
Based on a Christian Dywan patch
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=163251
2010-05-05 03:16:15 +02:00
Javier Jardón
501098e946
Remove the definition of libpixbufloader_gdip_png_la_*
...
libstatic-pixbufloader-gdip-png.la should not be built or at least not
included in STATIC_GDIPLUS_LIBS as we don't want to use the GDI+-based
loader for PNG, because if we do, we can't get (or was it set?) the
options of a PNG pixbuf that for instance some code in GIMP wants to do.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=607839
2010-05-04 16:10:56 +02:00
Benjamin Otte
bd873014ca
filechooser: Fix a crash when removing files
...
The file removal code was not properly clearing the file=>array index
cache, so later lookups into that cache would return invalid array
indexes.
The easiest way to reproduce it is to create a directory with two files
and deleting both of them.
Reported-by: Javier Jardón <jjardon@gnome.org >
2010-05-02 14:36:53 +02:00
Javier Jardón
3cc9575323
Move documentation to inline comments: GtkHBox
2010-04-28 04:29:41 +02:00
Javier Jardón
a6ed128abf
Move documentation to inline comments: Testing utilities
2010-04-28 04:20:10 +02:00
Javier Jardón
1e2dabf31d
Allow NULL as 'icon_widget' in gtk_tool_button_new()
...
This completes the patch of
commit b8ec73a52f
2010-04-27 03:26:11 +02:00
Javier Jardón
d3d4cf0e84
Deprecate GTK_WIDGET_*SET_FLAGS() macro
...
The macro GTK_WIDGET_SET_FLAGS(w, GTK_VISIBLE) should
still be fixed internally.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-27 02:45:18 +02:00
Mirsal Ennaime
5eaff47e85
Add accessors for GtkTextView adjustments
...
GtkTextView is missing accessors for its sealed hadjustment
and vadjustment members.
This patch adds gtk_text_view_get_hadjustment() and
gtk_text_view_get_vadjustment() to GtkTextView
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=616053
2010-04-27 02:23:07 +02:00
Javier Jardón
41a073263a
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_HAS_DEFAULT)
...
Introduce internal _gtk_widget_set_has_default() for this
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=614515
2010-04-26 21:10:15 +02:00
Javier Jardón
45257e31c7
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_TOPLEVEL)
...
Introduce internal _gtk_widget_set_is_toplvel() for this
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=614510
2010-04-26 21:07:20 +02:00
Javier Jardón
560e426f16
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_HAS_GRAB)
...
Introduce internal _gtk_widget_set_has_grab() for this
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=614513
2010-04-26 21:04:51 +02:00
Javier Jardón
b8ec73a52f
Only a GtkMisc widget should be passed to gtk_tool_button_new()
...
Reported by Hernando Torque here:
https://bugzilla.gnome.org/show_bug.cgi?id=616851
2010-04-26 20:23:39 +02:00
Emmanuele Bassi
621b415e5b
tree-view: Use gtk_widget_send_focus_change()
...
Remove the second (and last) internal user of the GTK_HAS_FOCUS flag.
https://bugzilla.gnome.org/show_bug.cgi?id=593671
2010-04-26 18:59:24 +01:00
Emmanuele Bassi
91930f86b2
window: Use gtk_widget_send_focus_change()
...
Remove the original user of the GTK_HAS_FOCUS flags.
https://bugzilla.gnome.org/show_bug.cgi?id=593671
2010-04-26 18:59:23 +01:00
Emmanuele Bassi
f04a720348
widget: Add send_focus_change()
...
Currently the only users of the GTK_HAS_FOCUS flag are setting it
before sending a focus change event. This is normally needed by
GtkWindow, but there are widgets that require controlling the focus
of widgets that are semantically their children even though they are
parented to another top-level. Case in point: the quick search entry
for GtkTreeView.
Over the years people have been hacking the focus change out of
gtkwindow.c and gtktreeview.c, thus leaking the direct access of the
GTK_HAS_FOCUS flag.
The simplest way to avoid that is to add a function that sends the
focus change event and controls the setting of the flag, thus removing
the need for external widgets to do the same.
https://bugzilla.gnome.org/show_bug.cgi?id=593671
2010-04-26 18:59:22 +01:00
Mike Gorse
15482528a5
Implement action interface for gailcell.
...
Bug #580889 .
2010-04-26 16:12:59 +08:00
Peteris Krisjanis
52887f0006
Updated Latvian translation.
2010-04-24 21:40:15 +03:00
Baurzhan Muftakhidinov
1ab3fc02f9
Added Kazakh translation
2010-04-24 12:30:03 +02:00
Florian Scandella
53fae3247c
Add heuristic for primary monitor
...
Use the first monitor returned by RANDR as primary, if primary
is not set and no LVDS is found.
https://bugzilla.gnome.org/show_bug.cgi?id=615128
2010-04-23 23:42:02 +02:00
Carles Ferrando
093722fcc8
Updated Catalan (Valencian) translation
2010-04-23 00:15:20 +02:00
Carles Ferrando
e816ab7cff
Updated Catalan (Valencian) translation
2010-04-23 00:10:32 +02:00
Torsten Schönfeld
85d166fbb9
[docs] Fix a typo in the offscreen windows docs
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=616565
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-04-22 23:17:32 +02:00
Claude Paroz
5e22dd4e43
Revert "Make GTK+ Tutorial gnome-doc-utils compliant"
...
This reverts commit 4d1cf25080
.
GTK+ maintainers should first approved the gnome-doc-utils dependency
before this migration.
2010-04-22 21:11:53 +02:00
Claude Paroz
4d1cf25080
Make GTK+ Tutorial gnome-doc-utils compliant
2010-04-22 20:18:32 +02:00
Matthias Clasen
78e68d4548
Update the gdk_event_free docs
...
Bug 616118
2010-04-22 14:13:35 -04:00
Shankar Prasad
af06c64edb
Updated Kannada translations
2010-04-22 16:33:24 +05:30
Shankar Prasad
206f2bbfa8
Updated Kannada translations
2010-04-22 16:30:17 +05:30
Mike Gorse
3f78773862
Notify ATK_STATE_ENABLED change when ATK_STATE_SENSITIVE changes if necessary.
...
Bug #615999 .
2010-04-22 12:24:41 +08:00
Javier Jardón
95fd5011c2
Move documentation to inline comments: GtkMessageDialog
...
Also, add a note about GTK_BUTTONS_OK, GTK_BUTTONS_YES_NO
and GTK_BUTTONS_OK_CANCEL are discouraged by the GNOME HIG.
https://bugzilla.gnome.org/show_bug.cgi?id=597865
2010-04-21 05:57:29 +02:00
Claudio Saavedra
51a1af7aa4
Use the proper screen in _gdk_windowing_get_shape_for_mask()
...
Bug 615853 - BadMatch when pressing keyboard volume keys while pointer in
secondary X screen
_gdk_windowing_get_shape_for_mask() is using the default screen, not taking
into account that its GdkBitmap could have been created for a different one,
causing BadMatch errors.
2010-04-19 18:51:27 +03:00
Javier Jardón
4e50724471
Bump version to 2.21.0
2010-04-19 17:46:51 +02:00
Javier Jardón
791962e06d
Include <X11/Xutil.h> in gdkdnd-x11.c
...
Otherwise, inclusion of shape.h triggers an unknown type error
for Region, and compile fails, at least in Solaris.
Reported by Philip Brown here:
https://bugzilla.gnome.org/show_bug.cgi?id=615028
2010-04-18 19:54:22 +02:00
Javier Jardón
72d5cc8cd5
[docs] Move documentation to inline comments: GailTextUtil and GailMisc
2010-04-18 19:46:29 +02:00
Javier Jardón
508ed4bbab
[docs] Move documentation to inline comments: GtkArrow
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611957
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-04-18 17:59:53 +02:00
Steven Harms
c3d5faf6b7
[docs] Move documentation to inline comments: GtkVButtonBox
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611833
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-04-18 08:54:40 +02:00
Tadej Borovšak
5f767e2c48
[docs] Move documentation to inline comments: GtkAssistant
...
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-04-18 08:02:03 +02:00
Tadej Borovšak
51e32fe67a
[docs] Move documentation to inline comments: GtkBuildable
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611741
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-04-18 05:27:22 +02:00
Tadej Borovšak
8e8d302d10
[docs] Move documentation to inline comments: GtkBin
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=612351
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-04-18 05:19:21 +02:00
Tadej Borovšak
4c0cf04688
[docs] Move documentation to inline comments: GtkAspectFrame
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611958
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-04-18 05:08:36 +02:00
Tadej Borovšak
b802be45b3
[docs] Move documentation to inline comments: GtkAlignment.
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611956
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-04-18 04:55:27 +02:00
Tadej Borovšak
b6a6142556
[docs] Move documentation to inline comments: GtkAction
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611952
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-04-18 04:49:51 +02:00
Steven Harms
6cdeb370a1
[docs] Move documentation to inline comments: GtkVRuler
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611656
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-04-18 03:55:22 +02:00
Steven Harms
25b6994cba
[docs] Move documentation to inline comments: GtkVolumeButton
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611827
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-04-18 03:48:26 +02:00
Steven Harms
7693026e44
[docs] Move documentation to inline comments: GtkViewport
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611829x
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-04-18 03:29:16 +02:00
Steven Harms
75ffa7983a
[docs] Move documentation to inline comments: GtkVPaned
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611634
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-04-18 02:57:30 +02:00
Patrick Bernaud
6a9b72525a
[docs] Move documentation to inline comments: GtkSocket
...
https://bugzilla.gnome.org/show_bug.cgi?id=611707
2010-04-18 02:36:04 +02:00
Stefan Kost
d4a159d488
[docs] improve docs for gtk_accelerator_parse().
...
Link to gdk_keyval_from_name() and give example for non obvious accelerator
strings.
2010-04-16 21:30:47 +03:00
Javier Jardón
edfcc3dd41
[docs] Fix GtkWidget and GtkFileChooser documentation
...
gtk-doc version >= 1.14 is more strict, It produces valid xml
if the source is valid.
2010-04-15 22:58:39 +02:00
Javier Jardón
06f66c185a
Fix compilation warning: set a default case in switchs
2010-04-15 21:10:32 +02:00
Javier Jardón
8cde95bc5f
Fix compilation warning: remove unused variable
2010-04-15 16:19:42 +02:00
Andika Triwidada
6680266093
Updated Indonesian translation
2010-04-15 20:32:58 +07:00
Michael Natterer
9cac8f23d5
gdk: remove convert_coords_to_child()
...
and use the new public gdk_window_coords_from_parent().
2010-04-15 13:16:17 +02:00
Michael Natterer
878cde53d0
gdk: use gdk_window_is_offscreen() instead of checking manually
2010-04-15 13:08:47 +02:00
Michael Natterer
ece97b2359
Bug 615162 - Fix tooltips on offscreen widgets
...
Fix the "widget under pointer" logic and keyboard tooltip positioning
to do the right thing on offscreen widgets.
2010-04-15 13:03:43 +02:00
Michael Natterer
fdf936b5ad
gtk: fixes for offscreen widgets
...
Fix gtk_widget_translate_coordinates() and
_gtk_widget_synthesize_crossing() so they work in hierarchies with
offscreen widgets.
2010-04-15 13:02:04 +02:00
Michael Natterer
5a52d2a2f0
gdk: add API to convert coords between parent and child windows
...
which also works for offscreen windows and their embedder.
Also add gdk_window_get_effective_parent() and
gdk_window_get_effective_toplevel() which are offscreen aware.
2010-04-15 12:59:44 +02:00
Sandeep Shedmake
615f91dadd
Updated Marathi Translations
2010-04-14 17:51:16 +05:30
Sandeep Shedmake
9990b14d1a
Updated Marathi Translations
2010-04-14 15:53:53 +05:30
Vincent Untz
9b34203cb6
No accessor for GtkAccessible.widget
...
Add gtk_accessible_get_widget().
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=612509
2010-04-14 03:49:26 +02:00
Javier Jardón
7dcb7ec357
[docs] Fix gtk_button_box_set_child_size() documentation
...
Changing these variables is not supported anymore and can
only be set through the theme.
2010-04-13 21:23:14 +02:00
Martyn Russell
100ecea239
Fixed build failure for gtkorientable
2010-04-13 11:22:45 +01:00
Martyn Russell
72c51a5a6a
tracker-search-engine: Fixed whitespace issues and copyright/authors
2010-04-13 11:13:58 +01:00
Martyn Russell
f5781b42cf
tracker-search-engine: Improve search query to order by rank and title
2010-04-13 11:13:58 +01:00
Martyn Russell
f6c1d54b3f
tracker-search-engine: Fixed 0.7/0.8 issues and add 0.9 cases
2010-04-13 11:13:58 +01:00
Javier Jardón
af0a7aea5f
Use G_DEFINE_INTERFACE macro in gtkbuildable
...
https://bugzilla.gnome.org/show_bug.cgi?id=605186
2010-04-13 07:44:12 +02:00
Javier Jardón
9f6e03f231
Use G_DEFINE_INTERFACE macro in gtkorientable
...
https://bugzilla.gnome.org/show_bug.cgi?id=605186
2010-04-13 07:43:51 +02:00
Javier Jardón
e534897216
Use G_DEFINE_INTERFACE macro in gtkcelleditable
...
https://bugzilla.gnome.org/show_bug.cgi?id=605186
2010-04-13 07:42:34 +02:00
Tor Lillqvist
d5585745f1
Need to include Makefile.decl in the new Makefile.am files
...
Otherwise make check breaks.
2010-04-12 23:47:52 +03:00
Javier Jardón
5bcf3ba72a
Fix compilation warning: move function to proper location
...
Move _count_nodes() auxiliar function inside the
G_ENABLE_DEBUG define, where other auxiliar functions are.
2010-04-12 22:10:38 +02:00
Javier Jardón
3e5d49f52b
Fix compilation warning: Use G_ENABLE_DEBUG to enable the var
2010-04-12 22:10:34 +02:00
Tor Lillqvist
b3bd16e8bb
Use a honestly bogus GTK_LOCALEDIR in config.h.win32.in
...
Instead of something that looks like it might actually be intended to
exist.
2010-04-12 13:44:59 +03:00
Tor Lillqvist
34916b01ec
Some people use a hacked libtool that doesn't even install .la files
2010-04-12 13:42:31 +03:00
Tor Lillqvist
e544602065
Add Visual Studio 2008 project files
...
Similar setup as in GLib and Pango. Also here we use a build/win32/vs9
subfolder, even if there is nothing else in build or build/win32.
2010-04-12 12:45:40 +03:00
Tor Lillqvist
8d17d157ba
Update to match what configure produces
...
Just trivial irrelevant stuff.
2010-04-12 12:45:39 +03:00
Johan Bilien
d36b281a58
Fixed annotation of gdk_screen_get_rgb_colormap and similar
...
These return an object with no extra references, need to be transfer
none.
2010-04-09 13:53:19 -04:00
Javier Jardón
eb7121c4e6
[directfb] Fix compile error on DirectFB backend.
...
Add a stub for gdk_keymap_add_virtual_modifiers()
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=613988
2010-04-09 18:15:55 +02:00
Matthias Clasen
b4adea7477
Fix a silly mistake in primary_monitor handling
...
It doesn't make sense to determine an index into an array, if
you are going to sort the array afterwards...pointed out in
bug 615128 by Florian Scandella.
2010-04-09 09:05:38 -04:00
Thanos Lefteris
f5344f8d93
Updated Greek translation for gtk+
2010-04-09 01:45:17 +03:00
Tomas Bzatek
faf0beede0
FileChooser: Initialize search engines on demand
...
We postpone initialization of the search engines until
it's really needed. See bug 614971 for reference.
2010-04-07 15:07:05 +02:00
Tomas Bzatek
a812fcb305
Support for tracker 0.8 stable release
2010-04-07 15:02:18 +02:00
Matthias Clasen
0efb24f589
Yet another fix for shape handling
...
This should fix problems with awn and notify-osd.
2010-04-06 20:33:19 -04:00
Tristan Van Berkom
b9516e70f5
Add notes to GtkBuilder docs about the possible error domains, closed bgo #560147
2010-04-06 16:27:40 -04:00
Tristan Van Berkom
d92ee6dc68
Fixed gtk_builder_value_from_string_type() to always assign the GError
...
when returning FALSE, fixes bgo #615000 .
2010-04-06 16:25:43 -04:00
Theppitak Karoonboonyanan
b9002febd8
Updated Thai translation.
2010-04-06 15:08:47 +07:00
Adel Gadllah
20dacce4d8
[GdkScreenX11] Fix check in gdk_screen_get_primary_monitor
...
Fix bug in last commit.
2010-04-06 02:41:55 +02:00
Adel Gadllah
5651cbc4b4
[GdkScreenX11] Add heuristic for pre XRandR 1.3 drivers
...
Currently gdk_screen_get_primary_monitor just returns the first monitor,
in this case but both the panel and now gnome-shell use an additional
heuristic to prefer LVDS as primary if present.
Move this heuristic to gdk_screen_get_primary_monitor to avoid duplicating
it all over the place.
The fallback heuristic is also used when no primary output is set.
https://bugzilla.gnome.org/show_bug.cgi?id=614894
2010-04-06 02:36:53 +02:00
Fran Diéguez
e13ab6c53a
Updated Galician translation
2010-04-05 20:59:23 +03:00
Cody Russell
b6d9bb6e1e
Fix for bug #557689 and bug #402349 , where opening a file chooser in
...
folder browse mode would require the user to click on something
before clicking "Open".
2010-04-05 12:57:33 -05:00
Jordi Serratosa
0c90bacff8
Fixes to Catalan translation
2010-04-02 18:26:35 +02:00
Matthias Clasen
b416198a18
Don't use gio-unix on win32
...
We only need gio-unix when building the x11 backend.
Reported by Yevgen Muntyan in bug 614540.
2010-04-01 10:07:11 -04:00
Inaki Larranaga Murgoitio
9d2168ded2
Updated Basque language
2010-03-31 12:22:17 +02:00
Inaki Larranaga Murgoitio
da3efeb746
Updated Basque language
2010-03-31 12:06:11 +02:00
Inaki Larranaga Murgoitio
8809f33b65
Updated Basque language
2010-03-31 12:06:11 +02:00
Kenneth Nielsen
0a1ad1a4e2
Updated Danish translation
2010-03-31 00:21:44 +02:00
Runa Bhattacharjee
6ced4f526c
Updated Bengali India Translation
2010-03-30 15:53:06 +05:30
Runa Bhattacharjee
0cbffefde8
Updated Bengali India Translation
2010-03-30 15:06:26 +05:30
Jordi Serratosa
e1f73a1984
Fixes to Catalan translation
2010-03-29 20:27:08 +02:00
Tristan Van Berkom
b4d09fd5fb
Fixed possible devision by zero in size negotiations
...
Fixed GtkToolItemGroup to avoid deviding by zero when all children
are invisible or there are no children. bgo #613974 .
2010-03-29 13:27:40 -04:00
Tristan Van Berkom
7e43059e84
Added missing default events in realize() implementations
...
Added gtk_widget_get_events() to the event masks declared by
GtkToolPalette & GtkToolItemGroup.
2010-03-29 13:22:18 -04:00
Tristan Van Berkom
133e3e84a7
Added missing break statement to mutator: gtk_tool_item_group_set_property()
2010-03-29 13:16:54 -04:00
Benjamin Otte
9514e741cd
Fix error case in filesystem model
...
We should not unref the model here, it might not even exist anymore.
Instead check if it exists and only use it if it does.
The unref was leftover from a previous fix in
ba9f53397f
.
Spotted by Matthias Clasen in
https://bugzilla.gnome.org/show_bug.cgi?id=614099
2010-03-29 16:29:20 +02:00
David Planella
b84d4a308e
Updated Catalan translation with a couple of fixes
2010-03-29 09:22:08 +02:00
David Planella
9e607a572b
Updated Catalan translation
2010-03-29 09:16:43 +02:00
Jamil Ahmed
7d90caca4f
Updated Bengali translation
2010-03-28 15:49:58 +06:00
Christian Dywan
23fa7fcc6e
Fix a misspelling in gtk_cell_view_new_with_markup
...
This fixes bug 613887.
2010-03-28 04:22:41 +02:00
Ask H. Larsen
a34ddc38b6
Updated Danish translation
2010-03-28 00:15:48 +01:00
Maxim V. Dziumanenko
484c40bab0
Updated Ukrainian translation
2010-03-27 14:42:07 +02:00
Maxim V. Dziumanenko
e11db0ea01
Updated Ukrainian translation
2010-03-27 14:29:56 +02:00
Jamil Ahmed
f896f48dcc
Updated Bengali translation
2010-03-27 18:10:02 +06:00
Jamil Ahmed
9c1ad44ed9
Updated Bengali translation
2010-03-27 18:02:54 +06:00
Hiroyuki Ikezoe
ffbd007c50
[directfb] Fix compile error on DirectFB backend.
...
Add a stub for gdk_keymap_map_virtual_modifiers.
2010-03-25 16:39:41 +01:00
Hiroyuki Ikezoe
22b0149b78
Use g_value_take_string to avoid redundant invoking g_free.
2010-03-25 16:34:46 +01:00
Javier Jardón
014c28c208
Fix compilation warning: Use GtkWidget instead GtkMenuItem
2010-03-25 14:52:18 +01:00
Matthias Clasen
a0f23e1706
Fix a 64bit issue
...
Thank you libpng, for typedef unsigned long png_uint_32.
2010-03-25 00:55:15 -04:00
Matthias Clasen
eb42c9e9ce
Add notes about gobject-introspection
2010-03-23 11:41:17 -04:00
Matthias Clasen
42ef281ea4
Bump version to 2.20.1
2010-03-23 10:24:51 -04:00
Matthias Clasen
7e36ea7010
2.20.0
2010-03-23 10:18:29 -04:00
Miloš Popović
f31e6568fa
Updated Serbian translations
2010-03-23 10:39:34 +01:00
Matthias Clasen
c02fe1ff28
Bump required version of glib in INSTALL.in, too
2010-03-23 00:21:24 -04:00
Matthias Clasen
909fe7f933
Set version to 2.20.0
2010-03-22 23:30:00 -04:00
Matthias Clasen
3ed737e5fc
Another small doc cleanup
2010-03-22 23:15:52 -04:00
Matthias Clasen
f5c6712002
Minor doc cleanup
2010-03-22 23:10:38 -04:00
Matthias Clasen
fb262f51c6
Updates
2010-03-22 18:25:49 -04:00
Wouter Bolsterlee
e46240063e
Dutch translation updated by Tino Meinen
2010-03-22 19:34:29 +01:00
Sjoerd Simons
a957d4593e
Prevent the destruction of the menu label on page removal
...
In certain cases the menu label of a notebook page will be reused after the
page was removed from the notebook, for instance when a page is dragged from
one notebook to another. For such cases make sure that the menu label isn't
destroyed as part of destroying the menu item it was in.
2010-03-22 14:11:05 -04:00
Matthias Clasen
3c7b29098c
Add a dependency for Gtk-2.0.gir on Gdk-2.0.gir
...
Another parallel build fix, see bug 610946.
2010-03-22 13:02:24 -04:00
Damien Lespiau
0a0e0a868a
introspection: Fix parallel builds
...
One needs to add an explicit dependency between the gir files and the
.la libtool wrapper as this dependency is not added automatically by
Makefile.introspection. Not adding these breaks parallel builds as make
does not wait for the .la to be generated before launching g-ir-scanner.
2010-03-22 12:53:18 -04:00
Inaki Larranaga Murgoitio
086b952267
Updated Basque language
2010-03-22 14:22:35 +01:00
Clytie
cf491292cc
Updated Vietnamese translation
2010-03-22 23:18:44 +10:30
Clytie
b5e9579d49
Updated Vietnamese translation
2010-03-22 23:18:03 +10:30
Inaki Larranaga Murgoitio
095dfd783f
Updated Basque language
2010-03-22 13:08:52 +01:00
Sweta Kothari
8b6abfd320
Updated Gujarati translations
2010-03-22 13:04:22 +05:30
Sweta Kothari
01f3dfc2b5
Updated Gujarati Translations
2010-03-22 12:31:13 +05:30
Daniel Nylander
910e68502b
Updated Swedish translation
2010-03-21 21:12:28 +01:00
Daniel Nylander
beb3d24a22
Updated Swedish translation
2010-03-21 12:29:31 +01:00
Daniel Nylander
e1114f60b5
Updated Swedish translation
2010-03-21 12:29:31 +01:00
Tommi Vainikainen
e309bec6ea
Updated Finnish translation
2010-03-20 21:56:13 +02:00
Chao-Hsiung Liao
782dda6c21
Updated Traditional Chinese translation(Hong Kong and Taiwan)
2010-03-20 20:11:07 +08:00
Matthias Clasen
5f29a679f8
Avoid spurious notifications from GtkEntry
...
Using gtk_entry_set_buffer() in dispose() causes problematic
notifications, so just get rid of the buffer manually. See bug 613241.
2010-03-19 23:24:33 -04:00
Tomas Bzatek
8dc4a4f954
search: update for tracker 0.8 API
...
Tracker 0.8 series (and late 0.7.xx) introduces new API based on SPARQL
query language. The queries here use fulltext search, just like with
with previous tracker versions. Old tracker 0.6 support is still maintained.
2010-03-19 14:40:11 +01:00
Fabrício Godoy
d2642e7ae3
Updated Brazilian Portuguese Translation
2010-03-18 23:46:13 -03:00
A S Alam
f242258f37
Completed Punjabi Translation by A S Alam
2010-03-19 08:07:20 +05:30
Dumitru Mișu Moldovan
b3112949bd
Updated Romanian translation
2010-03-18 22:33:16 +02:00
Mattias Põldaru
0e4dc91e32
Estonian translation updated
2010-03-18 16:27:02 +02:00
Matthias Clasen
6ad8909e3c
Make menu scrolling work with auto mnemonics
...
The menu scrolling code is not robust against menu repositioning so
we have avoid causing unnecessary recalculations of labels in parent
menuitems.
2010-03-17 21:18:31 -04:00
Hiroyuki Ikezoe
3a65f554c5
Fix a tiny documentation typo
2010-03-17 13:10:17 -04:00
Marek Kasik
59e5e2dd5b
Define httpGetHostname() for CUPS 1.1 and lower
...
Function httpGetHostname() is in CUPS since version 1.2, that is why we need
its equivalent for lower versions of CUPS (#610176 ).
2010-03-17 10:14:24 +01:00
Javier Jardón
14c9a3a596
More uses of g_strcmp0
2010-03-16 19:16:31 +01:00
Rafal Luzynski
839c88fd73
Use g_strcmp0 where it makes sense
2010-03-16 19:01:25 +01:00
Hiroyuki Ikezoe
590ceded96
Don't get settings unless we need them
...
Pointed out in bug 613028.
2010-03-16 13:01:18 -04:00
Matthias Clasen
996541d096
Don't crash in DND when the X server doesn't support SHAPE
...
Reported in bug 612768
2010-03-16 12:35:13 -04:00
Matthias Clasen
e9b4d7c69b
Require a new-enough glib
2010-03-15 22:30:57 -04:00
Jan Arne Petersen
63c21edab7
Fix notify::label emmision in GtkMenuItem
...
Emit notify::label in GtkMenuItem also when label is changed through GtkAction.
Refactor GtkMenuItem and remove duplicated code for GtkLabel creation. Reset
the accel-widget back to the GtkMenuItem itself when there is no action related
to the GtkMenuItem anymore.
Add test for notify::label emmisions.
Fixes bug 612574 - GtkMenuItem does not emit notify::label when label is
changed through GtkAction.
2010-03-15 20:50:07 +01:00
Tristan Van Berkom
e8c0920494
Refixed patch for bug 612505.
...
New patch makes sure to update the display even when
the GtkEntry's buffer is set to NULL, it also breaks the
reference to the buffer in ->dispose() instead of ->finalize().
2010-03-14 16:29:42 -04:00
Matthias Clasen
a085bb1f0b
Improve the behaviour of automatic mnemonics
...
With this change, key events continue to go to an open menu even
when the pointer is moved over a non-selectable menuitem. The mnemonics
are shown and hidden accordingly.
2010-03-14 16:11:48 -04:00
Matthias Clasen
f3f44d6650
Update release notes
...
Add a warning about the change in GtkBuilders id/name handling.
2010-03-14 16:08:51 -04:00
Colin Walters
55feb804f0
[startup notification] Set APPLICATION_ID
...
http://lists.freedesktop.org/archives/xdg/2010-February/011321.html
In addition to ICON, BINARY_NAME etc., it's very helpful if launcher
programs include the name of the .desktop file they're launching.
This is APPLICATION_ID.
https://bugzilla.gnome.org/show_bug.cgi?id=611118
2010-03-14 15:13:26 -04:00
Fran Diéguez
ab650a1bef
Update Galician translation
2010-03-13 21:04:38 +01:00
Luca Ferretti
d7796a4b7a
Updated Italian translation
2010-03-13 15:42:07 +01:00
Matthias Clasen
c55e0fc372
Fix tests
2010-03-13 00:49:10 -05:00
Luca Ferretti
11649e4ca7
Updated Italian translation
2010-03-12 22:52:01 +01:00
Matthias Clasen
233281fd39
Recompute label contents when the buffer changes
...
Also reset cursor positions to avoid assertions.
This fixes bug 612505, patch by Tristan Van Berkom.
2010-03-12 15:59:59 -05:00
Matthias Clasen
f73f9d802c
Fix gdk_window_set_icon_name
...
A typo kept this from working on toplevel windows.
Reported in bug 612346.
2010-03-12 15:59:59 -05:00
Matthias Clasen
f868a6efb4
updates
2010-03-12 15:59:59 -05:00
Christian Dywan
652df93594
Remove most G_OBJECT casts in the tutorial
...
This fixes bug 605333.
2010-03-12 21:05:33 +01:00
Christian Dywan
072673c612
Reword explanation of delete-event and destroy
2010-03-12 21:03:35 +01:00
Christian Dywan
325c86f83c
Spell delete-event with hyphen and don't cast to G_OBJECT
2010-03-12 21:02:42 +01:00
Christian Dywan
c1a3a0fd9b
Improve docs of gtk_notebook_set_tab_label_packing
...
Use the term tab label rather than bookmark and point out
that packing type is deprecated.
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=612575
2010-03-12 17:56:21 +01:00
Tor Lillqvist
a46d2e68c6
Check for __MINGW64__ and not __MINGW64
...
Should fix bug #612308 .
2010-03-12 11:47:15 +02:00
Javier Jardón
2c043d33c2
Improve GTK_WIDGET_FLAGS() deprecation documentation
...
Also, use GTK_OBJECT_FLAGS() instead.
Note that some internal code still uses GTK_WIDGET_FLAGS().
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-12 06:46:34 +01:00
Christian Dywan
f90abc4eed
Fix definition of GTK_VOLUME_BUTTON_CLASS cast
...
There is an extra 'e' there.
2010-03-11 15:27:34 +01:00
Alan Knowles
8b6e1b4de2
Fix introspection on return value transfer for gtk_clipboard_get*
...
ownership transfer set to none for clipboard get methods
2010-03-10 22:21:52 +08:00
Alan Knowles
96acf8d46d
Fix gtk_text_tag_table_lookup transfer introspection notes
...
transfer should be none for return value of gtk_text_tag_table_lookup
2010-03-10 22:13:53 +08:00
Jorge González
d0094e3d03
Updated Spanish translation
2010-03-10 08:59:18 +01:00
Jorge González
a20eb8df22
Updated Spanish translation
2010-03-10 08:55:17 +01:00
David Planella
375b28f079
Updated Catalan translation
2010-03-09 20:13:02 +01:00
Matthias Clasen
975c84ff79
Bump version
2010-03-09 13:56:16 -05:00
Matthias Clasen
3737c34b44
2.19.7
2010-03-09 13:52:34 -05:00
Matthias Clasen
0eb89bf378
Updates
2010-03-09 12:07:35 -05:00
Javier Jardón
6a513f2289
Fix compilation warning: use entry var correctly initilized
...
The warning was added in
commit c744594b20
2010-03-09 17:15:53 +01:00
Matthias Clasen
718bf77712
Remove conflicting legacy compose sequences in favour of X.org sequences
...
Patch by Jeroen Hoek. See bug 557420 for a prolonged discussion.
Quick summary of the removed sequences:
<Multi_key> <asciicircum> <0>
Consistency. <Multi_key> <asciicircum> [1..9] gives the superscript digit,
legacy sequence for zero is inconsistent.
<Multi_key> <c> <o>
<Multi_key> <c> <O>
Consistency. <Multi_key> <c> [:letter:] already gives vowel plus caron, legacy
sequence for c is inconsistent.
<Multi_key> <comma> <e>
<Multi_key> <comma> <E>
Consistency. <Multi_key> <comma> [:letter:] is for letter with cedilla,
<Multi_key> <semicolon> [:letter:] is for letter with ogolek
<Multi_key> <C> <slash>
<Multi_key> <slash> <C>
Unintuitive. ¢ is visually a vertical bar through a lowercase c, not a slash
through an uppercase C. ₡ has no alternatives, whilst ¢ can be typed as
<Multi_key> <bar> <c>.
<Multi_key> <d> <minus>
đ can be input through <Multi_key> <minus> <d>. <Multi_key> <d> <minus> is used
for ₫.
<Multi_key> <equal> <L>
<Multi_key> <L> <equal>
Unintuitive. ₤ has two dashes, £ one; therefore L + = > ₤, and L + - = £.
<Multi_key> <exclam> <s>
<Multi_key> <exclam> <S>
Consistency. <Multi_key> <exclam> [:letter:] is used for letter with dot below.
§ can be input using <Multi_key> <o> <s>.
<Multi_key> <period> <period>
Might need an alternative for ˙, but … (upstream) has no alternative either.
<Multi_key> <underscore> <a>
<Multi_key> <underscore> <A>
<Multi_key> <underscore> <o>
<Multi_key> <underscore> <O>
Consistency. <Multi_key> <underscore> [:vowel:] gives vowel with macron for ȳ ū
ī ē too.
<Multi_key> <minus> <d>
<Multi_key> <minus> <D>
<Multi_key> <o> <e>
<Multi_key> <O> <E>
Redundant. In upstream as is.
2010-03-09 02:26:51 -05:00
Matthias Clasen
0ffc31d762
Regenerated compose tables
...
Now without non-BMP keysyms.
2010-03-09 02:15:20 -05:00
Matthias Clasen
a152f7360d
Updates to the compose-parse.py script
...
Get gdkkeysyms.h from git, instead of the outdated copy from svn.
Get Unicode 5.2.0 data. Fix a few issues with missing keysyms in
keysyms.txt. Make the filtering of non-BMP keysyms work.
2010-03-09 02:12:33 -05:00
Matthias Clasen
0fca5a3cca
Add some keysyms missing from keysyms.txt
2010-03-09 00:54:08 -05:00
Matthias Clasen
6ab9b85159
fix file permissions
2010-03-09 00:52:26 -05:00
Matthias Clasen
09b64dab0d
Add some more annotation to the DND api
2010-03-09 00:12:57 -05:00
Matthias Clasen
bf88eee131
Fix file chooser refcounting issues
...
This was reported in bug 600992.
2010-03-08 23:56:43 -05:00
Matthias Clasen
2036d9262e
Add missing colons
2010-03-08 21:34:17 -05:00
Christian Dywan
bc284541a9
Document the use of NULL in gtk_window_set_transient_for
...
This fixes bug 611319.
2010-03-08 21:22:54 -05:00
Matthias Clasen
9c8dbc292f
Minor doc clarification for gdk_drag_begin
...
Mention that targets is a list of atoms. Bug 611317.
2010-03-08 21:01:30 -05:00
Javier Jardón
32b9aeaadd
Don't use GTK_WIDGET_STATE in internal code anymore
...
Use gtk_widget_get/set_state() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-09 02:40:17 +01:00
Matthias Clasen
b61fe50640
Remove obsolete translator comments
...
Reported in bug 611217
2010-03-08 20:14:37 -05:00
Matthias Clasen
c744594b20
Add accessible alternatives to entry icon functionality
...
Inspired by the complaint in bug 611051.
2010-03-08 19:59:24 -05:00
Matthias Clasen
ac6525b27c
Add introspection annotations to gtk_drag_(source|dest)_set
...
Also move docs inline at the same time. Bug 610905.
2010-03-08 19:21:32 -05:00
Ryan Lortie
fcc43e7b6d
Update release HOWTO
...
- 'cvs' -> 'git'
- gnome-hackers is now closed. Reply-to: desktop-devel-list instead.
2010-03-08 12:14:19 -05:00
Matthias Clasen
d84a831423
Don't scroll to insert after middle-click paste
...
Patch by Ignacio Casal Quinteiro, bug 612119.
2010-03-08 11:25:26 -05:00
Matthias Clasen
87f48634f4
Fix an infinite loop in gtk_dialog_map()
...
The new focus handling with links in labels tripped up the code
that tries to avoid focussing labels. Bug 612066
2010-03-08 10:36:11 -05:00
Nils-Christoph Fiedler
e629a9c7a8
Updated LowGerman translation
2010-03-08 11:41:52 +01:00
Nils-Christoph Fiedler
770ebc707b
Updated LowGerman translation
2010-03-08 11:38:51 +01:00
Nils-Christoph Fiedler
8d78ae44da
Updated LowGerman translation
2010-03-08 11:38:50 +01:00
Alexander Shopov
f32d4c104f
Updated Bulgarian translation
2010-03-08 07:02:00 +02:00
Michael Natterer
0a49865ec4
gtk: remove begin-user-action/end-user-action around copying
...
Copying to the clipboard is not a buffer mutation, so calling
gtk_text_buffer_begin_user_action() and _end_user_action() is only
confusing apps which connect to these signals in order to build undo
stacks or otherwise track buffer changes. Most likely, these apps
either didn't notice the bugus undo step or simply work around it.
2010-03-07 12:15:33 +01:00
Jennie Petoumenou
85611bedcd
Updated Greek translation.
2010-03-07 06:56:23 +01:00
Jennie Petoumenou
7253ed5dd4
Updated Greek translation.
2010-03-07 00:07:43 +01:00
Claude Paroz
dbda10d03e
Updated French translation
2010-03-06 15:22:12 +01:00
Javier Jardón
72948f46bd
Don't use GTK_WIDGET_SET_FLAGS() in gtk_widget_init()
2010-03-06 13:17:56 +01:00
Javier Jardón
691c13c424
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_PARENT_SENSITIVE)
...
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-06 13:13:01 +01:00
Javier Jardón
a7efb2eaa0
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_RC_STYLE)
...
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-06 13:01:58 +01:00
Javier Jardón
24491f8224
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_APP_PAINTABLE)
...
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-06 12:29:26 +01:00
Javier Jardón
74ed719fa4
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_MAPPED)
...
Use new API instead: gtk_widget_set_mapped ()
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-06 12:02:21 +01:00
Javier Jardón
1934de4b65
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_REALIZED)
...
Use new API instead: gtk_widget_set_realized ()
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-06 11:51:33 +01:00
Javier Jardón
24bafd8693
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_NO_WINDOW)
...
Use new API instead: gtk_widget_set_has_window ()
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-06 11:37:06 +01:00
Daniel Nylander
2d4b7b2630
Updated Swedish translation
2010-03-06 00:26:05 +01:00
Daniel Nylander
44a8c5f3ff
Updated Swedish translation
2010-03-06 00:24:37 +01:00
Joanmarie Diggs
4759da2634
Add/Remove ATK_STATE_SENSITIVE according to cells' state.
...
Bug #569042 .
2010-03-05 14:48:23 +08:00
Patrick Bernaud
7ab2155aef
Move documentation to inline comments: GtkPlug
...
https://bugzilla.gnome.org/show_bug.cgi?id=611707
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-03-05 05:37:16 +01:00
Steven Harms
3f579a7a93
Move documentation to inline comments: GtkVBox
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611831
2010-03-05 05:25:07 +01:00
Fran Diéguez
a5e496cf87
Update Galician translation
2010-03-05 00:25:31 +01:00
Friedel Wolff
01593516f1
Update Afrikaans translation
2010-03-04 11:35:33 +01:00
Li Yuan
8c30affb6e
Return FALSE in signal handlers to make the signals be propagated
...
Bug #611686 .
2010-03-04 16:30:00 +08:00
Steven Harms
15d1d8bb3b
Move documentation to inline comments: GtkVSeparator
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611662
2010-03-04 02:33:56 +01:00
Steven Harms
f0f3b01876
Move documentation to inline comments: GtkVScrollbar
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611658
2010-03-04 02:33:50 +01:00
Gabor Kelemen
244ae204da
Updated Hungarian translation
2010-03-04 00:34:29 +01:00
Steven Harms
69279262bc
Update gtkvscale documentation for in code comments. Removed template document
2010-03-03 23:46:15 +01:00
Inaki Larranaga Murgoitio
24ba8f315e
Updated Basque language
2010-03-03 23:20:00 +01:00
Javier Jardón
62a829dd30
Add version info about the deprecation of GTK_WIDGET_SENSITIVE
...
This completes the patch of
commit 64f526d34e
2010-03-03 23:05:40 +01:00
Inaki Larranaga Murgoitio
f6d54ac7be
Updated Basque language
2010-03-03 22:43:01 +01:00
Javier Jardón
16a59ad912
Deprecate widget flag: GTK_WIDGET_REALIZED
...
Use gtk_widget_get_realized() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-03 20:41:05 +01:00
Javier Jardón
1fe7d3cefd
Deprecate widget flag: GTK_WIDGET_MAPPED
...
Use gtk_widget_get_mapped() instead.
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-03 20:19:03 +01:00
Nils-Christoph Fiedler
f4d9c7be2b
Updated LowGerman translation
2010-03-03 15:51:31 +01:00
Nils-Christoph Fiedler
42f1789c1e
Updated Low German translation
2010-03-03 15:24:51 +01:00
Nils-Christoph Fiedler
fc82769a88
Updated Low German translation
2010-03-03 15:22:58 +01:00
Kjartan Maraas
6520046f03
Updated Norwegian bokmål translation
2010-03-03 13:51:43 +01:00
Javier Jardón
32d043535b
Fix gtk_widget_is_sensitive() function. Second try
...
Use GTK_PARENT_SENSITIVE flag instead
gtk_widget_get_sensitive(widget->parent)
2010-03-03 02:39:25 +01:00
Gabor Kelemen
f61016f554
Updated Hungarian translation
2010-03-03 00:56:00 +01:00
Javier Jardón
491ed58420
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_NO_SHOW_ALL)
2010-03-02 18:24:21 +01:00
Javier Jardón
f8fb228752
Fix gtk_widget_is_sensitive() function
...
The bug was introduced in
commit a27d5a2c9e
2010-03-02 17:54:16 +01:00
Javier Jardón
e8e95d4c5e
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_CAN_DEFAULT)
...
Use new API instead: gtk_widget_set_can_default ()
2010-03-02 07:58:05 +01:00
Javier Jardón
483a5a9e1a
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_CAN_FOCUS)
...
Use new API instead: gtk_widget_set_can_focus ()
2010-03-02 04:42:54 +01:00
Gabor Kelemen
f19dc0bd4b
Updated Hungarian translation
2010-03-02 00:29:40 +01:00
Petr Kovar
1ec18b9258
Update Czech translation
2010-03-01 20:12:54 +01:00
Javier Jardón
c3d09e5627
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_SENSITIVE)
2010-03-01 18:24:28 +01:00
Javier Jardón
27b64f50e6
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_DOUBLE_BUFFERED)
...
Use new API instead: gtk_widget_set_double_buffered ()
2010-03-01 18:14:05 +01:00
Javier Jardón
b909abaa62
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_RECEIVES_DEFAULT)
...
Use new API instead: gtk_widget_set_receives_default ()
2010-03-01 18:03:19 +01:00
Javier Jardón
b4b95d07f8
Deprecate widget flag: GTK_WIDGET_PARENT_SENSITIVE
...
Use gtk_widget_get_sensitive() on the parent widget instead.
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-01 07:57:27 +01:00
Javier Jardón
214a023e91
Deprecate widget flag: GTK_WIDGET_VISIBLE
...
Use gtk_widget_get_visible() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-01 07:52:07 +01:00
Javier Jardón
4232115e22
Deprecate widget flag: GTK_WIDGET_HAS_FOCUS
...
Use gtk_widget_has_focus() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-01 06:11:01 +01:00
Javier Jardón
64f526d34e
Deprecate widget flag: GTK_WIDGET_SENSITIVE
...
Use gtk_widget_get_sensitive() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-01 05:59:23 +01:00
Javier Jardón
f5bde06e82
Don't use GTK_WIDGET_NO_WINDOW in internal code anymore
...
Use gtk_widget_get_has_window() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-01 05:44:19 +01:00
Javier Jardón
a27d5a2c9e
Deprecate widget flag: GTK_WIDGET_IS_SENSITIVE
...
Use gtk_widget_is_sensitive() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-01 05:32:51 +01:00
Javier Jardón
4f78f70b15
Deprecate widget flag: GTK_WIDGET_DRAWABLE
...
Use gtk_widget_is_drawable() instead.
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-01 04:55:55 +01:00
Mario Blättermann
6a9d4d8203
Updated German translation
2010-02-27 20:33:02 +01:00
Nils-Christoph Fiedler
8864b81903
Updated LowGerman translation
2010-02-26 13:56:29 +01:00
Nils-Christoph Fiedler
a9e0010ff8
Updated LowGerman translation
2010-02-26 13:42:38 +01:00
Florian Müllner
c4a3a7bdfd
Add introspection annotation for gtk_builder_get_object
2010-02-25 21:33:15 +01:00
Nils-Christoph Fiedler
ab3d86d44d
Updated LowGerman translation
2010-02-25 19:30:59 +01:00
Piotr Drąg
93ed6885a1
Updated Polish translation
2010-02-25 14:32:38 +01:00
Piotr Drąg
0807dd6512
Updated Polish translation
2010-02-25 13:50:21 +01:00
Leonid Kanter
973dbbf634
Update Russian translation
2010-02-25 13:59:46 +02:00
Leonid Kanter
31abb05273
Update Russian translation
2010-02-25 13:59:46 +02:00
Nils-Christoph Fiedler
707bec3ec2
Updated LowGerman translation
2010-02-25 12:47:55 +01:00
Duarte Loreto
211c174580
Updated Portuguese translation
2010-02-25 02:43:25 +00:00
Duarte Loreto
8d475898ab
Updated Portuguese translation
2010-02-25 02:30:32 +00:00
Khaled Hosny
4ba5e0e5d6
Updated Arabic translation
2010-02-24 21:18:37 +02:00
Bruce Cowan
868e1b07c3
Updated British English translation
2010-02-24 16:40:46 +00:00
Matej Urbančič
7d2f616bc6
Updated Slovenian translation
2010-02-24 15:32:09 +01:00
Nils-Christoph Fiedler
62954b2f48
Updated LowGerman translation
2010-02-24 12:47:20 +01:00
Nils-Christoph Fiedler
e173212e45
Updated LowGerman translation
2010-02-24 12:39:51 +01:00
Alexander Shopov
0305a39900
Updated Bulgarian translation
2010-02-24 07:18:26 +02:00
Gintautas Miliauskas
00a404c515
Updated Lithuanian translation.
2010-02-24 00:04:14 +02:00
Gintautas Miliauskas
49429b07a9
Updated Lithuanian translation.
2010-02-24 00:03:20 +02:00
Ask H. Larsen
e8e29861d3
Updated Danish translation
2010-02-23 22:17:20 +01:00
Ask H. Larsen
cc6e4d0450
Updated Danish translation
2010-02-23 22:14:45 +01:00
Matthias Clasen
e1ddcf8466
Bump version
2010-02-23 15:57:14 -05:00
Matthias Clasen
1364b49e67
2.19.6
2010-02-23 15:54:56 -05:00
Jorge González
980326a231
Updated Spanish translation
2010-02-23 21:51:30 +01:00
Matthias Clasen
18d065c109
Updates
2010-02-23 15:14:28 -05:00
Matthias Clasen
6b5034323a
Some forgotten docs
2010-02-23 14:14:02 -05:00
Matthias Clasen
e69add1dad
Add some missing docs
2010-02-23 14:14:02 -05:00
Matthias Clasen
e601f6c478
doc fixes
2010-02-23 14:14:02 -05:00
Jorge González
a6fc3b9109
Updated Spanish translation
2010-02-23 20:01:39 +01:00
Matthias Clasen
60017d2676
Add 2.20 index for gdk docs
2010-02-23 13:57:47 -05:00
Matthias Clasen
28760d992b
Init gdk in the same order as other backends
...
Patch by Andre Draszik, bug 609172
2010-02-23 13:07:23 -05:00
Matthias Clasen
7f483dbd7b
Fix a memory leak in gdk_display_open in the directfb backend
...
Patch by Andre Draszik, bug 609172
2010-02-23 13:06:44 -05:00
Matthias Clasen
2dc9298b41
Simplify the DirectFBInit call
...
Patch by Andre Draszik, bug 609172
2010-02-23 13:06:03 -05:00
Matthias Clasen
3d66034d7d
Catch directfb errors in gdk_colormap_new
...
Patch by Andre Draszik, bug 609172.
2010-02-23 13:05:24 -05:00
Matthias Clasen
e06edf375a
Fix a crash at startup in the directfb backend
...
Patch by André Draszik, bug 600789
2010-02-23 12:54:00 -05:00
Matthias Clasen
cb184bed8c
Fix gdk_windowing_window_at_pointer in the directfb backend
...
Patch by Hiroyuki Ikezoe, see bug 604799.
2010-02-23 12:51:45 -05:00
Matthias Clasen
1e381138f3
Correct annotations for gtk_tree_view_get_path_at_pos
...
Patch by Alan Knowles, bug 609514.
2010-02-23 12:51:45 -05:00
Matthias Clasen
325cbef27e
Protect against X errors when clearing the DND cache
...
This was reported as a problem in bug 609952.
2010-02-23 12:51:44 -05:00
Mario Blättermann
cc66fd5eae
Updated German translation
2010-02-23 17:59:28 +01:00
Matthias Clasen
33330ab332
Prevent a crash in the TGA loader
...
Reported in bug 609744.
2010-02-23 11:50:25 -05:00
Matthias Clasen
06d02578f8
Handle out-of-bounds parameters in gtk_assistant_get_nth_page
...
Better do what the docs say...fix by Tadej Borovšak, bug 610141.
2010-02-23 11:23:10 -05:00
Matthias Clasen
ddcc305f4e
Fix a segfault in gtk_assistant_set_current_page
...
Reported by Tadej Borovšak in bug 610184
2010-02-23 11:16:04 -05:00
Matthias Clasen
c3f0cdcfcf
Clarify the docs for gtk_info_bar_set_default_response
...
According to bug 610632
2010-02-23 11:13:16 -05:00
Matthias Clasen
9ce6db1297
Add some padding in tool buttons
...
The default value of the icon-spacing style property was 0, which
is just not good. Themes are of course free to change this anyway.
Bug 610381.
2010-02-23 10:30:23 -05:00
Matthias Clasen
42e90521a9
Only look at x11 backend for gtk-doc comments for now
...
See followup discussion in bug 610701
2010-02-23 10:24:55 -05:00
Mario Blättermann
47fed7080e
Updated German translation
2010-02-23 16:24:38 +01:00
Matej Urbančič
1e4a58fce6
Updated Slovenian translation
2010-02-23 16:00:19 +01:00
Alexander Shopov
3866b07aa2
Updated Bulgarian translation
2010-02-23 09:35:51 +02:00
Matthias Clasen
23450f4e74
Fix incorrect string
...
String change. See bug 610235.
2010-02-22 23:49:47 -05:00
Matthias Clasen
bcee7bda64
Add some missing introspection annotations
2010-02-22 23:47:24 -05:00
Johan Dahlin
f0ce4dcaa5
[build] Include all target source files
...
Include all target source files when buildin the gir
https://bugzilla.gnome.org/show_bug.cgi?id=610701
2010-02-22 17:26:24 -03:00
Matthias Clasen
c85e7ec6d8
Add a missing introspection annotation for gdk_screen_get_default_colormap
2010-02-22 14:15:45 -05:00
Rimas Kudelis
cb438725c7
Updated Lithuanian translation
2010-02-22 16:54:27 +02:00
Carlos Garcia Campos
62758ff5ef
[docs] Fix GtkPlug::embedded signal documentation
...
See bug #609650 .
2010-02-22 15:02:58 +01:00
Carlos Garcia Campos
e5fc3dcf64
Emit GtkPlug::embedded signal when plug/socket are in the same process too
...
Fixes bug #609650 .
2010-02-22 15:02:19 +01:00
Masato Hashimoto
eaf2549be2
Updated Japanese translation.
...
Translator: Masato Hashimoto <cabezon.hashimoto@gmail.com >
Reviewed by: Nishibori Kiyotaka <ml.nishibori.kiyotaka@gmail.com >
2010-02-22 22:32:13 +09:00
Khaled Hosny
5b3ef8007b
Updated Arabic translation
2010-02-22 14:03:59 +02:00
Alexander Shopov
51f7cedbd1
Updated Bulgarian translation
2010-02-22 08:36:18 +02:00
Lucian Adrian Grijincu
433892a20f
Updated Romanian translation
2010-02-21 21:02:51 +02:00
Piotr Drąg
b38e60b7ed
Updated Polish translation
2010-02-21 00:07:42 +01:00
Piotr Drąg
019f74ae39
Updated Polish translation
2010-02-20 22:07:29 +01:00
Jorge González
a067d58449
Updated Spanish translation
2010-02-20 16:56:43 +01:00
Viktor Pracht
ff28ee8e6b
[Annotations] Add array length for GtkTreeStore
...
https://bugzilla.gnome.org/show_bug.cgi?id=603923
2010-02-19 18:58:01 -02:00
Johan Dahlin
592fd7a93b
[annotations] Add allow-none for gtk_menu_popup
2010-02-19 18:52:19 -02:00
Johan Dahlin
fe85272112
[annotations] Add allow-none
...
This commit was created using a script that searched for all docstrings
containing a parameter and the string 'or %NULL'.
Gdk backends and demos excluded as they are not part of a public API
https://bugzilla.gnome.org/show_bug.cgi?id=610474
2010-02-19 17:57:51 -02:00
Michael Natterer
347d406f80
Bug 548026 - No accessor for GtkWidget.requisition
...
Add gtk_widget_get_requisition().
2010-02-19 17:04:20 +01:00
Matej Urbančič
68a4847ac9
Updated Slovenian translation
2010-02-18 13:48:34 +01:00
Manoj Kumar Giri
ca0b29ff55
Updated Oriya Translation
2010-02-17 21:22:41 +05:30
Mattias Põldaru
8b11bdb27c
Estonian translation updated
2010-02-17 13:30:33 +02:00
Mario Blättermann
45842ec58b
Updated German translation
2010-02-17 09:16:18 +01:00
Javier Jardón
41ef40bec0
[gdk/x11] Change the name of the functions in the header file
...
_gdk_keymap_add_virtual_modifiers() changed to
_gdk_keymap_add_virtual_modifiers_compat() in
commit 13d69e552d
This patch change the header name too.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=610063
2010-02-16 20:59:22 +01:00
Changwoo Ryu
046b760127
Update Korean translation
2010-02-16 05:31:45 +09:00
Matej Urbančič
cf76627e93
Updated Slovenian translation
2010-02-15 18:45:14 +01:00
Matej Urbančič
e2a742dbd2
Updated Slovenian translation
2010-02-15 18:44:55 +01:00
Stefan Kost
5ff724ea95
widget: ensure boolean before comparing
...
Ensure boolean value like done elsewhere.
2010-02-15 10:14:50 +02:00
Stefan Kost
ad93f2bc3e
widget: don't check before setting to avoid costly type checks
...
There are no side effect of setting these flags and we don't fire g_object
notifies also. Thus set/unset right away without costly check of current state.
2010-02-15 10:14:50 +02:00
Javier Jardón
c77678e037
Revert "Drop duplicate declarations"
...
The issue is already fixed in f9a3ce06cc
This reverts commit 6f566057e8
.
2010-02-13 04:54:19 +01:00
Matthias Clasen
13d69e552d
Fix a compatibility problem
...
It turns out that my attempt at handling Super, Hyper and Meta better
is causing problems, mostly because Alt and Meta are commonly colocated
in the modmap, and apps do a check for the Alt modifier regularly.
See e.g bug 607697.
2010-02-12 18:55:42 -05:00
Matthias Clasen
6f566057e8
Drop duplicate declarations
2010-02-12 18:55:42 -05:00
Christian Dywan
f9a3ce06cc
Remove duplicate definitions of gtk_widget_set/get_realized/mapped
2010-02-12 18:10:17 +01:00
Michael Natterer
0231cff988
Allow calling gtk_widget_style_attach() only when realized
2010-02-11 09:27:05 +01:00
Petr Kovar
96d07cacb2
Update Czech translation
2010-02-11 02:26:16 +01:00
Javier Jardón
3cccae316e
Fix compilation warning: return FALSE instead NULL
2010-02-11 01:11:17 +01:00
Javier Jardón
45987f44c4
Fix compilation warning: cast to GCompareFunc
2010-02-11 00:57:13 +01:00
Kjartan Maraas
aefec46936
Updated Norwegian bokmål translation
2010-02-10 19:53:37 +01:00
Jorge González
129637220d
Updated Spanish translation
2010-02-10 07:56:11 +01:00
Matthias Clasen
ed9b8f3d3c
bump version
2010-02-09 15:58:13 -05:00
Matthias Clasen
d034007df3
2.19.5
2010-02-09 15:53:41 -05:00
Matthias Clasen
da68b2e600
Updates
2010-02-09 14:12:54 -05:00
Matthias Clasen
e821eea4f0
Add some more goddamn accessors
2010-02-09 13:41:58 -05:00
Matthias Clasen
893408352d
Avoid overlap of scale marks
...
This was reported to be a problem in bug 608807.
2010-02-09 13:41:58 -05:00
Matthias Clasen
412beb4444
Avoid a crash when setting a tooltip on a GtkCalendar
...
The details code was assuming that it controls ::has-tooltip.
Reported by Bill Nottingham, bug 607344.
2010-02-09 13:41:58 -05:00
Matthias Clasen
beddf67e56
Fix a refcounting issues in GtkPlug
...
When the foreign window already has a GdkWindow, we forget to take
an extra references, leading to crashes later on. Patch by
Karl Tomlinson, bug 607061.
2010-02-09 13:41:57 -05:00
Matthias Clasen
9fc642019e
Allow running without any im context
...
Setting GtkSettings::im-module to gtk-im-context-none will make
GtkIMMultiContext just pass through.
2010-02-09 13:41:57 -05:00
Alan Knowles
b193be9003
Add introspection annotations for gtk_tree_model_get_path+gtk_tree_store_newv
2010-02-09 12:27:05 -05:00
Christian Persch
9497a198f7
Correctly clone the toolbutton's icon-name image widget
...
Bug #608162 .
2010-02-09 15:08:56 +01:00
Alejandro Piñeiro
bc39d88b44
Solve a wrong reference on gdk_keymap_translate_keyboard_state
...
Solves https://bugzilla.gnome.org/show_bug.cgi?id=608345
2010-02-09 11:52:49 +01:00
Tor Lillqvist
d2b412af40
Use correct processorArchitecture for x86_64 in manifest file
2010-02-09 12:19:22 +02:00
Javier Jardón
2adef27d7b
Move documentation to inline comments: GtkAccelLabel
...
https://bugzilla.gnome.org/show_bug.cgi?id=403485
2010-02-09 04:12:25 +01:00
Javier Jardón
db45d38b6f
[tests] Not use GtkOptionMenu deprecate widget.
...
Replace GtkOptionMenu with GtkComboBox.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=606288
2010-02-08 16:57:02 +01:00
Theppitak Karoonboonyanan
d1d98ad97b
Updated Thai translation.
2010-02-08 11:13:03 +07:00
André Draszik
12edc32d95
gdk/directfb: cursor size is artificially limited
...
Cursor sizes in DirectFB can be large (4095x4095), limit to 128x128
though, because the x11 backend has this limit, too - for max.
compatibility.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=609201
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-02-07 20:12:43 +01:00
André Draszik
7f8b96d9bc
gdk/directfb: convert gdkgc-directfb to using G_DEFINE_TYPE
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=609199
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-02-07 20:10:53 +01:00
André Draszik
e1a83243e4
gdk/directfb: gdkdnd-directfb's private data is used uninitialized
...
Use G_TYPE_INSTANCE_GET_PRIVATE() instead
In the process, convert to using G_DEFINE_TYPE, too.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=609195
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-02-07 20:08:52 +01:00
André Draszik
bc36a15446
gdk/directfb: convert gdkcolor-directfb to using G_DEFINE_TYPE
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=609191
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-02-07 20:06:52 +01:00
André Draszik
e71d3c459a
gdk/directfb: fix _gdk_windowing_pointer_grab()
...
Fix for bgo #609188
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-02-07 20:01:05 +01:00
Steffen Macke
f94d62aeab
Fix menu bar problem in ms-windows theme engine on Windows 7
...
Patch from bug #591186 . It won't have any effect in this branch as the
whole XP-and-later theming code is broken and disabled, but when/if
that is fixed, then this patch should help.
2010-02-07 11:15:47 +02:00
Christian Dywan
5adb75f26b
[gtk] Deprecate GtkCurveType enum
...
It's only used by already deprecated GtkCurve and GtkGammaCurve
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=556263
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-02-07 01:52:58 +01:00
Claude Paroz
e9d0bb5d58
Updated French translation
2010-02-06 23:00:16 +01:00
Michael Natterer
07dc2f6c35
gtk: fix crash in _gtk_rbtree_find_offset() called from update_prelight()
...
Move the check for tree_view->priv->tree being NULL into update_prelight()
so the function will never call _gtk_rbtree_find_offset() on a NULL rbtree.
2010-02-06 15:57:15 +01:00
Jonh Wendell
ee57066cac
Updated Brazilian Portuguese translation
2010-02-05 15:20:03 -03:00
Jonh Wendell
42081e5f4a
Updated Brazilian Portuguese translation
2010-02-05 11:30:41 -03:00
Matthias Clasen
69aa7a6392
Make DND work better with shaped windows
...
If mouse clicks go through, drag-and-drop should too...
Fixes bug 608615.
2010-02-04 19:18:22 -05:00
Cody Russell
0d94617935
Bug 554420 - Seal GtkTextTag
...
Seal GtkTextTag.
2010-02-04 15:35:15 -08:00
Petr Kovar
465dd9207c
Update Czech properties translation
2010-02-04 23:39:36 +01:00
Petr Kovar
6c12219eb3
Update Czech translation
2010-02-04 22:45:51 +01:00
Michael Natterer
9d4c8f38d8
Bug 608993 - Add gtk_widget_style_attach()
...
As replacement for:
widget->style = gtk_style_attach (widget->style, widget->window);
2010-02-04 16:43:54 +01:00
Pavol Šimo
91c4184af6
Updated Slovak translation
2010-02-04 09:18:05 +01:00
Javier Jardón
11bd065adf
[docs] Add anchor for keybinding signals
2010-02-02 20:57:58 +01:00
Mattias Põldaru
6a05e5edbf
Updating Estonian translation
2010-02-01 17:09:06 +02:00
Mattias Põldaru
ac2df186aa
Updating Estonian translation
2010-02-01 09:41:45 +02:00
Mattias Põldaru
4c3f32a632
Updating Estonian translation
2010-02-01 09:33:49 +02:00
Kjartan Maraas
dead9af3d4
Updated Norwegian bokmål translation
2010-01-31 20:03:30 +01:00
Jorge González
54b3340eee
Updated Spanish translation
2010-01-31 13:31:26 +01:00
Kristian Rietveld
66207cf13e
Improve enter/motion notify semantics
...
On X11 we receive enter notify and motion notify events for a window
regardless of its focus state. On Mac OS X this is not the case. This
commit improves the semantics to overcome this difference. It improves
on my earlier patch that sent a motion notify event when a window became
main.
Instead of sending a motion notify when a window becomes main, we now
send one when a window becomes key, which comes closest to a window
getting focus in X11. This motion notify is needed because Mac OS X does
not send motion events when an application is inactive (none of its
windows have focus), these events are sent in X11. This dummy motion
notify event (with current coordinates of the mouse cursor) allows an
application to get its prelight and other state right when it gets focus
and thus user attention.
Another change is to send an enter notify event when updating the
tracking rectangle of a GdkQuartView and the mouse cursor is currently in
this rectangle. This rectangle is at least updated on window creation.
This enter notify event is important for the case where a new window
appears right below the mouse cursor. The window has to receive an enter
notify event for the subsequent events to be processed correctly. Mac
OS X does not send one in this case, so we generate it ourselves.
Both of these synthesized events have to go through
_gdk_windowing_got_event() for updating statekeeping, etc.
append_event() has a boolean flag now to make this convenient.
2010-01-30 20:36:28 +01:00
Jorge González
15ef288b9b
Updated Spanish translation
2010-01-30 20:03:42 +01:00
Jorge González
f0005fb96b
Updated Spanish translation
2010-01-30 16:17:18 +01:00
Jorge González
a5d7a7a6a3
Updated Spanish translation
2010-01-30 16:17:14 +01:00
Andre Klapper
2d0cef0896
Add missing files to POTFILES.in to make l10n.gnome.org happy
2010-01-29 22:28:45 +01:00
Cody Russell
2147e57f46
Remove existing signal connections in gtk_drag_dest_unset().
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=608370
2010-01-29 11:10:16 -06:00
Christian Dywan
c9639c924b
Implement gtk_paned_get_handle_window
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=607885
2010-01-29 16:49:12 +01:00
Christian Dywan
a23f581c5d
Do not update paned position if it's already at the given value
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=561816
2010-01-29 16:43:15 +01:00
Theppitak Karoonboonyanan
da86b0bd3f
Updated Thai translation.
2010-01-29 21:46:36 +07:00
Li Yuan
899d425e50
Bug #608410 . Set cursor position after inserting text.
2010-01-29 14:16:24 +08:00
Jamil Ahmed
3a796a5158
Updated Bengali translation
2010-01-29 00:53:15 +06:00
Jamil Ahmed
7aa3414c41
Updated Bengali translation
2010-01-29 00:49:07 +06:00
Jamil Ahmed
6048c4b127
Updated Bengali translation
2010-01-29 00:44:43 +06:00
Javier Jardón
cc62ab3a0c
[docs] Fix GtkOffscreenWindow documentation
2010-01-28 04:10:39 +01:00
Matthias Clasen
f5a8db1536
Bump version
2010-01-25 23:25:17 -05:00
Matthias Clasen
7ad6567d77
2.19.4
2010-01-25 23:23:51 -05:00
Matthias Clasen
aa81f217cc
Doc additions
2010-01-25 22:35:02 -05:00
Matthias Clasen
f286c6281a
Minor doc fix
2010-01-25 22:32:00 -05:00
Matthias Clasen
7092006aea
Updates
2010-01-25 21:31:09 -05:00
Jamil Ahmed
d7c16f3607
Updated Bengali translation
2010-01-26 03:03:14 +06:00
Alexander Shopov
e06bd6ba92
Updated Bulgarian translation
2010-01-25 11:43:00 +02:00
Alexander Shopov
f544c72ba1
Updated Bulgarian translation
2010-01-25 11:42:36 +02:00
Christian Dywan
a7d57b622b
Remove the destination file if trying to save a pixbuf failed
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=591102
2010-01-25 10:37:53 +01:00
Javier Jardón
f8f35363de
[test] Fix some typos
2010-01-23 05:05:08 +01:00
Paul Davis
7767dae9cf
Small memory fix
2010-01-22 21:09:10 +01:00
Michael Natterer
2f9c4be0a8
Bug 607778 - Add accessors for GtkEntry's windows
...
Add gtk_entry_get_text_window() and get_icon_window() so we can
distinguigh them in expose-event callbacks.
2010-01-22 17:20:01 +01:00
Michael Natterer
35a2b65328
Bug 607082 - Add accessors for sealed GtkRange members
...
Add accessors for range->range_rect, range->slider_range,
range->slider_size_fixed and range->min_slider_size. Didn't add
properties for any of them because thir purpose is mostly to enable
proper subclassing.
2010-01-22 16:52:56 +01:00
Claudio Saavedra
52acceef56
GtkTreeView: plug a leaking GtkTreeRowReference
...
This is exposed by overshooting in a HildonPannableArea. Leaking
a GtkTreeRowReference also means leaking the whole model, since
the GtkTreeModel reference count is increased for each row
reference.
Fixes bug #607770 - Leak in GtkTreeView with HildonPannableArea
2010-01-22 16:53:33 +02:00
Alexander Larsson
3c618f2f1f
Avoid integer overflow in gdk_rectangle_intersect
...
If e.g. the right edge of the leftmost rectangle is near MIN_INT, and
the left edge of the rightmost rectangle is large then subtracting these
can lead to an integer overflow, making the resultant "width" falsely
positive, thus returning a very wide result instead of the expected
no-intersection result.
We avoid the overflow by not doing the subtraction unless we know the
result will be positive. There are still risks for overflow if x + width
or y + width is larger than MAXINT, but we won't ever overflow for valid
rects now.
This may fix #607687
2010-01-22 09:41:17 +01:00
Matthias Clasen
97a1a28bcb
Add a way to set wm_class on statusicons
...
Since the shell uses wm_class for sorting statusicons.
2010-01-20 12:25:24 -05:00
Alexander Larsson
3d9d002bed
When native window requests button presses request other button related events
...
We need to do this because otherwise the implicit button grab for this
(native) window will not deliver the button events not selected for
by this window. This is a problem because non-native child windows may
select using a wider event mask, and we can't emulate these events if we
don't get the native events.
Fixes bug #607508
2010-01-20 15:37:16 +01:00
Javier Jardón
5469695f29
Fix some compilation warnings
...
The warnings was introduced with the changes in commit
a491091e29
2010-01-19 17:01:10 +01:00
Alexander Larsson
e31a6d1fea
Drop outstanding cairo surfaces when window is made native
...
Any old cairo_surface referencing the old impl window will be wrong
when we make a window native, so drop it.
This fixes bug #599511
2010-01-19 16:40:59 +01:00
Alexander Larsson
46d25437a1
Move common gdkwindow.c code into function gdk_window_drop_cairo_surface
...
This code is duplicated in several places, and more to come, so put
it all in one place.
2010-01-19 16:40:55 +01:00
Russell Kyaw
4fc8a11a9f
Added Burmese translation for gtk+ properties
2010-01-19 16:36:15 +02:00
Russell Kyaw
bf17d48c08
Added Burmese translation
2010-01-19 16:36:15 +02:00
Simos Xenitellis
7e9acc01ad
Added Burmese (my) to po/LINGUAS
2010-01-19 16:36:15 +02:00
Alexander Larsson
841fa47715
Track direct window cairo access and avoid tricks when used
...
When a cairo surface is requested for direct window access (i.e. not
when double-buffering) we can't really track when the actual drawing happens
as cairo drawing is not virtualized. This means we can't properly flush
any outstanding window moves or implicit paints.
This actually causes problems with e.g. abiword (bug #606009 ) where they
draw without double-buffering. If you press down it scrolls the window
and then draws the caret, but the caret drawing does not flush the
outstanding move from the scroll, so the caret gets drawn on the wrong
screen.
We fix this by never allowing either implicit paints or outstanding window
moves on impl-windows where any windows related to it has an outstanding
direct cairo surface. Luckily this is not very common so in practice this
doesn't matter much.
2010-01-19 15:01:03 +01:00
Kjartan Maraas
269b0fe97f
Updated Norwegian bokmål translation
2010-01-19 11:21:18 +01:00
Kjartan Maraas
18f33af2a0
Updated Norwegian bokmål translation
2010-01-19 11:20:18 +01:00
Kjartan Maraas
fa989128d4
Updated Norwegian bokmål translation
2010-01-19 11:20:18 +01:00
Murray Cumming
cf8b941807
GtkToolPalette: Fix a compiler warning introduced in my last commit.
2010-01-19 09:04:15 +01:00
Javier Jardón
6b808a7389
Add gtk_widget_has_rc_style() accessor
...
Add gtk_widget_has_rc_style() as accessor for sealed
GTK_WIDGET_RC_STYLE widget flag.
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-01-19 00:20:52 +01:00
Matthias Clasen
833b9b42cc
Fix a redraw problem with action widgets
...
Fixes bug 603245.
2010-01-18 17:06:48 -05:00
Kristian Rietveld
2f73fb76c1
Bug 607322 - Double-click doesn't work if the item is selected in...
...
Slight correction to fix for #596473 .
2010-01-18 22:22:30 +01:00
Murray Cumming
a491091e29
GtkToolPalette: Change gtk_tool_palette_get_drop_group() return.
...
* gtk/gtktoolpalette.[h|cc]: gtk_tool_palette_get_drop_group():
Change the return type from GtkWidget* to GtkToolItemGroup*,
for consistency with other parts of GTK+, such as GtkToolbar.
2010-01-18 09:37:14 +01:00
Matthias Clasen
d253fb5140
Fix some issues with action widgets
...
We need to hide/show them depending on show_tabs, and we should
not grow the notebooks requisition unless we have to. Reported
in bug 601412.
2010-01-18 01:20:50 -05:00
Matthias Clasen
5e7801a304
Fix declaration of gtk_print_job_set_status
...
The problem was reported in bug 606698.
2010-01-17 23:47:20 -05:00
Matthias Clasen
b242c02e71
Reset effective_attrs when necessary
...
This fixes both bug 607217 and bug 607269.
2010-01-17 23:33:19 -05:00
Matthias Clasen
3fdcf3d3e2
Fix a few C99isms
...
Reported in bug 606761.
2010-01-17 22:47:14 -05:00
Daniel Nylander
81359376d7
Updated Swedish translation
2010-01-16 13:47:42 +01:00
Matej Urbančič
236b155822
Updated Slovenian translation
2010-01-15 19:39:32 +01:00
Alexander Larsson
f96e51db46
Avoid drawing implicit paints to destroyed windows
...
It may happen that a window gets destroyed during painting, if so
we should not draw the implicit paint double-buffered pixmap to it
as that will cause a BadDrawable X error.
This fixes bug 600865
2010-01-15 16:08:18 +01:00
Xandru Armesto Fernandez
1e6df1dfc5
Updated asturian translation
2010-01-15 13:26:37 +01:00
Xandru Armesto Fernandez
637cdd5d38
Updated asturian translations
2010-01-15 13:21:50 +01:00
Xandru Armesto Fernandez
cefc04070b
Updated asturian translations
2010-01-15 13:21:40 +01:00
Murray Cumming
122d2a3288
GtkToolPalette: Use GtkToolItemGroup* instead of GtkWidget* for setter parameters.
...
See Bug #567729
2010-01-14 10:26:49 +01:00
Michael Natterer
4b1299ab8f
Some fixes in gtkoffscreenwindow.h
...
- use (void) not () for void functions
- disallow individual inclusion unconditionally
2010-01-13 22:23:03 +01:00
Inaki Larranaga Murgoitio
f804bff705
Updated Basque language
2010-01-13 17:36:18 +01:00
Inaki Larranaga Murgoitio
865249598f
Updated Basque language
2010-01-13 16:32:02 +01:00
Javier Jardón
f1676cfb11
[docs] Use the correct GTK-doc syntax to refer to GTK+ properties
2010-01-12 21:00:30 +01:00
Jorge González
d5086dc379
Updated Spanish translation
2010-01-12 20:23:15 +01:00
Javier Jardón
291aa854df
[docs] Use the correct GTK-doc syntax to refer to GTK+ property
2010-01-12 20:19:40 +01:00
Javier Jardón
fe0324d76a
[docs] Remove GTK+ 1.2 tutorial from master
...
The tutorial it's still inside the gtk-1-2 branch if It's needed
2010-01-12 17:44:50 +01:00
Khaled Hosny
92e1e4d9e3
Updated Arabic translation
2010-01-12 18:42:26 +02:00
Javier Jardón
48f572822c
[docs] Fix documentation build warnings
...
Fix issues when using GI annotations so the xslt does a
fallback if the local links do not exist.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=604876
2010-01-12 15:47:00 +01:00
Matthias Clasen
b6ff1abc93
Correct PRC6 and PRC9 envelope sizes
...
See bug 603144 for the full story.
2010-01-12 01:10:13 -05:00
Matthias Clasen
1024b44df9
Bump version
2010-01-11 13:58:16 -05:00
Matthias Clasen
c54219da24
2.19.3
2010-01-11 13:57:21 -05:00
Matthias Clasen
76ae6a80ff
Dco updates
2010-01-11 12:58:34 -05:00
Matthias Clasen
5adb6f2c20
Updates
2010-01-11 12:21:10 -05:00
Christian Persch
59ddde4c37
Implement property editor for GdkColor properties
...
Bug #606434 .
2010-01-11 17:51:41 +01:00
Christian Dywan
2520d02be9
Limit GtkContainer::border-width to 65535
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=605199
2010-01-11 17:37:13 +01:00
Matthias Clasen
d32b061895
Plug a pixmap leak
...
We were getting our refcounts tangled up when setting drawable clips on
GCs with CSW, leading to a pretty bad pixmap leak. See bug 606143.
2010-01-11 10:23:57 -05:00
Christian Dywan
90f72a0d8f
Implement "preedit-changed" in GtkEntry and GtkTextView
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=602284
2010-01-11 10:59:26 +01:00
Christian Dywan
5bcc4e2e97
Use const gchar* in gtk_window_get_icon_name implementation
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=597100
2010-01-11 10:35:06 +01:00
Christian Dywan
3925408232
Document GtkWidget::state-changed signal properly
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=598383
2010-01-11 10:30:48 +01:00
Javier Jardón
ccf17a828b
[docs] Add missing "Deprecated: 2.x" to the api doc comments
2010-01-11 06:25:59 +01:00
Daniel Nylander
1d2900bb27
Updated Swedish translation
2010-01-09 16:59:32 +01:00
Daniel Nylander
d907ef4f73
Updated Swedish translation
2010-01-09 16:54:54 +01:00
Christian Persch
e18ac2a617
Allow NULL iter in gtk_combo_box_set_active_iter to unset
...
Bug #606230 .
2010-01-08 19:48:14 +01:00
Matthias Clasen
d85735a337
Try a little harder to survive close to OOM
2010-01-08 13:24:33 -05:00
Matthias Clasen
1d4c6ebe5f
Avoid an FPE for ludicrous scale values
...
...just bail out early.
2010-01-08 13:24:33 -05:00
Javier Jardón
f5b21802bb
Use g_strcmp0() instead custom safe_strcmp()
...
Reported by Rafal Luzynski in
https://bugzilla.gnome.org/show_bug.cgi?id=606415
2010-01-08 18:27:43 +01:00
Xandru Armesto Fernandez
fbd0db99e4
Updated asturian language
2010-01-08 17:55:32 +01:00
Javier Jardón
2a34285ad7
Fix links in GtkComboBox migration guide
...
Some link to GTK+ classes are not gererated because the ":" near
the class name; solution: "#GtkComboBox<!---->:"
Also, added some links to the proper signals
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=606291
2010-01-07 16:51:07 +01:00
Jean Brefort
808e698ea7
fix critical in gtk_editable_insert_text
2010-01-07 16:40:49 +01:00
Javier Jardón
56a893ca8c
Deprecate widget flag: GTK_WIDGET_CAN_FOCUS
...
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-01-07 10:05:08 +01:00
Javier Jardón
51e0dd9a82
Deprecate some widget flags
...
Deprecate the following:
GTK_WIDGET_APP_PAINTABLE
GTK_WIDGET_CAN_DEFAULT
GTK_WIDGET_DOUBLE_BUFFERED
GTK_WIDGET_HAS_DEFAULT
GTK_WIDGET_HAS_GRAB
GTK_WIDGET_RECEIVES_DEFAULT
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-01-07 10:04:55 +01:00
Shankar Prasad
b9a96210ea
Made couple of translation changes in kn.po
2010-01-07 13:40:17 +05:30
Matthias Clasen
9fc436d810
Setup libjpeg error handlers early enough
...
See bug 606068 for details.
2010-01-06 22:44:16 -05:00
Jorge González
e466b0e93e
Updated Spanish translation
2010-01-06 14:33:14 +01:00
Timo Jyrinki
cec572dbf6
One-line fix to a noticiable translation bug.
2010-01-06 11:41:07 +02:00
Matej Urbančič
f28f71dbbd
Updated Slovenian translation
2010-01-05 17:00:15 +01:00
Maxim V. Dziumanenko
8f79d833a2
Update Ukrainian translation
2010-01-05 17:03:04 +02:00
Kjartan Maraas
de72a5dc9e
Updated Norwegian bokmål translation.
2010-01-05 13:48:13 +01:00
Inaki Larranaga Murgoitio
0d501df246
Updated Basque language
2010-01-05 12:54:33 +01:00
Javier Jardón
aa63be61d9
Fix compilation warning: use const *gchar variable
...
https://bugzilla.gnome.org/show_bug.cgi?id=605090
2010-01-04 11:47:40 +01:00
Javier Jardón
c1cddb2b24
Fix compilation warning: use the correct conversion specifier
...
Use G_GSIZE_FORMAT instead of %i
The warning was added in
commit ba651d4022
2010-01-04 10:43:32 +01:00
Christian Dywan
d8adf58d38
Don't use GTK_WIDGET_NO_WINDOW in GtkEventBox
2010-01-04 08:41:07 +01:00
Christian Dywan
5d675b9f11
No GTK_WIDGET_NO_WINDOW in GtkFixed and deprecate gtk_fixed_set_has_window
2010-01-04 08:39:24 +01:00
Christian Dywan
525cc3ada2
Don't use GTK_WIDGET_NO_WINDOW in GtkContainer
2010-01-04 08:26:50 +01:00
Christian Dywan
bb1824c131
Deprecate flag macros for toplevel, state, no window and composite child
...
Deprecate widget flag macros GTK_WIDGET_STATE, GTK_WIDGET_SAVED_STATE,
GTK_WIDGET_FLAGS, GTK_WIDGET_TOPLEVEL, GTK_WIDGET_NO_WINDOW and
GTK_WIDGET_COMPOSITE_CHILD.
Also deprecate the type macros GTK_WIDGET_TYPE, GTK_OBJECT_TYPE_NAME and
GTK_OBJECT_TYPE which have become redundant.
Instances of GTK_WIDGET_TOPLEVEL are replaced with gtk_widget_is_toplevel,
GTK_WIDGET_TYPE is replaced with G_OBJECT_TYPE, GTK_WIDGET_COMPOSITE_CHILD
is replaced with use of the "composite-child" property and uses of
GTK_WIDGET_NO_WINDOW are adjusted to use gtk_widget_get_has_window.
Uses of GTK_WIDGET_SAVED_STATE and GTK_WIDGET_FLAGS inside GtkWidget are
changed to direct flag usage.
Documentation is updated to refer to gtk_widget_set_has_window and
gtk_widget_get_has_window.
Gail and tests are updated as well.
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-01-04 07:57:05 +01:00
Christian Dywan
ac26960e62
Fix missing GTK_WIDGET cast on printer option widget in construct_widgets
2010-01-04 07:30:57 +01:00
Christian Dywan
3a9633a9de
Fix missing GTK_WINDOW cast in _gtk_menu_shell_update_mnemonics
2010-01-04 07:29:42 +01:00
Benjamin Otte
8f7c3729ef
Document missing signal parameter
2010-01-03 23:12:24 +01:00
Javier Jardón
bef70bc5bf
[docs] Add documentation for GdkWindow 'cursor' property
...
Reported by Rafal Luzynski here:
https://bugzilla.gnome.org/show_bug.cgi?id=604821
2010-01-03 21:14:06 +01:00
Theppitak Karoonboonyanan
9734b1f138
Updated Thai translation.
2010-01-03 22:25:17 +07:00
Hiroyuki Ikezoe
23042427f5
Use CAIRO_VERSION instead of CAIRO_VERSION_CODE
...
Cairo does not have CAIRO_VERSION_CODE macro.
Fix for bug #605472 .
2010-01-03 18:22:55 +09:00
Matthias Clasen
23a5381cba
Make mnemonic hiding work in all cases
...
Both gtk-enable-mnemonics and gtk-auto-mnemonis did not work with
gtk_label_set_markup_with_mnemonic(). Also, fix gtk_label_set_pattern().
2010-01-03 00:57:14 -05:00
Matthias Clasen
eb2879eba9
Update dependency information
2010-01-02 22:20:51 -05:00
Matthias Clasen
85b41aaffc
Don't use string concatentation in translated strings
...
gettext can't handle it, and there is no real need to use G_GSIZE_FORMAT
here anyway.
2010-01-02 20:11:50 -05:00
Matej Urbančič
94ba3d86f3
Updated Slovenian translation
2010-01-02 09:59:16 +01:00
Matej Urbančič
1353e1f518
Updated Slovenian translation
2010-01-02 09:59:04 +01:00
Kristian Rietveld
5886e5cff2
Plug leaks in quartz implementation of gtk_drag_begin_idle()
2010-01-01 21:28:16 +01:00
Kristian Rietveld
c049c6a385
Rework a previous commit to not crash in addition to fixing leaks
...
The target list/entry to pasteboard entry conversions return a NSSet
now instead of NSArray.
2010-01-01 21:28:16 +01:00
Murray Cumming
6931245003
GtkToolPalette: docs: Minor English corrections.
2009-12-31 13:55:51 +01:00
Johan Dahlin
cdb13d233e
Make sure Gdk-2.0.gir is installed
...
Fixes a variable name typo
2009-12-31 01:48:50 +01:00
Johan Dahlin
c212f680a4
Avoid warnings when introspetion is not available
...
-include is the same as include but will never warn if the
file is not available
2009-12-31 01:47:24 +01:00
Johan Dahlin
5955cfe37f
Fix build with system install of introspection
...
Or redo it properly and remove previous hack by Matthias.
2009-12-31 01:19:38 +01:00
Kristian Rietveld
c37c57528c
Fix compiler warning
2009-12-30 14:21:31 +01:00
Kristian Rietveld
f91907101d
Fix memory management of types array
...
Also add autorelease pool to gtk_drag_begin_idle().
2009-12-30 14:18:33 +01:00
Kristian Rietveld
c12dbae0ac
Do not leak the NSMutableSet
2009-12-30 14:16:55 +01:00
Kristian Rietveld
0912a113dd
Release view after setting it as contentView
...
Fixes GdkQuartzView being leaked.
2009-12-30 14:14:21 +01:00
Kristian Rietveld
255c2739e2
Fix memleak in get_nsscreen_for_point()
...
One codepath did not go through GDK_QUARTZ_RELEASE_POOL, refactored
the code to fix this.
2009-12-30 14:12:42 +01:00
Kristian Rietveld
3887838244
Fix memory leak in GdkQuartzView
...
Should remove the tracking rect in dealloc.
2009-12-30 14:11:14 +01:00
Kristian Rietveld
ee62948b83
Use CGFLOAT_DEFINED, don't rely on NSINTEGER_DEFINED for this
2009-12-28 23:01:42 +01:00
Kristian Rietveld
436855210e
Unset expander_column when expander column is removed from tree view
2009-12-28 21:34:17 +01:00
Kristian Rietveld
e22de4a88e
Add gdk_keymap_map_virtual_modifiers() to Quartz backend
2009-12-28 21:18:57 +01:00
Kristian Rietveld
c8fef502e2
Start using CGFloat
...
Fixes a bunch of compiler warnings. Since CGFloat does not exist on
Tiger and earlier, we have added a typedef likewise as was done for
NSInteger.
2009-12-28 21:18:57 +01:00
Kristian Rietveld
f3a5bf48d4
Fix compile warning in gdk_cursor_new_from_pixmap
2009-12-28 21:18:57 +01:00
Kristian Rietveld
dd415881be
initWithContentRect: has a NSUInteger parameter now
...
The typedef in place for Tiger and earlier systems should change this
to unsigned int without problems.
2009-12-28 21:18:56 +01:00
Cody Russell
98a14e6067
Add GtkOffscreenWindow to gtk-sections.txt
2009-12-28 09:42:12 -06:00
Cody Russell
dd8e4d588f
Documentation changes.
2009-12-28 09:33:42 -06:00
Cody Russell
4681f0b467
Add 'Since 2.20' documentation.
2009-12-28 09:33:42 -06:00
Cody Russell
09b25f9739
Add documentation note for GtkOffscreenWindow emission of damage-event.
2009-12-28 09:33:42 -06:00
Cody Russell
2158f59263
Add gtk-doc section for GtkOffscreenWindow
2009-12-28 09:33:42 -06:00
Cody Russell
309e48378e
Add gtk_offscreen_window_get_{pixmap,pixbuf} to gtk.symbols
2009-12-28 09:33:42 -06:00
Cody Russell
06a53cc482
Add gtkoffscreenwindow.sgml
2009-12-28 09:33:42 -06:00
Cody Russell
1c92a54983
Add gtk_offscreen_window_get_pixmap() and gtk_offscreen_window_get_pixbuf(), some API docs.
2009-12-28 09:33:42 -06:00
Cody Russell
5e76656a65
Add headers
2009-12-28 09:33:42 -06:00
Cody Russell
2cd2e03721
Add offscreen window symbols to gtk.symbols
2009-12-28 09:33:41 -06:00
Cody Russell
7fed174194
Add gtk_offscreen_window_new() prototype to gtkoffscreenwindow.h
2009-12-28 09:33:41 -06:00
Cody Russell
8801d163a6
Add delete-event callback to window, use gtk_widget_queue_draw() instead of gtk_widget_draw()
2009-12-28 09:33:41 -06:00
Cody Russell
8a523393ac
GtkOffscreenWindow implementation for #604901
2009-12-28 09:33:41 -06:00
Jorge González
74b8191f55
Updated Spanish translation
2009-12-28 02:09:35 +01:00
Kristian Rietveld
b2b70e5a8d
Start using NSInteger and NSUInteger
...
These have been introduced in Leopard and default to int and unsigned int.
In 64-bit Snow Leopard they are long and unsigned long. This caused issues
with the getRectsBeingDrawn message which needs a pointer to a NSInteger
(long on 64-bit!) but we passed in an integer. Surprisingly this problem
was visible when compiling with -O0 (segfault), but *not* when compiling
with -O1. Other messages were NSInteger is now needed have also been
adapted.
Since NSInteger and NSUInteger are not available on Tiger, a define
has been added to add typedefs for these when they have not been defined
by the system headers.
2009-12-27 19:28:56 +01:00
Ivar Smolin
9d1e7b2146
Updating Estonian translation
2009-12-27 00:54:40 +02:00
Iestyn Pryce
07e8e4bc23
Updated Welsh translation
2009-12-24 23:47:44 +00:00
Iestyn Pryce
da3f12b965
Updated Welsh translation
2009-12-24 23:45:52 +00:00
Kristian Rietveld
acb6f4ff33
Fix call to update_prelight()
...
Seems like some minus signs sneaked in while diffing and reapplying...
Fixes regression noted in 480065.
2009-12-23 08:33:10 +01:00
Theppitak Karoonboonyanan
270dc0b582
Updated Thai translation.
2009-12-23 13:32:51 +07:00
Jonh Wendell
da113b8312
Fix a memory leak in gtk_label_compose_effective_attrs()
2009-12-22 11:46:08 -03:00
Matthias Clasen
bda55eaac7
Forgotten news
2009-12-21 22:51:08 -05:00
Matthias Clasen
277b5e5bd8
Bump version and add dist-bzip2
2009-12-21 22:26:43 -05:00
Matthias Clasen
53b9a41b47
2.19.2
2009-12-21 22:24:59 -05:00
Kristian Rietveld
f59294fd93
Correct problems with earlier fix for bug #480065
...
Initialize event_last_[xy] to out of range coordinates and also update
these values in enter and leave notify. Fix up calls to
update_prelight() from size allocate. Unconditionally doing these calls
caused problems with hover selection. Now we only do this call when
the "width before the expander column" has changed. (Which might be
awkward, but it is the best heuristic I could come up with so far).
2009-12-21 22:42:15 +01:00
Kristian Rietveld
f223577a88
Bug 480065 - wrong tree collapsed (or expanded) after having scrolled
...
Commit again after revert.
Store (x, y) of last motion event. From
gtk_tree_view_adjustment_changed(), call prelight_or_select() so that
the prelight is recalculated. We do the same from
gtk_tree_view_size_allocate() for the case that clicking on an expander
shows new rows that resize the column(s) left of the expander. This
means that the expander is moved horizontally, in such a case the
prelight also has to be reconsidered.
2009-12-21 22:42:15 +01:00
Matthias Clasen
d5394b06e4
Updates
2009-12-21 16:11:26 -05:00
Tor Lillqvist
8daf770a73
Add gdk_keymap_map_virtual_modifiers() implementation
2009-12-21 22:43:44 +02:00
Matthias Clasen
d2ce67734a
Fix a think in the CSW input extension handling
...
This was causing stack overflow due to an obvious infinite recursion.
See e.g. RH #548849 .
2009-12-21 15:27:46 -05:00
Matthias Clasen
1781696a4a
Fix make check
2009-12-21 13:13:36 -05:00
Matthias Clasen
c0d8b71bc5
Improve selection/arrow key behaviour in GtkTextView
...
This patch makes the text view behave more similar to entries.
Patch by Michael Natterer, see bug 50942
2009-12-21 11:29:12 -05:00
Matthias Clasen
c9875c6247
Add a release note about virtual modifiers
2009-12-21 11:26:11 -05:00
Matthias Clasen
03b179c5e8
Try harder to handle accelerators involving virtual modifiers
...
This patch changes GDK to add all matching virtual modifiers in
the state field of the key event. The corresponding GTK+ change makes
use of a new GdkKeymap function to map virtual modifiers back to
real modifiers and detect conflicts while doing so.
This should fix bug 603190 and bug 427409.
2009-12-21 11:15:28 -05:00
Richard Hughes
60e0183ac9
Add icc-profile option to gdk-pixbuf for the TIFF image format
2009-12-21 08:53:28 +00:00
Javier Jardón
25e3329215
Move documentation to inline comments: GtkMountOperation
...
https://bugzilla.gnome.org/show_bug.cgi?id=597865
2009-12-21 06:34:43 +01:00
Javier Jardón
e62e7f76c9
Move documentation to inline comments: GtkImage
...
https://bugzilla.gnome.org/show_bug.cgi?id=597865
2009-12-21 06:34:10 +01:00
Javier Jardón
016fba99e7
Move documentation to inline comments: GtkFileChooser
...
Also, use Gtk-Doc markup to improve documentation
cross-references.
https://bugzilla.gnome.org/show_bug.cgi?id=597865
2009-12-21 06:31:37 +01:00
Benjamin Otte
3921834b96
Build adds not-yet-built libgtk-x11-2.0.la into the linker flags
...
Commit 9e7c91bf83
added a bit too many
LDFLAGS to the build of gtk-update-icon-cache, revert it to only use the
required ones. Bug 605036
2009-12-21 02:51:59 +01:00
Matthias Clasen
5a88e689f3
Make mnemonic hiding work for printer option widgets
...
By making the widget itself insensitive.
2009-12-20 19:17:24 -05:00
Matthias Clasen
72e41b41f5
More auto-mnemonics tweaks
...
When auto-mnemonics are on, hide mnemonics with insensitive target.
2009-12-20 19:17:24 -05:00
Matthias Clasen
6f421d1450
Some improvements to the auto-mnemonics code
2009-12-20 19:17:24 -05:00
Matthias Clasen
4116baef32
Handle reading the create-folders property
2009-12-20 19:17:24 -05:00
Javier Jardón
134a8ffa19
Fix compilation warning: cast to GTK_WIDGET()
2009-12-21 00:40:03 +01:00
Javier Jardón
479c7b0476
Fix compilation warning: use the correct conversion specifier
...
Use G_GSIZE_FORMAT instead of %d
2009-12-21 00:39:19 +01:00
Jorge González
c939fdbfbc
Updated Spanish translation
2009-12-20 13:37:45 +01:00
Matthias Clasen
c59f76fda2
Only show the mnemonic underline when pressing Alt
...
...and show them in menus when navigating the menu with the keyboard.
This is similar to what other platforms do, and reduces visual clutter.
There is a setting to control this. Most of the work on this patch was
done by Thomas Wood. See bug 588554.
2009-12-20 03:11:05 -05:00
Matthias Clasen
af268d5b07
Small documentation correction
2009-12-20 03:11:04 -05:00
Matthias Clasen
9d999fb89f
Properly free damage events
...
This was reported in bug 605008
2009-12-20 03:11:04 -05:00
Benjamin Otte
9e7c91bf83
Fix up linker flags
...
This adds LDFLAGS everywhere where they were previously pulled in via
other libraries. This is however unsupported by modern linkers.
You can trigger these failures by building with gold (or, I'm told, with
very new ld).
2009-12-19 18:37:39 +01:00
Benjamin Otte
ff1343a594
Disconnect signal handlers on adjustment in destroy handler
...
Not removing the signal handler caused crashes if the adjustment
survived longer than the scrolled window and still emitted signals. This
could happen inside WebKit.
2009-12-19 13:50:39 +01:00
Jorge González
17f026e462
Updated Spanish translation
2009-12-19 13:31:19 +01:00
Carlos Garcia Campos
a4db99ff1e
Fix a crash on print preview
...
There's no printer when doing print preview so it's not possible to get
its hard margins.
2009-12-19 12:28:46 +01:00
Dan Winship
0b4af241b6
Change GtkIconSize to int in params/return values
...
GtkIconSize is an extensible enumeration (via
gtk_icon_size_register()), so methods that claim to take/return a
GtkIconSize need to actually use "int" to work correctly with bindings
that are strict about enum values.
https://bugzilla.gnome.org/show_bug.cgi?id=604895
2009-12-19 10:32:35 +01:00
Dan Winship
6afa3b9507
Fix out/transfer annotations on GtkImage getters
...
https://bugzilla.gnome.org/show_bug.cgi?id=604895
2009-12-19 10:32:35 +01:00
Matthias Clasen
a5475e0ec2
Fix doc typos
...
Reported in bug 604902.
2009-12-18 21:48:18 -05:00
Javier Jardón
7e11475298
[docs] Cast to GFunc in gtk_tree_selection_get_selected_rows() example code
...
Reported by Diego Escalante Urrelo here:
https://bugzilla.gnome.org/show_bug.cgi?id=502266
2009-12-19 02:09:18 +01:00
Hiroyuki Ikezoe
702ee3b350
[gtk] GtkCellEditable::editing-cancelled should be writable
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=604881
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2009-12-19 01:21:22 +01:00
Matthias Clasen
aadb190b77
Fix a thinko in computing damage for segments
...
The code was not taking the endpoint of the first segment into account.
This was reported in bug 604747.
2009-12-18 19:17:04 -05:00
Matthias Clasen
7a9a3077e4
Ensure native windows in gdk_property_change
...
Using X properties on non-toplevel windows is somewhat exotic,
but some people seem to do it, so better to keep it working.
See bug 604787.
2009-12-18 18:43:32 -05:00
Torsten Schoenfeld
0addda2028
[docs] Add some 'Since: 2.4' tags
...
This patch adds Since: 2.4 tags to gtk_bindings_activate_event,
gtk_window_propagate_key_event and gtk_window_activate_key.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=604859
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2009-12-18 21:00:10 +01:00
Hiroyuki Ikezoe
d3fab727ae
Use g_value_dup_string instead.
...
g_value_get_string and g_strdup should be replaced by
g_value_dup_string.
2009-12-18 20:51:03 +01:00
Richard Hughes
ba651d4022
Add color management support to gdk_pixbuf_save
...
This patch adds an icc-profile option to a GdkPixbuf which can
be used to read or write an embedded ICC profile.
Add PNG support for now, but other image formats are awaiting
review.
2009-12-18 15:17:13 +00:00
Alexander Larsson
7e9d89b555
Actually send exposes from gdk_window_clear_area_e
2009-12-18 15:35:04 +01:00
Javier Jardón
674dd557e8
Add 'Since: 2.18' tag
...
Add missing 'Since:' tag in gdk_window_get_root_coords() and
gdk_window_is_destroyed()
Reported by Rafal Luzynski in
https://bugzilla.gnome.org/show_bug.cgi?id=604821
2009-12-18 10:53:01 +01:00
Nguyễn Thái Ngọc Duy
16ce0c76eb
vi.po: Updated Vietnamese translation
2009-12-18 16:07:40 +07:00
Christian Dywan
99f63451e0
Use gtk_widget_get_tooltip_text for gtk_tooltips_data_get in Gail
2009-12-17 10:41:11 +01:00
Tor Lillqvist
435606a5bf
Make the OLE2 DND code selectable at run-time instead of compile-time
...
(It still doesn't work, though.)
2009-12-17 01:51:51 +02:00
Johan Dahlin
a5dec477e2
Make sure dist check includes introspection
2009-12-16 17:30:53 -02:00
Johan Dahlin
957f50f5f0
Bump the required introspection version
...
Makefile.introspection was added in 0.6.7
2009-12-16 17:22:02 -02:00
Johan Dahlin
eadc7885da
Use Makefile.introspection
...
Use the new fancy rules from the Makefile.introspection, it makes
the rules prettier and avoids quite a bit of duplication
2009-12-16 17:22:02 -02:00
Johan Dahlin
2ada5a9cb9
Update introspection.m4
...
This one includes the INTROSPECTION_MAKEFILE variable
which we will include in all Makefiles which are going
to build introspection girs/typelibs
2009-12-16 17:22:02 -02:00
Johan Dahlin
75c7d910ae
Bump required introspection version to 0.6.6
2009-12-16 17:22:02 -02:00
Johan Dahlin
248d4b1622
Make sure dist check works with introspection
...
We need to prepend the srcdir to all variables
passed into the scanner as it runs with srcdir != builddir during
distcheck.
2009-12-16 17:22:02 -02:00
Johan Dahlin
09362d6e34
Re-add accidentially removed gtkintl header
2009-12-16 17:22:02 -02:00
Johan Dahlin
a945505246
Add no-portability option to automake
...
We require GNU Make and has done so for a while already
2009-12-16 17:22:02 -02:00
Colin Walters
6529c07614
[introspection] Merge in Gtk-custom.c annotations
...
The Gtk-custom.c file in gir-repository contained a number of
introspection annotations. Merge those into the GTK source files.
Some documentation was moved from the tmpl/ files to accomodate
the addition of annotations.
2009-12-16 17:22:01 -02:00
Johan Dahlin
b3c48a4501
Bump the required version of autoconf to 2.62
...
It's need by the new introspection macro.
2009-12-16 17:22:01 -02:00
Johan Dahlin
80c7937d60
Separate private from public gdk headers
...
We don't want to parse the private gdk headers when
creating the GIR.
2009-12-16 17:22:01 -02:00
Johan Dahlin
945689548d
Add an m4 directory and a introspection.m4
...
So we don't need the introspection.m4 file
to create a dist of gtk+
2009-12-16 17:22:01 -02:00
Tomeu Vizoso
c171d58640
Add a few more annotations to GtkIconTheme
2009-12-16 17:22:01 -02:00
Colin Walters
18dc96caf8
Merge in Gdk-custom.c introspection annotations
...
The Gdk-custom.c file in gir-repository contained a number of
introspection annotations. Merge those into the GDK source files.
Some documentation was moved from the tmpl/ files to accomodate
the addition of annotations.
https://bugzilla.gnome.org/show_bug.cgi?id=592279
2009-12-16 17:22:01 -02:00
Colin Walters
78758d43ea
Build introspection data for gdk-pixbuf, gdk, and gtk
...
Generate .gir and .typelib files for gdk-pixbuf, gdk, and gtk.
https://bugzilla.gnome.org/show_bug.cgi?id=592279
2009-12-16 17:22:00 -02:00
Tor Lillqvist
6e73be9d6c
Add copyright note and comment for merged old code
2009-12-16 13:47:57 +02:00
Tor Lillqvist
eb21a7df29
Work on OLE2-based generic DND
...
Intermediate commit of work in progress on integrating the old code
for OLE2-based generic drag and drop from Arhaeopteryx Software, from
a long time ago in the GTK+ 1.3 timeframe. Does still not work and is
as before not compiled in unless OLE2_DND is defined in
gdkdnd-win32.c. (Thus, for inter-process DND, still only WM_DROPFILES
style dropping of files on GTK+ apps works.)
Related slight refactoring of other code that shouldn't change how it
works. Add more global variables for run-time constants (once
initialized) representing well-known GdkAtoms and registered Windows
clipboard formats, as they with the generic DND code will be needed in
several source files. Some improved debugging output.
2009-12-16 13:10:21 +02:00
Tor Lillqvist
c196ac2b63
Make more GdkAtom variables visible in all gdk/win32 files
...
Make the GdkAtoms for the image formats extern and usable from all
gdk/win32 files.
2009-12-16 13:10:20 +02:00
Tor Lillqvist
c1ddd8f9bc
Make the gdk/win32 event debug printing function non-static
...
Make print_event() extern and rename it to _gdk_win32_print_event() so
it can be used from all gdk/win32 source files.
2009-12-16 13:10:19 +02:00
Tor Lillqvist
1bf9a2fa41
Remove unused functions and variables
2009-12-16 13:10:18 +02:00
Benjamin Otte
9647285441
Revert dd511e825a
...
The patch completely breaks entry completion - as can be seen when using
epiphany. Bug 480065 has been reopened.
2009-12-16 11:48:11 +01:00
Javier Jardón
44cadd2a48
Add info about single includes when compiling GTK+ apps
...
gtk.h, gdk.h, gdk-pixbuf.h. are the recommended includes.
But there are some exceptions: gdkkeysyms.h, gdkx.h and
gtkunixprint.h
https://bugzilla.gnome.org/show_bug.cgi?id=604117
2009-12-15 20:10:20 +01:00
Matthew Barnes
e8ed566898
Bug 602099 - Actions can be activatable too
...
Add a couple type checks in gtk_activatable_do_set_related_action() to
allow both GtkWidgets and GtkActions to implement GtkActivatable. Bug
602099 describes a use case for this.
Also add a GObject prerequisite to the GtkActivatable interface.
2009-12-15 08:05:11 -05:00
Matthias Clasen
182108c68e
Implement gdk_screen_get_primary_monitor in all GDK backends
...
The implementations are all trivial, just returning 0. At least
for Quartz, we could probably do better than that. Bug 604459.
2009-12-13 20:40:02 -05:00
Matthias Clasen
a9cd99c15f
Fix gtk_tool_item_get_text_size_group return value
...
Reported by Kazuki Iwamoto in bug 604462.
2009-12-13 20:32:46 -05:00
Jorge González
3d74197f8c
Updated Spanish translation
2009-12-13 09:55:01 +01:00
Christian Dywan
b20f2d26b4
Reset the pressed state of a button when the screen changes
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=599397
2009-12-11 17:17:38 +01:00
Nils-Christoph Fiedler
a515a01faa
Updated LowGerman translation
2009-12-11 09:16:09 +01:00
Sven Herzberg
70440523e3
let the close button reflect the page_complete status of SUMMARY pages
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=604289
In order to respect this properly, we have to restore the original
behavior by watching a flag to check if the user has already set this.
* gtk/gtkassistant.c: fix the bug by introducing a flag to check for
non-automatic value setting
* tests/testassistant.c: updated the "generous assistant" to permit
quick manual testing of this feature
2009-12-10 22:06:30 +01:00
Johan Dahlin
6879032113
Fix the builder tests
2009-12-10 12:33:55 -02:00
Cody Russell
53ab5c0b63
Add gdk_screen_get_primary_monitor to gdk.symbols
2009-12-09 23:20:30 -06:00
Danielle Madeley
15a5f153b1
Fix GTK_TREE_MODEL_FILTER_GET_CLASS macro
2009-12-09 15:48:58 +11:00
Cody Russell
662e69ad3e
Add gdk_screen_get_primary_monitor(). This fixes bug #601712
2009-12-08 11:27:02 -06:00
Matthias Clasen
0748cf563d
Never do implicit paints for foreign windows
...
They don't need double buffer combination since they have no
client-side children, and creating pixmaps for them is risky
since they could disappear at any time.
May fix bug 598476 and 603652.
2009-12-08 10:09:04 -05:00
Matthias Clasen
105b007545
Set colormap of offscreen pixmaps
...
This fixes problems in clutter-gtk. See bug 603619.
2009-12-08 09:58:23 -05:00
Alexander Larsson
22d1d0d507
Fix up last commit
2009-12-08 12:28:44 +01:00
Alexander Larsson
159214173d
Handle input extension events when making a window native
...
It may happen when turning a client side window into a native window
that the window, or some of its children with the same native parent
have extension events enabled, and thus have an input window enabled
for the native parent which needs to change as the window is made
native.
We fix this by temporarily disabling extension events on all the affected
windows while we create the native window, and then reenable them afterwards.
This fixes: https://bugzilla.redhat.com/show_bug.cgi?id=544624
2009-12-08 12:22:59 +01:00
Ivar Smolin
ae2a33be2f
Updating Estonian translation
2009-12-08 09:01:21 +02:00
David King
260b442462
[doc] Add error domains on functions taking a GError**
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=544706
2009-12-08 05:55:21 +01:00
Christian Dywan
ae057dcd12
[doc] Fix the documentation of GtkIconEntry
...
Cast to (GFunc) in example code
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=601383
2009-12-08 05:45:50 +01:00
Javier Jardón
0e3e20e705
[gtk/gtkaccessible] Seal the public member of GtkAccesible
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=544892
2009-12-08 02:08:35 +01:00
Alexander Larsson
98a9c5c69a
Fix damage report for lines drawn on offscreen windows
...
All kinds of lines (lines, segments, arcs, etc) need to take into
account the line properties (width, miter limit, joins, caps, etc)
to get proper damage extents.
This is not really possible to do, but we can make it likely to work
with some ad-hoc estimates.
Fixes bug 603904.
2009-12-07 10:49:57 +01:00
Alexander Larsson
48fc0f36c2
Fix mouse pointer handling on multiple screens
...
The fix in 786b589d95
for the
"Cannot click buttons more than once without moving the mouse cursor"
did not correctly handle setups with multiple screens in one display.
We need to handle the case where the first XQueryPointer returns
a different root window than the default one.
This fixes bug 597386 (agaion)
2009-12-07 10:49:57 +01:00
Yair Hershkovitz
3ea51bfec0
Updated Hebrew translation
2009-12-05 23:24:01 +02:00
Carlos Garcia Campos
a3fea3f241
Fix Since tag in gtk_printer_get_default_page_size() doc
2009-12-05 15:48:46 +01:00
Adrian Johnson
6e351f9214
Set win32 printer hard margins on print context
2009-12-05 13:51:37 +01:00
Adrian Johnson
7c5e1cb703
Set hard margins to 0 when printing n-up on unix printers
2009-12-05 13:50:34 +01:00
Adrian Johnson
05bb47cc3e
Default to hard margins not available
...
unless the print backend explicitly provides them.
2009-12-05 13:47:31 +01:00
Adrian Johnson
48cf7d9e7e
Set unix printer hard margins on print context
2009-12-05 13:45:55 +01:00
ecyrbe
be686e2bad
Bring GtkPrintContext hard margin aware
...
See bug #468989 .
2009-12-05 13:23:44 +01:00
Kjartan Maraas
db30c79dac
Updated Norwegian bokmål translation.
2009-12-04 21:21:38 +01:00
Matej Urbančič
1e3719ba81
Updated Slovenian translation
2009-12-04 20:48:54 +01:00
Matej Urbančič
19d2beee53
Updated Slovenian translation
2009-12-04 20:48:44 +01:00
Javier Jardón
325bd9299a
Use GtkCellEditable::editing-canceled
...
GtkCellEditable::editing-canceled property was added in 2.19 cycle,
so we should make the code that currently uses entry->editing_canceled
directly go through the property
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=599213
2009-12-04 02:50:57 +01:00
Christian Dywan
46f5ee1d0c
Store the buildable name in object data instead of the widget name
...
Widget names are used for theming which is why GtkBuilder should
use object data.
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=591085
2009-12-03 13:10:02 +01:00
Khaled Hosny
7e7c23de19
Updated Arabic translation
2009-12-02 15:53:31 +02:00
Alexander Larsson
b509f28559
Don't filter out BUTTON_MOTION event masks
...
We don't really need to filter these out, it was just a leftover
safety check to not override the GDK_POINTER_MOTION_MASK.
Furthermore when we changed behaviour to not always select for native
pointer motion it is actually wrong. We'll still get normal motion
events for the toplevel which we will emulate as button motion on the
child, but the button motion mask will not be inherited by implicit
grabs which makes us not get any motion events during grabs.
This fixes bug 601473
2009-12-02 11:19:21 +01:00
krishnababu k
6201a5d7ee
Updated telugu translations
2009-12-02 15:04:25 +05:30
Javier Jardón
62bfbe91d8
[gtk/gtktextview] Use {} in empty if..else blocks
2009-12-02 09:38:08 +01:00
Javier Jardón
f35c581de4
[gtk/gtktreestore] Remove useless line
2009-12-02 09:36:58 +01:00
Javier Jardón
f332506804
Fix compilation warning: cast to GTK_LABEL()
...
This was introduced in commit 478ca88ae5
2009-12-02 02:11:59 +01:00
Matthias Clasen
a18b8cdc46
Fix strftime format translation
...
This was reported in RH bug 500067.
2009-12-01 17:07:28 -05:00
Christian Persch
33552c75b1
Revert "Set unix printer hard margins on print context"
...
This reverts commit 826d800b74
.
2009-12-01 19:00:58 +01:00
Christian Persch
b2602a92b9
Revert "Default to hard margins not available"
...
This reverts commit a77f209f23
.
2009-12-01 19:00:58 +01:00
Christian Persch
ab8e565740
Revert "Set hard margins to 0 when printing n-up on unix printers"
...
This reverts commit 215eb8c9f1
.
2009-12-01 19:00:58 +01:00
Christian Persch
723c16d6cd
Revert "Set win32 printer hard margins on print context"
...
This reverts commit a42107389f
.
2009-12-01 19:00:58 +01:00
Christian Persch
88bcbf4866
Revert "Add comment explaining why we set the hard margins to 0 for n-up"
...
This reverts commit 394f698e4e
.
2009-12-01 19:00:57 +01:00
Matthias Clasen
a31b5130ec
Regenerate gtkimcontextsimpleseqs.h
...
Based on the changes in the previous commit; this also pulls in
some additions fixes from the current X.org Compose.pre file.
2009-12-01 12:47:44 -05:00
Matthias Clasen
25260f9867
Make Compose-vowel-minus combinations consistent
...
Change <Multi_key>a- and <Multi_key>o- to produce āō to be consistent
with eiu. See RH bug 510741.
2009-12-01 12:29:53 -05:00
Christian Persch
394f698e4e
Add comment explaining why we set the hard margins to 0 for n-up
...
Bug #468989 comment 28.
2009-12-01 17:42:08 +01:00
Adrian Johnson
a42107389f
Set win32 printer hard margins on print context
2009-12-01 17:40:16 +01:00
Adrian Johnson
215eb8c9f1
Set hard margins to 0 when printing n-up on unix printers
2009-12-01 17:40:09 +01:00
Adrian Johnson
a77f209f23
Default to hard margins not available
...
unless the print backend explicitly provides them.
2009-12-01 17:39:54 +01:00
Adrian Johnson
826d800b74
Set unix printer hard margins on print context
2009-12-01 17:39:26 +01:00
Christian Persch
efa90e4182
Allow getting the printer's hard margins
...
Adds a way to get the unprintable area of the printer. Bug #468989 .
2009-12-01 17:39:01 +01:00
Matthias Clasen
e81dacb8e3
Bump version
2009-11-30 18:36:56 -05:00
Matthias Clasen
eb662b4b58
2.19.1
2009-11-30 17:23:48 -05:00
Matthias Clasen
1d6b7f6de8
Another make dist fix
2009-11-30 16:55:32 -05:00
Pablo Castellano
602e7e1910
Corrected typo in GtkIconTheme documentation
2009-11-30 22:41:18 +01:00
Matthias Clasen
671f117d24
Another update
2009-11-30 16:15:43 -05:00
Matthias Clasen
2c0dbe0a0a
Doc fixes
2009-11-30 16:14:11 -05:00
Matthias Clasen
1587165c18
More updates
2009-11-30 16:14:11 -05:00
Javier Jardón
dd3d8c96d0
[gdk-pixbuf] Use G_STRLOC instead __LINE__
2009-11-30 21:10:49 +01:00
Matthias Clasen
8ecd77ffd1
Add a release note about statusbar internal hierarchy changes
2009-11-30 14:06:57 -05:00
Matthias Clasen
ba1c9ae2bc
Another make check fix
2009-11-30 13:50:39 -05:00
Matthias Clasen
9d6ddfdc51
Make dist fixes
2009-11-30 13:10:36 -05:00
Christian Dywan
e72435f9d0
Implement "compression" option in the TIFF pixbuf loader
...
This enables applications to read out the compression of a TIFF image
and also makes it possible to apply the same or a different
compression when saving.
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=584700
2009-11-30 13:55:12 +01:00
Christian Dywan
6dfdf0fadf
Fallback to gtk_show_uri for print preview if the command fails
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=601682
2009-11-30 13:20:43 +01:00
Christian Dywan
cb49a28f8c
Mention exact property names in notebook tab packing deprecation
...
Follow-up for bug 596083.
2009-11-30 12:55:29 +01:00
Javier Jardón
ee2c797e70
[gdk/directfb] Made dfb_events_dispatch() thread save
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=591438
2009-11-30 06:02:49 +01:00
Matthias Clasen
d0083b5df3
Whitespace fixes
2009-11-29 19:48:16 -05:00
Matthias Clasen
478ca88ae5
Use a url label instead of a link button
...
This looks nicer, and allows us to make the url-hook work again
for the website url. Fixes bug 603201.
2009-11-29 19:00:28 -05:00
Matthias Clasen
6abb399ef4
Trivial doc typo fix
2009-11-29 19:00:10 -05:00
Matthias Clasen
324ff48edc
Avoid a harmless warning
...
In labels with colored, underlined text, the link handling code
would spit out a warning, even if no links are around.
See 603302.
2009-11-29 17:19:58 -05:00
Jorge González
d0bbb86f1b
Updated Spanish translation
2009-11-29 12:24:10 +01:00
Matthias Clasen
c08ed56f13
Allow holding compose key while entering a sequence
...
This broke when we started allowing Super, Hyper and Meta as
accel modifiers. See bug 601959.
2009-11-28 21:47:36 -05:00
Matthias Clasen
bbb4e4910b
Make the toolbar-style and toolbar-size settings work
...
This broke when moving the setting from gtktoolbar.c to gtksettings.c.
Spotted by Christian Persch in bug 603271.
2009-11-28 21:43:59 -05:00
Matthias Clasen
d8dfad3eb9
Fix small documentation problems after the toolpalette merge
...
Several Since tags were wrong. Spotted by Christian Persch in
bug 603268.
2009-11-28 20:59:56 -05:00
Alexander Larsson
4e0b7bf6fe
Position new ui nodes correctly when existing dirty dead nodes exist
...
If you add a new ui node that was recently removed it will still be
in the tree, but marked dirty. In this case we previously just used
the old node, which meant it wouldn't get the same position as if
the dirty nodes had been processed first (and deleted) before the
new node was added.
We handle this by detecting this case and reposition the node as if
it was new.
https://bugzilla.gnome.org/show_bug.cgi?id=603128
2009-11-28 20:49:37 -05:00
Matthew Barnes
25a8c7316d
Bug 601869 - GtkUIManager assumes too much about popup menus
...
Check that the child of a popup menu item is actually a GtkAccelLabel
before setting its "accel-closure" property.
2009-11-28 20:00:07 -05:00
Christian Persch
5bf30c2885
Make the action widgets internal children of GtkNotebook
...
So they're not included in the result of gtk_container_foreach() which
preserves it as a convenient way to get the list of all notebook content
widgets.
Bug #601409 .
2009-11-28 18:05:09 +01:00
Matthias Clasen
6dfb21e616
Rework a broken workaround for a Java bug
...
This was committed to fix bug 568263, but it is not correct, as
pointed out in 601611.
2009-11-28 10:29:35 -05:00
Nils-Christoph Fiedler
be86bc5c32
Updated Low German translation
2009-11-28 13:37:49 +01:00
Nils-Christoph Fiedler
dc98b24561
Updated Low German translation
2009-11-28 13:36:06 +01:00
Nils-Christoph Fiedler
d5395027e5
Updated Low German translation
2009-11-28 13:30:13 +01:00
Jorge González
cbf6c1b572
Updated Spanish translation
2009-11-28 10:53:59 +01:00
Matthias Clasen
53218f5c82
Improve docs of two style properties
...
See discussion in bug 561334. Based on a patch by Paul Bolle.
2009-11-28 02:17:40 -05:00
Matthias Clasen
84254039f2
Handle reparenting out of a socket
...
Although it isnt' allowed by the XEMBED protocol, its possible
that the plug window will be reparented out of the socket without
the socket having done so. See bug 123569. Patch by David Jander.
2009-11-27 23:49:04 -05:00
Javier Jardón
2040547d96
Move documentation to inline comments: GtkStock
...
https://bugzilla.gnome.org/show_bug.cgi?id=597865
2009-11-28 03:05:09 +01:00
Matthias Clasen
869ee7f232
Allocate a large-enough and mask
...
We came up short when the image width is not a multiple of 8.
Bug 585383, fix by Felix Riemann.
2009-11-27 20:59:42 -05:00
Matthias Clasen
36ca3fd5e9
Add a missing include
...
memset() is used in gdk/x11/gdkinput-xfree.c but string.h is not included.
Patch by Vincent Untz, bug 597026.
2009-11-27 20:59:42 -05:00
Javier Jardón
0ef8f52567
Move documentation from templates to inline comments: GtkWidget
...
https://bugzilla.gnome.org/show_bug.cgi?id=597865
2009-11-28 02:59:06 +01:00
Matthias Clasen
43a07af9b1
Be a bit more forgiving about invalid monitor number
...
By moving the g_return_if_fail() checks into individual monitor functions.
See bug 561130.
2009-11-27 18:39:15 -05:00
Matthias Clasen
5bfab2b9d4
Short-circuit get_frame_extents for override-redirect windows
...
There's no reason to do our expensive round-trips for an override-redirect
window; just use local information. See bug 581145. Patch by Owen Taylor.
2009-11-27 18:19:20 -05:00
Christian Persch
7abd4d1359
Implement gail_image_get_image_size for storage GICON and ICON_NAME
...
Bug #602724 .
2009-11-27 19:17:23 +01:00
Christian Persch
65485cbc7c
Add UI manager attribute to always show image in menu items
...
Add always-show-image="true|false" attribute to <menuitem> element in UI
manager markup. If present, it overrides the always-show-image property
on image menu items. Bug #589842 .
2009-11-27 19:14:43 +01:00
Christian Persch
e571273d81
Add gtk_action_[sg]et_always_show_image()
...
Add a way to tell a GtkAction to have its menu item proxies always show
their image. Bug #589842 .
2009-11-27 19:14:35 +01:00
Michael Natterer
1e476186cb
Add missing single-include guards
2009-11-27 15:58:13 +01:00
Kristian Rietveld
2ef9b989bf
Bug 596473 - Second double-click of GtkTreeView row doesn't emit...
...
Rework double click handling in GtkTreeView. We cannot blindly use
the 2BUTTON_PRESS and 3BUTTON_PRESS events. In case a user does two
fast double clicks, we receive a 3BUTTON_PRESS and BUTTON_PRESS. We
cannot easily deduce two double clicks from this.
We have removed the bookkeeping using row references of the last paths
clicked. Instead we monitor event time, (x, y) coordinates and compare
against double-click-time and double-click-distance ourselves.
2009-11-27 13:48:16 +01:00
Kristian Rietveld
dd511e825a
Bug 480065 - wrong tree collapsed (or expanded) after having scrolled
...
Store (x, y) of last motion event. From
gtk_tree_view_adjustment_changed(), call prelight_or_select() so that
the prelight is recalculated. We do the same from
gtk_tree_view_size_allocate() for the case that clicking on an expander
shows new rows that resize the column(s) left of the expander. This
means that the expander is moved horizontally, in such a case the
prelight also has to be reconsidered.
2009-11-27 13:48:16 +01:00
Kristian Rietveld
d3592dc22c
Logically re-group fields in GtkTreePrivate structure
...
This should now cause much less of a headache than before. Fields have
been properly reordered, each group has been given a comment. Since the
GtkTreePrivate structure is private (as the name says), this should not
have any effect on ABI.
2009-11-27 13:48:16 +01:00
Matej Urbančič
2b810d1a22
Updated Slovenian translation
2009-11-27 13:38:19 +01:00
Matthias Clasen
4df3377446
Updates
2009-11-27 02:11:08 -05:00
Matthias Clasen
0567ea1c18
Add customary args to gtk_style_paint_spinner()
...
...and adjust all callers.
2009-11-27 01:23:55 -05:00
Matthias Clasen
c1dfd2f2f5
Remove duplicate entries
2009-11-27 00:47:03 -05:00
Matthias Clasen
14fb7dfb7e
Fix a doc comment
2009-11-27 00:46:18 -05:00
Matthias Clasen
111dd859ba
Fix a doc comment
2009-11-27 00:45:22 -05:00
Matthias Clasen
6255df0982
Fix a doc comment
2009-11-27 00:43:51 -05:00
Matthias Clasen
927aaa43f9
Remove duplicate doc comments.
...
These can only serve to confuse gtk-doc.
2009-11-27 00:42:54 -05:00
Matthias Clasen
3faf7d0214
Fix a doc comment
2009-11-27 00:39:26 -05:00
Matthias Clasen
7ad6bb3eb6
Un-doc-commentify a comment
2009-11-27 00:37:20 -05:00
Matthias Clasen
13d5d37bc7
Fix a doc comment
2009-11-27 00:37:03 -05:00
Matthias Clasen
104ee307c2
Update debug flag information
2009-11-27 00:32:14 -05:00
Matthias Clasen
1f8d468123
Adjust default value for GtkToolItemGroup::label
2009-11-27 00:14:37 -05:00
Matthias Clasen
4362400018
Exclude GtkToolItemGroup::label-widget from default value test
2009-11-27 00:11:59 -05:00
Matthias Clasen
37255486d4
Merge branch 'master' into toolpalette
2009-11-26 23:54:55 -05:00
Matthias Clasen
837775af7b
Fix up docs, and set up the aliasing machinery
2009-11-26 23:52:20 -05:00
Matthias Clasen
7f9b55710a
Some cleanups for the toolpalette demo
2009-11-26 19:41:38 -05:00
Matthias Clasen
7aa1d6fcaf
Fix another doc typo
2009-11-26 18:56:25 -05:00
Nishibori Kiyotaka
9f1399e018
Updated Japanese translation
2009-11-26 23:13:38 +09:00
Matthias Clasen
044f168507
Set scale_num only once
...
This modifies the previous commit to be according the upstream libjpeg
maintainers recommendations. See bug 588740.
2009-11-25 23:39:31 -05:00
Matthias Clasen
b72c2143b0
Remove misleading text about invisible text
...
Invisible text has been working reasonably well since 2.8.
2009-11-25 17:33:41 -05:00
Nils-Christoph Fiedler
85cb4e7a9c
Updated LowGerman translation
2009-11-25 18:08:10 +01:00
Matthias Clasen
d4b92737ab
Make level3 keys work again
...
We were not paying attention to consumed modifiers when adding
virtual modifiers. This fixes RH bug 537567.
2009-11-25 01:02:40 -05:00
Christian Persch
ba218a7789
Make setting the icon-size property on GTK_IMAGE_GICON images work
...
Bug #602725 .
2009-11-23 17:03:55 +01:00
Ivar Smolin
f0923341bb
Updating Estonian translation
2009-11-22 12:20:41 +02:00
Johannes Schmid
bffd43bd8f
toolpalette: Don't call gdk_window_process_updates() in the animation callback
...
That does not seem to make any difference.
2009-11-18 10:38:45 +01:00
Johannes Schmid
3cc1478a29
toolpalette: Added dnd code to the gtk-demo
2009-11-18 10:32:37 +01:00
Matt Arsenault
ad2f04119f
Fix missing documentation for GdkPixbufSimpleAnim.
...
It wasn't clear it was a GObject.
2009-11-15 13:11:22 -05:00
Mario Blättermann
81101c2271
Added dummy Low German translation
2009-11-15 17:58:59 +01:00
Nils-Christoph Fiedler
5cef58cfc3
Added Low German translation
2009-11-15 17:55:27 +01:00
Kristian Rietveld
cffddd2adc
Document how Cocoa coordinate and monitor layout transforms to GDK work
2009-11-15 15:29:45 +01:00
Alberto Garcia
087348a55d
Bug 601512 - Remove unnecessary check in GtkTreeModelFilter
...
gtk_tree_model_filter_set_visible_func() is checking for
priv->visible_func, but that is always going to be NULL since there's
no way to call this function twice.
Besides that the code itself is wrong, since it tries to call
priv->visible_destroy without making sure that it's not NULL
2009-11-15 13:42:36 +01:00
Tor Lillqvist
7fda8e6378
Awful hack for problem in dnd of images from Firefox on Windows
...
Bypassed with #if 0 because it is an awful hack and not really
acceptable from a privacy point of view for instance. It prevents
Firefox from deleting temporary files containing images being dragged,
so they stay on disk. Bug #561973 .
2009-11-15 00:37:17 +02:00
Antón Méixome
ccf97385a7
Updated Galician Translation
2009-11-13 11:27:54 +01:00
Li Yuan
c10231f3e0
Require atk 1.29.2 for bug #569430 .
2009-11-13 12:28:03 +08:00
Christian Dywan
0bc6680564
Implement gtk_statusbar_get_message_area and "message_area" child
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=594535
2009-11-12 18:57:37 +01:00
Kjartan Maraas
d03b53800e
Fix typo
2009-11-11 21:39:32 +01:00
Kjartan Maraas
385c266a0f
Updated Norwegian bokmål translation.
2009-11-11 21:39:32 +01:00
Christian Dywan
00d87c2563
[gtk/gtkwindow] Added accessor for GTK_WINDOW ()->type
...
There already is the "type" property, but an accessor
function for it would be intuitive: gtk_window_get_window_type()
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=595498
2009-11-11 20:07:39 +01:00
Javier Jardón
ecc3065f76
Only use gdk_input_select_events() if XINPUT_NONE is defined
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=601337
2009-11-11 17:42:20 +01:00
Marek Kasik
c32c2882b2
Rotate figures on landscape icons in page setup dialog
...
Rotate figures on landscape and reverse landscape icons
to match output of print (#599402 ).
2009-11-11 14:21:11 +01:00
Johannes Schmid
ffce5223fc
toolpalette: Fixed inconsistent spacing
2009-11-11 10:02:36 +01:00
Johannes Schmid
0e2a5509f6
toolpalette: fixed trailing whitespaces
2009-11-11 09:42:49 +01:00
Johannes Schmid
0886416f26
toolpalette: Fixed documentation
2009-11-11 09:38:32 +01:00
Johannes Schmid
fe216c9367
toolpalette: allow to reset same adjustment
2009-11-11 09:33:49 +01:00
Johannes Schmid
3b2ae9dc3e
toolpalettte: Fixed some style issues
2009-11-11 09:32:15 +01:00
Johannes Schmid
e8b640104e
toolpalette: Always show text horizontally
2009-11-11 09:27:00 +01:00
Javier Jardón
c366d5c89e
Fix incorrect GtkMovementStep description
...
Reported by James Campos here:
https://bugzilla.gnome.org/show_bug.cgi?id=601432
2009-11-10 20:42:13 +01:00
Javier Jardón
e8e82802a4
Fix compilation warning: Use GDK_GPOINTER_TO_NATIVE_WINDOW() macro
2009-11-10 20:26:59 +01:00
Javier Jardón
cd2ff792ca
[gdk] Added GDK_GPOINTER_TO_NATIVE_WINDOW() macro
...
GdkNativeWindow cast is needed in 64-bit Windows so gpointer data
is converted to a (64-bit) native window handle.
GPOINTER_TO_UINT() is used in other platforms.
2009-11-10 20:15:37 +01:00
Tor Lillqvist
0e87c90539
Revert "Fix compilation warning: Use G_POINTER_TO_UINT"
...
GPOINTER_TO_UINT() *does* drop the upper 32 bits on 64-bit
Windows. After all, it by definition produces a (32-bit) unsigned int.
The GLib commit mentioned in the reverted commit's log message just
means that it does this without any compiler warning about casting
from pointer to integer of smaller size, as it first casts to a 64-bit
integer, then casts that to a (32-bit) int.
We must use the GdkNativeWindow cast here so that on 64-bit Windows
the gpointer data in embedded_list is converted to a (64-bit) native
window handle without going through 32-bit truncation. If ifdefs are
required to avoid compiler warnings on X11, so be it then. Probably it
would be best to introduce a GDK_GPOINTER_TO_NATIVE_WINDOW() macro in
gdktypes.h.
This reverts commit 78151dc7d4
.
2009-11-10 16:17:33 +02:00
Javier Jardón
cb301e6dbb
Fix compilation warning: Use a variable to store the return value
2009-11-09 22:39:54 +01:00
Johannes Schmid
1de2a55eaf
Ported gtktoolpalette from a custom array to GPtrArray.
...
...and some mixed fixes of things mentioned in the bug report
2009-11-09 22:16:15 +01:00
Javier Jardón
21f6e1841a
Fix compilation warning: Use G_GNUC_UNUSED macro
...
add_builtin_module() is only used into #define block of code
2009-11-09 21:49:47 +01:00
Javier Jardón
78151dc7d4
Fix compilation warning: Use G_POINTER_TO_UINT
...
GPOINTER_TO_UINT() doesn't drops the upper 32 bits on Win64 anymore.
The Glib commit e4194cb055e44f8a1bd2ab666ead9fa040bcdb89 solved this
problem.
2009-11-09 21:18:22 +01:00
Javier Jardón
3143a344a7
Fix compilation warning: Disable unused function
...
Use #if 0 to disable unused gtk_text_btree_node_invalidate_downward()
2009-11-09 20:56:54 +01:00
Christian Dywan
148ffd2cc9
Clarify documentation of gtk_notebook_set_action_widget
2009-11-09 16:36:17 +01:00
Javier Jardón
f1f6d76078
Fix some compilation warnings
...
Use the proper G*_TO_POINTER macro
2009-11-09 10:27:30 +01:00
Javier Jardón
1919f55647
Fix compilation warning: initialize variable to NO_MATCH
2009-11-09 09:41:51 +01:00
Javier Jardón
20f123531a
Fix compilation warning
...
Use GINT_TO_POINTER() and GPOINTER_TO_INT()
2009-11-09 09:36:49 +01:00
Javier Jardón
8831a44902
Fix warning: Use parentheses around '&&' within '||'
2009-11-09 09:36:41 +01:00
Javier Jardón
d8f5ce4b54
Fix compilation warning: Use const gchar* variable
2009-11-09 09:36:36 +01:00
Javier Jardón
ef414cc6bf
Fix compilation warning: Cast to gchar*
2009-11-09 09:36:31 +01:00
Javier Jardón
c7a5ddf8a7
Disable test until it is rewritten to work
2009-11-09 09:36:23 +01:00
Javier Jardón
e70a46c7e3
Fix compilation warning: initialize the variable
2009-11-09 09:36:15 +01:00
Javier Jardón
73cfcf9495
Fix compilation warning: Cast to guchar*
2009-11-09 09:34:23 +01:00
Matthias Clasen
c605474fa9
Add GtkBuilder support for notebook action area.
...
Allow to place children into the notebooks action areas by using
"action-start" or "action-end" as the type.
2009-11-08 21:34:29 -05:00
Matthias Clasen
c7e4a1a012
Add an 'action area' to GtkNotebook
...
Add support for putting widgets in the tab area, before or after
the tabs. This was requested a long time ago in bug 116650. The
implementation is the work of Johannes Schmid.
2009-11-08 21:28:17 -05:00
Daniel Nylander
38f7383c7a
Updated Swedish translation
2009-11-08 22:09:50 +01:00
Robin Stocker
26e2c7f398
Example for setting default action in gtk_drag_dest_set
2009-11-08 01:35:42 +01:00
Paul Pogonyshev
bb036097c3
Trivial typo fix.
2009-11-08 01:10:45 +02:00
Thomas Thurman
812c97012e
Shavian translation
2009-11-07 15:49:44 +00:00
Jorge González
51534bd666
Updated Spanish translation
2009-11-07 12:45:52 +01:00
A S Alam
42b6d0a02d
Change Latin Number to Gurmukhi for Step up the use of Punjabi (Gurmukhi)
2009-11-07 16:08:34 +05:30
Johannes Schmid
02a9d9afd8
Remove G_GNUC_UNUSED
2009-11-07 10:56:59 +01:00
Javier Jardón
78acc785db
Fix a typo
...
This was introduced in commit 72b69e0094
Reported by BugByteMan here:
http://mail.gnome.org/archives/gtk-devel-list/2009-November/msg00014.html
2009-11-07 02:18:05 +01:00
Jorge González
f733568f1f
Updated Spanish translation
2009-11-06 21:52:01 +01:00
Matej Urbančič
d823957ee6
Updated Slovenian translation
2009-11-06 14:50:26 +01:00
Matej Urbančič
bcd8b4b2b8
Updated Slovenian translation
2009-11-06 14:49:58 +01:00
Joanmarie Diggs
a196cb9400
Add RELATION_NODE_PARENT_OF relationship for treeview.
...
Bug 569430.
2009-11-06 16:17:23 +08:00
Nirbheek Chauhan
aaa126d39f
[configure] Add check for cairo-svg.h for file print backend
...
Closes https://bugzilla.gnome.org/show_bug.cgi?id=600222
2009-11-06 05:47:15 +01:00
Javier Jardón
7d1c8fa644
[gdk/x11/gdkdnd-x11] Add missing "Deprecated: 2.x" to the api doc comments.
2009-11-06 03:41:02 +01:00
Javier Jardón
0d55c6ede1
[gdk/gdkimage] Add missing "Deprecated: 2.x" to the api doc comments.
2009-11-06 03:37:56 +01:00
Javier Jardón
7bc07ffe86
[gdk/gdkgc] Add missing "Deprecated: 2.x" to the api doc comments.
2009-11-06 03:30:31 +01:00
Javier Jardón
925fa99393
[gdk/gdkdraw] Add missing "Deprecated: 2.x" to the api doc comments.
2009-11-06 03:26:27 +01:00
Javier Jardón
64d054264e
[gdk/gdkcolors] Add missing "Deprecated: 2.x" to the api doc comments.
2009-11-06 03:16:34 +01:00
Javier Jardón
8082aad271
Use "Deprecated:" gtk-doc symbol corrently
...
Also, added some suggestion about replacements for deprecated functions
2009-11-06 03:03:40 +01:00
Nicola Fontana
1e1131c959
Do not use static GTypeInfo and GInterfaceInfo
...
Either g_type_register_static_simple (used by G_DEFINE_TYPE_EXTENDED)
and G_IMPLEMENT_INTERFACE use automatic variables for GTypeInfo and
GInterfaceInfo structs, while tutorials and source code often use
static variables. This commit consistently adopts the former method.
https://bugzilla.gnome.org/show_bug.cgi?id=600158
2009-11-06 01:21:09 +01:00
Christian Dywan
e41f4e85cf
Improve accessibility context and description of the spinner
...
https://bugzilla.gnome.org/show_bug.cgi?id=598758
2009-11-06 00:56:30 +01:00
Bruce Cowan
2f9bd297bb
Fix tooltips in GtkColorSelection
...
Tooltips made reference to palette, even though it may not have been
visible. Bug #600150 .
2009-11-05 23:22:32 +00:00
Matthias Clasen
f4990f6c9d
Fix loading scaled-down jpegs
...
The assumption that scale_num will be automatically be 1 is no longer
with libjpeg7. So set it explicitly. Bug #588740 .
2009-11-05 10:29:34 -05:00
Alexander Larsson
9e51c10edc
Don't unnecessarily clear windows with no exposure mask set
...
When we just invalidate some area from the app we don't need to clear
windows with no exposure mask, because that wouldn't have happened pre-csw
anyway. Additionally we can avoid such clearing for native windows in cases
where the xserver already did the clearing like on exposes or when resizing
toplevels.
This means we don't fully redraw a GtkSocket when it resizes, thus
avoiding flicker in gnome-mplayer as reported in this bug:
https://bugzilla.gnome.org/show_bug.cgi?id=598050
2009-11-05 12:52:12 +01:00
Alexander Larsson
9ae0d9a44f
Document clears_as_native and make the name more descriptive
2009-11-05 12:52:12 +01:00
Alexander Larsson
39993f147f
Add supports_native_bg to GdkWindowImpl
...
Backends that support native window background setting (and that clears
new window areas to this color/pixmap) should set this to true.
Currently only X11 supports this.
2009-11-05 12:52:12 +01:00
Alexander Larsson
4cd5c98942
Don't unnecessarily expose areas copied by native windowing system
...
When moving or scrolling a window with native children, there is no
need to expose the areas that are copied by the windowing system
as part of moving/resizing the native windows anyway.
2009-11-05 12:52:12 +01:00
Alexander Larsson
a299797883
Only send exposes on unmap if window really was unmapped
...
Exposing when you hide a hidden window is just a waste of time.
2009-11-05 12:52:12 +01:00
Alexander Larsson
8c1ea38d84
Flush outstanding stuff when clearing directly on a window
...
Clearing will directly modify the contents of the window, so we need
to flush any outstanding moves or double-buffering.
2009-11-05 12:52:11 +01:00
Paolo Bonzini
72b69e0094
Don't run system("touch conf.gtktest") in the AM_PATH_GTK_2_0 macro
...
Just use the C library instead to create the file. Helps building
using Wine. Not that I think we want to endorse that way to build GTK+
for Windows, proper cross-compiling surely probably more sense, but
accepting this minimal patch doesn't hurt. From bug #590017 .
Signed-off-by: Tor Lillqvist <tml@iki.fi >
2009-11-03 18:50:55 +02:00
Javier Jardón
8dfac859a1
Fix some compilation warnings
...
Cast to guint8* and use guint instead int in some variables
2009-11-03 00:04:49 +01:00
Javier Jardón
1a02671437
Fix compilation warning: Use gpointer variables
2009-11-02 23:49:00 +01:00
Benjamin Otte
ba9f53397f
Don't keep the filesystem model alive while querying files
...
This allows disposing of the filesystemmodel while the file enumeration
is still happening.
As the filechooser does not disconnect its signals because it assumes it
is the only owner of the model, this also prevents a SEGV when emitting
the "load-finished" signal in that case.
2009-11-02 20:11:09 +01:00
Benjamin Otte
8632d8763d
Simplify cleanup code
...
The patch ensures that the file browse model can only get removed in one
place, so it's easier to clean up.
2009-11-02 20:11:03 +01:00
Matthias Clasen
1dbb6ebcfc
Bump version
2009-11-01 19:37:53 -05:00
Matthias Clasen
6f3a73cfb9
2.19.0
2009-11-01 19:23:05 -05:00
Matthias Clasen
80de4ab0d9
Another property formatting fix
2009-11-01 18:53:51 -05:00
Matthias Clasen
0a9a1bec93
Work around a gtk-doc formatting problem
2009-11-01 16:41:48 -05:00
Matthias Clasen
097b254e4b
Documentation and stylistic fixups
2009-11-01 16:12:43 -05:00
Matthias Clasen
ff2dbc5040
Remove en@shaw from LINGUAS
...
It breaks the build because there is no po-properties/en@shaw.po .
Please add that file before adding it back, thanks.
2009-11-01 15:45:09 -05:00
Matthias Clasen
3e599b651a
Updates
2009-11-01 15:40:02 -05:00
Thomas Thurman
97b7cdda17
Shavian translation fix
2009-10-31 22:20:09 -04:00
Thomas Thurman
e73974f2ee
Shavian translation
2009-10-31 21:52:18 -04:00
Khaled Hosny
5df0609641
Updated Arabic translation
2009-10-30 21:38:21 +02:00
Javier Jardón
141a7dac00
Fix warning: Initialize to TRUE the returned variable
...
Also, fixing some indentation problems
2009-10-30 19:24:08 +01:00
Javier Jardón
550796d897
Fix some compilation warnings
...
Use proper gint8 array variable instead a string
2009-10-30 18:36:03 +01:00
Javier Jardón
8763551b6b
Fix warning: cast to gint*
2009-10-30 18:34:35 +01:00
Javier Jardón
3dbfc08a7a
Fix some compilation warnings
...
Fixed the prototypes of MyEnhancedXkbTranslateKeyCode() and
translate_keysym() to take a gint* because those functions treat
these arguments as an int, so we get around the need to cast.
2009-10-30 18:33:16 +01:00
Javier Jardón
3388a1b146
Use "Since: 2.x" instead "Since 2.x"
2009-10-30 18:11:44 +01:00
Javier Jardón
0a9843c1b9
Fix warning: some casts to gchar*
2009-10-30 04:27:32 +01:00
Javier Jardón
07236ee745
Remove statement with no effect
2009-10-30 04:19:10 +01:00
Javier Jardón
cbba733b47
Fix warning: cast to gchar*
2009-10-30 04:17:29 +01:00
Javier Jardón
d76287c94b
Fix warning: cast to gchar*
2009-10-30 04:04:28 +01:00
Matthias Clasen
0f78a6c89a
Allow setting type hints on unmapped windows
...
We set the hint on map, so it makes sense to check for GTK_WIDGET_MAPPED,
not GTK_WIDGET_VISIBLE as the code currently does.
2009-10-28 12:13:58 -04:00
Johannes Schmid
ed41fa8b50
Fixed GtkToolPalette API docs to mention 2.20 instead of 2.18
2009-10-28 13:17:13 +01:00
Johannes Schmid
e83013c066
Fix custom label handling in gtktoolitemgroup
2009-10-28 13:11:37 +01:00
Johannes Schmid
c229306a18
Merge branch 'master' into toolpalette
2009-10-28 10:57:46 +01:00
Yevgen Muntyan
4ff709c24b
Use standard mac shortcuts: add gtk/gtkrc.key.mac
...
This completes commit 3c510f028f
https://bugzilla.gnome.org/show_bug.cgi?id=530351
2009-10-28 00:54:28 +01:00
Christian Dywan
da8dde446d
Deprecate functions according to deprecated GtkButton signals
...
https://bugzilla.gnome.org/show_bug.cgi?id=599218
2009-10-27 22:42:25 +01:00
Christian Dywan
6271cb9672
Don't use deprecated button signal functions in clist and combo
2009-10-27 22:42:24 +01:00
Christian Dywan
87c0397edc
Don't use deprecated button signal functions in Gail
2009-10-27 22:42:24 +01:00
Jorge González
b2e629f044
Updated Spanish translation
2009-10-27 21:40:12 +01:00
Christian Dywan
4f0b0d0775
Don't use structure fields of GtkAccelMap in GtkSocket
...
https://bugzilla.gnome.org/show_bug.cgi?id=599403
2009-10-27 21:27:28 +01:00
Christian Dywan
f4d5ed5397
Allow removing all closures with gtk_accel_group_disconnect
...
https://bugzilla.gnome.org/show_bug.cgi?id=599403
2009-10-27 21:25:56 +01:00
Marek Kasik
33ec0ecf05
Don't assign a GtkPageOrientation to a boolean value
...
GtkPrintOperationPrivate->orientation is a boolean value.
2009-10-27 17:35:37 +01:00
Marek Kasik
50e784c405
Rotate number-up layout according to orientation when printing
...
Number-up layout has to be rotated differently since rotation in
"landscape" and "reversed landscape" mode was changed.
2009-10-27 16:53:43 +01:00
Adrian Johnson
9f2c5e3b3a
Take printer margins into account on Windows
...
Fixes bug #381371 .
2009-10-27 12:30:50 +02:00
Christian Dywan
57af1cdb8c
Only set the accesible label if it is non-empty
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=599446
2009-10-27 00:34:49 +01:00
Javier Jardón
d0f2cd73b0
Use G_STRLOC instead __FILE__ and __LINE__
2009-10-27 00:21:51 +01:00
Nick Schermer
92a68f4cf9
gtk_init_with_args() arguments should be const gchar*
...
The translation_domain argument should be const gchar * to allow compilation
with -Wwrite-strings. It only passes the argument to
g_option_context_add_main_entries() which is already const gchar*.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=583305
2009-10-26 22:29:33 +01:00
Dumitru Mișu Moldovan
aaa45996d9
Updated Romanian translation
2009-10-26 22:54:59 +02:00
Javier Jardón
12061507b4
Use G_STRFUNC and G_STRLOC instead __FUNCTION__ and __FILE__
2009-10-26 18:46:19 +01:00
Javier Jardón
42aebf51a2
Use G_STRFUNC instead __FUNCTION__
2009-10-26 18:46:14 +01:00
Javier Jardón
c368c6e425
Use G_STRLOC instead __LINE__
2009-10-26 18:19:48 +01:00
Javier Jardón
a667ee8e5e
Use G_STRFUNC instead __FUNCTION__
2009-10-26 18:17:23 +01:00
Marek Kasik
6b5912a213
Show correct print preview
...
Modify print preview according to settings from print dialog.
Similar approach as during real print is applied to the preview
process (#592582 ).
2009-10-26 17:47:37 +01:00
Javier Jardón
567b23229f
Cast to gchar* to fix a compilation warning
2009-10-26 15:14:46 +01:00
Kristian Rietveld
a338c7e929
Update copyright
2009-10-26 09:57:11 +01:00
Kristian Rietveld
fa8fa48ef1
Update position of toplevels after display reconfiguration
...
We have to do this, especially after the screen containing the menubar
has changed. Such more larger changes in monitor geometry will cause
changes to how monitors are laid out in the root window. The position
coordinates of the windows will have to be updated to reflect their
position in the new layout.
2009-10-26 09:52:54 +01:00
Kristian Rietveld
a4d932cc64
Fixup get_nsscreen_for_x()
2009-10-26 09:52:54 +01:00
Kristian Rietveld
221883dd31
Remove unused variable (fix compiler warning)
2009-10-26 09:52:54 +01:00
Kristian Rietveld
93530675de
Update size of root window after display reconfiguration
2009-10-26 09:52:54 +01:00
Kristian Rietveld
959a9437e6
Support arbitrary screen layouts
...
The Quartz port now supports arbitrary multiple monitor layouts instead
of only monitors are were laid out horizontally. This builds on the
reworked coordinate translation done in a previous commit.
2009-10-26 09:52:54 +01:00
Kristian Rietveld
8846012c6d
Rework coordinate transformation to be based on root window
...
The root window contains all the monitors attached to a Mac. The
coordinate transformation now both translates the x and y coordinate,
translating it from the Cocoa monitor coordinate space to the GDK
coordinate space. How monitors are laid out in the root window differs
between Cocoa and GDK, which is why it is important to translate based
on the root window to get multi monitor setups to work properly.
We have replaced the old y coordinate transformation function with
new functions that translate both the x and y coordinate.
When creating new toplevels, we have to determine the Cocoa screen on
which the toplevel should appear and translate the coordinates according
to that screen.
This change also fixes event handling in case there is a monitor left
of the screen containing the menu bar. In such a case all coordinates
on the left monitor are negative. Event handling broke, because of
_gdk_quartz_window_find_child() checking bounds. Now that coordinates
are always properly translated to GDK coordinate space, in which negative
coordinates do never occur, the checks here will work properly.
2009-10-26 09:52:54 +01:00
Kristian Rietveld
d26dd103b2
Be consistent with X11: emit monitors-changed first, then size-changed
2009-10-26 09:52:53 +01:00
Kristian Rietveld
aa25e4a51c
Update documentation for ::monitors-changed to mention OS X support
2009-10-26 09:52:53 +01:00
Kristian Rietveld
e36872da38
Use screen when emitting signal, not _gdk_screen
2009-10-26 09:52:53 +01:00
Kristian Rietveld
63e2f54516
Emit monitors-changed signal when appropriate
2009-10-26 09:52:53 +01:00
Kristian Rietveld
12dc617dc2
Move screen resolution setup to GdkScreenQuartz initializer
2009-10-26 09:52:53 +01:00
Kristian Rietveld
d47772f002
Create a proper subclass of GdkScreen: GdkScreenQuartz
2009-10-26 09:52:52 +01:00
Kristian Rietveld
73b55ae8f5
Register and handle a display reconfiguration callback
...
Using this we can update our internal monitor/screen layout state
and emit the GdkScreen::size-changed signal. Work has not
completely finished on this yet, see bug 596238.
2009-10-26 09:52:52 +01:00
Kristian Rietveld
ce3c861c2a
Setup monitor rects during screen initialization and re-use data
2009-10-26 09:52:52 +01:00
Kristian Rietveld
ca20b04b58
Move screen initialization to gdkscreen-quartz.c
2009-10-26 09:52:52 +01:00
Matthias Clasen
d3e6cffff7
Fix issues with symbolic colors in rc file parsing
...
Don't recreate the settings color hash every time, repopulate it
instead. This avoids invalidating the references held by RcContexts.
2009-10-25 23:47:59 -04:00
Matthias Clasen
16482f20db
Fixes for the compose-parse.py script
...
Several fixes by Ray Strode and Peter Hutterer to make compose-parse.py
work with the current X.org Compose file.
2009-10-25 23:46:27 -04:00
Matthias Clasen
4c26d99d3e
Update compose sequences
...
This patch includes additions to the X.org Compose file from the
last year. Patch by Peter Hutterer
2009-10-25 23:42:58 -04:00
Kevin Peng
4b22b461b6
GdkPixbuf loader for QTIF format
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=366217
2009-10-26 00:08:08 +01:00
Yevgen Muntyan
3c510f028f
Use standard mac shortcuts
...
This changes Ctrl-X, Ctrl-C, etc. to Cmd-X, Cmd-C, etc. Also,
Alt-Left and Alt-Right in text widgets bound to Ctrl-Left and
Ctrl-Right actions
https://bugzilla.gnome.org/show_bug.cgi?id=530351
2009-10-26 00:03:05 +01:00
Javier Jardón
e21355495a
Cast to gchar* to fix a compilation warning
2009-10-25 22:14:12 +01:00
Michael Emmel
04d7d81056
Fix for position bug
...
https://bugzilla.gnome.org/show_bug.cgi?id=590800
2009-10-24 17:20:50 +02:00
Matthew Barnes
13d968adbe
Bug 581150 - GtkIconView tries to paint items with invalid sizes
...
Run gtk_icon_view_layout() if necessary before attempting to paint the
icon view items during an expose event. This ensures all the items have
valid sizes, as some themes don't take kindly to negative dimensions.
2009-10-23 19:32:25 -04:00
Kristian Rietveld
42ac226877
Bug 598881 - Unimplemented GdkWindowImplIface methods crash gimp on OSX
...
Add dummy for _gdk_input_window_crossing (). Set both input_window_destroy
and input_window_crossing pointers in the Impl struct.
Reported by John Ralls.
2009-10-23 13:53:57 +02:00
Tor Lillqvist
861c34b01e
Use correct type text/uri-list for the dropped files selection
...
Fixes bug #599321 .
2009-10-23 13:40:27 +03:00
Javier Jardón
8e945e0e3f
Cast to gchar* to fix a compilation warning
2009-10-22 00:10:50 +02:00
Javier Jardón
852d4f49cd
Cast to fix compilation warning
2009-10-22 00:03:44 +02:00
Luca Ferretti
af6f5c1349
Add translators comments for tab labels (closes 599118)
2009-10-21 22:06:31 +02:00
Luca Ferretti
d3dbd54076
Minor fixes
2009-10-21 21:47:06 +02:00
Javier Jardon
98ea183c13
Use G_STRLOC instead __FILE__ and __LINE__
...
Patch from bug #599225
2009-10-21 21:48:00 +03:00
Michael Natterer
34b4b4d9c3
Add single-include guard and reduce includes to what's needed
2009-10-21 20:21:20 +02:00
Michael Natterer
8c34831e42
Don't allow to include this new header individually
2009-10-21 20:20:54 +02:00
Javier Jardón
c43a3acac3
Fix a compilation warning: use NULL instead ""
2009-10-21 19:41:50 +02:00
Javier Jardón
d020cb4aa3
Remove unused function
2009-10-21 19:39:46 +02:00
Javier Jardón
d5f1b79fab
Fix compilation warnings: use G_GSIZE_FORMAT instead %i
2009-10-21 19:38:20 +02:00
Federico Mena Quintero
48f1b89eae
bgo#563010 - Fix clearing the selection in GtkFileChooserButton
...
Previously the filename would get re-set on the button if one cleared the selection,
as an async cancellable was not getting canceled in that case.
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-21 12:29:03 -05:00
Cody Russell
0f33ad4ee1
Added editing_canceled property to GtkCellEditable
...
GTK_ENTRY()->editing_canceled should really have been a parameter of the
GtkCellEditable::editing-done signal, it should be a property on the cell
editable interface
https://bugzilla.gnome.org/show_bug.cgi?id=594962
2009-10-21 18:55:24 +02:00
Christian Dywan
272e0b5b76
Deprecated GtkNotebook tab packing
...
https://bugzilla.gnome.org/show_bug.cgi?id=596083
2009-10-21 18:25:02 +02:00
Christian Dywan
7c6823373a
Deprecate GtkCurve and GtkGammaCurve
...
https://bugzilla.gnome.org/show_bug.cgi?id=556263
2009-10-21 18:17:32 +02:00
Christian Dywan
f5df4e05e2
Added accesor for GTK_VIEWPORT (widget)->bin_window
...
Although, you can use:
gtk_widget_get_parent_window (gtk_bin_get_child (GTK_BIN (widget)))
there already are gtk_tree_view_get_bin_window() and
gtk_layout_get_bin_window() in GTK+ api.
https://bugzilla.gnome.org/show_bug.cgi?id=594960
2009-10-21 18:14:31 +02:00
Javier Jardón
6f6746389c
Fix a compilation warning
...
Use switch instead if's to get a default value
2009-10-21 02:57:19 +02:00
Javier Jardón
69773763ee
Fix a compilation warning
...
Reorder the function so the "lookup_context" variable can't be
used uninitialized
2009-10-21 02:45:05 +02:00
Javier Jardón
13ff557587
Fix some compilation warning
...
Complete the previous patch: set lower to 0 too
2009-10-21 02:37:05 +02:00
Javier Jardón
670e141b3a
Fix some compilation warning
...
Added some default cases and assert if reached
2009-10-21 02:08:18 +02:00
Javier Jardón
8e70bc988b
Fix a compilation warning
...
Use parenthesis in a expression with "&" operator
2009-10-20 20:44:48 +02:00
Javier Jardón
33f53e1d04
Fix a compilation warning
...
Catch the returned value of write()
2009-10-20 20:43:44 +02:00
Javier Jardón
232fca6e95
Fix compilation warning
...
Use g_get_current_dir() instead getcwd()
2009-10-20 20:38:14 +02:00
Javier Jardón
d3155bb1ea
Remove some unnused variables
2009-10-20 20:37:46 +02:00
Marek Kasik
cf8c4a6a80
A small correction of previous commit
...
Correct of a typo.
2009-10-19 11:44:09 +02:00
Matthias Clasen
52ef2f2a3e
Correct a small oversight
...
When changing themes, we also need to update the box spacing of
tooltips.
2009-10-18 20:38:28 -04:00
Tor Lillqvist
ab13c00a38
Use correct size for root window with multiple monitors
...
The root window width and height have already been correctly
initialised in _gdk_root_window_size_init() to cover all monitors, so
don't incorrectly re-initialise using GetSystemMetrics(SM_C[XY]SCREEN)
which only gives the size of the primary monitor anyway. (See MSDN.)
This fixes at least gdk_screen_get_{width,height}() which indirectly
affects at least the positioning of combo box pop-up menus on multiple
monitors.
2009-10-18 14:35:17 +03:00
Tor Lillqvist
0698ddd421
Delete a couple of leftover commented-out lines
2009-10-18 14:19:55 +03:00
Tor Lillqvist
77590e9af7
Add missing newline to debugging output
2009-10-18 14:19:24 +03:00
Tor Lillqvist
be5c06d799
Delete unused leftover static function
2009-10-18 12:08:18 +03:00
Tor Lillqvist
f545bd270d
More meaningful debugging output in gdk_win32_window_get_root_coords
2009-10-18 12:06:29 +03:00
Tor Lillqvist
d8de422794
Remove unused variables and static functions
2009-10-18 11:51:57 +03:00
Tor Lillqvist
b92f882ec4
Correct function names in debugging output
2009-10-18 11:45:03 +03:00
Matthias Clasen
9f11bb0ff6
Don't omit GTK_ICON_SIZE_DIALOG
2009-10-18 02:07:58 -04:00
Matthias Clasen
1dbfcf484b
Fix a problem in GtkImage size allocation
...
When GtkMisc padding is set on an image, the optimization for only
recalculating size after a clear() breaks, since the requisition is
not (0, 0). We need a separate 'need_calc' flag.
2009-10-18 01:38:44 -04:00
Simos Xenitellis
2f796df1ea
Updated Greek translation
2009-10-17 17:30:28 +03:00
Jorge González
185ed29598
Updated Spanish translation
2009-10-17 13:45:01 +02:00
Christian Dywan
06603435a2
Undefine GTK_DISABLE_DEPRECATED in testinput to keep it compiling
2009-10-16 18:45:53 +02:00
Christian Dywan
8e6dbff2b0
Deprecate GtkInputDialog
...
Deprecate the widget and adjust the documentation.
https://bugzilla.gnome.org/show_bug.cgi?id=594903
2009-10-16 16:05:13 +02:00
Tor Lillqvist
6d62e4fafe
Fix build on Windows
2009-10-16 13:29:54 +03:00
Debarshi Ray
34f6b9518c
Use G_BEGIN/END_DECLS in gtkcellrendererspinner.h
2009-10-16 00:22:20 +03:00
Federico Mena Quintero
f0e2d7d88b
Fix thinkos in which fields get used
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:20 +02:00
Federico Mena Quintero
02d96465f4
Oops, it's gsize, not GSize
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:19 +02:00
Federico Mena Quintero
1d283145bf
Fix a g_strdup_printf()
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:19 +02:00
Federico Mena Quintero
c39e8af7f4
Put the list of column types in a macro
...
Every call to _gtk_file_system_model_new*() gets the same list of column types,
so we now keep the list in a macro instead of having duplicated copies all around.
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:19 +02:00
Federico Mena Quintero
4c242317b0
Clarify the arguments of g_file_query_info_async()
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:19 +02:00
Federico Mena Quintero
2f3367fbf8
Make copy_attribute() a function instead of a macro
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:19 +02:00
Federico Mena Quintero
442484a280
Don't leak a treepath if the treeview is not populated yet
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:18 +02:00
Federico Mena Quintero
35028b9f05
Factor out function to set a fixed size for the icon cell renderers
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:18 +02:00
Federico Mena Quintero
90647c1a13
Comment that the column order needs to be kept in sync across two functions
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:18 +02:00
Federico Mena Quintero
0144521438
Fix typo in a comment
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:18 +02:00
Federico Mena Quintero
6e3a6ba12f
Make get_selected_file() return a ref'ed file
...
The old semantics was to return a GFile* owned by the file system model; the new
semantics is to hand out new references whenever possible.
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:18 +02:00
Federico Mena Quintero
7e9fbd16e4
In set_filter(), handle the case where the new filter is the same as the old filter
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:17 +02:00
Federico Mena Quintero
fb1a72fcb0
s/get_is_visible/iter_is_visible for clarity
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:17 +02:00
Federico Mena Quintero
9efa64fba5
Remove obsolete comment
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:17 +02:00
Federico Mena Quintero
55a04b1da0
Make the code match the docs in _gtk_file_system_model_clear_cache()
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:17 +02:00
Federico Mena Quintero
112d2430be
Free some missing fields in ::finalize()
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:17 +02:00
Federico Mena Quintero
5ea265ca61
Clarify variable names in gtk_file_system_model_sort()
...
To comply with the i -> indexes; r -> rows convention.
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:17 +02:00
Federico Mena Quintero
7ecc87ed59
Nothing to do for ref/unref_node
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:17 +02:00
Federico Mena Quintero
8bf24cdd9d
Clarify a couple of spots with comments
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:16 +02:00
Federico Mena Quintero
14cc3e17f5
Clarify array indexes vs. row numbers
...
There was some confusion between "index" as used for the model->files[] array,
and node->index as used for our 1-based row numbers. Now we use "index" only
for indices in the model->files[] array, and node->row for row numbers. Functions
and variables are renamed to clarify whether they refer to indexes or rows.
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:16 +02:00
Federico Mena Quintero
d0468ee7e1
Big comment on how GtkFileSystemModel works
...
Let's have some documentation on the idea behind this beast...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:16 +02:00
Federico Mena Quintero
04c78019fb
Remove obsolete code to use a cached mime-type
...
The non-standard "filechooser::mime-type" was a remnant of the recent-files code using
a hand-built GFileInfo; now we just query the file info ourselves.
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:16 +02:00
Federico Mena Quintero
6166fccf30
Fix thinko in node_should_be_visible()
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:16 +02:00
Federico Mena Quintero
908911d6db
Factory out functions to emit row_inserted, row_changed, row_deleted
...
This is to avoid temporary variables for the path/iter and to avoid duplicated code.
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:16 +02:00
Federico Mena Quintero
ad2e6ff52c
When updating a file, handle the case where the old file info is the same as the new one
...
This prevents us from inadvertently losing the last ref to the info.
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:16 +02:00
Federico Mena Quintero
688917cdbb
When removing a file, also remove it from the file_lookup hash table
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:15 +02:00
Federico Mena Quintero
385fa71ec0
Comment on how the file_lookup hash table gets rebuilt on demand
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:15 +02:00
Federico Mena Quintero
6820dee988
Clarify the arguments to g_file_query_info_async()
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:15 +02:00
Federico Mena Quintero
ccee7ef4fb
Show an error dialog when we can't read the folder's contents
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:15 +02:00
Federico Mena Quintero
3b86973075
Clarify the code flow in gtk_file_system_model_got_files()
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:15 +02:00
Federico Mena Quintero
3f7c144605
Remove the dir_thaw_source while disposing the model
...
Otherwise that timeout may trigger after the model has died.
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:15 +02:00
Federico Mena Quintero
30016185be
Make _gtk_file_system_model_remove_file() static
...
It was only used internally by the model.
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:14 +02:00
Federico Mena Quintero
2e0382cf02
Make _gtk_file_system_model_add_file() static
...
It was only used internally by the model, anyway.
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:14 +02:00
Federico Mena Quintero
93588c6d5c
Clarify the comments that some fields in GtkFileSystemModel can be NULL
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:14 +02:00
Federico Mena Quintero
88bb9342ab
Clarify the arguments to g_file_monitor_directory()
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:14 +02:00
Federico Mena Quintero
d2d997a021
Clarify an argument to g_file_enumerate_children_async()
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:14 +02:00
Federico Mena Quintero
d5d9601852
Fix and tighten an assertion
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:14 +02:00
Federico Mena Quintero
86c32c2502
Complete the documentation string for _gtk_file_system_model_new()
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:14 +02:00
Federico Mena Quintero
3232c469fc
Start with a file array with a resonable preallocated size
...
g_array_new() doesn't reserve any size by default, so during the initial population
of the file array, we'll do more reallocs than strictly needed. We'll start with
a reasonable preallocated size, in this case the number of files which we can
get in a single chunk out of GIO.
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:13 +02:00
Federico Mena Quintero
5110415684
Compute the node size only once to avoid the scary macro
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:13 +02:00
Federico Mena Quintero
dfe20ea1a8
g_error() as soon as we catch an invalid column type
...
There's no point in running a GtkFileSystemModel with invalid column types.
This way we can also avoid clearing the memory of the column_types array.
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:13 +02:00
Benjamin Otte
836c3ab043
Improve show_and_select_files() function
...
The previous function enumerated the whole directory and used a lot of
outdated API to decide how to show files.
The new code queries the filesystem model to decide about this.
The now unused old functions were removed.
2009-10-15 22:01:40 +02:00
Benjamin Otte
6bdaaea3a4
Remove unused error argument from show_and_select_files()
2009-10-15 22:01:40 +02:00
Benjamin Otte
682a3c8c75
Enable the size column in recent files/search
...
Previously information about file sizes was not available for search
results and recent files, so the column was always hidden. As this
information is now available, we can stop the special handling and use
the same setting as in browse mode.
2009-10-15 22:01:40 +02:00
Benjamin Otte
d68bca1771
Use the faster accessor function in the sort functions
...
Use the faster _gtk_file_system_model_get_value() function instead of
gtk_tree_model_get() inside the sort functions. This gives a significant
speed-up when sorting large lists.
In a test case with 40.000 files, the sorting time went from ~5 seconds
to less than 0.5 seconds for my test case. There is 2 significant
problems with gtk_tree_model_get() that cause this:
1) The value is copied, which takes quite a bit of time for strings.
~25% of excessive time or ~1 second in my test
2) The tree model functions need to lookup the interface vfunc. And
gtk_tree_model_get() doesn't do that only once, but multiple times
(verifying column id, getting the actual value, ...)
~75% of excessive time or ~3 seconds in my test
2009-10-15 22:01:39 +02:00
Benjamin Otte
53a00e3cc3
Convert recent files to a GtkFileSystemModel
...
This does to the recent files what the last commit did to the search. It
uses a GtkFileSystemModel and its API niceties to show the recent files.
2009-10-15 22:01:39 +02:00
Benjamin Otte
5a31dfd66b
Convert search to use a GtkFileSystemModel
...
Replace the list model code with the file system model and use all the
file system model API niceties we get from that.
Also adds the function _gtk_file_system_model_add_and_query_file() which
g_file_query_info()'s the file before adding it, so it gets added with
the right information.
2009-10-15 22:01:09 +02:00
Benjamin Otte
390a3910f5
Don't count the "enter directory name" line as a selected file
2009-10-15 22:00:09 +02:00
Benjamin Otte
affa8c8459
Add a constructor to filesystem model that does not monitor a directory
...
This is in preparation for switching search and recent models to use
GtkFileSystemModel
2009-10-15 22:00:09 +02:00
Benjamin Otte
10e8d6abca
Make the filesystem model filter API use a GtkFileFilter
...
This gets rid of the vfunc API and does exactly what the file chooser
wants.
2009-10-15 22:00:09 +02:00
Benjamin Otte
cd337e2a95
Only query the absolutely necessary attributes
...
Since the time taken by g_file_enumerate_children() depends a lot on the
attributes that are queried, we query the minimum attributes that need
to be queired to display the file chooser.
In particular, the attributes for loading the icon are ignored, as icons
are loaded on demand (see previous commit).
2009-10-15 22:00:08 +02:00
Benjamin Otte
4a1ff32325
Load icons on-demand
...
Because loading icons takes a noticable performance, this code loads the
pixbuf on demand and only loads icons for rows that are visible. There
is a few caveats to this:
- The pixbuf cell renderer must report the proer size even if the icon
is not yet loaded. This is achieved by setting a fixed size.
- On theme changes the cahced pixbufs and the cell renderer must be
updated to conform to the new theme.
2009-10-15 22:00:08 +02:00
Benjamin Otte
105e6fbc11
Use the GtkTreeSortable of the filesystem model
...
Previously, there was a GtkTreeSortModel wrapped around the filesystem
model to make it sortable. As the new implementation implements the
GtkTreeSortable interface, we can use this instead.
2009-10-15 22:00:08 +02:00
Benjamin Otte
3e385ffd07
Clean up code to use the model directly
...
A lot of code special cases accesses to the tree view for the different
browse modes, which was previously necessary, because the models were
different. Now that they are identical in the first columns, there is no
such need anymore, and the functions don't need to be special cased.
2009-10-15 22:00:08 +02:00
Benjamin Otte
30c1a1ee2c
Replace the cell data computations
...
Previously custom functions were used to compute the data passed to the
cell renderers. Now that all this data is saved by the tree models with
compatible nodes, the usual default attribute-to-column mapping can be
used.
With this, caching of the values can happen in the tree model, which
avoids costly lookups of icons or computation of strings. Last but not
least it avoids spurious bugs that could happen when strings changed
without anyone noticing, like the mtime when a new day begins.
2009-10-15 22:00:08 +02:00
Benjamin Otte
a5390ad49e
Consolidate tree models for different browse modes
...
All tree models in browse mode now share the first 10 column types
containing all the necessary information to display the model on screen.
Therefor it is now easy to just operate on the tree model associated
with the file tree view and in most cases it isn't necessary anymore to
special case the browse modes.
2009-10-15 22:00:07 +02:00
Benjamin Otte
d6f3d0e7eb
Simplify gtk_file_chooser_default_unselect_file()
2009-10-15 22:00:07 +02:00
Benjamin Otte
0ccb2f2427
Creating the model no longer fails
...
So remove the code that checked for failure, as it's not needed anymore.
2009-10-15 22:00:07 +02:00
Benjamin Otte
18b56b9970
Implement new GtkFileSystemModel
...
The new model is mostly API-compatible with the old model (minimal
changes were required), but is a lot faster and has a lot of very
desirable features.
- the model does no longer support a tree, just a list of files in a
given directory
- the storage has been moved to a GArray as opposed to a tree
- no more dependency on GtkFileSystem
- columns are managed by the creator of the model, so any number of
nodes can be added as needed. This also makes the API more similar
to GtkListStore.
- Values are filled on demand using a function given when creating the
model.
- The function can decide to let the model cache returned values or
decide to be called again the next time the value is queried.
- implements GtkTreeSortable
- _gtk_file_system_model_get_value() was added to significantly speed
up value access, which is necessary when sorting large models.
2009-10-15 22:00:06 +02:00
Benjamin Otte
3c9a34dba3
move GtkFileSystemModel private stuff out of the private header
2009-10-15 22:00:06 +02:00
Xan Lopez
009f160709
Do not assign the parent class twice
...
G_DEFINE_TYPE already does this for us, no need to do it again in
class_init
https://bugzilla.gnome.org/show_bug.cgi?id=598515
2009-10-15 15:28:54 +02:00
Paolo Borelli
10a53ff12e
Notify the "active" property of the spinner only when needed
...
Notify spinner::active only if it really changed an other cosmetic fixes
2009-10-15 15:23:30 +02:00
Matej Urbančič
7d6a0f348a
Updated Slovenian translation
2009-10-15 14:30:54 +02:00
Matej Urbančič
ab36b8b12c
Updated Slovenian translation
2009-10-15 14:28:40 +02:00
Emmanuele Bassi
ef3361caa3
gtk-demo: Remove C99-ism from list_store example
2009-10-15 12:25:21 +01:00
Daniel Nylander
3c18cc3405
Updated Swedish translation
2009-10-15 09:53:00 +02:00
A S Alam
edcf78848a
Completing translation for Punjabi
2009-10-15 12:56:27 +05:30
Javier Jardón
df5ee2fa10
Move documentation to inline comments: GtkToolShell
...
https://bugzilla.gnome.org/show_bug.cgi?id=597865
2009-10-15 03:49:08 +02:00
Javier Jardón
fbae115b03
Move documentation from templates to inline comments: GtkAccesible
...
https://bugzilla.gnome.org/show_bug.cgi?id=597865
2009-10-15 03:13:22 +02:00
Javier Jardón
bd2dd7dc9e
Move documentation from templates to inline comments: GtkActivatable
...
https://bugzilla.gnome.org/show_bug.cgi?id=597865
2009-10-15 03:12:42 +02:00
Javier Jardón
ff76366652
Move documentation from templates to inline comments: GtkAccelGroup
...
https://bugzilla.gnome.org/show_bug.cgi?id=597865
2009-10-15 03:11:39 +02:00
Bastien Nocera
7fd79f42ab
Fix GtkSpinner using style before it's set
...
Fix a possible division by zero when the spinner
is started before it's realized (eg. before it has a style
set).
https://bugzilla.gnome.org/show_bug.cgi?id=598496
2009-10-15 01:43:26 +01:00
Bastien Nocera
6f44b00935
Fix property links in GtkSpinner
2009-10-14 22:38:57 +01:00
Leonid Kanter
b466b5e7c1
Updated Russian translation
2009-10-14 23:32:01 +03:00
Bastien Nocera
e9a240cd52
Add GtkSpinner::animation-duration style property
2009-10-14 19:06:26 +01:00
Matthias Clasen
9112194791
Add GtkSpinner to the widget gallery
...
Yes, our documentation setup is wierd and wonderful.
2009-10-14 13:52:52 -04:00
Matthias Clasen
d1ee8e2d4b
Documentation and stylistic fixups
2009-10-14 13:26:10 -04:00
Bastien Nocera
aa663e08f7
Fix "active" property not being notified
...
And setting it FALSE starting the spinning when it should
stop it.
2009-10-14 17:47:02 +01:00
Matthias Clasen
2cd44fa5f3
Fix doc build
...
There was an escaping problem in the newly inlined documentation.
2009-10-14 12:30:40 -04:00
Bastien Nocera
a480cae524
Capitalise a11y description for GtkSpinner
2009-10-14 16:01:24 +01:00
Bastien Nocera
6e3792aad9
Update POTFILES.in for spinner widgets
2009-10-14 15:58:05 +01:00
Bastien Nocera
d21700f510
Bug 319607 – Add a throbber (activity widget) to GTK+
...
Add GtkSpinner activity throbber, as well as a cell renderer.
2009-10-14 14:58:30 +01:00
Bastien Nocera
df53e6ad8b
Add ability to set a tooltip's image from a GIcon
...
Makes it easier to implement fallbacks whilst following
theme changes.
https://bugzilla.gnome.org/show_bug.cgi?id=598261
2009-10-14 13:22:14 +01:00
Javier Jardón
588bec9121
Move documentation from templates to inline comments: GtkAboutDialog
...
https://bugzilla.gnome.org/show_bug.cgi?id=597865
2009-10-14 03:33:09 +02:00
Javier Jardón
df9e1c3294
Substitute gtk_widget_ref/unref with g_object_ref/unref
...
Substitute the use of gtk_widget_ref/unref in documentation examples
and in internal gtk+ code
https://bugzilla.gnome.org/show_bug.cgi?id=598218
2009-10-14 03:30:57 +02:00
Javier Jardón
b66583f2a5
Substitute gtk_style_unref for g_object_unref in documentation example
...
https://bugzilla.gnome.org/show_bug.cgi?id=598218
2009-10-14 03:30:31 +02:00
Javier Jardón
57bc513713
Use g_object_ref/unref instead deprecated gdk_*_ref/unref functions
...
Substitute deprecated reference counting functions for
g_object_ref/unref in documentation and in internal code
https://bugzilla.gnome.org/show_bug.cgi?id=598217
2009-10-14 03:13:52 +02:00
Tor Lillqvist
fb63e32a9d
Don't use XP themes until they work
2009-10-13 21:34:22 +03:00
Javier Jardón
8539899349
Bump version to 2.19.0
2009-10-13 17:29:04 +02:00
Leonid Kanter
9eeece19ed
Updated Russian translation
2009-10-13 17:19:26 +03:00
Leonid Kanter
891c2d1b3f
Updated Russian translation
2009-10-13 17:00:59 +03:00
Nguyễn Thái Ngọc Duy
646955f186
po/vi.po: update translation of "Places"
2009-10-13 20:19:54 +07:00
David Planella
1542fa6f8d
Updated Catalan translation
2009-10-13 13:37:44 +02:00
David Planella
0ade1c4bff
Updated Catalan translation
2009-10-12 19:32:26 +02:00
Javier Jardón
127033f83d
Bug 596019 - No accessors for GtkDialog buttons
...
Add API for GtkDialog to return widgets by response ID.
Added gtk_dialog_get_widget_for_response() to access to all kinds
of buttons with all kinds of responses.
2009-10-12 17:20:02 +02:00
Dumitru Mișu Moldovan
39c1da4d01
Updated Romanian translation
2009-10-11 14:29:25 +03:00
Kjartan Maraas
80ace71c94
Updated Norwegian bokmål translation
2009-10-11 12:36:48 +02:00
Eitan Isaacson
76997ab57d
Explicitly set the accessible name of GtkToolButton.
...
GAIL is not able to retrieve the correct button name alone, so it must be set in gtktoolbutton.c
https://bugzilla.gnome.org/show_bug.cgi?id=597596
2009-10-10 18:11:00 -07:00
Michael Natterer
59f2a62e9c
Revert "Remove deprecated GtkContainer function and macros"
...
This reverts commit 0e3a46915e
.
2009-10-10 18:26:07 +02:00
Javier Jardón
0e3a46915e
Remove deprecated GtkContainer function and macros
2009-10-10 16:58:33 +02:00
Branko Kokanović
1b32f7ad17
Updated Serbian translation
2009-10-09 20:12:26 +00:00
Tor Lillqvist
f562138ef0
Create and install gtk-update-icon-cache.exe.manifest to avoid UAC
2009-10-09 15:13:39 +03:00
Tor Lillqvist
2e0b5580ef
Don't include gdkwin32.h when testing Objective-C++
...
Fixes bug #594644 . If somebody actually some day needs to include
gdkwin32.h from an Objective-C++ program something needs to be done.
2009-10-09 14:35:49 +03:00
Matthias Clasen
088baaec31
Make selecting the last character work again
...
This broke when I added link support. git bisect helped to track it
down.
2009-10-09 07:08:54 +02:00
Matej Urbančič
b3b26b517d
Updated Slovenian translation
2009-10-08 14:20:59 +02:00
Timo Jyrinki
3cad065c98
Updated Finnish translation by Jiri Grönroos.
2009-10-08 12:50:35 +03:00
Tor Lillqvist
9212f560f0
Fix the GDI+ gdk-pixbuf loader
...
Should fix bug #552678 . Patch by Dominic Lachowicz, based on a clueful
response from Jason Copenhaver on Albeto Ruiz's blog
http://aruiz.typepad.com/siliconisland/2009/08/dear-lazyweb-gtk-need-gdi-help.html
2009-10-08 10:59:55 +03:00
André Gondim
f38fc7f37d
Updated Brazilian Portuguese translation.
...
Reviewed by Rodrigo Flores <mail@rodrigoflores.org >.
2009-10-07 07:20:26 -03:00
Alexander Shopov
79c2af5c4e
Updated Bulgarian translation
2009-10-07 07:48:27 +03:00
Tor Lillqvist
425b652003
Don't ignore SIGPIPE unless it exists
2009-10-06 14:53:22 +03:00
Manoj Kumar Giri
2dee48b6d0
Updated Oriya Translation
2009-10-06 11:27:46 +05:30
Matthias Clasen
4ee18f8b94
Bump version
2009-10-05 17:44:25 -04:00
Matthias Clasen
68f25328e4
2.18.2
2009-10-05 17:42:00 -04:00
Matthias Clasen
c29e8f6cff
Updates
2009-10-05 16:43:37 -04:00
Alexander Larsson
c5d0861179
Don't request window sizes with zero width or height
...
Zero width/height is unsupported and will magically be turned into one.
For instance, gtk_widget_size_allocate() will eventually do this magic
on the value stored in widget->allocation.
However, if we don't do this magic conversion early, then the value
returned from gtk_window_compute_configure_request() will not be
comparable with whats stored in widget->allocation. (I.E. they will
differ if width or height are zero).
This is dangerous, as we do such a comparison in gtk_window_move_resize().
Currently a change from e.g. 10x1 (current allocation) to 10x0 (new size)
will be expected to produce a ConfigureNotify, when it actually won't,
thus never thawing the frozen toplevel.
Fixes bug #588059
2009-10-05 22:07:06 +02:00
Alexander Larsson
786b589d95
Fix up _gdk_windowing_window_at_pointer coordinate reporting
...
We need to do a final XQueryWindow to get the coordinates inside the
windows rather than in the parent window.
This fixes bug #597386 , "Cannot click buttons more than once...", which
failed due to the grab tracking stuff getting the wrong coordinates as
per the above.
2009-10-05 11:41:50 +02:00
Matthias Clasen
4581432387
Plug a memory leak
...
Valgrind reported a leak of regions from gdk_window_process_updates_internal.
2009-10-04 22:35:12 -04:00
Takayuki KUSANO
05ded28d7d
Updated Japanese translation
2009-10-03 18:34:58 +09:00
Luca Ferretti
c3b22ee7c4
Updated Italian translation
2009-10-03 09:20:44 +02:00
Sebastian Dröge
59177b1932
Bug 596959 - DirectFB backend compilation broken with changes from 2.18.0 to 2.18.1
...
Fix compilation of the DirectFB backend after internal API changes of GDK.
2009-10-02 07:39:34 +02:00
Murray Cumming
249be999a6
Fixed a typo that I didn't see until now, strangely.
2009-07-16 19:27:20 +02:00
Murray Cumming
87b53b3df1
Removed empty docs/reference/ChangeLog entries. I am using prepare-ChangeLog.pl to help create informative commit messages and this was a side-effect.
2009-07-16 18:13:34 +02:00
Murray Cumming
eb76666f1c
GtkToolPalette: Use gtk-toolbar-style and gtk-toolbar-icon-size settings.
...
* gtk/gtksettings.c: (settings_install_property_parser): Handle enums too.
* gtk/gtktoolbar.c (gtk_toolbar_class_init): Move the gtk-toolbar-style and
gtk-toolbar-icon-size settings into GtkSettings because we now use it in
GtkToolPalette too.
* gtk/gtktoolpalette.[h|c]: Add gtk_tool_palette_unset_style() and
gtk_tool_palette_unset_icon_size(), and use the toolbar-style and
icon-size from GtkSettings if these are not set via the set functions.
* demos/gtk-demo/toolpalette.c (on_combo_style_changed),
(do_toolpalette): Add and handle a -1 value to mean the desktop "Default"
toolbar style.
2009-07-16 17:51:55 +02:00
Murray Cumming
a14e05fa59
GtkToolItemGroup now has label and label-widget properties.
...
* demos/gtk-demo/toolpalette.c (load_special_items): Demonstrate
gtk_tool_item_group_set_label_widget().
* gtk/gtktoolitemgroup.[h|c]: Rename the "item-group-name" property to
"label" because that is what it is. Likewise rename the functions.
Add a "label-widget" propert and get/set_label_widget() functions,
based on the same code/API in GtkExpander.
2009-07-14 23:46:49 +02:00
Matthias Clasen
33c4cb76d8
Also flip scrollbars in the toolpalette example
2009-07-14 15:55:12 -04:00
Murray Cumming
fc226767eb
GtkToolItemGroup: Rename the name property. GtkToolPalette: Added class padding.
...
* gtk/gtktoolitemgroup.[h|c]: Rename the name property to item-group-name
and rename get/set_name() to get/set_item_group_name(), to avoid a clash with
GtkWidget::name.
* gtk/gtktoolpalette.h: GtkToolPaletteClass: Add padding for future use.
2009-07-14 19:53:28 +02:00
Murray Cumming
ac7b0c91ae
ToolPalette: Implement GtkOrientable.
...
* gtk/gtktoolpalette.[h|c]: Remove gtk_tool_palette_get/set_property(),
implementing GtkOrientable instead.
* gtk/gtktoolitemgroup.c:
* demos/gtk-demo/toolpalette.c: Use gtk_orientable_* instead.
2009-07-14 19:11:20 +02:00
Murray Cumming
2976f4d98c
GtkTool*: Removed the HAVE_EXTENDED_TOOL_SHELL_SUPPORT_BUG_535090 ifdefs. This gives us nicer text alignment among other things.
2009-07-13 19:37:25 +02:00
Murray Cumming
dad6e7343c
ToolShell: Add ellipsize, text-orientation, text-alignment and size-group.
...
* gtk/gtktoolshell.c: Added vfuncs to get/set ellipsize, text-orientation,
text-alignment and size-group plus getter/setters to invoke these vfuncs.
* gtk/gtktoolitem.[h|c]: Added getters and setters to get/set these from the
parent GtkToolShell. This is in the style of the existing "properties".
* gtk/gtktoolbutton.c: Updated to use the extra properties.
* docs/reference/gtk/gtk-sections.txt
* gtk/gtk.symbols: Updated to mention the new functions.
These new "properties" are used by GtkToolPalette.
2009-07-13 19:13:59 +02:00
Murray Cumming
8a294b8bb7
Added missing files that I thought I had already added.
2009-07-13 19:11:12 +02:00
Murray Cumming
d95654fd5f
gtk+/demos/gtk-demo/: Added GtkToolPalette demo.
2009-07-13 18:45:48 +02:00
Johannes Schmid
5a1415feda
Added GtkToolPalette.
...
* gtk/gtktoolpallete.[h|cc]:
* gtk/gtktoolitemgroup.[h|cc]: Added a tool pallete container widget,
with groups of toolbar items that can be shown as a grid of icons
or a list of names.
* gtk/Makefile.am:
* gtk/gtk.h:
* gtk/gtkmarshal.list: Mentioned the new files.
Bug #567729
2009-07-13 17:38:34 +02:00