Commit Graph

23584 Commits

Author SHA1 Message Date
Matthias Clasen
69c7213ba9 GtkToolitemGroup: Use monotonic clock for animation timeout 2010-11-01 11:43:15 -04:00
Ignacio Casal Quinteiro
1fad7eaf85 Add caseless unit tests for textiter. 2010-11-01 15:21:53 +01:00
Ignacio Casal Quinteiro
2f98a1c8b3 Add case insensitive to GtkTextIter. Fixes bug #61852.
This code has been taken from GtkSourceView so also kudos to Paolo Maggi
and Paolo Borelli for helping with this patch.
2010-11-01 15:21:48 +01:00
Paolo Borelli
42910194a9 Fix backward search bug exposed by the unit test
When searching with multiple lines first_line_start/end were initialized
to the last line start/end iters
2010-11-01 15:21:43 +01:00
Ignacio Casal Quinteiro
be703155aa Add unit tests for textiter. 2010-11-01 15:21:39 +01:00
Matthias Clasen
9ff207bd25 Avoid exporting an extra symbol 2010-11-01 09:17:21 -04:00
Matthias Clasen
816f08872a Fix make check 2010-11-01 09:17:21 -04:00
Paolo Borelli
c59ca4f6b9 Move the /*< private >*/ at the correct position 2010-11-01 14:15:03 +01:00
Matthias Clasen
8eee2f9bce NEWS for 2.91.3 2010-11-01 08:14:19 -04:00
Ivar Smolin
b2ff82d0a3 [l10n] Updated Estonian translation 2010-11-01 08:19:38 +02:00
Matthias Clasen
750a9f3225 Fix a typo 2010-10-31 22:16:41 -04:00
Matthias Clasen
a3f19ddae8 Mention actions in the libunique migration guide 2010-10-31 22:14:53 -04:00
Matthias Clasen
54a5e37136 Fix interaction between scrolling menus and automatic mnemonics
https://bugzilla.gnome.org/show_bug.cgi?id=612611
2010-10-31 15:53:07 -04:00
Michael Natterer
d1a58b78be gtk: remove all border_width handling from the button box
and let GtkContainer do the job; fixes doubled border widths. GtkBox
did already delegate border handling to Gtkcontainer, which interacted
badly with a subclass that didn't.
2010-10-31 20:16:19 +01:00
Michael Natterer
476b4c248c gtk: fix automatic width of spin buttons which have no width in chars set 2010-10-31 20:03:55 +01:00
Michael Natterer
240e1b4b59 tests: missed these two gtk_box_new() which sneaked in by rebasing... 2010-10-31 20:01:28 +01:00
Matthias Clasen
c6a379dc62 GtkAssistant: Mention custom pages in the introduction 2010-10-31 14:34:35 -04:00
Michael Natterer
3a0afce509 gtk: remove "gboolean homogeneous" from gtk_box_new()
Because it's FALSE in virtually all use cases.
2010-10-31 19:22:28 +01:00
Matthias Clasen
81d7dd0774 Add content size test for scrolled window 2010-10-31 14:10:41 -04:00
Bastien Nocera
cbbfd7beb6 GtkAssistant: Add custom page type
The custom page type will not show any buttons by default, and
it is left to the application to add its own buttons instead.

The _next_page() and _previous_page() functions can be used
for the back and forward buttons used by the application.

https://bugzilla.gnome.org/show_bug.cgi?id=576498
2010-10-31 16:08:46 +00:00
Bastien Nocera
b5abd10940 GtkAssistant: Add more details about buttons shown
Add more documentation about which buttons will be shown for which
type of GtkAssistant page.

https://bugzilla.gnome.org/show_bug.cgi?id=576498
2010-10-31 16:08:46 +00:00
Matthias Clasen
c5e9526faf Improve GtkAssistant docs 2010-10-30 21:30:23 -04:00
Martin Nordholts
cdda7f9151 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:49:38 +02:00
Tristan Van Berkom
ae71cf7209 Fixed hangs in TextView and ToolPalette
Fixed the hangs by adding a ->inside_allocation flag and avoiding to
queue resizes while inside the allocation loop. The extra queue'd resizes
were causing the scrolled window size_allocate() to perform the guess
again and again thus causing an infinite loop.
2010-10-30 23:10:43 +09:00
Tristan Van Berkom
338001ae48 Fixing typo in scrolled window
Seems with GtkScrollable interface we were setting the hadjustment as
the vadjustment, thanks to Cosimo Cecchi who debugged this and finally
found the typo.
2010-10-30 23:09:14 +09:00
Javier Jardón
73bac5af3b Emphasize that GtkBox and GtkTable can be replaced by GtkGrid 2010-10-30 06:53:44 +02:00
Javier Jardón
a9894d4cf4 Use gtk_box_new() instead gtk_[v|h]box_new() 2010-10-30 05:22:58 +02:00
Javier Jardón
b2207f6730 docs: remove template of deprecated gtkcombo widget 2010-10-30 05:03:02 +02:00
Matthias Clasen
9795bd4c8c Migration guide additions
Add some information about expand flags and the scrollable interface.
2010-10-29 22:48:26 -04:00
Christian Persch
edec3e12dd Make gdk_rgba_to_string() take a const GdkRGBA
https://bugzilla.gnome.org/show_bug.cgi?id=633216
2010-10-29 21:16:52 -04:00
Matthias Clasen
630b2c58b4 Fix initial size allocation with child widgets
On some cases, it would take a resize of the window for children
to 'jump into place'.

https://bugzilla.gnome.org/show_bug.cgi?id=633500
2010-10-29 21:15:13 -04:00
Javier Jardón
570b90e218 Use gtk_scrollbar_new() instead gtk_[v|h]scrollbar_new() 2010-10-30 02:26:24 +02:00
Javier Jardón
217036975a Use gtk_scale_new() instead gtk_[v|h]scale_new() 2010-10-30 02:26:24 +02:00
Javier Jardón
8177ad320e Use gtk_scale_new_with_range() instead gtk_[v|h]scale_new_with_range() 2010-10-30 02:26:23 +02:00
Javier Jardón
b3a7d401a1 Use gtk_paned_new() instead gtk_[v|h]paned_new() 2010-10-30 02:26:23 +02:00
Javier Jardón
f00f120fd7 Use gtk_ruler_new() instead gtk_[v|h]ruler_new() 2010-10-30 02:26:23 +02:00
Javier Jardón
8d008790be Use gtk_separator_new() instead gtk_[v|h]separator_new() 2010-10-30 02:26:23 +02:00
Javier Jardón
e31304fb7b Use gtk_button_box_new() instead gtk_[v|h]_button_box_new() 2010-10-30 02:26:23 +02:00
Michael Natterer
8154a5930d gtk: remove declarations of removed internal functions 2010-10-29 20:24:41 +02:00
Matthias Clasen
b2397d3d7e Don't set get_preferred_width_for_height to NULL
The size request machinery expects that it is non-NULL.
2010-10-29 12:58:24 -04:00
Matthias Clasen
ac3fe174f7 GtkComboBox: Add a constructor that takes a model and adds an entry
https://bugzilla.gnome.org/show_bug.cgi?id=633050
2010-10-29 12:28:42 -04:00
Javier Jardón
8b512bd9dd Re-enable deprecation guards 2010-10-29 05:10:52 +02:00
Carles Ferrando
a4d9d2c3d4 Updated Catalan (Valencian) translation 2010-10-29 01:37:58 +01:00
Carlos Garnacho
b1dec866e5 Use the client pointer for events with no device.
The core pointer is sort of meaningless in a multidevice environment,
the client pointer is used instead to fake a GdkDevice on events that
don't have one.
2010-10-28 23:01:16 +02:00
Owen W. Taylor
398728feb5 Remove unused GdkDeviceManager variable
gdk_display_get_device_manager() was called but the device manager
not used.
2010-10-28 16:43:55 -04:00
Matthias Clasen
7da5cd5fe6 ifdef X-specific stuff
gdk_x11_ APIs can only be used inside #ifdef GDK_WINDOWING_X11.
2010-10-28 14:27:04 -04:00
Matthias Clasen
7018c2acc7 GtkButtonBox doesn't do height-for-width
GtkButtonBox doesn't do height-for-width, therefore we should
explicitly set these methods to NULL instead of hoping that the
inherited GtkBox implementations work ok.
2010-10-28 14:25:50 -04:00
John (J5) Palmieri
a863697784 [introspection] annotate delete_text invoker to match do_delete_text v-method 2010-10-28 13:25:10 -04:00
Vincent Untz
4f9f52a6ea Port tests to GtkScrollable API instead of deprecated GtkLayout API
https://bugzilla.gnome.org/show_bug.cgi?id=633374
2010-10-28 12:18:28 -04:00
Ignacio Casal Quinteiro
60feed7360 Remove useless vars. 2010-10-28 11:54:05 +02:00