]> Pileus Git - ~andy/gtk/blob - ChangeLog
Add gtk_radio_button_set_value(), gtk_radio_button_get_current_value() and
[~andy/gtk] / ChangeLog
1 2007-06-04  Emmanuele Bassi  <ebassi@gnome.org>
2
3         * gtk/gtkradiobutton.h:
4         * gtk/gtkradiobutton.c:
5         * gtk/gtk.symbols: Add gtk_radio_button_set_value(),
6         gtk_radio_button_get_current_value() and gtk_radio_button_get_value().
7         Use these functions to set and get an arbitrary integer associated to
8         a GtkRadioButton in a group, like the value associated to a
9         GtkRadioAction.
10
11         * tests/testgtk.c:
12         (create_radio_buttons), (radio_toggled_cb): Exercise the new API.
13
14 2007-06-03  Torsten Schoenfeld  <kaffeetisch@gmx.de>
15
16         * gtk/gtkicontheme.c (choose_icon): Initialize unthemed_icon to NULL
17         to avoid accessing uninitialized memory when
18         gtk_icon_theme_choose_icon() is called with an empty names list.
19
20 2007-06-03  Richard Hult  <richard@imendio.com>
21
22         * gdk/quartz/gdkevents-quartz.c: (create_crossing_event): Set the key
23         modifier state.
24
25 2007-06-03  Richard Hult  <richard@imendio.com>
26
27         * gdk/quartz/gdkevents-quartz.c: Make pointer grab emulation work a bit
28         better:
29         (gdk_display_pointer_is_grabbed): Do what the docs say and don't
30         consider implicit grabs here.
31         (gdk_pointer_grab): Overriding a grab by the same app should always be
32         succesful.
33         (gdk_event_translate): Implicit grabs should not be owner events.
34
35 2007-06-03  Matthias Clasen  <mclasen@redhat.com>
36
37         * NEWS: Updates
38
39 2007-06-03  Matthias Clasen  <mclasen@redhat.com>
40
41         * docs/tools/widgets.c: Add a volume button
42
43 2007-06-03  Matthias Clasen  <mclasen@redhat.com>
44
45         * gtk/gtkradiobutton.c:
46         * gtk/gtkradiomenuitem.c: Fix doc typos.  
47
48 2007-06-03  Matthias Clasen  <mclasen@redhat.com>
49
50         * configure.in: Allow to disable Xinerama.  (#348065, Diego Pettenò)
51
52 2007-06-03  Xan Lopez  <xan@gnome.org>
53
54         * gtk/gtknotebook.c: remove index parameter in gtk_notebook_switch_page
55         and remove g_return_if checks in private functions. (#443247)
56
57 2007-06-01  Richard Hult  <richard@imendio.com>
58
59         * gdk/quartz/gdkevents-quartz.c:
60         (get_converted_window_coordinates), (create_crossing_event): Fix the
61         coordinates in crossing events so they are relative to the right
62         window.
63
64 2007-06-01  Richard Hult  <richard@imendio.com>
65
66         * gdk/quartz/gdkevents-quartz.[ch]: Make function naming
67         consistent for the various functions that retrieve data from an
68         event.
69
70         * gdk/quartz/gdkprivate-quartz.h: 
71         * gdk/quartz/gdkwindow-quartz.[ch]: Remove the now unused
72         _gdk_quartz_window_find_child_by_point() function.
73
74 2007-06-01  Matthias Clasen  <mclasen@redhat.com>
75
76         Add support for composited child windows.  (#412882, Ryan Lortie)
77
78         * gdk/gdk.symbols:
79         * gdk/gdkdisplay.h:
80         * gdk/gdkinternals.h:
81         * gdk/gdkwindow.[hc]: Add gdk_display_supports_composite() and
82         gdk_window_set_composited().
83
84         * gdk/x11/gdkevents-x11.c:
85         * gdk/x11/gdkdisplay-x11.[hc]:
86         * gdk/x11/gdkwindow-x11.[hc]: X11 implementation.
87
88         * gdk/win32/gdkdisplay-win32.c:
89         * gdk/win32/gdkwindow-win32.c: Dummy win32 implementration.
90
91         * gdk/quartz/gdkdisplay-quartz.c:
92         * gdk/quartz/gdkwindow-quartz.c: Dummy Quartz implementation.
93
94         * gdk/directfb/gdkdisplay-directfb.c:
95         * gdk/directfb/gdkwindow-directfb.c: Dummy DirectFB implementation.
96
97         * tests/testgtk.c: Add a "composited window" test.
98
99 2007-06-01  Michael Natterer  <mitch@imendio.com>
100
101         * gtk/gtkmenuitem.c (gtk_menu_item_position_menu): don't switch
102         submenu opening direction for overlapping reasons if there is even
103         less space on the other side (bug #441863, Tommi Komulainen).
104
105 2007-06-01  Michael Natterer  <mitch@imendio.com>
106
107         * gtk/gtkfilechooserdialog.c (response_cb): change fix for #347883
108         to not obfuscate the code.
109
110 2007-06-01  Yevgen Muntyan  <muntyan@tamu.edu>
111
112         Avoid recreating pangolayouts in GtkTextView on cursor movement
113         (#435405, Behdad Esfahbod).
114
115         * gtk/gtktextlayout.c:
116         * gtk/gtktextlayout.h: new GtkTextLayout method invalidate_cursors(),
117         and functions gtk_text_layout_invalidate_cursors() and
118         gtk_text_layout_cursors_changed(), to use when invalidation is due
119         to moved marks or changed selection.
120
121         * gtk/gtktextbtree.c:
122         * gtk/gtktextbtree.h: use what's appropriate when invalidating layout.
123
124         * gtk/gtk.symbols: add new functions.
125
126         * README.in: added a note about changed GtkTextLayout API.
127
128 2007-06-01  Alp Toker  <alp.toker@collabora.co.uk>
129
130         * gdk/gdkcairo.c (gdk_cairo_set_source_pixmap): Fix doc typos.
131
132 2007-05-31  Yevgen Muntyan  <muntyan@tamu.edu>
133
134         * gtk/gtkstyle.c (get_insertion_cursor_gc): use text colors from
135         widget style to draw cursor instead of hardcoded black and grey
136         (#79585, comment #30).
137
138 2007-06-01  Kristian Rietveld  <kris@gtk.org>
139
140         * gtk/gtkcellrenderertext.c (get_size): transform the ink_rect using
141         pango_extents_to_pixels to avoid rounding errors.  (Fixes #430218,
142         Shlomi Israel).
143
144 2007-05-31  Mathias Hasselmann  <mathias.hasselmann@gmx.de>
145
146         * tests/autotestfilechooser.c: Reactivate the other file-chooser
147         tests. Forgot that before commiting revision 17994.
148
149 2007-05-31  Mathias Hasselmann  <mathias.hasselmann@gmx.de>
150
151         * gtk/gtkfilechooserdialog.c, tests/autotestfilechooser.c: Reset
152         the internal response_requested flag, once the response triggered by
153         file_chooser_widget_response_requested has been processed (#347883).
154
155 2007-05-30  Richard Hult  <richard@imendio.com>
156
157         * gdk/quartz/gdkselection-quartz.c (gdk_free_text_list): Add this
158         function, bug #438440.
159
160 2007-05-30  Tor Lillqvist  <tml@novell.com>
161
162         * gdk/win32/gdkevents-win32.c (gdk_pointer_grab): Subtract the
163         multi-monitor offset from x and y before setting up the rectangle
164         for ClipCursor(). Fixes #442326.
165
166 2007-05-30  Matthias Clasen  <mclasen@redhat.com>
167
168         * gtk/gtkiconview.c (gtk_icon_view_layout): Queue a resize
169         if the size changed.  (#418047, Alex Graveley)
170
171 2007-05-30  Simos Xenitellis  <simos@gnome.org>
172
173         * gdk/gdkkeysyms-update.pl: Updated script to new upstream 
174         location of keysymdef.h (#442183)
175
176 2007-05-30  Emmanuele Bassi  <ebassi@gnome.org>
177
178         * gtk/gtkfilechooserdefault.c (update_chooser_entry): Return
179         after setting the file chooser entry with the current selection.
180
181 2007-05-30  Matthias Clasen  <mclasen@redhat.com>
182
183         * gtk/gtkiconcachevalidator.c: Correct the handling
184         of display names.  (#441767, Marcin Bachry)
185
186 2007-05-30  Xan Lopez  <xan@gnome.org>
187
188         * gtk/gtknotebook.c (gtk_notebook_set_current_page): Small cleanup.
189         Fixes #442172.
190
191 2007-05-28  Cody Russell  <bratsche@gnome.org>
192
193         * gdk/win32/xcursors.h: Fix initialization of last item. (#440511)
194
195 2007-05-28  Richard Hult  <richard@imendio.com>
196
197         * gdk/quartz/gdkevents-quartz.c (get_child_coordinates_from_ancestor)
198         (get_ancestor_coordinates_from_child): Break out code that was
199         repeated into separate functions and call them instead.
200         (find_window_for_mouse_nsevent): Break out this from
201         find_window_for_nsevent to make the code clearer.
202         (find_window_for_nsevent): Use the above and fix the returned
203         coordinates in the process so that they are always relative the
204         found window, both for the normal case and during grabs. Still
205         needs fixing for the case where we get nsevents for a window other
206         than than grab window during grabs.
207
208 2007-05-28  Richard Hult  <richard@imendio.com>
209
210         * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Fix typo,
211         we need both press and release in the mask to trigger implicit
212         grabs.
213
214 2007-05-28  Richard Hult  <richard@imendio.com>
215
216         * gdk/quartz/gdkevents-quartz.c (pointer_ungrab_internal): Reset
217         all the grab state, to help debugging.
218         (gdk_event_translate): Use pointer_ungrab_internal instead of
219         duplicating the code here.
220
221 2007-05-28  Richard Hult  <richard@imendio.com>
222
223         * gdk/quartz/gdkprivate-quartz.h:
224         * gdk/quartz/gdkwindow-quartz.c (find_child_window_helper)
225         (_gdk_quartz_window_find_child): Refactored version of
226         _gdk_quartz_window_find_child_by_point, that doesn't return any
227         coordinates as the users of this function already have the
228         coordinates and need to translate them differently.
229         (_gdk_windowing_window_get_pointer): Fixup coordinate translation.
230         (_gdk_windowing_window_at_pointer): Likewise.
231
232 2007-05-28  Richard Hult  <richard@imendio.com>
233
234         * gdk/quartz/gdkevents-quartz.c
235         (find_window_interested_in_event_mask): Don't traverse beyond the
236         toplevel of the passed in window.
237
238 2007-05-28  Richard Hult  <richard@imendio.com>
239
240         * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init): Set
241         a size for the root window.
242
243 2007-05-28  Richard Hult  <richard@imendio.com>
244
245         * gdk/quartz/gdkwindow-quartz.c: Add comments about what various
246         coordinates are relative to.
247
248 2007-05-28  Carlos Garnacho  <carlos@imendio.com>
249
250         * gtk/gtkwidget.c (gtk_widget_propagate_hierarchy_changed_recurse):
251         Add back variable declaration removed in r17958.
252
253 2007-05-28  Carlos Garcia Campos  <carlosgc@gnome.org>
254
255         * gtk/gtkprinter.[ch]: Add new capability
256         GTK_PRINT_CAPABILITY_NUMBER_UP.
257         * docs/reference/gtk/tmpl/gtkprintunixdialog.sgml: 
258         * gtk/gtkprintunixdialog.c: (update_dialog_from_capabilities):
259         * modules/printbackends/file/gtkprintbackendfile.c:
260         (file_printer_get_options), (file_printer_get_settings_from_options):
261         * modules/printbackends/cups/gtkprintbackendcups.c:
262         (cups_printer_get_capabilities): Add a new print capability to specify
263         whether print dialog will offer printing multiple pages per sheet. (#398414)
264         
265 2007-05-28  Matthias Clasen  <mclasen@redhat.com>
266
267         * gtk/gtktoolbar.h: Actually undeprecate 
268         gtk_toolbar_[un]set_icon_size.  (#314172. Yevgen Muntyan)
269
270 2007-05-28  Matthias Clasen  <mclasen@redhat.com>
271
272         * gtk/gtkwidget.c: Document some more signals
273
274         * gtk/gtktextview.c: Improve docs
275
276 2007-05-27  Tor Lillqvist  <tml@novell.com>
277
278         * configure.in (GDK_EXTRA_LISB): Drop bogus -user32 switch. Was
279         supposed to be -luser32, but he "l" was missing. But nobody has
280         noticed, so presumably unnecessary.
281
282 2007-05-26  Matthias Clasen  <mclasen@redhat.com>
283
284         * gtk/gtkprintoperationpreview.c: Improve docs
285
286 2007-05-26  Matthias Clasen  <mclasen@redhat.com>
287
288         * gtk/gtkentry.c: Move docs inline.
289
290 2007-05-26  Matthias Clasen  <mclasen@redhat.com>
291
292         * gdk/directfb/gdkkeys-directfb.c: Remove duplicate doc comments
293         that cause problems when building the docs.
294
295 2007-05-26  Matthias Clasen  <mclasen@redhat.com>
296         
297         * gdk/x11/gdkdisplay-x11.c: Update docs
298         * gdk/gdk.c: Update docs
299         * gdk/directfb/gdkwindow-directfb.c: Remove duplicate doc comments.
300         * gdk/x11/gdkwindow-x11.c: Fix doc formatting
301
302 2007-05-26  Matthias Clasen  <mclasen@redhat.com>
303
304         * gtk/gtktooltip.c:
305         * gtk/gtkstatusicon.c:
306         * gtk/gtkscalebutton.c:
307         * gtk/gtkrecentaction.c:
308         * gtk/gtkrange.c:
309         * gtk/gtkprinter.c:
310         * gtk/gtkprintsettings.c:
311         * gtk/gtkpapersize.c:
312         * gtk/gtkpagesetup.c:
313         * gtk/gtknotebook.c:
314         * gtk/gtkentrycompletion.c: Document new api
315
316 2007-05-26  Richard Hult  <richard@imendio.com>
317
318         * gtk/gtkprinter.c: (gtk_printer_set_location): Fix typo to get the
319         build working.
320
321 2007-05-26  Matthias Clasen  <mclasen@redhat.com>
322
323         * configure.in: Require gtk-doc 1.6, for signal and property links.
324         * gtk/gtkbox.c:
325         * gtk/gtkbutton.c:
326         * gtk/gtkcontainer.c:
327         * gtk/gtkdialog.c:
328         * gtk/gtkentry.c:
329         * gtk/gtkimage.c:
330         * gtk/gtklabel.c:
331         * gtk/gtkmisc.c:
332         * gtk/gtksettings.c:
333         * gtk/gtkwidget.c: Documentation improvements, link signals
334         and properties where it makes sense.
335
336 2007-05-25  Matthias Clasen  <mclasen@redhat.com>
337
338         * gtk/gtktextmark.c:
339         * gtk/gtktextbuffer.c: Formatting fixes.
340
341 2007-05-25  Matthias Clasen  <mclasen@redhat.com>
342
343         Allow to separate GtkTextMark creation from buffer insertion.
344         (#132818, Gustavo Giráldez, patch by Yevgen Muntyan)
345
346         * gtk/gtktextmarkprivate.h:
347         * gtk/gtktextmark.[hc] (gtk_text_mark_new): New function to 
348         create a GtkTextMark.
349
350         * gtk/gtktextbuffer.[hc] (gtk_text_buffer_add_mark): New 
351         function to add an existing mark to a buffer. 
352
353         * gtk/gtktextbtree.c: Allow adding existing marks.
354
355         * gtk/gtk.symbols: Add new functions.
356
357         * tests/testtextbuffer.c: Add some tests for new mark 
358         functionality.
359
360 2007-05-25  Xan Lopez  <xan@gnome.org>
361
362         * gtk/gtkaction.c: (gtk_action_set_short_label):
363         Use private->data->short_label to update the proxies. (#440780)
364
365 2007-05-25  Richard Hult  <richard@imendio.com>
366
367         * gdk/quartz/gdkimage-quartz.c: (_gdk_quartz_image_copy_to_image):
368         Implement copying from a window, part of bug #348493.
369
370 2007-05-25  Matthias Clasen  <mclasen@redhat.com>
371
372         * gtk/gtkprintoperation-unix.c (unix_end_run): Hold a 
373         refence on the print operation until gtk_print_job_send()
374         is done.  (#440040, Chris Vine)
375
376 2007-05-25  Matthias Clasen  <mclasen@redhat.com>
377
378         * gtk/gtkiconview.c (gtk_icon_view_accessible_ref_child):
379         Don't crash and don't leak.  (#439565, Pedro Villavicencio)
380
381 2007-05-25  Matthias Clasen  <mclasen@redhat.com>
382
383         * gtk/gtkiconfactory.c: Improve a warning
384         * gtk/gtkicontheme.c (gtk_icon_info_load_icon): Always
385         set the error when returning NULL.  (#440982, Carlos Garcia
386         Campos)
387
388 2007-05-25  Michael Natterer  <mitch@imendio.com>
389
390         Merge fix from maemo-gtk:
391
392         * gtk/gtkmenushell.c (gtk_menu_shell_enter_notify): open submenus
393         also if the menu item we're entering is already selected. Also, it
394         makes no sense to forward the event to the parent menu shell if we
395         are entering a menu item of *this* menu shell.
396
397 2007-05-24  Matthias Clasen  <mclasen@redhat.com>
398
399         * gtk/stock-icons/*: Make sure all svg icons are added
400         as pngs.
401
402 2007-05-24  Matthias Clasen  <mclasen@redhat.com>
403
404         * modules/input/Makefile.am: Fix broken DESTDIR support
405
406 2007-05-24  Michael Natterer  <mitch@imendio.com>
407
408         * gtk/gtktooltip.c (find_widget_under_pointer): apply patch from
409         Bogdan Nicula which fixes a crash on GdkWindows which have no
410         GtkWidget as user_data (bug #440890).
411
412 2007-05-24   Matthias Clasen  <mclasen@redhat.com>
413
414         * configure.in: Bump version
415
416         * === Released 2.11.0 ===
417
418         * NEWS: Updates
419
420 2007-05-23   Matthias Clasen  <mclasen@redhat.com>
421
422         * gtk/gtk.symbols: 
423         * gdk/x11/xsettings-common.h: 
424         * gdk/gdk.symbols: Add some missing symbols.
425
426         * gtk/paper_names_offsets.c:
427         * gtk/gen-paper-names.c: Make variables static.
428
429         * gtk/gtktooltip.[hc]:
430         * gtk/gtkvolumebutton.c:
431         * gtk/gtkscalebutton.c:  Fix up symbol aliasing.
432
433 2007-05-23  Yevgen Muntyan  <muntyan@tamu.edu>
434
435         * gtk/gtkprintunixdialog.c: missing #include <ctype.h>.
436
437         * gtk/gtkhandlebox.c (gtk_handle_box_paint):
438         * gtk/gtkpagesetupunixdialog.c (_gtk_load_custom_papers):
439         * gtk/gtkstatusbar.c (gtk_statusbar_get_context_id):
440         * gtk/gtkiconcache.c (_gtk_icon_cache_new_for_path):
441         * gtk/gtktrayicon-x11.c (gtk_tray_icon_send_dock_request):
442         * gtk/gtkpreview.c (gtk_preview_finalize):
443         * gtk/gtknotebook.c (gtk_notebook_set_group_id):
444         * tests/testnotebookdnd.c (window_creation_function):
445         * tests/testiconview.c (do_popup_menu):
446         Fixed some compiler warnings (#440689).
447
448 2007-05-23  Kristian Rietveld  <kris@imendio.com>
449
450         * gtk/gtktooltip.c (find_widget_under_pointer): translate coordinates
451         from the window they were received on to the event widget's window;
452         correct for no-window widgets after that, bail out on failure.  This
453         makes the coordinates given by GtkWidget::query-tooltip truly relative
454         to widget->window.  (#435188).
455
456         * gtk/gtkwidget.c (gtk_widget_class_init): update docs for
457         GtkWidget::query-tooltip.
458
459 2007-05-22  Behdad Esfahbod  <behdad@gnome.org>
460
461         * gtk/gtkprintcontext.c (gtk_print_context_finalize),
462         (_gtk_print_context_new), (_gtk_print_context_get_fontmap),
463         (gtk_print_context_set_cairo_context),
464         (gtk_print_context_get_pango_fontmap),
465         (gtk_print_context_create_pango_context):
466         Don't create new pango fontmaps.  Use the default pangocairo
467         fontmap and set resolution on PangoContext instead. (#417707)
468
469 2007-05-21  Richard Hult  <richard@imendio.com>
470
471         * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Set the
472         resolution.
473         
474         * gdk/quartz/gdkscreen-quartz.c: Use the autorelease pool macros.
475
476 2007-05-21  Michael Natterer  <mitch@imendio.com>
477
478         * gtk/gtkcombobox.c (gtk_combo_box_set_model): revert last change.
479
480 Mon May 21 13:58:32 2007  Tim Janik  <timj@imendio.com>
481
482         * gtk/gtkcombobox.c (gtk_combo_box_set_model): removed redundant check.
483
484 2007-05-21  Tor Lillqvist  <tml@novell.com>
485
486         * gtk/gtkscalebutton.c (gtk_scale_popup): Make it work better with
487         multiple monitors.
488
489 2007-05-20  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>
490
491         * gdk/directfb/gdkwindow-directfb.c:
492         * gdk/directfb/gdkdirectfb.h: Updated minimum DirectFB version
493         required to enable gdk_directfb_create_child_window.
494         (Closes: #437379)
495
496 2007-05-20  Bastien Nocera  <hadess@hadess.net>
497
498         * gtk/Makefile.am:
499         * gtk/gtk.h:
500         * gtk/gtk.symbols:
501         * gtk/gtkvolumebutton.[ch]: Add the GtkVolumeButton widget,
502         a button that pops up a scale when clicked (Closes: #415775)
503         * tests/Makefile.am:
504         * tests/testvolumebutton.c: Add a test program for the
505         volume button
506
507 2007-05-19  Bastien Nocera  <hadess@hadess.net>
508
509         reviewed by: Matthias Clasen <mclasen@redhat.com>
510
511         * gtk/Makefile.am:
512         * gtk/gtk.h:
513         * gtk/gtk.symbols:
514         * gtk/gtkscalebutton.[ch]: Add the GtkScaleButton widget,
515         a button that pops up a scale when pressed
516
517 2007-05-19  Matthias Clasen  <mclasen@redhat.com>
518
519         * gtk/gtk.symbols:
520         * gtk/gtknotebook.[hc]: Deprecate gtk_notebook_[gs]et_group_id
521         in favour of new functions gtk_notebook_[gs]et_group, which
522         takes a pointer as group identifier and makes it easier to
523         avoid group id collisions.  (#386930, Christian Hammond)
524                 
525         * tests/testnotebookdnd.c: Use new grouping api.
526
527 2007-05-18  Matthias Clasen  <mclasen@redhat.com>
528
529         * gtk/gtkactiongroup.c: Warn and refuse to add actions with
530         duplicate names.  (#150877, Tommi Komulainen, patch by Kalle
531         Vahlman)
532
533 2007-05-18  Matthias Clasen  <mclasen@redhat.com>
534
535         * gtk/gtk.symbols:
536         * gtk/gtkentry.[hc]: Add gtk_entry_[gs]et_cursor_hadjustment()
537         to allow automatic scrolling in response to cursor movements
538         in the entry.  (#438651, Nate Nielsen)
539
540 2007-05-18  Matthias Clasen  <mclasen@redhat.com>
541
542         * gtk/gtktextview.c: Add a toggle-cursor-visibility keybinding
543         signal, and bind F7 to it.  (#380048, Tim Miao)
544
545 2007-05-18  Matthias Clasen  <mclasen@redhat.com>
546
547         * gtk/gtk.symbols:
548         * gtk/gtkicontheme.h:
549         * gtk/gtkicontheme.c: Add a function to look up an icon from
550         a list of icon names.  (#396901, Luca Ferretti)
551
552 2007-05-18  Emmanuele Bassi  <ebassi@gnome.org>
553
554         * gtk/gtkrecentchooserdefault.c:
555         (gtk_recent_chooser_default_dispose): Reset the state on dispose.
556
557         (cleanup_after_load): load_id != 0 && load_state == LOAD_EMPTY
558         is a valid state, if the main loop never had the chance to
559         properly spin at least once. (#438671)
560
561 2007-05-18  Emmanuele Bassi  <ebassi@gnome.org>
562
563         * gtk/gtkrecentchooserdefault.c (recent_meta_data_func): Mark
564         string for translation. (#439437)
565
566 2007-05-18  Matthias Clasen  <mclasen@redhat.com>
567
568         * gtk/gtkwindow.c (gtk_window_set_transient_for): Fix
569         doc typo.  (#438100, Vincent Untz)
570
571 2007-05-18  Michael J. Chudobiak  <mjc@cvs.gnome.org>
572
573         * INSTALL.in:
574         * README.in:
575         * configure.in: Bump libtiff requirement to 3.6.0, by requiring
576           presence of TIFFReadRGBAImageOriented.
577
578         * gdk-pixbuf-scaled-anim.c: (get_scaled_pixbuf):
579         Preserve pixbuf options when generating a new scaled pixbuf.
580
581         * io-jpeg.c: (get_orientation), (gdk_pixbuf__jpeg_image_load),
582         (gdk_pixbuf__jpeg_image_load_increment): Read the exif
583         orientation tag and associate it with the "orientation" pixbuf
584         option. Renders libexif unnecessary in some applications.
585
586         * io-tiff.c: (tiff_image_parse): Read the tiff orientation tag,
587         compensate for the partial rotations performed by libtiff,
588         and generate an "orientation" option for the pixbuf.
589
590 2007-05-18  Carlos Garnacho  <carlos@imendio.com>
591
592         * gtk/gtkexpander.c: remove c++ style comment.
593
594 2007-05-18  Carlos Garnacho  <carlos@imendio.com>
595
596         Make combobox menu popdown keybindable (#433593)
597
598         * gtk/gtkcombobox.c (gtk_combo_box_class_init): Add "popdown" binding
599         signal and keybindings.
600         (gtk_combo_box_real_popdown): Added, "popdown" keybinding signal
601         handler.
602         (gtk_combo_box_menu_key_press):
603         (gtk_combo_box_list_key_press): forward the event to the combobox if
604         it wasn't handled by the menu.
605
606 2007-05-18  Carlos Garnacho  <carlos@imendio.com>
607
608         * gtk/gtknotebook.c (gtk_notebook_init) (gtk_notebook_drag_motion)
609         (gtk_notebook_drag_drop): Allow widgets up in the hierarchy to run
610         their DnD handlers if the target doesn't match with anything the
611         notebook manages. (#350665, Joakim Lundborg).
612
613 2007-05-18  Carlos Garnacho  <carlos@imendio.com>
614
615         Refactor GtkFileChooserDialog sizing.
616
617         * gtkfilechooserembed.[ch] (delegate_get_resizable_hints)
618         (_gtk_file_chooser_embed_get_resizable_hints):
619         s/resizable_hints/resizable/, return just one boolean value to
620         determine whether the filechooser should be resizable or not.
621
622         * gtkfilechooserprivate.h (struct GtkFileChooserDialogPrivate): remove
623         variables related to the GtkFileChooserEmbed get_default_size() and
624         get_resizable() implementations.
625         (struct GtkFileChooserDefault): Move default size management here.
626
627         * gtkfilechooserdefault.c (gtk_file_chooser_default_size_allocate):
628         Added, store currently allocated size to calculate default size later.
629         (gtk_file_chooser_default_get_resizable_hints):
630         s/resizable_hints/resizable/.
631         (gtk_file_chooser_default_set_property): Reload settings if the file
632         chooser action changes, this way the save expander state will be known
633         before mapping the window, avoiding wrong window positioning and
634         flickering. (#424299, #424309)
635         (find_good_size_from_style): Only get size from style if it wasn't set
636         previously.
637         (gtk_file_chooser_default_get_default_size): return default size based
638         on stored default size and preview/extra widget sizes.
639
640         * gtkfilechooserdialog.c (file_chooser_widget_update_hints)
641         (file_chooser_widget_realized_size_changed)
642         (file_chooser_widget_unrealized_size_changed): simplified to
643         (file_chooser_widget_size_changed): set window size and resizability
644         based on the GtkFileChooserEmbed interface implementation. (Bug
645         #420285, Tomeu Vizoso)
646         (gtk_file_chooser_dialog_map): force a dialog size change, so it's
647         clamped for sure to the 75% of the screen size.
648
649 2007-05-18  Carlos Garnacho  <carlos@imendio.com>
650
651         * gtk/gtknotebook.c (gtk_notebook_real_insert_page): Do not unset
652         the brand new current page if there was none set previously. Fixes
653         #425138 (Reported by Michail Crayson). Some code simplifications.
654         (gtk_notebook_draw_arrow): code style fix.
655
656 2007-05-16  Matthias Clasen  <mclasen@redhat.com>
657
658         * gtk/gtkpathbar.c: Add ATK names to the Up, Down, and Root
659         buttons. Keep the focus from vanishing when Up or Down arrows
660         become insensitive or invisible.  (#357005, Patrick Wade)
661
662 2007-05-16  Brian Cameron  <brian.cameron@sun.com>
663
664         * acconfig.h, configure.in, gdk/Makefile.am, gdkprivate.h, gdkrgb.c,
665           gdkdraw.c, gdk-pixbuf/gdk-pixbuf-scale.c,
666           gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/pixops/pixops.[ch],
667           gdk-pixbuf/pixops/timescale.c:  Add Sun mediaLib support so that
668           hardware acceleration via mediaLib is enabled if mediaLib is
669           detected via configure.  Enhancement request #344813.  I was given
670           permission to commit in the bug report by Matthias Clasen.
671         * gdk/medialib.[ch]: New files added for mediaLib support.
672         * docs/reference/gdk-pixbuf/tmpl/scaling.sgml,
673           docs/reference/gdk/tmpl/rgb.sgml, gdk/gdkdraw.c:  Add docs for
674           mediaLib support.
675
676 2007-05-15  Torsten Schoenfeld  <kaffeetisch@gmx.de>
677
678         * gtk/gtkprintoperation.c (pdf_end_run): Unset priv->platform_data and
679         priv->free_platform_data to prevent gtk_print_operation_finalize()
680         from freeing the cairo surface a second time.
681
682 2007-05-14  Kristian Rietveld  <kris@gtk.org>
683
684         * gtk/gtkfilechooserdefault.c (recent_column_path_sort_func): remove
685         dangling semicolon, fixes the segfault ebassi was seeing earlier today
686         ;)
687
688 2007-05-14  Tristan Van Berkom  <tvb@gnome.org>
689
690         * gtk/gtkaboutdialog.c: Functions: gtk_about_dialog_get/set_name() 
691         were deprecated in favour of gtk_about_dialog_get/set_program_name(), 
692         the GtkAboutDialog now uses the "program-name" property instead of 
693         the conflicting "name" property (fixes bug 345822).
694
695 2007-05-14  Emmanuele Bassi  <ebassi@gnome.org>
696
697         * configure.in: Add check for GNU extensions to ftw()/nftw().
698
699         * gtk/gtksearchenginesimple.c: Fix compilation on systems with
700         only POSIX-compliant ftw(). (#435797, based on a patch by
701         Richard Hult)
702
703 2007-05-14  Emmanuele Bassi  <ebassi@gnome.org>
704
705         * gtk/gtkfilechooserdefault.c:
706         Convert the GtkTreeIter inside the sorting functions for the
707         search and recent modes. This doesn't yet fix the segfault when
708         clicking the 'Name' column in recent mode, though.
709
710 2007-05-14  Behdad Esfahbod  <behdad@gnome.org>
711
712         * modules/input/gtkimcontextthai.c
713         (gtk_im_context_thai_filter_keypress):
714         Fix check for modifier keys. (#438261, Theppitak Karoonboonyanan)
715
716 2007-05-14  Matthias Clasen  <mclasen@redhat.com>
717
718         * gtk/gtkscrolledwindow.c: Document scrollbars-within-bevel
719         as 2.12 addition.  (#438131, Mart Raudsepp)
720
721 2007-05-14  Matthias Clasen  <mclasen@redhat.com>
722
723         * gtk/gtkvseparator.c (gtk_vseparator_size_request): Fix
724         size requisition for wide vertical separators.  (#438113, 
725         Benjamin Berg)
726
727 2007-05-13  Emmanuele Bassi  <ebassi@gnome.org>
728
729         * gtk/gtksearchenginesimple.c: Include <ftw.h> and use nftw() and
730         all the symbols defined in <ftw.h> conditionally.
731
732 2007-05-13  Cody Russell  <bratsche@gnome.org>
733
734         * gdk/win32/gdkevents-win32.c: Only do the configure event context
735         iteration under WM_WINDOWPOSCHANGED instead of inside
736         handle_configure_event().  This fixes a bug that prevented window
737         contents from being redrawn after gtk_window_resize(). (#436721)
738
739 2007-05-12  Behdad Esfahbod  <behdad@gnome.org>
740
741         * gdk/gdkdraw.c (gdk_draw_trapezoids): Fix wrong cairo path
742         generation.  (#437879, Eddie C. Dost)
743
744 2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>
745
746         GtkFileChooser search fixes and recent files support.  (#435342)
747         
748         * gtk/gtkfilechooserdefault.c: Support drag and drop for
749         adding shortcuts of folders when in search or recent files
750         mode.
751
752 2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>
753
754         GtkFileChooser search fixes and recent files support.  (#435342)
755
756         * gtk/gtkfilechooserprivate.h:
757         * gtk/gtkfilechooserdefault.c: Follow the sorting order of
758         the GtkTreeView displaying the files list.
759
760         (shortcuts_get_index), (shortcuts_insert_separator),
761         (shortcuts_model_create), (shortcuts_combo_filter_func): Remove
762         the separator between the Search and the Recently Used shortcuts.
763
764         (list_select_func), (list_icon_data_func), (list_name_data_func),
765         (list_mtime_data_func): Update the sensitivity of the row
766         depending on the GtkFileChooserAction used.
767
768 2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>
769
770         GtkFileChooser search fixes and recent files support.  (#435342)
771
772         * gtk/gtkfilechooserprivate.h:
773         * gtk/gtkfilechooserdefault.c: Update the contents of the
774         files list when changing the filter of the GtkFileChooserDefault
775         widget.
776
777 2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>
778
779         GtkFileChooser search fixes and recent files support.  (#435342)
780
781         * gtk/gtkfilechooserdefault.c: Update the add bookmark button
782         sensitivity when in search or recent files mode, and allow
783         adding a bookmark for a folder.
784
785 2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>
786
787         GtkFileChooser search fixes and recent files support.  (#435342)
788
789         * gtk/gtkfilechooserdefault.c: UI fixes in the Search mode: add
790         a mnemonic to the label, de-boldify the label's text and assign
791         focus to the search entry when switching to the search mode.
792
793         (list_name_data_func): Split the text in both search and recent
794         files mode: on the first line use the short name and on the
795         second line use the full path.
796
797 2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>
798
799         GtkFileChooser search fixes and recent files support.  (#435342)
800
801         * gtk/gtkfilechooserprivate.h:
802         * gtk/gtkfilechooserdefault.c: Add support for showing the
803         recently used files list as a special shortcut item.
804
805 2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>
806         
807         GtkFileChooser search fixes and recent files support.  (#435342)
808
809         * gtk/gtkfilechooserdefault.c: Overall whitespace fixes and
810         indentation style consistency.
811
812         (list_row_activated): If the search hit is a folder, follow it
813         when activating the row, and switch back to browse mode.
814
815         (search_clear_model), (search_start_query),
816         (search_entry_activate_cb), (search_setup_widgets): Remember
817         the last query when switching between modes.
818
819 2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>
820
821         GtkFileChooser search fixes and recent files support.  (#435342)
822
823         * gtk/gtkfilechooserdefault.c:
824         (_gtk_file_chooser_default_class_init): Add key binding for
825         the Search shortcut; default to MOD1+S.
826
827         (search_shortcut_handler): Handle the key binding.
828
829         (search_hit_get_info_cb), (search_add_hit), (search_clear_model),
830         (search_setup_model): Retrieve informations on the search hits
831         when adding them to the model.
832
833         (list_icon_data_func): Show the search hit icon.
834
835 2007-05-11  Michael Natterer  <mitch@imendio.com>
836
837         * gtk/gtktextview.c (selection_motion_event_handler): call
838         gdk_event_request_motions(event) so selecting works with
839         XInput devices too. Spotted by Tommi Komulainen.
840
841 2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>
842
843         * gtk/gtksearchengine.c (_gtk_search_engine_new): Fall back
844         to GtkSearchEngineSimple only if gthread has already been
845         initialiased; otherwise, disable search support in the file
846         chooser widget.  (#435847)
847
848 2007-05-10  Matthias Clasen <mclasen@redhat.com>
849
850         * gtk/gtkbutton.c (gtk_button_set_image): Unparent the old
851         image before overwriting priv->image.  (#437281, Jochen Baier)
852
853 2007-05-10  Matthias Clasen <mclasen@redhat.com>
854
855         * gtk/gtkscrolledwindow.c (gtk_scrolled_window_scroll_child):
856         Correct a confusing warning.  (#437284, Björn Lindqvist)
857
858 2007-05-10  Matthias Clasen <mclasen@redhat.com>
859
860         * gdk/gdkdraw.c (gdk_draw_pixbuf): Don't call into
861         the backend if the region is empty.  (#437081, Sven Neumann)
862
863 2007-05-10  Matthias Clasen <mclasen@redhat.com>
864
865         * gtk/gtksearchenginesimple.c (search_visit_func);
866         Assume Posix nftw behaviour. 
867
868 2007-05-09  Dom Lachowicz <domlachowicz@gmail.com>
869
870         * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: GtkTreeView doesn't 
871         expand/collapse with Right/Left cursor keys on Windows
872         (#436269, Daniel Atallah)
873
874 2007-05-09  Cody Russell  <bratsche@gnome.org>
875
876         * gtk/gtkmenu.c:
877         (get_arrows_border): New function to calculate the border sizes needed 
878         for the scroll arrows.
879         (get_arrows_visible_area): New function to calculate the arrows visible 
880         area.
881         (get_arrows_sensitive_area): New function to calculate the arrows
882         sensitive area.
883         (gtk_menu_paint): Refactored code to calculate the border sizes needed
884         for the scroll arrows into get_arrows_border and the code to calculate 
885         the visible area into get_arrows_visible_area.
886         (gtk_menu_handle_scrolling): Refactored arrow sensitive calculations
887         to get_arrows_sensitive_area.
888         (gtk_menu_realize, gtk_menu_size_allocate, gtk_menu_scroll_by,
889         gtk_menu_position, gtk_menu_scroll_to, gtk_menu_scroll_item_visible,
890         get_visible_size, get_menu_height, gtk_menu_real_move_scroll): Update
891         callers.  (From #436533, Tommi Komulainen)
892
893 2007-05-09  Kristian Rietveld  <kris@imendio.com>
894
895         * gtk/gtktreeview.c (gtk_tree_view_key_press),
896         (gtk_tree_view_key_release):
897         * gtk/gtkiconview.c (gtk_icon_view_class_init),
898         (gtk_icon_view_key_press),
899         (gtk_icon_view_key_release): Disable key bindings during rubber
900         banding, make pressing Esc stop rubber banding.  (#405027).
901
902 2007-05-09  Emmanuele Bassi  <ebassi@gnome.org>
903
904         * gtk/gtkrecentmanager.c:
905         (gtk_recent_info_get_icon): Return GTK_STOCK_DIRECTORY for entries
906         with MIME type "x-directory/normal", instead of GTK_STOCK_FILE.
907
908 2007-05-05  Richard Hult  <richard@imendio.com>
909
910         * gdk/quartz/gdkdrawable-quartz.c:
911         (gdk_quartz_drawable_get_context),
912         (gdk_quartz_drawable_release_context): Fix bugs #428733 and #433301.
913         Turns out the lockFocus logic was flawed, now we only lock/unlock 
914         when called outside a real expose event and never flush manually.
915
916 2007-05-03  Behdad Esfahbod  <behdad@gnome.org>
917
918         * gtk/gtklabel.c (gtk_label_ensure_layout):
919         * gtk/gtktextlayout.c (set_para_values): Make GTK_JUSTIFY_FILL work,
920         using pango_layout_set_justify() that works now. (#435675)
921
922 2007-05-03  Emmanuele Bassi  <ebassi@gnome.org>
923
924         * gtk/gtksearchenginesimple.c (search_engine_simple_finalize): Remove
925         spurious g_free() call.
926
927 Thu May  3 16:27:34 2007  Tim Janik  <timj@imendio.com>
928
929         * tests/testgtk.c (create_handle_box): made handle box test non-modal,
930         so other test can interact with handle boxes.
931
932 2007-05-02  Emmanuele Bassi  <ebassi@gnome.org>
933
934         Add search file support in the GtkFileChooser. Original patch
935         by Federico Mena Quintero; patch updated by Matthias Clasen.
936         See bug #344785.
937
938         * gtk/gtksearchengine.[ch]: Private search engine abstraction
939         object.
940
941         * gtk/gtksearchenginebeagle.[ch]: Private search engine
942         implementation using libbeagle (via g_module_open()).
943
944         * gtk/gtksearchenginesimple.[ch]: Private search engine
945         implementation using file tree walking.
946
947         * gtk/gtksearchenginetracker.[ch]: Private earch engine
948         implementation using libtracker (via g_module_open()).
949
950         * gtk/gtkquery.[ch]: Private query object for the search
951         engines.
952
953         * gtk/gtkfilechooserprivate.h:
954         * gtk/gtkfilechooserdefault.c: Use the GtkSearchEngine to
955         query a search engine backend using GtkQuery; create a new
956         operating mode, OPERATION_MODE_SEARCH, and call the common
957         operating mode OPERATION_MODE_BROWSE; add support for virtual
958         shortcuts inside the shortcuts model and create a new "Search"
959         virtual shortcut.
960
961         * gtk/Makefile.am: Update the build with the new files
962
963 2007-05-02  Armin Burgmeier  <armin@openismus.com>
964
965         * gtk/gtkcombobox.c: Destroy the menu in dispose instead of
966         finalize, because the menu might unparent itself from its parent and
967         cause a signal emission on a finalized object. (#430746)
968
969 2007-05-02  Dom Lachowicz <domlachowicz@gmail.com>
970
971         * modules/engines/ms-windows/msw_style.c: MS-Windows Theme top tabs 
972         rendered upside down for non-XP theme (#435053, Daniel Atallah)
973
974 Wed May  2 11:35:45 2007  Tim Janik  <timj@imendio.com>
975
976         * docs/faq/gtkfaq.sgml: removed, since this file is long outdated
977         and fully replaced by docs/faq/gtk-faq.sgml.
978
979 2007-05-02  Kristian Rietveld  <kris@imendio.com>
980
981         * gtk/gtktreeview.c (gtk_tree_view_grab_notify): stop the rubber band
982         if it's active.
983
984 2007-05-01  Matthias Clasen  <mclasen@redhat.com>
985
986         * gtk/gtkiconcachevalidator.c: Don't be too strict when checking
987         icon flags.  (#435062)
988
989 2007-05-01  Matthias Clasen  <mclasen@redhat.com>
990         
991         * gtk/Makefile.am: When generating gtkbuiltincache.h, only copy
992         pngs.
993
994 2007-05-01  Matthias Clasen  <mclasen@redhat.com>
995
996         * gtk/gtkfilesystemmodel.c (_gtk_file_system_model_path_do):
997         Don't ignore the fact that gtk_file_system_get_parent() 
998         may return NULL.  (#424042, Jan Martinek)
999
1000 2007-05-01  Dan Winship  <danw@novell.com>
1001
1002         * gdk/x11/gdkwindow-x11.c (setup_toplevel_window): Make sure the
1003         leader_window's WM_CLIENT_LEADER points to itself. #435028
1004
1005 2007-05-02  Christian Persch  <chpe@gnome.org>
1006
1007         * gtk/gtktreemodel.c: (gtk_tree_iter_copy), (gtk_tree_iter_free): Use
1008         GSlice for gtk_tree_iter_copy. Bug #434863.
1009
1010 2007-05-02  Christian Persch  <chpe@gnome.org>
1011
1012         * gtk/gtkpapersize.c: (gtk_paper_size_get_paper_sizes): Put only
1013         GtkPaperSizes into the list, don't mix it with GtkPageSetups. Bug
1014         #434861.
1015
1016 2007-05-02  Christian Persch  <chpe@gnome.org>
1017
1018         * gtk/gtkpapersize.c: (gtk_paper_size_new_from_info),
1019         (gtk_paper_size_new), (gtk_paper_size_new_custom),
1020         (gtk_paper_size_copy), (gtk_paper_size_free): Use GSlice to allocate
1021         GtkPaperSize. Bug #434862.
1022
1023 2007-05-02  Christian Persch  <chpe@gnome.org>
1024
1025         * gtk/gtkstatusbar.c: (gtk_statusbar_get_context_id),
1026         (gtk_statusbar_expose_event): No need to allocate a guint; just stuff
1027         the ID into the pointer directly. Bug #434865.
1028
1029 2007-05-01  Matthias Clasen  <mclasen@redhat.com>
1030
1031         * gtk/gtkfilechooserdefault.c (struct UpdateCurrentFolderData),
1032         (update_current_folder_get_info_cb): add a new struct field to clear
1033         the file entry after the current folder has been updated.
1034
1035         (gtk_file_chooser_default_update_current_folder),
1036         (change_folder_and_display_error): Add a new function parameter to
1037         trigger file entry clearing.
1038
1039         (edited_idle_create_folder_cb),
1040         (file_list_drag_data_received_get_info_cb),
1041         (gtk_file_chooser_default_map),
1042         (gtk_file_chooser_default_set_current_folder),
1043         (switch_to_selected_folder), (save_entry_get_info_cb),
1044         (shortcuts_activate_volume_mount_cb), (shortcuts_activate_volume),
1045         (shortcuts_activate_get_info_cb), (list_row_activated),
1046         (path_bar_clicked): use new function parameter appropriately.
1047
1048         (gtk_file_chooser_default_should_respond): trigger file entry clearing
1049         after the directory is updated instead of clearing it before, this way 
1050         we avoid reloading the completion model with the soon to be old folder, 
1051         causing a warning and a glitch in the folder where completion happens. 
1052         (#379414, Carlos Garnacho)
1053
1054 2007-05-01  Matthias Clasen  <mclasen@redhat.com>
1055
1056         * gtk/gtkiconcachevalidator.[hc]: Add an icon cache validator.
1057
1058         * gtk/updateiconcache.c: Validate the generated cache before
1059         moving it in place. Also add a --validate option to validate
1060         an existing icon cache.
1061
1062         * gtk/gtkiconcache.c: Validate icon caches before using them.
1063
1064         * gtk/Makefile.am: Integrate it.
1065
1066 2007-05-01  Michael Emmel  <mike.emmel@gmail.com>
1067
1068         * gdk/directfb/gdkdisplay-directfb.c:
1069         Added stub gdk_notify_startup_complete_with_id to compile
1070         * gdk/directfb/gdkwindow-directfb.c:
1071         Added gdk_window_set_opacity
1072         * gdk/directfb/gdkkeys-directfb.c:
1073         Fix menu key handling crash Bug #413328
1074
1075 2007-05-01  Christian Persch  <chpe@gnome.org>
1076
1077         * gtk/gtkprinter.h:
1078         * gtk/gtkprintjob.h: Also move gtk_print_capabilities_get_type() to
1079         the new location. Bug #390437.
1080
1081 2007-04-30  Matthias Clasen  <mclasen@redhat.com>
1082
1083         * gtk/gtksettings.c (settings_update_color_scheme):
1084         Make sure we always have a color_hash.  (#423916, Jens Granseuer)
1085
1086 2007-04-30  Christian Persch  <chpe@gnome.org>
1087
1088         * docs/reference/gtk/gtk-sections.txt:
1089         * gtk/gtk.symbols:
1090         * gtk/gtkprinter-private.h:
1091         * gtk/gtkprinter.c: (gtk_printer_get_capabilities),
1092         (gtk_print_capabilities_get_type):
1093         * gtk/gtkprinter.h:
1094         * gtk/gtkprintjob.c:
1095         * gtk/gtkprintjob.h:
1096         * gtk/gtkprintunixdialog.c: (selected_printer_changed):
1097         Make gtk_printer_get_capabilities public, and move the
1098         GtkPrintCapabilities definition to gtkprinter.h. Bug #390437.
1099
1100 2007-04-30  Matthias Clasen  <mclasen@redhat.com>
1101
1102         * gtk/gtkexpander.c (gtk_expander_realize): A NO_WINDOW widget
1103         must not set the background of its window.  (#433972,
1104         Guilherme Polo)
1105
1106 2007-04-30  Richard Hult  <richard@imendio.com>
1107
1108         * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_opacity):
1109         Implement.
1110
1111 2007-04-30  Matthias Clasen  <mclasen@redhat.com>
1112
1113         * modules/printbackends/cups/gtkprintbackendcups.c: Get all
1114         the printer attributes when getting the list of printers,
1115         not via separate requests.  (#387889, Krishan Purahoo)
1116
1117 2007-04-30  Matthias Clasen  <mclasen@redhat.com>
1118
1119         Some more compiler warning fixes.
1120
1121         * gdk/directfb/gdkscreen-directfb.c (gdk_screen_is_composited):
1122         Fix NULL/FALSE confusion.
1123
1124 2007-04-30  Matthias Clasen  <mclasen@redhat.com>
1125
1126         Fix some compiler warnings.  (#433642, Kjartan Maraas)
1127
1128         * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_get_info):
1129         (gtk_file_system_win32_create_folder):
1130         * gtk/gtkaction.c (gtk_action_create_menu): Fix NULL/FALSE confusion.  
1131
1132         * gtk/gtklinkbutton.c (gtk_link_button_clicked): Pass
1133         the right type to uri_func.  
1134         
1135         * gtk/gtktext.c (gtk_text_key_press):
1136         * gtk/gtkstatusicon.c (gtk_status_icon_get_property): 
1137         * gtk/gtkxembed.c (_gtk_xembed_send_message): Add casts.
1138
1139         * gtk/gtktrayicon-x11.c (gtk_tray_icon_manager_window_destroyed): 
1140         (gtk_tray_icon_delete):
1141         * gtk/gtkprintunixdialog.c (create_main_page):
1142         * gtk/gtkhsv.c (gtk_hsv_motion): Remove unused variables.
1143
1144         * gtk/gtkliststore.c: Adapt callbacks to GSequence types.
1145
1146 2007-04-30  Cody Russell  <bratsche@gnome.org>
1147
1148         * gdk/win32/gdkwindow-win32.c: Reintroduced erase_background(),
1149         but now we're calling it from _gdk_windowing_window_clear_area()
1150         instead of from the WM_ERASEBKGND event.  Also fixes the area
1151         that is cleared so that it is not an extra row and column too
1152         large.  (Neil Roberts, #415681)
1153
1154 2007-04-30  Matthias Clasen  <mclasen@redhat.com>
1155
1156         * gtk/gtktextview.c: Allow indents to be negative.  (#Bug 434308)
1157
1158 2007-04-30  Michael Natterer  <mitch@imendio.com>
1159
1160         * gtk/gtkmenushell.c (gtk_menu_shell_enter_notify): pop up the
1161         submenu explicitely only in touchscreen mode since otherwise
1162         selecting the item already pops up the submenu. Restores the
1163         drag-selection timeout (spotted by Søren Sandmann, #128968).
1164
1165 2007-04-30  Michael Natterer  <mitch@imendio.com>
1166
1167         * gtk/gtkpapersize.h: really rename gtk_paper_size_get_builtins()
1168         to gtk_paper_size_get_paper_sizes().
1169
1170 2007-04-30  Tor Lillqvist  <tml@novell.com>
1171
1172         * gtk/gtkpapersize.c (gtk_paper_size_get_paper_sizes):
1173         _gtk_load_custom_papers() exists only on Unix.
1174
1175 2007-04-30  Tor Lillqvist  <tml@novell.com>
1176
1177         Add functionality to set overall opacity of a top-level
1178         window. (#405316)
1179
1180         * gdk/gdk.symbols: Add gdk_window_set_opacity.
1181
1182         * gdk/x11/gdkwindow-x11.c
1183         * gdk/win32/gdkwindow-win32.c: Implement
1184         gdk_window_set_opacity(). On X11 use the _NET_WM_WINDOW_OPACITY
1185         property. On Win32 use SetLayeredWindowAttributes(LWA_ALPHA).
1186
1187         * gdk/gdkwindow.h: Declare gdk_window_set_opacity().
1188
1189         * gdk/x11/gdkscreen-x11.c (gdk_screen_get_rgba_colormap): Document
1190         that this is not implemented in the Windows backend. Add reference
1191         to gdk_window_set_opacity().
1192
1193         * gtk/gtk.symbols: Add gtk_window_set_opacity and
1194         gtk_window_get_opacity.
1195
1196         * gtk/gtkwindow.c (struct _GtkWindowPrivate)
1197         (gtk_window_class_init): Add opacity property, a double in the
1198         range [0, 1].
1199         (gtk_window_set_opacity, gtk_window_get_opacity): Implement.
1200         (gtk_window_realize): If opacity is set, call
1201         gdk_window_set_opacity().
1202
1203         * gtk/gtkwindow.h: Declare gtk_window_set_opacity() and
1204         gtk_window_get_opacity().
1205
1206 2007-04-30  Matthias Clasen <mclasen@redhat.com>
1207
1208         * gtk/gtk.symbols:
1209         * gtk/gtkpapersize.[hc]: Rename gtk_paper_size_get_builtins()
1210         to gtk_paper_size_get_paper_sizes() and optionally include
1211         custom paper sizes.
1212
1213         * gtk/gtkpagesetupunixdialog.c: Internally export a function
1214         to load custom paper sizes.
1215
1216         * modules/printbackends/file/gtkprintbackendfile.c: Implement
1217         printer_list_papers, returning all paper sizes.  (#434329,
1218         Christian Persch)
1219
1220 2007-04-30  Matthias Clasen <mclasen@redhat.com>
1221         
1222         * gtk/gtkprintoperation.c: Translate the default job
1223         name, and don't utf8-validate the job name in the
1224         setter.  (#421993, Morten Welinder)
1225
1226 2007-04-30  Matthias Clasen <mclasen@redhat.com>
1227
1228         * gtk/gtkprintjob.c (gtk_print_job_get_surface): Use
1229         g_unlink.  (#421990, Morten Welinder)
1230
1231 2007-04-29  Matthias Clasen <mclasen@redhat.com>
1232
1233         Fix some issues with reference handling in the printing
1234         code.  (#429902, Mathias Hasselmann)
1235
1236         * gtk/gtkprintoperation.c (gtk_print_operation_finalize):
1237         Unref the print context, if we have one.
1238         (gtk_print_operation_done): Add a default ::done handler 
1239         that unrefs the print context.
1240         (preview_ready): Take a reference on the print operation
1241         preview here.
1242         (print_pages_idle): ...not here,
1243         (preview_print_idle_done): ...and release it here.
1244
1245         * tests/print-editor.c (preview_cb): Take a reference
1246         on the print operation here.
1247
1248 2007-04-29  Matthias Clasen <mclasen@redhat.com>
1249
1250         * gtk/gtkprintoperation.c (print_pages_idle): Don't get
1251         stuck in a recursive mainloop if a synchronous preview
1252         is cancelled.
1253
1254 2007-04-29  Matthias Clasen <mclasen@redhat.com>
1255
1256         Make the emission of ::end-print and ::done consistent
1257         for previews.  (#347567, Yevgen Muntyan)
1258
1259         * gtk/gtkprintoperation.c (preview_iface_end_preview): Set
1260         the finished status here.
1261         (preview_end_run): ...and not here.
1262         (print_pages_idle_done): Emit ::done for a cancelled preview.
1263         (print_pages_idle): If a preview has been cancelled, don't
1264         emit ::ready, but emit ::end-print. 
1265
1266         * tests/print-editor.c: Use ::end-print to undo allocations
1267         from ::begin-print.
1268
1269 2007-04-29  Matthias Clasen <mclasen@redhat.com>
1270
1271         * gtk/gtkpapersize.c (gtk_paper_size_new): Mark paper sizes
1272         in the PWG "custom" namespace as custom. Add a link to 
1273         the spec in the docs.  (#426416, Andreas Guelzow)
1274
1275 2007-04-29  Matthias Clasen <mclasen@redhat.com>
1276
1277         * gtk/gtkprintoperation.c (gtk_print_operation_run): Document
1278         that a print operation can be run only once, and add a 
1279         corresponding g_return_if_fail().   (#379399, Masao Mutoh)
1280
1281 2007-04-29  Dan Winship  <danw@novell.com>
1282
1283         * gdk/x11/gdkdisplay-x11.c
1284         (gdk_x11_display_broadcast_startup_message): New method to
1285         marshall and send a Startup Notification message. (from #415070)
1286         (gdk_notify_startup_complete_with_id): Use that
1287
1288 2007-04-29  Mattthias Clasen  <mclasen@redhat.com>
1289
1290         * gtk/gtkprintoperation-unix.c 
1291         (_gtk_print_operation_platform_backend_launch_preview):
1292         Don't leak a file descriptor, and don't make the error
1293         dialog modal.  (#421985, Morten Welinder, Christian Persch)
1294
1295 2007-04-29  Xan Lopez  <xan@gnome.org>
1296
1297         * docs/faq/gtk-faq.sgml: Fix typo in FAQ (#373706,
1298         Diego Escalante Urrelo).
1299
1300         I'm fixing gtk-faq.sgml as it seems this is the file
1301         we actually use...
1302
1303 2007-04-29  Matthias Clasen  <mclasen@redhat.com>
1304
1305         * gtk/gtktoolbar.c (_gtk_toolbar_elide_underscores): 
1306         Only strip parentheses of the form (_x).  (#434261,
1307         Brian Wellington)
1308
1309 2007-04-29  Matthias Clasen  <mclasen@redhat.com>
1310
1311         * gtk/gtkprintoperation-unix.c
1312         (_gtk_print_operation_platform_backend_launch_preview):
1313         Support passing a print settings file to the preview 
1314         command.  (#403717, Christian Persch)
1315
1316         * gtk/gtksettings.c: Document %s in the 
1317         gtk-print-preview-command setting.
1318
1319 2007-04-29  Matthias Clasen  <mclasen@redhat.com>
1320
1321         * gtk/gtkprintoperation.c (print_pages_idle): Also check
1322         the default handler when deciding whether to emit the
1323         paginate signal.  (#345345, Yevgen Muntyan)
1324
1325 2007-04-29  Matthias Clasen  <mclasen@redhat.com>
1326
1327         * gtk/gtkprintoperation.h: Add a new error code
1328
1329         * gtk/gtk.symbols:
1330         * gtk/gtkpagesetup.[hc]:
1331         * gtk/gtkpapersize.[hc]:
1332         * gtk/gtkprintsettings.[hc]: Add functions to serialize 
1333         and deserialize page setups and print settings to files 
1334         and key files.  (#344515, Christian Persch)
1335
1336         * gtk/gtkpagesetupunixdialog.c: Adapt to the new functions.
1337
1338         * tests/print-editor.c: Use the new functions to persist 
1339         page setup and print settings.
1340
1341 2007-04-29  Matthias Clasen  <mclasen@redhat.com>
1342
1343         * gtk/gtkpagesetupunixdialog.c (gtk_page_setup_unix_dialog_finalize):
1344         Free the custom paper list.  (#403267, Felix Riemann)
1345
1346 2007-04-29  Matthias Clasen  <mclasen@redhat.com>
1347
1348         * gtk/gtkprintjob.c (gtk_print_job_get_surface): Fix a 
1349         small memory leak.  (#403251, Felix Riemann)
1350
1351 2007-04-29  Matthias Clasen  <mclasen@redhat.com>
1352
1353         * modules/printbackends/cups/gtkprintbackendcups.c: Fix a
1354         typo. String change !  (#406160, Stephane Raimbault)
1355
1356 2007-04-29  Matthias Clasen  <mclasen@redhat.com>
1357
1358         * gtk/gtk.symbols:
1359         * gtk/gtkpapersize.[hc]: Add a function to list the
1360         builtin paper sizes.  (#382355, Christian Persch)
1361
1362 2007-04-29  Matthias Clasen  <mclasen@redhat.com>
1363
1364         * gtk/gtk.symbols:
1365         * gtk/gtkprinter-private.h:
1366         * gtk/gtkprinter.[hc]: Make gtk_printer_has_details() and
1367         gtk_printer_request_details() public.
1368
1369         * gtk/gtkpagesetupunixdialog.c:
1370         * gtk/gtkprintunixdialog.c: Update callers.  (#389203, 
1371         Christian Persch)
1372
1373 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
1374
1375         * configure.in: Add --enable-test-print-backend, defaulting
1376         to no.
1377
1378         * modules/printbackends/Makefile.am: Make building the test
1379         print backend conditional.
1380
1381 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
1382
1383         * modules/printbackends/lpr/*:
1384         * modules/printbackends/cups/*: Correct some copyright lines.
1385
1386         * configure.in:
1387         * modules/printbackends/Makefile.am:
1388         * modules/printbackends/test/*: Add a test print backend.
1389         (#409089, John Palmieri)
1390
1391 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
1392
1393         * gtk/gtktexttag.[hc]: Add a way to specify accumulative
1394         margins.  (#344499, Nate Nielsen)
1395
1396 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
1397
1398         * gtk/gtkeventbox.c (gtk_event_box_realize): Fix the offsets
1399         of the input-only window if we also have a visible window. 
1400         (#405089)
1401
1402 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
1403
1404         * gtk/gtkliststore.c (gtk_list_store_set_valist_internal):
1405         * gtk/gtktreestore.c (gtk_tree_store_set_valist_internal):
1406         Recognize negative column indices as invalid.  (#415260,
1407         Chris Wilson)
1408
1409 2007-04-28  Ronald Bultje  <rbultje@ronald.bitfreak.net>
1410
1411         * gdk/quartz/gdkeventloop-quartz.c: (select_thread_func),
1412         (poll_func): fix two more potential races that could happen when
1413         an application is polling in the mainloop and a separate thread
1414         tries to wake it up using g_idle_add(). Fixes #425271 comment 5.
1415
1416 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
1417
1418         * gtk/gtkentry.c (gtk_entry_grab_focus): 
1419         (gtk_entry_real_insert_text): Only call g_object_get() 
1420         when necessary.  (#373137, Morten Welinder, patch by Xan Lopez)
1421
1422 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
1423
1424         * gtk/gtkstatusicon.c (gtk_status_icon_get_size): Add
1425         a note about being embedded.  (#340107, Christian Persch)
1426
1427 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
1428
1429         * gtk/gtkdnd.[hc]: Add GTK_TARGET_OTHER_{APP,WIDGET} to
1430         restrict drags within an application/widget.  (#163141, 
1431         Jorn Baayen)
1432
1433 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
1434
1435         * docs/tools/Makefile.am:
1436         * gtk/Makefile.am: Make make clean clean.  (#410160, Tommi
1437         Komulainen)
1438
1439 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
1440
1441         * gdk/win32/bdfcursor.c (compose_cursors_from_fonts):
1442         * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_reorder): 
1443         * gtk/gtkfilesystemmodel.c (got_root_folder_cb):
1444         (get_children_folder_cb): Plug memory leaks caused by wrong 
1445         use of g_slist_remove_link().  (#405515, Nicolas Peninguy)
1446
1447 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
1448         
1449         * demos/gtk-demo/printing.c: Fix the headers in the print
1450         demo.  (#423722, Yevgen Muntyan)
1451
1452 2007-04-28  Xan Lopez  <xan@gnome.org>
1453
1454         * gtk/gtkentrycompletion.c (gtk_entry_completion_insert_completion_text): 
1455         Use strstr instead of g_strstr with -1 for length.
1456
1457 2007-04-28  Xan Lopez  <xan@gnome.org>
1458
1459         * gtk/gtkentry.c:
1460         * gtk/gtkentrycompletion.c:
1461         * gtk/gtkentrycompletion.h:
1462         * gtk/gtkentryprivate.h:
1463
1464         Remember the user input that triggered the completion, add
1465         API to the retrieve it and reset the entry contents to it
1466         if the user cancels the tentative completion during
1467         the inline-selection.
1468         
1469 2007-04-27  Matthias Clasen  <mclasen@redhat.com>
1470
1471         * gdk/x11/gdkgeometry-x11.c: Factor out window movement
1472         functions. (#63820, Tilman Sauerbeck)
1473
1474 2007-04-27  Matthias Clasen  <mclasen@redhat.com>
1475
1476         * gdk/x11/gdkgeometry-x11.c: Factor out translate_pos().
1477         (#63820, Tilman Sauerbeck)
1478
1479 2007-04-27  Matthias Clasen  <mclasen@redhat.com>
1480
1481         * gdk/x11/gdkgeometry-x11.c: Factor out window mapping
1482         and unmapping functions.  (#63820, Tilman Sauerbeck)
1483
1484 2007-04-27  Matthias Clasen  <mclasen@redhat.com>
1485
1486         * gdk/x11/gdkgeometry-x11.c: Make list handling code
1487         easier to read.  (#63820, Tilman Sauerbeck)
1488
1489 2007-04-27  Matthias Clasen  <mclasen@redhat.com>
1490
1491         * gtkassistant.c:
1492         * gtkiconfactory.c:
1493         * gtkiconview.c:
1494         * gtkpapersize.c:
1495         * gtkrecentmanager.c:
1496         * gtktextiter.c: Internalize some strings, pointed out
1497         by Damon Chaplin.
1498
1499 2007-04-27  Xan Lopez  <xan@gnome.org>
1500
1501         Support inline-selection in entries (#318459)
1502         
1503         * gtk/gtkentry.c:
1504         * gtk/gtkentrycompletion.c:
1505         * gtk/gtkentrycompletion.h:
1506         * gtk/gtkentryprivate.h:
1507
1508         When enabled cursor-match is emited when the cursor is on
1509         a possible completion on the list. The default implementation
1510         will replace the contents on the entry with the contents of
1511         the text column in the completion model.
1512
1513         Review and improvements by Matthias Clasen.
1514
1515 2007-04-27  Michael Natterer  <mitch@imendio.com>
1516
1517         Merged heavily modified patch from maemo-gtk which enables opening
1518         and closing submenus on click, and introduces some usability
1519         changes when gtk-touchscreen-mode is enabled (bug #128968):
1520
1521         * gtk/gtkmenushell.c (struct GtkMenuShellPrivate): added boolean
1522         "activated_submenu" to indicate that the current mouse operation
1523         (click or drag) has opened a submenu.
1524
1525         (gtk_menu_shell_button_press): pop up submenus without delay
1526         and record the fact in "activated_submenu".
1527
1528         (gtk_menu_shell_button_release): if a submenu was explicitely
1529         opened, or not opened by this release's button_press, or enough
1530         time has passed since timeout-opening it, close the submenu here.
1531
1532         (gtk_menu_shell_enter_notify): when entering a menu item with
1533         any mouse button pressed, open its submenu.
1534
1535         (gtk_real_menu_shell_move_current): in touchsreen mode, close the
1536         submenu when moving the focus away from it via keyboard-navigation.
1537
1538         * gtk/gtkmenuitem.[ch] (_gtk_menu_item_popup_submenu): added
1539         parameter "gboolean with_delay" so GtkMenuShell can control this
1540         for the different scenarios of submenu showing.
1541
1542         (_gtk_menu_item_popdown_submenu): new function. also needed by
1543         GtkMenuShell for closing submenus on click.
1544
1545         Renamed internal function gtk_menu_item_select_timeout() to
1546         gtk_menu_item_popup_timeout().
1547
1548         (gtk_menu_item_real_popup_submenu): new utility function which
1549         does the actual popup and records the exact time of the popup when
1550         the menu was timeout-opened (using g_get_current_time()).
1551
1552         (gtk_real_menu_item_select): don't add the popup timeout when in
1553         touchscreen mode.
1554
1555         * gtk/gtkmenu.c (gtk_menu_popup): in touchscreen mode, select the
1556         first item of every opened menu.
1557
1558 2007-04-26  Matthias Clasen  <mclasen@redhat.com>
1559
1560         * gtk/gtkfilechooserentry.c: Append a '/' to directory names
1561         in the completion popup.  (#431323, Maarten Maathuis)
1562
1563 2007-04-26  Matthias Clasen  <mclasen@redhat.com>
1564
1565         * demo/gtk-demo/combobox.c: Add a simple validation demo. 
1566         * gtk/gtkcomboboxentry.c: Make it possible to add arbitrary
1567         children to a GtkComboBoxEntry.  (#426401, Paul Pogonyshev)
1568
1569 2007-04-26  Tor Lillqvist  <tml@novell.com>
1570
1571         * gtk/gtkinputdialog.c (gtk_input_dialog_fill_axes)
1572         (gtk_input_dialog_fill_keys): Remove old child of scrolled window
1573         before adding a new one when switching what input device is being
1574         handled. (#399425)
1575
1576 2007-04-26  Matthias Clasen  <mclasen@redhat.com>
1577
1578         * modules/printbackends/lpr/gtkprintbackendlpr.c
1579         (gtk_print_backend_lpr_init): Mark the printer list as done. 
1580         (#428665, Bogdan Gheorghe)
1581
1582 2007-04-26  Matthias Clasen  <mclasen@redhat.com>
1583
1584         * Makefile.am:
1585         * gtk/Makefile.am: Don't install UNIX-printing headers and
1586         support files on non-UNIX platforms.  (#425655, Vincent Geddes)
1587
1588 2007-04-26  Matthias Clasen  <mclasen@redhat.com>
1589
1590         * gtk/gtkuimanager.c (gtk_ui_manager_add_ui): Accept
1591         unnamed separators.  (#369112, Christian Persch)
1592
1593 2007-04-26  Matthias Clasen  <mclasen@redhat.com>
1594
1595         * gtk/gtkaccelgroup.c (gtk_accel_group_finalize): Don't access
1596         invalid memory.  (#429732, Armin Burgmeier)
1597
1598 2007-04-26  Cody Russell  <bratsche@gnome.org>
1599
1600         * gdk/win32/xcursors.h:
1601         * gdk/win32/gdkcursor-win32.c:
1602
1603         Use Win32 native cursors instead of the ones built into GTK
1604         where it makes sense. (#128852, Tim Evans)
1605
1606 2007-04-25  Cody Russell  <bratsche@gnome.org>
1607
1608         * gdk/gdkwindow.h:
1609         * gtk/gtkwidget.c:
1610         * gtk/gtkhandlebox.c:
1611         * gdk/directfb/gdkwindow-directfb.c:
1612         * gdk/linux-fb/gdkwindow-fb.c:
1613         * gdk/quartz/gdkwindow-quartz.c:
1614         * gdk/win32/gdkwindow-win32.c:
1615         * gdk/x11/gdkwindow-x11.c:
1616         Added window type hint and implement drop shadows on Win32
1617         for menus, tooltips, etc. (#148535, Tim Evans, Dom Lachowicz)
1618
1619 2007-04-25  Jakub Steiner <jimmac@ximian.com>
1620
1621         * gtk/stock-icons/16/gtk-close.{png,svg}: added 16x16 version of
1622                 gtk-close as per discussion in bug #431740.
1623
1624 2007-04-25  Matthias Clasen  <mclasen@redhat.com>
1625
1626         * gtk/gtktreeview.c (gtk_tree_view_style_set): Set the background
1627         of the header window again.  (#431067, Benjamin Berg)
1628
1629 2007-04-25  Matthias Clasen  <mclasen@redhat.com>
1630
1631         * gtk/gtkicontheme.c (theme_lookup_icon): Set the filename to
1632         NULL for builtin icons, sinc gtk_icon_info_get_builtin_pixbuf()
1633         depends on it. 
1634
1635         * tests/testicontheme.c: Report builtin icons.
1636
1637 2007-04-25  Matthias Clasen  <mclasen@redhat.com>
1638
1639         * gtk/gtkprintoperation.c (preview_iface_end_preview): Don't 
1640         crash if end_run is not set.  (#424168, Matthias Hasselmann)
1641
1642 2007-04-25  Michael Natterer  <mitch@imendio.com>
1643
1644         * gtk/gtkmenu.c (gtk_menu_handle_scrolling): fix ACTIVE state of
1645         scroll buttons (we were setting the state to ACTIVE but
1646         immediately overwriting it with NORMAL or PRELIGHT). Also got rid
1647         of many separate calls to gdk_window_invalidate_rect() by
1648         remembering the old button state and only invalidating the area if
1649         the state has changed (addresses parts of bug #433242, Tommi
1650         Komulainen).
1651
1652         (gtk_menu_scroll_to): change the arrow states only if changing
1653         from or to INSENSITIVE state, so we don't overwrite the ACTIVE
1654         state set by above function.
1655
1656 2007-04-25  Michael Natterer  <mitch@imendio.com>
1657
1658         * gtk/gtkprintoperation.c (preview_iface_is_selected): fix the
1659         build. Dunno if the fix is right, but I think it is.
1660
1661 2007-04-25  Kristian Rietveld  <kris@imendio.com>
1662
1663         * gtk/gtktooltip.c (find_topmost_widget_coords_from_event):
1664         cleanup/refactor some leftover code.
1665
1666 2007-04-24  Matthias Clasen  <mclasen@redhat.com>
1667
1668         * gtk/gtkprintunixdialog.c (dialog_get_page_ranges): Parse
1669         half-open ranges like -2 or 3-, and be a bit more liberal
1670         about whitespace.
1671         (dialog_set_page_ranges): Support half-open ranges.
1672
1673         * gtk/gtkprintoperation.c (print_pages_idle): Substitute the
1674         number of pages in half-open ranges.
1675         (preview_iface_is_selected): Support half-open ranges here, too.
1676
1677 2007-04-24  Chris Wilson  <chris@chris-wilson.co.uk>
1678
1679         * gtk/gtkicontheme.c (scan_directory): Ensure the 
1680         icon_theme->all_icons and dir->icons hash tables use the same string
1681         as their keys. (#418531)
1682
1683 2007-04-23  Cody Russell  <bratsche@gnome.org>
1684         * modules/engines/ms-windows/msw_style.c: Fixed one-pixel drawing error on
1685         left-most tab when notebooks are top-oriented.  Also general cleanup of
1686         notebook tab related code.  (Lieven van der Heide, Cody Russell)
1687
1688 2007-04-23  Matthias Clasen  <mclasen@redhat.com>
1689
1690         * modules/printbackends/cups/gtkprintbackendcups.c: Reduce
1691         the amount of debug spew if we are not debugging.
1692         
1693 2007-04-23  Michael Natterer  <mitch@imendio.com>
1694
1695         * tests/Makefile.am (testtooltips_SOURCES): fix typo:
1696         testtoooltips_SOURCES -> testtooltips_SOURCES.
1697
1698 2007-04-19  Cody Russell <bratsche@gnome.org>
1699
1700         * modules/engines/ms-windows/msw_style.c: Fix menuitem rendering
1701         for Windows Vista.  (#392015, Hiroyuki Yamamoto)
1702
1703 2007-04-19  Dominic Lachowicz <domlachowicz@gmail.com>
1704
1705         * modules/engines/ms-windows/msw_style.c: Fix pixbuf leaks in
1706         non-WinXP rendering paths. From Daniel Atallah (#403470)
1707         
1708 2007-04-19  Matthias Clasen  <mclasen@redhat.com>
1709
1710         * gtk/gtkicontheme.h:
1711         * gtk/gtkicontheme.c: Add GTK_ICON_LOOKUP_GENERIC_FALLBACK
1712         icon lookup flag and implement it.  (#396901, Luca Ferreti)
1713         
1714 2007-04-18  Richard Hult  <richard@imendio.com>
1715
1716         * gdk/quartz/gdkwindow-quartz.c:
1717         (gdk_window_quartz_process_updates_internal),
1718         (gdk_window_quartz_process_all_updates),
1719         (gdk_window_impl_quartz_process_updates): Refactor the process 
1720         updates functions to share code between them. Also fixes bug 
1721         #427660 by not updating larger regions than necessary.
1722
1723 2007-04-18  Matthias Clasen  <mclasen@redhat.com>
1724
1725         * gdk/gdkregion-generic.h (GROWREGION): Handle the case
1726         of nRects == 0 correctly.  
1727         
1728 2007-04-18  Emmanuele Bassi  <ebassi@gnome.org>
1729
1730         * gtk/gtkrecentmanager.c (gtk_recent_manager_lookup_item): Fix
1731         a leak by not increasing the refcount of the GtkRecentInfo
1732         object when returning it (thanks to Matthias Clasen).
1733
1734 2007-04-16  Alexander Larsson  <alexl@redhat.com>
1735
1736         * gtk/gtkprintoperation.c (gtk_print_operation_run):
1737         Make async print preview work by actually starting
1738         the print process in that case (#424168)
1739
1740 2007-04-14  Yevgen Muntyan <muntyan@tamu.edu>
1741
1742         * gtk/gtkselection.c (selection_get_text_plain): fixed
1743         wrong g_convert_with_fallback() call which caused
1744         gtk_selection_data_get_text() return invalid UTF-8 for
1745         non-ASCII text in text/plain selection (#382824).
1746
1747 2007-04-12  Jakub Steiner <jimmac@ximian.com>
1748
1749         * gtk/stock-icons/*: update the stock icons to follow the Tango
1750                 style guidelines
1751
1752 2007-04-11  Chris Wilson  <chris@chris-wilson.co.uk>
1753
1754         * gtk/gtkiconfactory.c (_gtk_icon_factory_list_ids):
1755         * gtk/gtkstock.c (gtk_stock_list_ids):
1756             Switch over to use glib's new g_hash_table_get_keys() rather
1757             than our own static implementation.
1758
1759         * gtk/gtkiconfactory.h: Update to return a GList.
1760
1761         * configure.in: Bump required version to 2.13.1
1762
1763 2007-04-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1764
1765         * gdk/quartz/gdkeventloop-quartz.c: Protect the polling thread
1766           setup and shutdown function by mutexes and read the wakeup
1767           pipe unconditionally and unblocking. This should make the main
1768           loop always be woken up when using g_idle_add() from another
1769           thread in the Quartz backend (#425271).
1770
1771 2007-04-10  Matthias Clasen  <mclasen@redhat.com>
1772
1773         * gdk/x11/xsettings-client.[hc]: Change the XSettingsWatchFunc
1774         to return a Bool to indicate success. Update callers and 
1775         implementors. Based on a patch by Owen Taylor.
1776         
1777         * gdk/x11/gdkevents-x11.c (gdk_xsettings_watch_cb): Don't
1778         leak a reference to gdkwin.
1779
1780 2007-04-07  Xan Lopez  <xan@gnome.org>
1781
1782         * gtk/gtknotebook.c (gtk_notebook_class_init): 
1783         s/arrow-size/arrow-spacing in the arrow-spacing
1784         style property docs.
1785
1786 2007-04-06  Richard Hult  <richard@imendio.com>
1787
1788         * gdk/quartz/: Clean up namespaces to make the code more
1789         maintainable.
1790
1791         * gdk/quartz/gdkdrawable-quartz.c:
1792         * gdk/quartz/gdkgc-quartz.c: Fix bug #418384, alignment of tiled
1793         images, by setting the pattern phase for the CG pattern.
1794
1795 2007-04-04  Kristian Rietveld  <kris@imendio.com>
1796
1797         * gtk/gtktooltip.c (tooltip_browse_mode_expired),
1798         (gtk_tooltip_hide_tooltip), (tooltip_popup_timeout),
1799         (gtk_tooltip_start_delay): use new gdk_threads API.
1800
1801 2007-04-03  Behdad Esfahbod  <behdad@gnome.org>
1802
1803         * gtk/gtksettings.c (settings_update_font_options): Don't set
1804         metrics-hinting font option.  Rely on the default value which is
1805         on for all raster cairo surfaces. (#425985)
1806
1807 2007-04-03  LoĂŻc Minier  <lool@dooz.org>
1808
1809         * gdk/x11/gdkscreen-x11.c: (check_xfree_xinerama): Revert to
1810         non-xinerama mode when XineramaQueryScreens returns NULL; patch from
1811         Simon McVittie; #425786.
1812
1813 2007-04-02  Michael Natterer  <mitch@imendio.com>
1814
1815         * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): remove
1816         artifact from the time when type checking casts warned on NULL,
1817         some whitespace cleanup.
1818
1819 2007-04-01  Cody Russell  <bratsche@gnome.org>
1820
1821         * modules/engines/ms-windows/msw_style.c: Fix rendering of
1822         notebook tabs when they are bottom-oriented.  Fixes #399253.
1823
1824 2007-03-31  Elijah Newren  <newren gmail com>
1825
1826         * gdk/x11/gdkwindow-x11.c (setup_toplevel_window,
1827           gdk_x11_window_set_user_time):
1828         Patch from Matthias to add support for the
1829         _NET_WM_USER_TIME_WINDOW EWMH protocol; see #354213.
1830
1831         WARNING: This patch will make metacity <= 2.18.0 freeze on
1832         workspace switch.  This is due to a weird problem that should only
1833         affect window managers using gdk in-process for decoration drawing
1834         and which make an unsafe assumption relating to doing so (i.e. it
1835         should only affect metacity).  Upgrade your version of metacity if
1836         you hit this bug.
1837
1838 2007-03-29  Michael Natterer  <mitch@imendio.com>
1839
1840         Don't close menus on clicks on their border area (bug #423761).
1841         (modified patch from maemo-gtk).
1842
1843         * gtk/gtkmenu.c (gtk_menu_button_press)
1844         (gtk_menu_button_release): bail out early if the click was on the
1845         menu's border (not on any item and not outside the window).
1846
1847         (pointer_in_menu_window): new utility function which checks if
1848         passed root coords are inside the menu_shell or one of its
1849         parent shells.
1850
1851 2007-03-29  Michael Natterer  <mitch@imendio.com>
1852
1853         * gtk/gtkmenu.c: get rid of local GtkSettings variables by moving
1854         gtk_widget_get_settings() into the g_object_get() call. Some small
1855         indentation fixes.
1856
1857 2007-03-28  Matthias Clasen  <mclasen@redhat.com>
1858
1859         * modules/printbackends/cups/gtkcupsutils.[hc]:
1860         * modules/printbackends/cups/gtkprintbackendcups.c: Apply
1861         a patch by John Palmieri to make the cups print backend support
1862         raw printers.  
1863
1864 2007-03-28  Kristian Rietveld  <kris@imendio.com>
1865
1866         * gtk/gtkwidget.c (gtk_widget_set_tooltip_window): don't unref
1867         tooltip_window, since this is handled by set_qdata_full() already.
1868         (#412001, Torsten Schoenfeld).
1869
1870 2007-03-27  Tor Lillqvist  <tml@novell.com>
1871
1872         * modules/input/Makefile.am: Use LDADDS for im-multipress.la, too: 
1873
1874 2007-03-26  Christian Persch  <chpe@gnome.org>
1875
1876         * gtk/gtkrc.c: (gtk_rc_context_get): Initialise variable. Bug #423064.
1877
1878 2007-03-24  Kristian Rietveld  <kris@gtk.org>
1879
1880         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
1881         calculate the depth with the corrected real_cell_area and don't
1882         subtract horizontal_separator/2.
1883
1884 2007-03-24  Andreas Nilsson <andreas@andreasn.se>
1885
1886         * gtk-yes.png
1887         * gtk-no: More Tango love.
1888
1889 2007-03-23  Jakub Steiner <jimmac@ximian.com>
1890
1891         * gtk-dialog-authentication.svg
1892         * gtk-dialog-error.svg
1893         * gtk-dialog-info.svg
1894         * gtk-dialog-question.svg
1895         * gtk-dialog-warning.svg: Start with a Tango face-lift.
1896
1897 2007-03-23  Rodney Dawes  <dobey@novell.com>
1898
1899         * gtk/gtkicontheme.c: Fix a couple of comment typos (#421627)
1900
1901 2007-03-23  Matthias Clasen  <mclasen@redhat.com>
1902
1903         * gtk/gtkfilechooserdefault.c: Add a keybinding (C-h) to
1904         toggle whether to show hidden files.  (#344657, 
1905         Wouter Bolsterlee, Priit Laes, et al)
1906
1907 2007-03-23  Matthias Clasen  <mclasen@redhat.com>
1908
1909         * gtk/gtkfilechooserdefault.c: Add a keybinding (C-l) to
1910         toggle the visibility of the location entry.  (#383354, 
1911         John Pye, patch by Carlos Garnacho)
1912
1913 2007-03-22  Matthias Clasen  <mclasen@redhat.com>
1914
1915         * gtk/gtksettings.c (merge_color_scheme): Freeze property
1916         notification.
1917         * gtk/gtksettings.c (_gtk_settings_handle_event): Handle
1918         the gtk-color-scheme xsetting being unset.
1919
1920         * gtk/gtkrc.c (gtk_rc_reparse_all_for_settings): Handle
1921         recursion locally.
1922
1923 2007-03-21  Matthias Clasen  <mclasen@redhat.com>
1924
1925         * gtk/gtkprintoperation-unix.c: Remove leftover debug spew.
1926
1927 2007-03-21  Rodney Dawes  <dobey@novell.com>
1928
1929         * gtk/gtk.symbols:
1930         * gtk/gtkicontheme.[ch]:
1931         * docs/reference/gtk/gtk-sections.txt:
1932         * tests/testicontheme.c:
1933         Add a new API call gtk_icon_theme_list_contexts so that one can
1934         choose icons from a theme by context (#420719)
1935         
1936 2007-03-21  Ross Burton  <ross@burtonini.com>
1937
1938         * gtk/gtktexttag.c:
1939         Document the ::event signal (#420703).
1940
1941 2007-03-20  Kristian Rietveld  <kris@gtk.org>
1942
1943         * gtk/gtktreeviewcolumn.c:
1944         * gtk/gtktreeprivate.h: add _gtk_tree_view_column_get_focus_area().
1945
1946         * gtk/gtktreeview.c (gtk_tree_view_clamp_column_visible): add
1947         focus_to_cell parameter, rework to handle clamping columns which
1948         are bigger than the available page size better,
1949         (gtk_tree_view_key_press): remove code handling moving the focus
1950         to other column headers,
1951         (gtk_tree_view_header_focus): add clamp_column_visible parameter,
1952         fix RTL support, don't wrap around when moving focus to other
1953         column headers, call gtk_tree_view_clamp_column_visible() instead
1954         of duplicating code,
1955         (gtk_tree_view_focus): only clamp the column visible when we are
1956         explicitly moving to another column header (fixes #399555, Charles
1957         Kerr),
1958         (gtk_tree_view_move_cursor_left_right): update call to
1959         gtk_tree_view_clamp_column_visible().
1960
1961 2007-03-19  Matthias Clasen <mclasen@redhat.com> 
1962
1963         * demos/gtk-demo/appwindow.c: Explicitly set the title on the
1964         about dialog.
1965
1966 2007-03-18  Matthias Clasen <mclasen@redhat.com> 
1967
1968         * gtk/gtkentrycompletion.c (gtk_entry_completion_compute_prefix):
1969         Ensure that the prefix is valid UTF-8.  (#419568, Nickolay V. Shmyrev)
1970
1971 2007-03-18  Matthias Clasen <mclasen@redhat.com> 
1972
1973         * modules/input/gtkimcontextmultipress.[hc]:
1974         * modules/input/im-multipress.conf:
1975         * modules/input/immultipress.c:
1976         * modules/input/README.multipress: Add the multipress input
1977         method.  (#417446, Johannes Schmid, Murray Cumming)
1978
1979         * modules/input/Makefile.am: Glue
1980
1981 2007-03-17  Chris Wilson  <chris@chris-wilson.co.uk>
1982
1983         * gdk/x11/gdkvisual-x11.c (_gdk_visual_init):
1984         Initialise nxvisuals to 0 in order to handle XGetVisualInfo()
1985         failures gracefully. (#419171)
1986
1987 2007-03-17  Emmanuele Bassi  <ebassi@gnome.org>
1988
1989         * gtk/gtkrecentaction.c (recent_chooser_set_property),
1990         (gtk_recent_action_set_property): Remove useless inlined
1991         function and propagate the properties to the GtkRecentChooser
1992         objects we create, instead of all the proxies.
1993
1994         (set_current_filter): Remove 'inline' marker.
1995
1996 2007-03-16  Emmanuele Bassi  <ebassi@gnome.org>
1997
1998         Apply changes suggested by Michael Natterer. (#338843)
1999
2000         * gtk/gtkaction.h:
2001         * gtk/gtkaction.c: Rename get_submenu() to create_menu();
2002         rename gtk_action_get_submenu() to gtk_action_create_menu().
2003
2004         * gtk/gtkrecentaction.c: Update for GtkAction change.
2005
2006         * gtk/gtkuimanager.c (update_node): Update for GtkAction change;
2007         also, use the menu from the GtkAction for both menuitem and
2008         toolitem nodes.
2009
2010 2007-03-16  Xan Lopez  <xan@gnome.org>
2011
2012         * gtk/gtkwidget.c: Fix documentation error in
2013         gtk_widget_set_redraw_on_allocate.
2014
2015 2007-03-16  Matthias Clasen  <mclasen@redhat.com>
2016
2017         * gtk/gtkprintunixdialog.c (printer_added_cb): Scroll to
2018         make the selected printer visible.  (#418403, Nickolay V. Shmyrev,
2019         patch by Christian Persch)
2020
2021 2007-03-15  Federico Mena Quintero  <federico@novell.com>
2022
2023         Merged from gtk-2-10:
2024
2025         * gtk/gtkfilechooserdefault.c (find_good_size_from_style):
2026         PANGO_PIXELS() gives us device units, which are *points* in
2027         pangocairo's parlance, but we want actual pixels.  So, get the
2028         screen's resolution to compute the actual number of pixels.
2029         Fixes bug #418585.
2030
2031 2007-03-15  Emmanuele Bassi  <ebassi@gnome.org>
2032
2033         * gtk/gtkrecentmanager.c (gtk_recent_manager_add_item): Remove
2034         unused GError; do not allocate GtkRecentData and use a variable
2035         on the stack. (#418673, Morten Welinder)
2036
2037 2007-03-15  Emmanuele Bassi  <ebassi@gnome.org>
2038
2039         * gtk/gtkaction.[ch]: Add GtkActionClass::get_submenu() vfunc:
2040         actions providing a menu item or a menu tool button with already
2041         a submenu should return the GtkMenu widget.
2042
2043         * gtk/gtkuimanager.c (update_node): If an action provides its
2044         own submenu, use it instead of adding an empty one
2045
2046         * gtk/gtkrecentaction.[ch]: Add GtkRecentAction, an action
2047         implementing the GtkRecentChooser interface for displaying the
2048         list of recently used files into menus and toolbars generated
2049         using GtkUIManager. (#338843)
2050
2051         * gtk/Makefile.am:
2052         * gtk/gtk.h:
2053         * gtk/gtk.symbols: Add GtkRecentAction API to the build.
2054
2055         * tests/testactions.c: Exercise the GtkRecentAction API.
2056
2057 2007-03-15  Chris Wilson  <chris@chris-wilson.co.uk>
2058
2059         * gtk/gtkicontheme.c (ensure_valid_themes), (rescan_themes),
2060         (gtk_icon_theme_rescan_if_needed): Protect ensure_valid_themes()
2061         from recursion, which can happen for example if the app tries to
2062         reload an icon from within a theme-changed handler. (#418531)
2063
2064 2007-03-15  Richard Hult  <richard@imendio.com>
2065
2066         * gdk/quartz/gdkmain-quartz.c: Add stubs for
2067         gdk_notify_startup_complete_with_id and gdk_window_set_startup_id
2068         here too.
2069
2070 2007-03-15  Emmanuele Bassi  <ebassi@gnome.org>
2071
2072         * gtk/gtkrecentmanager.c: Fix documentation errors. (Morten
2073         Welinder)
2074
2075 2007-03-15  Tor Lillqvist  <tml@novell.com>
2076
2077         * gdk/gdk.symbols: Add gdk_notify_startup_complete_with_id and
2078         gdk_window_set_startup_id.
2079
2080         * gdk/win32/gdkmain-win32.c: Add dummy implementations of the above.
2081
2082 2007-03-15  Emmanuele Bassi  <ebassi@gnome.org>
2083
2084         * gtk/gtkrecentchooserprivate.h:
2085         * gtk/gtkrecentchooserutils.c: Move filtering of the recent
2086         files list into the shared implementation; do the filtering
2087         before the sorting, so that we always clamp on the desired
2088         size. (#418219)
2089
2090         * gtk/gtkrecentchoosermenu.c: Remove the filtering of the
2091         list, as it's already been done.
2092
2093         * gtk/gtkrecentchooserdefault.c: Ditto; also remove the
2094         GtkTreeModelFilter: just reload the view if the sorting and
2095         filtering properties change.
2096
2097         * gtk/testrecentchoosermenu.c: Exercise the limit property.
2098
2099 2007-03-14  Michael Natterer  <mitch@imendio.com>
2100
2101         Make gtk_widget_set_extension_events() work on already realized
2102         widgets (bug #379550, Tommi Komulainen)
2103
2104         * gdk/x11/gdkinput.c (gdk_input_set_extension_events): allow to be
2105         called multiple times without leaking and work correctly when
2106         already realized (don't rely on a configure event following).
2107
2108         * gtk/gtkwidget.c (gtk_widget_set_extension_events_internal): new
2109         internal function which walks the GdkWindow tree and sets the
2110         extension events on all windows that belong to the widget.
2111
2112         (gtk_widget_realize)
2113         (gtk_widget_set_extension_events): use the new function.
2114
2115 2007-03-14  Emmanuele Bassi  <ebassi@gnome.org>
2116
2117         Various clean ups in the GtkRecent code. (see #338843)
2118
2119         * gtk/gtkrecentchooserdefault.c:
2120         * gtk/gtkrecentchoosermenu.c:
2121         * gtk/gtkrecentchooserprivate.h:
2122         * gtk/gtkrecentchooserutils.c: Move the recent chooser function
2123         for getting the sorted and clamped list of recent files from the
2124         manager outside the implementations.
2125
2126         * gtk/gtkrecentchooserdefault.c (chooser_set_sort_type): Repopulate
2127         the list when the sorting order changes.
2128
2129         (gtk_recent_chooser_default_dispose),
2130         (gtk_recent_chooser_default_finalize): Move object unref and
2131         source removal from finalize to dispose.
2132
2133         * gtk/gtkrecentchooser.c (gtk_recent_chooser_type_init): Relax the
2134         prerequisite for the GtkRecentChooser interface implementations,
2135         from GtkObject to GObject.
2136
2137         (gtk_recent_chooser_class_init): Use GTK_PARAM_* instead of
2138         G_PARAM_*
2139
2140 2007-03-13  Emmanuele Bassi  <ebassi@gnome.org>
2141
2142         Apply patch by Vytautas Liuolia for changing the startup
2143         notification id on a window in the X11 backend. (#347375)
2144
2145         * gdk/gdk.h:
2146         * gdk/gdkx.h:
2147         * gdk/x11/gdkdisplay-x11.c: Add gdk_notify_startup_complete_with_id()
2148         and gdk_x11_display_get_startup_notification_id().
2149
2150         * gdk/gdkwindow.h:
2151         * gdk/x11/gdkwindow-x11.c: Add gdk_window_set_startup_id().
2152
2153         * gtk/gtkwindow.h:
2154         * gtk/gtkwindow.c: Add gtk_window_set_startup_id(), used to
2155         change the startup notification id.
2156         
2157         (gtk_window_class_init), (gtk_window_init),
2158         (gtk_window_set_property): Add write-only "startup-id" property
2159         to GtkWindow.
2160
2161         (gtk_window_realize): Set the startup notification id
2162         on a GtkWindow if it's valid.
2163
2164         (gtk_window_map): If we have another valid startup notification
2165         id then finish the notification process.
2166
2167 2007-03-13  Matthias Clasen  <mclasen@redhat.com>
2168
2169         * gtk/gtknotebook.c (gtk_notebook_real_insert_page):
2170         Fix tabbed browsing in epiphany.  (#413664, Christian Persch)
2171
2172 2007-03-12  Matthias Clasen  <mclasen@redhat.com>
2173
2174         * gtk/gtksizegroup.c (gtk_size_group_add_widget): Clarify
2175         docs.  (#345844, Torsten Schoenfeld)
2176
2177         * gdk/x11/gdkevents-x11.c (gdk_display_add_client_message_filter):
2178         * gdk/gdkwindow.c (gdk_window_add_filter): Add
2179         cross-references.  (#351252, Vincent Untz)
2180
2181         * gtk/gtkprintoperation.c: Fix an oversight in an
2182         example.  (#381083, Ian Puleston)
2183
2184         * gtk/gtkcombobox.c: Clean up and clarify docs.  (#412484)
2185
2186 2007-03-12  Matthias Clasen  <mclasen@redhat.com>
2187
2188         * gtk/gtkspinbutton.c (gtk_spin_button_style_set): Set
2189         the background of the panel window on style changes. (#402144,
2190         Benjamin Berg)
2191
2192 2007-03-12  Matthias Clasen  <mclasen@redhat.com>
2193
2194         * gtk/gtkbindings.c (gtk_binding_entry_add_signal): Remove
2195         an obsolete comment.  (#402169, Xan Lopez)
2196
2197 2007-03-12  Matthias Clasen  <mclasen@redhat.com>
2198
2199         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_property):
2200         Don't copy PangoLanguage.  (#340031, Morten Welinder)
2201
2202 2007-03-12  Matthias Clasen  <mclasen@redhat.com>
2203
2204         * gtk/gtkfilechooserbutton.c (change_icon_theme_get_info_cb):
2205         Handle the row reference path being NULL.  (#410565, Joe Markus
2206         Clarke, patch by Chris Wilson)
2207
2208 2007-03-11  Matthias Clasen  <mclasen@redhat.com>
2209
2210         * tests/testiconview.c: Handle Menu key presses without
2211         crash.  (#385637, Christian Persch)
2212
2213 2007-03-11  Matthias Clasen  <mclasen@redhat.com>
2214
2215         * gtk/gtktooltips.c (gtk_tooltips_get_info_from_tip_window):
2216         Don't crash if active_tips_data is NULL.  (#382904, Li Yuan)
2217
2218 2007-03-11  Matthias Clasen  <mclasen@redhat.com>
2219
2220         * gtk/gtktextview.c (gtk_text_view_set_buffer): Set first_para_mark
2221         to NULL.  (#396805, Colin Leroy, patch by Mariano Suárez-Alvarez)
2222         
2223 2007-03-12  Kristian Rietveld  <kris@gtk.org>
2224
2225         * gtk/gtkfilechooserdefault.c (check_save_entry): immediately
2226         bail out if current_folder is NULL. (#350988, lots of reporters,
2227         modified patch by Jan Darmochwal).
2228
2229 2007-03-10  Kristian Rietveld  <kris@gtk.org>
2230
2231         * gtk/gtktreeview.c (gtk_tree_view_search_dialog_hide): only
2232         hide the search dialog and send focus events if the search dialog
2233         is currently visible.
2234
2235 2007-03-10  Richard Hult  <richard@imendio.com>
2236
2237         * gdk/quartz/gdkdrawable-quartz.c:
2238         (gdk_quartz_ref_cairo_surface): Reuse the surface during its lifetime.
2239         (gdk_quartz_drawable_get_context): Update for the new quartz cairo 
2240         surface API (#410442). Don't lock focus unless called outside of an 
2241         expose event.
2242         (gdk_quartz_drawable_release_context): Only flush the CG context and 
2243         unlock focus if called outside of expose.
2244         (_gdk_quartz_drawable_finish): New function, used to free the cached
2245         cairo surface.
2246
2247         * gdk/quartz/gdkwindow-quartz.c:
2248         (gdk_window_impl_quartz_begin_paint_region): A few small style changes.
2249         (_gdk_window_impl_quartz_get_type): No need to make the type info
2250         static.
2251         (gdk_window_quartz_process_all_updates): Move the autorelease pool
2252         allocation and freeing outside the loop.
2253         (_gdk_windowing_window_destroy): Finish the drawable.
2254         (move_resize_window_internal): Small cleanup and remove comment.
2255
2256         * gdk/quartz/gdkpixmap-quartz.c: Finish the drawable.
2257
2258 2007-03-10  Richard Hult  <richard@imendio.com>
2259
2260         * gdk/quartz/gdkprivate-quartz.h: Add missing function signature to fix
2261         a build warning.
2262
2263 2007-03-10  Richard Hult  <richard@imendio.com>
2264
2265         * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_get_name): Plug a leak.
2266
2267 2007-03-10  Richard Hult  <richard@imendio.com>
2268
2269         * gdk/quartz/GdkQuartzView.c: Remove unneccesary exposure mask check.
2270
2271 2007-03-10  Richard Hult  <richard@imendio.com>
2272
2273         * gdk/quartz/gdkevents-quartz.c: (gdk_screen_get_setting): Don't set
2274         the font name here, leave that to themes, fixes #387508.
2275
2276 2007-03-10  Kristian Rietveld  <kris@gtk.org>
2277
2278         * gtk/gtktreemodelsort.c (gtk_tree_model_sort_ref_node),
2279         (gtk_tree_model_sort_real_unref_node): when (un)reffing an
2280         element, also (un)ref its parent elements. (Fixes #364946,
2281         reported by many, testcase by Andreas Koehler).
2282
2283 2007-03-10  Matthias Clasen <mclasen@redhat.com>
2284
2285         * gtk/gtkprintoperation-unix.c: Initialize the do_preview
2286         field of PrintResponseData.  (#396703, Christian Persch)
2287
2288         * tests/print-editor.c: Plug some leaks.
2289
2290 2007-03-09  Matthias Clasen <mclasen@redhat.com>
2291
2292         * gtk/gtktextview.c (gtk_text_view_end_selection_drag):
2293         Get rid of the unused event argument. Update all callers.
2294
2295         * gtk/gtktextview.c (gtk_text_view_focus_out): Call
2296         gtk_text_view_end_selection_drag.  (#351671, Boyd Timothy)
2297
2298 2007-03-09  Matthias Clasen <mclasen@redhat.com>
2299
2300         * modules/input/gtkimcontextxim.c 
2301         (gtk_im_context_xim_filter_keypress): Don't commit
2302         modifier-adorned characters.  (#331369, #335796, Lin Ma
2303         and others)
2304
2305 2007-03-09  Matthias Clasen <mclasen@redhat.com>
2306
2307         * Everywhere: Remove unnecessary NULL checks before
2308         g_free().  (#369666, Morten Welinder, Djihed Afifi)
2309
2310         * configure.in: Check for ftw.h
2311
2312 2007-03-09  Matthias Clasen <mclasen@redhat.com>
2313
2314         * gtk/gtkfilesystemwin32.c (get_icon_path): Remove
2315         C99isms.  (#416525, Kazuki Iwamoto)
2316
2317 2007-03-09  Tor Lillqvist  <tml@novell.com>
2318
2319         * README.win32: Update.
2320
2321 2007-03-08  Matthias Clasen <mclasen@redhat.com>
2322
2323         * gdk/x11/gdkasync.c (send_event_handler): Defer the callbacks
2324         to an idle to avoid deadlock with xcb-ified libX11.  (#413032,
2325         Sebastian Dröge)
2326
2327 2007-03-08  Matthias Clasen <mclasen@redhat.com>
2328
2329         * gtk/gtknotebook.c (gtk_notebook_real_insert_page):
2330         Set child visibility to FALSE here; it will be turned
2331         back on in switch_page.  (#413664, Carlos Garnacho)
2332         
2333 2007-03-08  Mathias Hasselmann <mathias.hasselmann@gmx.de>
2334
2335         * modules/engines/ms-windows/msw_style.c: Use proper border style
2336         when drawing shadow of scrolled windows on Windows XP (#168326)
2337         * modules/engines/ms-windows/xp_theme.c: Explicitly set size of
2338         element_part_map array to ensure it always is large enough.
2339         
2340 2007-03-08  Mathias Hasselmann <mathias.hasselmann@gmx.de>      
2341
2342         * gtk/gtkcombobox.c: Add shadow-type style property, set shadow-type
2343         property of GtkEntry accordingly, unify size-allocation of toggle
2344         button (#411123, patch from Mathias Hasselmann).
2345         * gtk/gtkentry.c: Add shadow-type property. Query style properties
2346         on style changes only (#411123, patch from Mathias Hasselmann).
2347         * modules/engines/ms-windows/msw_style.c: Drop combo_box_draw_box
2348         hack as GtkComboBox emits drawing requests now (#411123, patch 
2349         from Mathias Hasselmann).
2350         
2351 2007-03-08  Mathias Hasselmann <mathias.hasselmann@gmx.de>
2352
2353         * gtk/gtkscrolledindow.c: Improve look of GtkScrolledWindow on Windows
2354         by implementing a scrollbars-within-bevel style property. (#168326)
2355         
2356 2007-03-08  Mathias Hasselmann <mathias.hasselmann@gmx.de>
2357
2358         * gtk/gtkfilesystemwin32.c: Use Windows shell icons. Icons are
2359         stored in the current theme with the name
2360         "gtk-win32-shell-icon;PATH;INDEX". PATH and INDEX reference shell
2361         icons as reported by SHGetFileInfoW. (#412221)
2362
2363 2007-03-07  Matthias Clasen <mclasen@redhat.com>
2364
2365         * gtk/gtkexpander.c (gtk_expander_paint_focus): Draw the
2366         focus around the arrow if there is no label widget.  
2367         (#124045, Cody Russell)
2368
2369 2007-03-07  Matthias Clasen <mclasen@redhat.com>
2370
2371         * gtk/gtkcombo.c: (gtk_combo_init):
2372         * gtk/gtkcombobox.c: (gtk_combo_box_set_popup_widget),
2373         (gtk_combo_box_menu_setup):
2374         Set names on the popup widgets to make them themable. (#414975, 
2375         Benjamin Berg)
2376
2377 2007-03-07  Michael Natterer  <mitch@imendio.com>
2378
2379         * gtk/gtkcellrendereraccel.c: use multihead safe ungrab functions
2380         instead of gdk_keyboard_ungrab() and gdk_pointer_ungrab(), remove
2381         empty finalize() implementation, some cosmetic cleanup
2382         (bug #415645).
2383
2384 2007-03-06  Chris Wilson  <chris@chris-wilson.co.uk>
2385
2386         * gtk/gtkicontheme.c (update_current_theme), (gtk_icon_theme_init),
2387         (do_theme_change), (gtk_icon_theme_set_custom_theme),
2388         (load_themes):
2389         Be careful not to trigger a style reset before we have loaded
2390         the icon theme. (#414875).
2391
2392 2007-03-06  Tor Lillqvist  <tml@novell.com>
2393
2394         * gdk/Makefile.am
2395         * gtk/Makefile.am: Further fixes for building on Win32 outside
2396         srcdir. (#413492, Mathias Hasselmann)
2397
2398 2007-03-04  Ihar Hrachyshka <iharh@gnome.org>
2399
2400         * configure.in: Added be@latin to ALL_LINGUAS. Problems seems to be
2401         fixed.
2402
2403 2007-03-04  Claudio Saavedra  <csaavedra@alumnos.utalca.cl>
2404
2405         * configure.in: Removed be@latin from ALL_LINGUAS, as it's currently
2406         breaking the build.
2407
2408 2007-03-04  Ihar Hrachyshka <iharh@gnome.org>
2409
2410         * configure.in: Added be@latin to ALL_LINGUAS
2411
2412 2007-03-03  Guillaume Savaton <llumeao@gmail.com>
2413
2414         * configure.in: Added Esperanto (eo) to ALL_LINGUAS
2415
2416 2007-03-01  Matthias Clasen <mclasen@redhat.com>
2417
2418         * gtk/gtksettings.c: Always store gtk-color-scheme
2419         values from all sources in the ColorSchemeData struct
2420         and ignore the property_value for gtk-color-scheme.
2421         This fixes #412596, reported by Thomas Wood.
2422
2423 2007-02-28  Matthias Clasen <mclasen@redhat.com>
2424
2425         * gtk/gtksettings.c: Make color scheme update properly
2426         when changing themes.  (#402131, Benjamin Berg)
2427
2428 2007-02-28  Matthias Clasen <mclasen@redhat.com>
2429
2430         * gtk/gtkrc.c: Don't leak references to the color-hash 
2431         gotten from GtkSettings.  (#409357, Benjamin Berg)
2432
2433 2007-02-28  Tristan Van Berkom <tvb@gnome.org>
2434
2435         * gtk/gtkradiobutton.c: Fixed a warning from
2436         g_object_set (radiobutton, "group", NULL, NULL).
2437
2438 2007-02-26  Matthias Clasen <mclasen@redhat.com>
2439
2440         Apply a patch by Carlos Garnacho to fix several problems
2441         with filechooser size handling (#325477, #151169, 143213,
2442         #153785)
2443
2444         * gtk/gtkfilechooserdefault.c: Increase NUM_LINES slightly.
2445         (browse_widgets_create): Don't force the paned position to 200.
2446         (find_good_size_from_style): Take the size of the extra widget
2447         into account.
2448
2449         * gtk/gtkfilechooserdialog.c (file_chooser_widget_update_hints):
2450         Accept a minimal width parameter. Update all callers.
2451
2452 2007-02-26  Matthias Clasen <mclasen@redhat.com>
2453
2454         * gtk/gtkprintunixdialog.c: Change the label to "Pages per side",
2455         which is more accurate, suggested by Tim Waugh. String change! 
2456
2457 2007-02-26  Matthias Clasen <mclasen@redhat.com>
2458
2459         * gtk/gtkprinteroptionwidget.c: Make the folder selection for
2460         print-to-file work. Reported by Ian Collier.
2461
2462 2007-02-26  Chris Wilson  <chris@chris-wilson.co.uk>
2463
2464         Bug 409101 â€“ invalid read to gtkicontheme.c insert_theme(), might cause gnome-panel crash
2465
2466         * gtk/gtkicontheme.c: (scan_directory):
2467                 Reorder the replacement of the shared base_name key, so that we
2468                 avoid dereferencing the string in the icon_theme->all_icon
2469                 hash table after freeing it from the dir->icons hash table.
2470
2471 2007-02-26  Tor Lillqvist  <tml@novell.com>
2472
2473         * gdk/win32/gdkwindow-win32.c (gdk_window_set_icon_name): Add
2474         comment clarifying that "icon name" here is not related to the
2475         freedesktop.org icon naming stuff.
2476
2477 2007-02-23  Dom Lachowicz  <domlachowicz@gmail.com>
2478
2479         * modules/engines/ms-windows/msw_style.c: Bug 411118 - bad bevel for
2480         progress bar on windows classic. Match from Mathias Hasselmann.
2481         
2482 2007-02-19  Tor Lillqvist  <tml@novell.com>
2483
2484         * gdk/win32/gdkinput.c
2485         (gdk_device_finalize, gdk_device_class_init): Remove.
2486         (gdk_device_get_type): Drop class init function. The X11 version
2487         doesn't have one either.
2488         (gdk_devices_list): Call gdk_display_list_devices() on _gdk_display.
2489         (gdk_display_list_devices): Check that the argument is
2490         _gdk_display.
2491
2492         * gdk/win32/gdkinput-win32.h (GdkAxisInfo, GdkDevicePrivate):
2493         Cleanup: remove unused fields.
2494         * gdk/win32/gdkinput-win32.c: Corresponding changes. Fix function
2495         names in a few debugging printouts.
2496
2497 2007-02-18  Matthias Clasen  <mclasen@redhat.com>
2498
2499         * gtk/gtktextlayout.c (gtk_text_layout_move_iter_visually):
2500         Ignore invisible text when going to end of the previous line.
2501         (#382565)
2502
2503 2007-02-18  Richard Hult  <richard@imendio.com>
2504
2505         * gdk/quartz/gdkwindow-quartz.c:
2506         (gdk_window_quartz_process_all_updates),
2507         (_gdk_windowing_window_destroy): Setup release pools to plug two leaks,
2508         patch from Erik van Pienbroek, fixes bug #396649.
2509
2510 2007-02-18  Richard Hult  <richard@imendio.com>
2511
2512         * gdk/quartz/gdkevents-quartz.c: Add stub for 
2513         gdk_display_add_client_message_filter, patch from Taybin Rutkin. Fixes
2514         bug #405870.
2515
2516         * gdk/quartz/gdkprivate-quartz.h: Add prototypes to fix build warnings.
2517
2518 2007-02-18  Richard Hult  <richard@imendio.com>
2519
2520         * gdk/quartz/GdkQuartzView.h:
2521         * gdk/quartz/GdkQuartzWindow.h:
2522         * gdk/quartz/gdkquartz.h: Import AppKit.h instead of Quartz.h.
2523         * gdk/quartz/gdkscreen-quartz.c: (get_mm_from_pixels): Don't use 
2524         userSpaceScaleFactor for 10.3. Those changes bring us closer to working
2525         on panther, patch from Mathias Hasselmann.
2526         
2527         * gdk/quartz/gdkeventloop-quartz.c: Add includes to fix build warnings.
2528
2529 2007-02-16  Behdad Esfahbod  <behdad@gnome.org>
2530
2531         * gdk/gdkpango.c (gdk_pango_layout_get_clip_region): Use PANGO_PIXELS
2532         instead of division. (#334617)
2533
2534 2007-02-16  Kristian Rietveld  <kris@gtk.org>
2535
2536         * gtk/gtktreeprivate.h: add cursor_offset field.
2537
2538         * gtk/gtktreeview.c (gtk_tree_view_init),
2539         (gtk_tree_view_move_cursor_page_up_down): fix off by one error
2540         in page up/down handling by memorizing the offset into the cursor
2541         row.  (Fixes #399809, reported by Bruce Bowler).
2542
2543 2007-02-16  Kristian Rietveld  <kris@gtk.org>
2544
2545         * gtk/gtktreeview.c (gtk_tree_view_search_dialog_hide): send
2546         a focus-in event to the tree view after hiding the search dialog.
2547         (#356515, Rich Burridge, Peter Parente).
2548
2549 2007-02-16  Kristian Rietveld  <kris@imendio.com>
2550
2551         * tests/testtooltips.c (query_tooltip_text_view_cb): also handle
2552         keyboard tooltips. (#408325, Matthias Clasen).
2553
2554 2007-02-16  Xan Lopez  <xan@gnome.org>
2555
2556         * gtk/gtkcombobox.c (gtk_combo_box_expose_event): Cleanup the logic
2557         in expose event handler. Reviewed by Matthias Clasen, #406112
2558
2559 2007-02-16  Matthias Clasen  <mclasen@redhat.com>
2560
2561         * gtk/gtkmain.c: Run pre_parse_hook only once.  (#403139, Kjartan
2562         Maraas)
2563
2564 2007-02-15  Matthias Clasen  <mclasen@redhat.com>
2565
2566         * gdk/x11/gdmain-x11.c (_gdk_xgrab_check_button_event): Be more
2567         careful when checking for ButtonRelease events that end implicit
2568         grabs.  (#386618, Christof KrĂĽger)
2569
2570 2007-02-15  Matthias Clasen  <mclasen@redhat.com>
2571
2572         * gtk/gtktextbtree.c (_gtk_text_btree_delete): Free the lines
2573         even if there are no views.  (#408018, Albert Huang)
2574
2575 2007-02-15  Cody Russell  <bratsche@gnome.org>
2576
2577         * gdk/win32/gdkevents-win32.c: Make sure we get enough main context 
2578         iterations while we're resizing so that the window contents are resized 
2579         more smoothly (#389765).
2580
2581         * gdk/win32/gdkevents-win32.c: Fix flickering widgets when window contents
2582         are resized (#310522).
2583
2584 2007-02-15  Matthias Clasen  <mclasen@redhat.com>
2585
2586         * gtk/updateiconcache.c: Handle symlinked .icon files 
2587         intelligently; also avoid storing duplicate strings.
2588
2589 2007-02-15  Michael Natterer  <mitch@imendio.com>
2590
2591         * gtk/gtkmenushell.c: remove two antique function typedefs that
2592         are probably obsolete for ages.
2593
2594 2007-02-14  Stefan Kost  <ensonic@users.sf.net>
2595
2596         reviewed by: Matthias Clasen  <mclasen@redhat.com>
2597
2598         * configure.in: determine installation prefixes of dependent libs to
2599         crossreference docs (#407146).
2600
2601 2007-02-14  Kristian Rietveld  <kris@imendio.com>
2602
2603         * gtk/gtktooltip.c (child_location_foreach): check return value
2604         of gtk_widget_translate_coordinates() so we cannot end up
2605         using uninitialized x, y values.  (#407863, patch from Carlos
2606         Garnacho).
2607
2608 2007-02-14  Kristian Rietveld  <kris@imendio.com>
2609
2610         * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_realize_button):
2611         use TREE_VIEW_DRAG_WIDTH/2 when calculating the drag window
2612         position instead of a hardcoded value.  (Taken from maemo-gtk).
2613
2614 2007-02-14  Michael Natterer  <mitch@imendio.com>
2615
2616         * gtk/gtkmenu.c (gtk_menu_motion_notify): don't forget to set the
2617         state of the synthesized GDK_ENTER_NOTIFY event. Fix taken from
2618         maemo-gtk.
2619
2620 2007-02-13  Kristian Rietveld  <kris@imendio.com>
2621
2622         * gtk/gtktooltip.c (gtk_tooltip_hide_tooltip): stop any
2623         pending tooltip timeout. (Fixes #406110, Carlos Garnacho).
2624
2625 2007-02-10  Emmanuele Bassi  <ebassi@gnome.org>
2626
2627         * gtk/gtkrecentchoosermenu.c: Fix the english of the comment;
2628         remove some type checking; use better variable naming for the
2629         internal menu item markers.
2630
2631 2007-02-09  Emmanuele Bassi  <ebassi@gnome.org>
2632
2633         * gtk/gtkrecentchoosermenu.c: Add support for both prepending
2634         and appending custom menu items.
2635
2636         (gtk_recent_chooser_menu_constructor): Add a placeholder menu
2637         item for the empty menu case, and for giving us a starting
2638         point for the recent items populating process.
2639
2640         (gtk_recent_chooser_menu_insert_item),
2641         (gtk_recent_chooser_menu_dispose_items): Insert an item at
2642         the position following the placeholder (and find that position
2643         if needed).
2644
2645         (idle_populate_func), (idle_populate_clean_up): Show the
2646         placeholder menu item, instead of creating one each time.
2647
2648         (gtk_recent_chooser_menu_populate): Kill some indirections
2649         and hide the placeholder before populating the menu.
2650
2651         (set_recent_manager): Remember to remove the idle population
2652         source if the manager changes.
2653
2654         * tests/testrecentchoosermenu.c: Test the appending and
2655         prepending of the menu items to the recent chooser menu
2656         widget.
2657
2658 2007-02-08  Emmanuele Bassi  <ebassi@gnome.org>
2659
2660         * gtk/gtkrecentchoosermenu.c (idle_populate_func): Keep count
2661         of the displayed items to build the menu items mnemonic instead
2662         of the overall item count. (#377164)
2663
2664         (idle_populate_clean_up): Append a menu item if all the items
2665         got filtered in the idle populate function. (#405696)
2666
2667         * tests/Makefile.am:
2668         * tests/testrecentchoosermenu.c: Add a test for the
2669         GtkRecentChooserMenu widget.
2670
2671 Thu Feb  8 13:07:08 2007  Tim Janik  <timj@imendio.com>
2672
2673         * applied patch from Xan Lopez which adds GTK_BUTTONBOX_CENTER to
2674         GtkButtonBox (bug #336159).
2675
2676         * gtk/gtkenums.h:
2677         * gtk/gtkvbbox.c, gtk/gtkhbbox.c, gtk/gtkbbox.c:
2678         support GTK_BUTTONBOX_CENTER.
2679
2680         * tests/testbbox.c: new button box test, which allows testing of 
2681         the various button box properties.
2682
2683         * tests/testgtk.c: added GTK_BUTTONBOX_CENTER. to button box test.
2684
2685 2007-02-07  Cody Russell  <bratsche@gnome.org>
2686
2687         * gdk/gdk.symbols: Add gdk_event_request_motions
2688
2689 Wed Feb  7 19:03:28 2007  Tim Janik  <timj@gtk.org>
2690
2691         * gtk/gtkentry.c (gtk_entry_motion_notify): fixed motion request 
2692         condition which was wrongly ported with my last commit.
2693
2694 Tue Feb  6 15:53:59 2007  Tim Janik  <timj@imendio.com>
2695
2696         * gtk/gtktextview.c (gtk_text_view_motion_event):
2697         * gtk/gtkspinbutton.c (gtk_spin_button_motion_notify):
2698         * gtk/gtkaboutdialog.c (credits_motion_notify_event):
2699         * gtk/gtkhruler.c (gtk_hruler_motion_notify):
2700         * gtk/gtkvruler.c (gtk_vruler_motion_notify): 
2701         * gtk/gtkentry.c (gtk_entry_motion_notify):
2702         * gtk/gtktooltip.c (_gtk_tooltip_handle_event):
2703         * gtk/gtkhsv.c (gtk_hsv_motion): call gdk_event_request_motions()
2704         for new motion events after receiving motion hints.
2705
2706         * gdk/gdkevents.[hc]: added gdk_event_request_motions().
2707
2708 2007-02-06  Kristian Rietveld  <kris@imendio.com>
2709
2710         * gtk/gtktooltip.c (find_topmost_widget_coords_from_event):
2711         remove unused get of has_tooltip.
2712
2713         * tests/testtooltips.c (query_tooltip_tree_view_cb): use the
2714         portable g_snprintf instead of snprintf.
2715
2716 2007-02-06  Michael Natterer  <mitch@imendio.com>
2717
2718         * gtk/gtktooltip.c (gtk_tooltip_finalize): chain up.
2719
2720         (gtk_tooltip_show_tooltip): move variables and code to local
2721         scope. Fixes warnings about maybe uninitialized variables.
2722
2723 2007-02-06  Kristian Rietveld  <kris@imendio.com>
2724
2725         New tooltips API.
2726
2727         * gtk/Makefile.am
2728         * gtk/gtk.h
2729         * gtk/gtk.symbols: build system foo.
2730
2731         * gtk/gtkmain.c (gtk_main_do_event): call tooltip event handler
2732         hook for appropriate events.
2733
2734         * gtk/gtkmarshalers.list: add BOOLEAN:INT,INT,BOOLEAN,OBJECT.
2735
2736         * gtk/gtkrc.c: add style for gtk-tooltip.
2737
2738         * gtk/gtksettings.c (gtk_settings_class_init): make the
2739         different tooltip timeouts configurable.
2740
2741         * gtk/gtkwidget.[ch]: add new properties, signals, make sure
2742         tooltips are hidden on unmap, destroy, update window event
2743         mask on realize, hook into focus change and show help
2744         handlers.
2745
2746         * gtk/gtkwindow.h: move GtkWindow typdef to gtkwidget.h ...
2747
2748         * gtk/gtktooltip.[ch]: new files.
2749
2750         * tests/Makefile.am
2751         * tests/testtooltips.c: add test application.
2752
2753 2007-02-05  Dom Lachowicz <domlachowicz@gmail.com>
2754
2755         * modules/engines/ms-windows/msw_style.c: Fix bug 404506, caused
2756         by prematurely releasing a DC. By Hiroyuki Yamamoto
2757         * modules/engines/ms-windows/msw_style.c: Fix bug 403470 - leaking 
2758         pixbufs when drawing rotated tabs. By Daniel Atallah
2759         
2760 2007-02-05  Michael Natterer  <mitch@imendio.com>
2761
2762         * gtk/gtksettings.c: add new boolean settings gtk-enable-accels
2763         and gtk-enable-mnemonics which enable/disable accelerators and
2764         mnemonics (bug #72375, based on a patch from Tommi Komulainen).
2765
2766         * gtk/gtkwindow.c (gtk_window_activate_key)
2767         * gtk/gtkmenushell.c (gtk_menu_shell_key_press): don't invoke them
2768         if the resp. setting is FALSE.
2769
2770         * gtk/gtkaccellabel.c (gtk_accel_label_refetch)
2771         * gtk/gtklabel.c (gtk_label_set_pattern_internal): don't display
2772         them if the setting is FALSE.
2773
2774         * gtk/gtklabel.c: added signal connection to the screen's settings
2775         object and traverse all widgets on the screen when the setting
2776         changes. It's slightly ugly to also update GtkAccelLabels here,
2777         but less ugly than connecting and traversing all widgets twice.
2778
2779 2007-02-05  Michael Natterer  <mitch@imendio.com>
2780
2781         * gtk/gtktextbuffer.h (enum GtkTextBufferTargetInfo): changed
2782         values from G_MAXUINT-0, -1, -2 to -1, -2, -3 so we stay within
2783         ansi C enum value limits. Fixes bug #46757.
2784
2785 2007-02-03  Soren Sandmann <sandmann@daimi.au.dk>
2786
2787         * gtk/gtksequence.[ch]: Remove these files since GSequence has
2788         been moved into GLib.
2789
2790         * gtk/gtkliststore.c: Port to GSequence instead of GtkSequence.
2791
2792         * configure.in: Require glib-2.13.0
2793         
2794 2007-02-04  Tor Lillqvist  <tml@novell.com>
2795
2796         * gdk/win32/gdkcursor-win32.c: Don't define BITMAPV5HEADER on
2797         mingw with w32api >= 3.8, which has it in wingdi.h. (#403896)
2798
2799 2007-02-02  Kristian Rietveld  <kris@gtk.org>
2800
2801         * gtk/gtktreeview.c (gtk_tree_view_row_changed): remove unused
2802         style_get of vertical-separator. (#403165, Chris Wilson).
2803
2804 2007-02-02  Christian Persch  <chpe@svn.gnome.org>
2805
2806         * gtk/gtkfilechoosersettings.c: (get_config_filename),
2807         (ensure_settings_read), (_gtk_file_chooser_settings_init),
2808         (_gtk_file_chooser_settings_set_show_hidden),
2809         (_gtk_file_chooser_settings_set_expand_folders),
2810         (_gtk_file_chooser_settings_save): Use a simple key file instead of a
2811         markup file. Bug #399592.
2812
2813 2007-02-02  Mariano Suárez-Alvarez  <mariano@gnome.org>
2814
2815         * gtk/gtkcellrenderertext.c(gtk_cell_renderer_text_class_init):
2816         be a little more helpful with the docs on GtkCellRendererText:alignment.
2817         Bug #403409.
2818
2819 2007-02-01  Michael Natterer  <mitch@imendio.com>
2820
2821         * gtk/gtkmenu.c (gtk_menu_paint): pass &event->area to
2822         gtk_paint_box() calls.
2823
2824 2007-02-01  Michael Natterer  <mitch@imendio.com>
2825
2826         * gtk/gtkmenu.c (gtk_menu_button_press)
2827         (gtk_menu_button_release)
2828         (gtk_menu_button_scroll): remove redundant and confusing
2829         if (GTK_IS_MENU (widget)) checks because "widget" is always a
2830         GtkMenu here.
2831
2832 Thu Feb  1 12:22:06 2007  Tim Janik  <timj@imendio.com>
2833
2834         * gtk/gtkcombobox.c (gtk_combo_box_list_destroy): remove extra reference
2835         that gtkcombobox keeps on priv->popup_widget if it's a tree view.
2836
2837 2007-01-31  Christian Persch  <chpe@svn.gnome.org>
2838
2839         * gtk/gtkaboutdialog.c: (update_credits_button_visibility),
2840         (gtk_about_dialog_set_authors), (gtk_about_dialog_set_documenters),
2841         (gtk_about_dialog_set_artists),
2842         (gtk_about_dialog_set_translator_credits): Hide the Credits button iff
2843         there are no credits to show. Bug #402806.
2844
2845 2007-01-31  Tor Lillqvist  <tml@novell.com>
2846
2847         * gdk/win32/gdkinput-win32.c (print_cursor): New debugging
2848         function.
2849         (_gdk_input_wintab_init_check): Call it when debugging output is
2850         requested.
2851         (_gdk_input_wintab_init_check): Skip duplicated cursors for Wacom
2852         tablets. The Wacom driver reports duplicated cursors with
2853         physid==0. Fix verified by Robert Ă–gren.
2854
2855 2007-01-30  Felix Riemann  <friemann@svn.gnome.org>
2856
2857         * modules/printbackends/file/gtkprintbackendfile.c:
2858         (file_printer_get_options): Fix leaked string. Fixes bug #402565.
2859
2860 2007-01-30  Matthias Clasen  <mclasen@redhat.com>
2861
2862         * gdk/x11/gdkwindow-x11.c (gdk_x11_window_move_to_current_desktop):
2863         (gdk_x11_window_set_user_time): Be more careful about toplevel
2864         possibly being NULL.  (#402453, Sebastian Bacher)
2865
2866 Tue Jan 30 12:09:56 2007  Tim Janik  <timj@gtk.org>
2867
2868         * gtk/gtksettings.c: cleaned up ::color-hash registration to not abuse
2869         class_n_properties and leave an uninitialized value array behind.
2870
2871 2007-01-29  Michael Natterer  <mitch@imendio.com>
2872
2873         * gtk/gtkmenuitem.c (gtk_menu_item_select)
2874         (gtk_menu_item_deselect): queue a draw on the parent_menu_item of
2875         this menu item's menu, to enable themeing menu items depending on
2876         whether something is selected in their submenu (patch taken from
2877         maemo-gtk).
2878
2879 2007-01-28  Matthias Clasen  <mclasen@redhat.com>
2880
2881         * gtk/gtktoolbar.c: Reinstate gtk_toolbar_content_new_compatibility()
2882         that was mistakenly "cleaned up" a while ago. Also
2883         revert a problematic change to the screen_changed
2884         handler.  (#401598, Søren Sandmann)
2885
2886 2007-01-28  Matthias Clasen  <mclasen@redhat.com>
2887
2888         * gtk/gtkframe.c (gtk_frame_size_allocation): Fix a 
2889         problem with large y thickness.  (#136592, Xan Lopez)
2890
2891 2007-01-28  Matthias Clasen  <mclasen@redhat.com>
2892
2893         * gtk/gtkaction.c (gtk_action_new): Use canonical
2894         property names.  
2895
2896 2007-01-27  Matthias Clasen  <mclasen@redhat.com>
2897
2898         * gtk/gtknotebook.c (gtk_notebook_draw_arrow):
2899         (gtk_notebook_draw_focus): Avoid some unnecessary 
2900         gtk_widget_get_style() calls.
2901
2902 2007-01-27  Matthias Clasen  <mclasen@redhat.com>
2903
2904         * gtk/gtktoolbar.c:
2905         * gtk/gtktoolitem.c:
2906         * gtk/gtktoolbutton.c: Rearrange things so that setting
2907         multiple properties causes not more than a single 
2908         reconstruction of the contents.
2909
2910         * gtk/gtkaction.c (connect_proxy): Set all tool button 
2911         properties in one go.
2912
2913 2007-01-27  Matthias Clasen  <mclasen@redhat.com>
2914
2915         * gtk/gtkstatusicon.c:
2916         * gtk/gtktrayicon-x11.c: Fix GtkStatusIcon to not
2917         take up space on the panel if it is invisible.  (340110, Christian
2918         Persch)
2919
2920         * tests/teststatusicon.c:
2921         * tests/Makefile.am: Updates
2922
2923 2007-01-27  Matthias Clasen  <mclasen@redhat.com>
2924
2925         * gtk/gtkfilesel.h:
2926         * gtk/gtkrc.h:
2927         * gtk/gtk.symbols: Add deprecation guards for gtk_rc_style_ref/unref
2928         and the old file selector.  (#348256)
2929
2930 2007-01-26  Matthias Clasen  <mclasen@redhat.com>
2931
2932         * gtk/gtkiconview.c: Documentation fixes (#400530, Anders Brander)
2933
2934 2007-01-26  Matthias Clasen  <mclasen@redhat.com>
2935
2936         * gtk/updateiconcache.c: Check the mtime of all directories,
2937         not just the toplevel, if ftw() is available.  (#331671, Behdad
2938         Esfahbod)
2939
2940         * configure.in: Check for ftw.h.
2941
2942 2007-01-26  Michael Natterer  <mitch@imendio.com>
2943
2944         * modules/input/gtkimcontextxim.c (gtk_im_context_xim_finalize):
2945         destroy the XIM only if it exists. While the code does look safe
2946         in general, there can be corner cases where the "reconnecting"
2947         boolean being FALSE does not correspond to the XIM being
2948         allocated (fixes #329450, fix taken from maemo-gtk).
2949
2950 Fri Jan 26 13:07:07 2007  Tim Janik  <timj@imendio.com>
2951
2952         * gtk/gtkstyle.c (draw_insertion_cursor): clamp cursor coordinates to
2953         window bounds (fix from Maemo Gtk).
2954
2955 2007-01-26  Michael Natterer  <mitch@imendio.com>
2956
2957         * gtk/gtkentrycompletion.c (gtk_entry_completion_insert_prefix):
2958         only block/unblock completion->priv->insert_text_id if it is
2959         actually connected. While this can't happen the way GtkEntry
2960         itself uses the completion, it's still public API and should not
2961         blindly call functions that will spit warnings (fix taken from
2962         maemo-gtk).
2963
2964 2007-01-25  Matthias Clasen  <mclasen@redhat.com>
2965
2966         * gdk/gdkwindow.c: Reduce locking overhead by not repeatedly getting
2967         the paintable iface.  
2968
2969 2007-01-24  Michael Natterer  <mitch@imendio.com>
2970
2971         * gtk/gtkwidget.c (gtk_widget_set_state): revert generic disabling
2972         of PRELIGHT state for the reasons given in bug #135666. Widget
2973         states are sometimes abused or otherwise used wrongly for historic
2974         reasons, causing this part of the patch to break e.g. menu items.
2975
2976 2007-01-24  Roozbeh Pournader  <roozbeh@farsiweb.info>
2977
2978         * README: Remove mention of no-longer-existing PATCH
2979         keyword in bugzilla. (#396899)
2980
2981 2007-01-23  Carlos Garcia Campos  <carlosgc@gnome.org>
2982
2983         * gtk/gtkpagesetup.c
2984         (gtk_page_setup_set_paper_size_and_default_margins): Fix memory leak.
2985         Fixes bug #399907. 
2986
2987 2007-01-22  Chris Wilson <chris@chris-wilson.co.uk>
2988
2989         Bug 399314 â€“ Add G_GNUC_WARN_UNUSED_RESULT to gtk_style_attach
2990
2991         * gtk/gtkstyle.h:
2992                 Cause gcc to issue a warning if the style returned from
2993                 gtk_style_attach is not used. Failure to update
2994                 widget->style causes some very difficult to reproduce bugs,
2995                 eg Bug 353498 â€“ crash in Terminal: changing icon theme.
2996
2997 2007-01-19  Michael Emmel  <mike.emmel@gmail.com>
2998
2999         * gdk/directfb/gdkevents-directfb.c: added fixes for window
3000         crossing events frm Attilio Fiandrotti<attilio.fiandrotti@gmail.com>
3001
3002 2007-01-19  Matthias Clasen  <mclasen@redhat.com>
3003
3004         * gtk/gtkcalendar.c: Fix build breakage.
3005
3006 2007-01-19  Kristian Rietveld  <kris@imendio.com>
3007
3008         * gtk/gtktreeview.c (gtk_tree_view_motion_bin_window),
3009         (add_scroll_timeout), (gtk_tree_view_drag_motion): factor out
3010         add_scroll_timeout().  (taken from maemo-gtk).
3011
3012 2007-01-18  Matthias Clasen  <mclasen@redhat.com>
3013
3014         * gtk/gtkcalendar.c: Fix problems with the initial
3015         focus in GtkCalendar.  (#397783, Vincent Untz)
3016
3017 2007-01-19  Robert Ă–gren  <gtk@roboros.com>
3018
3019         Fix for bug #143460 - missed tablet clicks on Windows
3020
3021         * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check):
3022         Request absolute reporting of tablet button state, and cut down
3023         the packet queue size a bit.
3024         (_gdk_input_other_event): Change button state handling
3025         accordingly. Also drop the no longer necessary code that detects
3026         missed clicks/releases for button 1. The switch to absolute button
3027         state should prevent missed events for all buttons. Additionally,
3028         swap button 2 and 3.
3029         (_gdk_input_grab_pointer): Don't reset button_state, that will only
3030         cause a new press event as soon as the next tablet packet arrives.
3031
3032 2007-01-19  Tor Lillqvist  <tml@novell.com>
3033
3034         Build Wintab support always on Windows. Don't require the Wintab
3035         SDK.
3036
3037         * configure.in: Drop the --with-wintab option. Drop the
3038         HAVE_WINTAB feature test macro and Automake variable.
3039
3040         * acconfig.h
3041         * config.h.win32.in: Drop HAVE_WINTAB.
3042
3043         * gdk/win32/gdkevents-win32.c
3044         * gdk/win32/gdkinput.c
3045         * gdk/win32/gdkinput-win32.h
3046         * gdk/win32/gdkinput-win32.c
3047         * gdk/win32/gdkmain-win32.c: Make HAVE_WINTAB ifdef blocks
3048         unconditional.
3049
3050         * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Try
3051         to load wintab32.dll dynamically here. If it is found look up the
3052         handful Wintab functions we use.
3053         (rest of file): Use these function pointers instead of calling the
3054         functions from wntab32x.lib. The code in wntab32x.lib did the same
3055         thing anyway: tried to load wintab32.dll, and looked up the
3056         addresses of the actual functions from it.
3057
3058         * gdk/Makefile.am
3059         * gdk/win32/Makefile.am: Drop the libwntab32x hacks.
3060
3061         * gdk/win32/wintab.h
3062         * gdk/win32/pktdef.h: New files. Copied from the Wintab
3063         SDK. Copyright blurb says: "The text and information contained in
3064         this file may be freely used, copied, or distributed without
3065         compensation or licensing restrictions."
3066
3067         * README.win32: Update a bit. Remove the text about the Wintab
3068         SDK.
3069
3070 2007-01-18  Tor Lillqvist  <tml@novell.com>
3071
3072         * gdk-pixbuf/Makefile.am
3073         * gdk/Makefile.am
3074         * gdk/win32/Makefile.am
3075         * gtk/Makefile.am: Fixes for building outside srcdir on
3076         Win32. (#336819, #340013) Drop distributing the handmade .la
3077         libtool wrapper for the wntab32x library. It's too much trouble
3078         making it work when building outside srcdir. Just link to the
3079         library direcly using -Wl,win32/libwntab32x.a.
3080
3081 2007-01-18  Michael Natterer  <mitch@imendio.com>
3082
3083         * gtk/gtkcheckbutton.c
3084         * gtk/gtkdnd.c
3085         * gtk/gtkentry.c
3086         * gtk/gtkmenu.c
3087         * gtk/gtktreeview.c
3088         * gtk/gtkviewport.c: pass more clip rectangles to gtk_paint_foo()
3089         functions. Based on a patch from maemo-gtk (bug #398023).
3090
3091 2007-01-17  Tor Lillqvist  <tml@novell.com>
3092
3093         * gtk-zip.sh.in: Include also the COPYING file.
3094
3095 2007-01-17  Matthias Clasen  <mclasen@redhat.com>
3096
3097         * modules/printbackends/cups/gtkprintbackendcups.c: Don't use
3098         httpGetFd() when building against cups 1.1
3099
3100 2007-01-17  Tor Lillqvist  <tml@novell.com>
3101
3102         Proper fix for #396175:
3103
3104         * gtk/gtkimmulticontext.c: Revert change by Hans Breuer below: Do
3105         include gtkprivate.h. On Win32 we do want to use the redefinition
3106         of GTK_LOCALEDIR as a call to the function _gtk_get_localedir().
3107
3108         * gtk/gtkimmodule.c: Instead, correct the prefix also on
3109         simple_context_info.domain_dirname. Do the prefix corrections
3110         always on Win32, not just when GTK_LIBDIR is defined. i.e., until
3111         now they were done only in the autoconfiscated gcc builds. Hans
3112         needs to make sure GTK_LIBDIR and GTK_LOCALEDIR are defined also
3113         in MSVC builds now.
3114         (correct_localedir_prefix): New function, like
3115         correct_libdir_prefix(), but for GTK_LOCALEDIR, in case
3116         GTK_LOCALEDIR is not a descendant of GTK_LIBDIR.
3117         (gtk_im_module_initialize): Thus call correct_localedir_prefix()
3118         on the domain_dirname instead of correct_libdir_prefix().
3119         (_gtk_im_module_list): Call correct_localedir_prefix() on
3120         simple_context_info.domain_dirname.
3121
3122 2007-01-16  Matthias Clasen  <mclasen@redhat.com>
3123
3124         * gtk/gtkrange.c (range_grab_remove): Queue a redraw when the
3125         grab changes.  (#396470, Benjamin Berg)
3126
3127 2007-01-15  Emmanuele Bassi  <ebassi@gnome.org>
3128
3129         * gtk/gtkrecentchoosermenu.c: Ellipsize the menu items label
3130         if they grow too much. (#357303)
3131
3132 2007-01-14  Matthias Clasen  <mclasen@redhat.com>
3133
3134         * gtk/gtkicontheme.c (theme_lookup_icon): When finding a matching
3135         non-scalable dir, keep going and look for a closer match.
3136         (#395830, Luca Ferretti)
3137
3138 2007-01-14  Christian Persch  <chpe@svn.gnome.org>
3139
3140         * gtk/gtkclipboard.c: (gtk_clipboard_set_text),
3141         (gtk_clipboard_set_image): Use gtk_target_table_new_from_list and
3142         gtk_target_table_free instead of duplicating the code. Bug #396493.
3143
3144 2007-01-13  Matthias Clasen  <mclasen@redhat.com>
3145
3146         * gtk/gtkuimanager.c: Don't crash if menu or toolbar
3147         positions can't be found.  (#396161, Hans Breuer)
3148
3149 2007-01-13  Matthias Clasen  <mclasen@redhat.com>
3150
3151         * gtk/gtkselection.c (_gtk_selection_request): Plug 
3152         memory leaks.  (#396160, Carlos Garcia Campos)
3153
3154 2007-01-13  Matthias Clasen  <mclasen@redhat.com>
3155
3156         * configure.in: Link libgtk against Xfixes.  (#396074,
3157         Tommi Komulainen)
3158
3159 2007-01-13  Matthias Clasen  <mclasen@redhat.com>
3160
3161         * gtk/gtkradiobutton.c (gtk_radio_button_focus): Avoid
3162         a compiler warning.  (#395045, Chris Wilson)
3163
3164 2007-01-13  Hans Breuer <hans@breuer.org>
3165
3166         * gtk/gtkprintoperation-win32.c : take the custom tab label from
3167         gtk_print_operation_set_custom_tab_label() into account (bug #390746).
3168
3169         * gtk/gtkimmulticontext.c : don't include "gtkprivate.h" to avoid
3170         differing definitions of GTK_LOCALEDIR (bug #396175).
3171
3172         * gtk/gtktreeview.c : use g_snprintf instead of snprintf, which is
3173         not available everywhere
3174
3175         * gtk/makefile.msc.in : updated
3176
3177 2007-01-12  Michael Natterer  <mitch@imendio.com>
3178
3179         * gtk/gtkentry.c (gtk_entry_button_press): don't add
3180         entry->scroll_offset to entry->drag_start_y. Fixes the entry
3181         starting drags after ridiculously small mouse movements.
3182
3183 2007-01-11  Richard Hult  <richard@imendio.com>
3184
3185         * demos/gtk-demo/main.c: (load_file): Close the file after it's
3186         loaded (bug #395316).
3187
3188 2007-01-11  Kjartan Maraas  <kmaraas@gnome.org>
3189
3190         * gtk/gtkfilesystemunix.c: (expand_tilde):
3191         Make a single tilde go to $HOME in the location entry.
3192         Patch from Yevgen Muntyan. Closes the gtk+ part of
3193         bug #334168.
3194
3195 2007-01-10  Behdad Esfahbod  <behdad@gnome.org>
3196
3197         * gdk/gdkpango.c (gdk_draw_layout_with_colors):
3198         * gtk/gtklabel.c (gtk_label_size_request):
3199         Use pango_matrix_transform_rectangle(). (#340141)
3200
3201         * configure.in: Bump pango requirement to 1.15.3.
3202
3203 2007-01-10  Kristian Rietveld  <kris@imendio.com>
3204
3205         * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_init):
3206         refactor to initialize indicator_size to TOGGLE_WIDTH instead
3207         of the hardcoded value of 12.
3208
3209 2007-01-09  Matthias Clasen  <mclasen@redhat.com>
3210
3211         * configure.in: Fix the directfb cairo test. (#394855, 
3212         Josselin Mouette)
3213
3214 2007-01-09  Behdad Esfahbod  <behdad@gnome.org>
3215
3216         * configure.in: Fix comment for --with-included-loaders.  That option
3217         affects builds with module loading enabled too.
3218
3219 2006-01-08  Peter Teichman  <peter@novell.com>
3220
3221         * gtk/gtkfilechooserdefault.c:
3222         * gtk/gtkfilechooserprivate.h:
3223         * gtk/gtkfilechoosersettings.c:
3224         * gtk/gtkfilechoosersettings.h:
3225         Save the expanded state of the folder browser with the file
3226         chooser settings.  Resolves the expander portions of (#153828,
3227         Lemmit Kaplinski)
3228
3229 2007-01-08  Emmanuele Bassi  <ebassi@gnome.org>
3230
3231         * gtk/gtkrecentchoosermenu.c (gtk_recent_chooser_menu_create_item):
3232         Don't leak the icon pixbuf after setting it to the image menu
3233         item.  Found by Paolo Borelli.
3234
3235 2007-01-08  Matthias Clasen  <mclasen@redhat.com>
3236
3237         * gtk/gtktreemodel.c (gtk_tree_path_to_string): Don't 
3238         corrupt memory when faced with paths with ridiculously
3239         large indices. Found by the GTKVTS test suite.  
3240
3241 2007-01-08  Matthias Clasen  <mclasen@redhat.com>
3242
3243         * gtk/gtkmodules.c (_gtk_modules_init): Set 
3244         default_display_opened before loading modules.  (#393102,
3245         Brian Cameron)
3246  
3247 2007-01-07  Matthias Clasen  <mclasen@redhat.com>
3248
3249         * gtk/gtktextview.c (gtk_text_view_set_border_window_size):
3250         Call text_window_realize() with the correct parameters.
3251         (#393813, Yevgen Muntyan)
3252
3253 2007-01-07  Matthias Clasen  <mclasen@redhat.com>
3254
3255         * gtk/gtkstatusbar.c: Move docs inline, and expand them 
3256         a bit.
3257
3258 2007-01-06  Matthias Clasen  <mclasen@redhat.com>
3259
3260         * gtk/gtklabel.c: Make line wrapping work with width-chars
3261         and max-width-chars, and simplify the storage of wrap-width.
3262         (#322580, Itai Bar-Haim)
3263
3264 2007-01-06  Tor Lillqvist  <tml@novell.com>
3265
3266         * gdk/win32/cursor.bdf: New file. Downloaded from
3267         freedesktop.org's webcvs. Slighly edited cursors "crosshair",
3268         "diamond_cross", "draft_large", "gobbler" and "target" to fix
3269         #392504. It is possible that the same end result could have been
3270         achieved by tweaking bdfcursor.c instead.
3271         
3272         * gdk/win32/bdfcursor.c: Add optional debugging output.
3273
3274         * gdk/win32/xcursors.h: Regenerated.
3275
3276 2007-01-05  Matthias Clasen  <mclasen@redhat.com>
3277
3278         * gtk/gtknotebook.c (gtk_notebook_set_menu_label_text): Left-align
3279         menu labels.  (#393255, Michail Crayson)
3280
3281 2007-01-05  Kristian Rietveld  <kris@gtk.org>
3282
3283         * gtk/gtktreeview.c (gtk_tree_view_dy_to_top_row): handle tree
3284         == NULL.  (Fixes #392685, reported by Yevgen Muntyan).
3285
3286 2007-01-05  Kristian Rietveld  <kris@gtk.org>
3287
3288         * gtk/gtktreeview.c (gtk_tree_view_row_changed): do allow to
3289         invalidate nodes if the tree view is not realized. (#363147,
3290         Carlos Garnacho, Miguel Cabrera).
3291
3292 2007-01-05  Matthias Clasen  <mclasen@redhat.com>
3293
3294         * gtk/gtkmenu.c (gtk_menu_paint): Take the scroll arrow into
3295         account when drawing the background.  (#393166, Benjamin Berg)
3296
3297 2007-01-05  Behdad Esfahbod  <behdad@gnome.org>
3298
3299         * gtk/gtklabel.c (get_layout_location): Fix broken width computation,
3300         again.
3301
3302 2007-01-05  Carlos Garnacho  <carlosg@gnome.org>
3303
3304         * gtk/gtknotebook.c (gtk_notebook_size_request): take into account
3305         both scroll arrows when calculating size request in GTK_POS_LEFT or
3306         GTK_POS_RIGHT notebooks. (#393124, reported by Christian Persch)
3307
3308 2007-01-05  Michael Natterer  <mitch@imendio.com>
3309
3310         * gtk/gtkwindow.c (gtk_window_key_release_event): chain up to
3311         the right function (fix taken from maemo-gtk).
3312
3313 2007-01-05  Behdad Esfahbod  <behdad@gnome.org>
3314
3315         * gdk/gdkprivate.h:
3316         * gdk/gdkpango.c (gdk_draw_layout_line_with_colors),
3317         (gdk_draw_layout_with_colors):
3318         * gdk/gdkwindow.c (gdk_window_draw_glyphs_transformed):
3319         Avoid overflow when converting coordinates to Pango units. (#332266,
3320         Jody Goldberg)
3321
3322 2007-01-04  Matthias Clasen  <mclasen@redhat.com>
3323
3324         * gtk/gtkcombobox.c (gtk_combo_box_popup): move set_cursor
3325         after realization of the popup window, so clamp node doesn't fail.
3326         (#346616, Tommi Komulainen, patch by Kristian Rietveld).
3327
3328 2007-01-04  Behdad Esfahbod  <behdad@gnome.org>
3329
3330         * gtk/gtklabel.c (get_layout_location): Fix uninitialized width
3331         variable.
3332
3333 2007-01-04  Matthias Clasen  <mclasen@redhat.com>
3334
3335         * gtk/Makefile.am:
3336         * gdk-pixbuf/Makefile.am:
3337         * configure.in:
3338         * gdk/win32/rc/gdk.rc.in: Cross-compilation fixes.
3339         (#392646, Yevgen Muntyan)
3340
3341 2007-01-04  Matthias Clasen  <mclasen@redhat.com>
3342
3343         * demos/gtk-demo/textscroll.c:
3344         * gtk/gtkhandlebox.c:
3345         * gtk/gtkcolorsel.c: Fix some compiler warnings.
3346
3347 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
3348
3349         * gtk/gtktextview.c: Rework the beep-on-uninserted-text
3350         by calling the input method regardless of editability,
3351         and beeping from the commit/preedit-changed handlers.
3352         (#390514, Yevgen Muntyan)
3353
3354 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
3355
3356         Fix #332604, reported by Joe Wreschnig, patch
3357         by Jan Arne Petersen and Behdad Esfahbod.
3358
3359         * gtk/gtklabel.c (gtk_label_size_allocate): Only
3360         set the width of the layout when necessary.
3361         (get_layout_location): Use pango_layout_get_pixel_extents()
3362         instead of pango_layout_get_width().
3363
3364 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
3365
3366         * modules/printbackends/cups/gtkprintbackendcups.c 
3367         (available_choices): Don't leak conflicts.
3368
3369         * gtk/gtkprintoperation.c (gtk_print_operation_finalize):
3370         Don't leak the status string.
3371
3372 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
3373
3374         * gtk/gtkfilechooserdefault.c (update_chooser_entry):
3375         Exit early if we can't get file info - this happens
3376         if the iter points to the row where we are editing
3377         the name for a newly created folder.  (#392191, Michael
3378         Partridge, patch by Kristian Rietveld)
3379
3380 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
3381
3382         * gtk/*.c:
3383         * gdk/x11/*.c: Apply a patch by Chris Wilson to
3384         avoid spurious valgrind warnings from XSendEvent() 
3385         calls.  (#392532)
3386
3387         * modules/printbackends/cups/gtkprintbackendcups.c: Close
3388         the http connection after getting the PPD.
3389
3390         * gtk/gtkprinteroptionwidget.c (filesave_changed_cb):
3391         Fix memory leaks.  
3392
3393 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
3394
3395         * gtk/gtkassistant.c (remove_page): If the current page
3396         is removed, always pick a different one.  (#392457, 
3397         Colin Watson)
3398
3399 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
3400
3401         * modules/printbackend/cups/*.c: Coding style cleanups.
3402
3403 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
3404
3405         * configure.in: Export SED to make sourcing of
3406         libtool work. Tighten up the directfb pkgconfig check.
3407
3408 2007-01-03  Michael Natterer  <mitch@imendio.com>
3409
3410         * gtk/gtkstyle.c (option_menu_get_props)
3411         * gtk/gtkoptionmenu.c (gtk_option_menu_get_props): Use 
3412         gtk_border_free when freeing borders.
3413
3414 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
3415
3416         * gtk/gtkentry.c (get_text_area_size): Work when the
3417         entry is not realized.  (#392315, Yevgen Muntyan)
3418
3419         * gtk/gtkentry.c (gtk_entry_queue_draw): Use 
3420         GTK_WIDGET_DRAWABLE() here.  (#392227, Chris Wilson)
3421
3422         * gtk/gtkentry.c (cursor_blinks): Don't get settings
3423         unnecessarily.  (#392227)
3424
3425 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
3426
3427         * gtk/gtkwindow.c (gtk_window_move_resize): Only process
3428         updates on the window at hand, not on all windows, to
3429         avoid violating resize/redraw ordering constraints.
3430         (#362406, Owen Taylor)
3431         
3432 2007-01-03  Kristian Rietveld  <kris@gtk.org>
3433
3434         * gtk/gtkcellrendererprogress.c
3435         (gtk_cell_renderer_progress_class_init): fix docs.
3436
3437 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
3438         
3439         * gtk/updateiconcache.c: Include locale.h
3440
3441 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
3442
3443         * gtk/updateiconcache.c (main): Call setlocale().
3444
3445         * gtk/gtkfilesel.c:
3446         * gtk/gtkfilesystemunix.c:
3447         * gtk/gtkfilesystemwin32.c:
3448         * gtk/gtkfilechoosersettings.c:
3449         * gtk/updateiconcache.c: Consistently use folder instead of
3450         directory in translated messages.  (#344584, Javier F. Serrador)
3451
3452 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
3453
3454         Try to fix #315732, reported by Luke Hutchinson:
3455
3456         * gdk/x11/xsettings-client.[hc]:
3457         * gdk/x11/gdkdevents-x11.c: Don't assume that ref'ing a GdkWindow
3458         will guarantee that it can be looked up in the xid hash later.
3459         Also, use the nesting server grab function during the xsettings
3460         client initialization. Finally, make xsettings client not
3461         eat DestroyNotifys so that GDK can do its regular cleanup. 
3462
3463 2007-01-02  Michael Natterer  <mitch@imendio.com>
3464
3465         * gtk/gtkrange.c (gtk_range_scroll) (gtk_range_move_slider): beep
3466         when a keybinding didn't change adjustment->value.
3467
3468 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
3469
3470         * gtk/gtktextbuffer.c (gtk_text_view_key_press_event):
3471         Try harder not to beep on events which are not meant to
3472         insert stuff in the buffer.  (#390514, Yevgen Muntyan) 
3473
3474 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
3475
3476         * gtk/gtktextbufferrichtext.c: Small documentation fixes.
3477
3478 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
3479
3480         * gtk/gtkentry.c (get_text_area_size): Center in the frame.  
3481         (#304482, Rob Staudinger, patch by  Richard Stellingwerff)
3482
3483 2007-01-02  Michael Emmel  <mike.emmel@gmail.com>
3484
3485         * gdkwindow-directfb.c: fixed leak of dfb resource on destroy 
3486
3487 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
3488
3489         * gtk/gtkscrolledwindow.h:
3490         * gtk/gtkscrolledwindow.c: Only handle key bindings
3491         for scrolling if the scrollbars are visible.
3492         (#340135, Christian Persch)
3493
3494 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
3495
3496         * gtk/gtktextview.c (gtk_text_view_scroll_hpages):
3497         Don't segfault on horizontal scrolling.  
3498
3499 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
3500
3501         * gtk/gtknotebook.h:
3502         * gtk/gtknotebook.c: Only handle key bindings for
3503         tab reordering if the tabs are shown and reorderable. 
3504         (#390468, Yevgen Muntyan)
3505
3506         * gtk/gtkmarshalers.list: Add required marshaler
3507
3508 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
3509
3510         * gtk/gtkcontainer.c (gtk_container_class_list_child_properties):
3511         Mention in the docs that the return value is
3512         NULL-terminated.  (#383373, Christian Neumair)
3513
3514 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
3515
3516         * gtk/gtkicontheme.c (load_themes): Waste less time
3517         with non-directories.  (#391725, Chris Wilson)
3518
3519 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
3520
3521         * gtk/gtkcellrendererprogress.c: Implement activity mode
3522         for GtkCellRendererProgress.  (#377851, Brad Taylor)
3523
3524 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
3525
3526         Fix some IPP compliance issues.  (#391523, Albrecht Dress)
3527
3528         * modules/printbackends/cups/gtkcupsutils.c
3529         (gtk_cups_request_encode_option): Use IPP_TAG_JOB, not
3530         IPP_TAG_OPERATION.
3531         * modules/printbackends/cups/gtkprintbackendcups.c
3532         (gtk_print_backend_cups_print_stream): Don't add the
3533         requesting-user-name attribute a second time. 
3534
3535 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
3536
3537         * gtk/gtkimcontextsimple.c: Fix en/em dash confusion.  (#378462)
3538
3539 2006-12-31  Emmanuele Bassi  <ebassi@gnome.org>
3540
3541         * gtk/gtkrecentchoosermenu.c (set_recent_manager): Use the
3542         right object when disconnecting from the GtkRecentManager::changed
3543         signal; save us a few indirections using a variable.
3544
3545 2006-12-31  Emmanuele Bassi  <ebassi@gnome.org>
3546
3547         * gtk/gtkrecentchoosermenu.c: Move the signal and idle
3548         disconnections into the dispose function, as well as the
3549         object unrefs; reset every handler id and the
3550         pointers. (suggested by Paolo Borelli, #390873)
3551
3552 2006-12-31  Matthias Clasen  <mclasen@redhat.com>
3553
3554         * gtk/gtkprintoperation-win32.c: Include windows.h (#391229,
3555         Kazuki Iwamoto)
3556
3557 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
3558
3559         * gtk/gtktextview.c (gtk_text_view_destroy): Remove the
3560         scroll timeout.  (#390872, Yevgen Muntyan)
3561
3562 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
3563
3564         * gtk/gtkprintoperation-unix.c:
3565         * gtk/gtkprintbackend.c:
3566         * gtk/gtkfilechooserdefault.c:
3567         * gtk/gtksettings.c: Move a few settings to gtksettings.c
3568         to make sure they show up in the docs.  (#365364, Christian
3569         Persch)
3570
3571 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
3572
3573         * gtk/gtkassistant.c: Redraw assistant on reallocate
3574         to avoid rendering glitches.  (#343956, Christian
3575         Persch, Carlos Garnacho)
3576
3577 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
3578
3579         * gtk/gtkrange.c: Typo fix.  (#352121, Clytie Siddall)
3580
3581 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
3582
3583         * gtk/gtkaction.c: Improve the docs of the "label" 
3584         property.  (#341730, Kristof Vansant)
3585
3586 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
3587
3588         * gtk/gtkwindow.c (gtk_window_compute_configure_request_size):
3589         Correctly handle min size. (#320465, Philipp Langdale)
3590
3591 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
3592
3593         * gtk/prop-editor.c: Implement editing of flags.
3594
3595 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
3596
3597         * gtk/gtkentry.c:
3598         * gtk/gtklabel.c:
3599         * gtk/gtkpaned.c:
3600         * gtk/gtkstatusbar.c:
3601         * gtk/gtktextview.c: Don't install cursors on insensitive
3602         widgets.  (#358864, Jan Schampera)
3603
3604 2006-12-29  Matthias Clasen  <mclasen@redhat.com>
3605
3606         * gtk/gtkrecentmanager.h:
3607         * gtk/gtkprintoperation.c: Fix doc typos.  (#370909,
3608         Shiino Yuki)
3609
3610         * gtk/gtkstyle.c (gtk_style_attach): Clarify docs.  (#353423,
3611         Christian Persch)
3612
3613         * gtk/gtkentry.c (blink_cb):
3614         * gtk/gtktextview.c (blink_cb): Don't die in an assertion
3615         if focus went missing. Just warn, clean up and continue.
3616         (#374378)
3617
3618 2006-12-29  Carlos Garnacho  <carlosg@gnome.org>
3619
3620         * gtk/gtknotebook.c (gtk_notebook_scroll): return if the widget that
3621         originally received the event is a notebook page. (#315440, reported
3622         by Mateusz Stefek)
3623
3624 2006-12-29  Matthias Clasen  <mclasen@redhat.com>
3625
3626         * gdk/gdkcolor.c (gdk_color_hash): Fix a typo. (#390613,
3627         Paolo Borelli)
3628
3629 2006-12-29  Matthias Clasen  <mclasen@redhat.com>
3630
3631         * tests/prop-editor.c: Display children of containers
3632         and cell renderers of cell layouts.
3633
3634         * gtk/gtk.symbols:
3635         * gtk/gtkcelllayout.[hc] (gtk_cell_layout_get_cells):
3636         New function to get the cell renderers of a cell layout.
3637
3638         * gtk/gtktreeviewcolumn.c:
3639         * gtk/gtkcellview.c:
3640         * gtk/gtkiconview.c: Implement get_cells.
3641
3642 2006-12-28  Matthias Clasen  <mclasen@redhat.com>
3643
3644         * gtk/gtkiconview.c: Use word wrapping by default, and
3645         center multiline labels.  (#318763, Ross Burton)
3646
3647         * gtk/gtkcellrenderertext.c (get_layout): Remove a special
3648         case for single-line layouts.
3649
3650 2006-12-28  Matthias Clasen  <mclasen@redhat.com>
3651
3652         * gtk/gtkarrow.c: Fix a typo in the docs.  (#390423,
3653         David Lodge)
3654
3655         * gtk/gtkuimanager.c (update_node): Only use the results
3656         of find_menu/toolbar_position() if they succeed. May fix
3657         bug #388041.
3658
3659 2006-12-28  Matthias Clasen  <mclasen@redhat.com>
3660
3661         * gdk/gdk.c: Fix some formatting errors in docs.  
3662
3663 2006-12-28  Tor Lillqvist  <tml@novell.com>
3664
3665         * gtk/gtkstatusicon.c (gtk_status_icon_finalize)
3666         (gtk_status_icon_update_image): Don't leak HICONs on
3667         Win32. (#364868, Hiroyuki Yamamoto)
3668
3669 2006-12-28  Carlos Garnacho  <carlosg@gnome.org>
3670
3671         Make GtkNotebook able to drop detached tabs anywhere. Bug #360225.
3672
3673         * gtk/gtkwidget.c (gtk_widget_class_init): add "drag-failed" signal.
3674         * gtk/gtkmarshalers.list: add new marshaler definition.
3675         * gtk/gtkenums.h: add GtkDragResult enum.
3676
3677         * gtk/gtkdnd.c (gtk_drag_drop_finished): emit "drag-failed" if DND
3678         operation wasn't successful.
3679         (_gtk_drag_source_handle_event) (gtk_drag_drop)
3680         (gtk_drag_selection_get) (gtk_drag_cancel) (gtk_drag_key_cb)
3681         (gtk_drag_grab_broken_event_cb) (gtk_drag_grab_notify_cb)
3682         (gtk_drag_button_release_cb) (gtk_drag_abort_timeout): tell
3683         gtk_drag_drop_finished() the operation result.
3684
3685         * gtk/gtknotebook.c (gtk_notebook_drag_failed): new function.
3686         (gtk_notebook_drag_data_get): do not call window creation hook here.
3687         (gtk_notebook_init): do not set "application/x-rootwindow-drop"
3688         target, instead connect to "drag-failed".
3689         (gtk_notebook_draw_focus): fix potential crasher if cur_page is NULL.
3690
3691 2006-12-28  Mikael Hallendal  <micke@imendio.com>
3692
3693         * gdk/quartz/gdkevents-quartz.c: Factored out the event loop 
3694         integration into gdkeventloop-quartz.c.
3695
3696         * gdk/quartz/Makefile.am: Added gdkeventloop-quartz.c
3697
3698         * gdk/quartz/gdkeventloop-quartz.c: New file containing the event loop 
3699         integration.
3700
3701 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
3702
3703         * modules/printbackends/lpr/gtkprintbackendlpr.c 
3704         (gtk_print_backend_lpr_print_stream): Close the io channel
3705         on unref.  (#390159, Joe Markus Clarke)
3706
3707 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
3708
3709         * gdk/gdk.h: Remove redundant declarations (#390097,
3710         Christian Persch)
3711
3712 2006-12-27  Kristian Rietveld  <kris@gtk.org>
3713
3714         Support inverting arrows via XSetting. (#377979, Yevgen Muntyan).
3715
3716         * gtk/gtksettings.c (gtk_settings_class_init): add new setting
3717         gtk-alternative-sort-arrows.
3718
3719         * gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting): add
3720         new setting.
3721
3722         * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: set new
3723         gtk-alternative-sort-arrows setting to true.
3724
3725         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
3726         invert direction if gtk-alternative-sort-arrows is TRUE.
3727
3728 2006-12-27  Tor Lillqvist  <tml@novell.com>
3729
3730         * gtk/gtk.symbols: Add gtk_status_icon_get_screen and
3731         gtk_status_icon_set_screen.
3732
3733         * gtk/gtkstatusicon.c: Implement gtk_status_icon_position_menu()
3734         on Windows. Keep track of where the last button click on the
3735         taskbar icon took place, and return that. Obviously not correct if
3736         no button has ever been clicked on the icon, or if the geometry of
3737         the taskbar has changed since. But for most use cases where a menu
3738         is going to be displayed as a direct result of a button click on
3739         the status icon, works fine. (#377349)
3740
3741         Implement getting the orientation property on Windows.
3742
3743         (gtk_status_icon_embedded_changed)
3744         (gtk_status_icon_orientation_changed): Ifdefify these functions
3745         that are used only on X11.
3746
3747 2006-12-27  Tor Lillqvist  <tml@novell.com>
3748
3749         * gtk/gtkfilesystemwin32.c (execute_callbacks): Fix
3750         typo. (#390035, Kazuki Iwamoto)
3751
3752 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
3753
3754         * gtk/gtkcellview.c (gtk_cell_view_set_model): Accept NULL.
3755
3756         * gtk/gtkcombobox.c (gtk_combo_box_set_model):
3757         (gtk_combo_box_unset_model): Handle repeated unsetting
3758         of models without warnings.  (#367529, Robert Ancell)
3759
3760 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
3761
3762         * modules/printbackends/cups/gtkcupsutils.c: 
3763         * modules/printbackends/cups/gtkprintbackendcups.c: Use
3764         getters for http fields where available.  (#364866, 
3765         Björn Lindqvist)
3766
3767 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
3768
3769         * gtk/gtkwidget.c (gtk_widget_show): Add a g_return_if_fail.
3770         (#362614, Xan Lopez)
3771
3772 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
3773
3774         * gtk/gtkuimanager.c (update_node): If a required action
3775         is missing, don't recurse over the children.  (#349119,
3776         Chris Moller)
3777
3778 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
3779
3780         Fix a few problems with nested menus in comboboxes
3781         (#386694, Yevgen Muntyan)
3782
3783         * gtk/gtkcombobox.c (gtk_combo_box_menu_fill_level): Always
3784         connect the activate callback.
3785         (gtk_combo_box_menu_item_activate): Do nothing if called on
3786         an item with a submenu.
3787         (gtk_combo_box_menu_row_deleted): Remove a submenu when it
3788         is empty.
3789
3790 2006-12-26  Mariano Suárez-Alvarez  <mariano@gnome.org>
3791
3792         * gtk/gtkfilechooserbuuton.[hc]: Add a file-set signal to the
3793         filechooser button. Bug 353196.
3794
3795 2006-12-26  Kristian Rietveld  <kris@gtk.org>
3796
3797         * gtk/gtktreeview.c (gtk_tree_view_search_init): fix typo causing
3798         the search dialog timeout never to be refreshed. (#389581,
3799         Andrzej Szombierski).
3800
3801 2006-12-26  Kristian Rietveld  <kris@gtk.org>
3802
3803         Lots of scrolling fixes.  Made scrolling work properly in not fully
3804         validated tree views; fixed a bunch of corner cases.
3805
3806         * gtk/gtktreeview.c (validate_visible_area): if a row's dy is past
3807         upper - page_size, we know it is located at the end so the test for
3808         dy + height has been dropped.
3809         In the same case if area_below < 0, we know this is the last node
3810         in the tree view so area_above is page_size - height of this row.
3811         (validate_visible_area): got rid of subtracting new_height -
3812         old_height from area_{below,above}, it didn't make any sense at
3813         all and the full height of the row should be subtracted instead.
3814         (validate_visible_area): when scrolling to a given path, set the
3815         top row directly together with the dy offset, then sync that top_row
3816         to the dy.
3817         (gtk_tree_view_set_top_row): new function to directly set a top_row.
3818         (gtk_tree_view_dy_to_top_row): refactored to use
3819         gtk_tree_view_set_top_row().
3820         (gtk_tree_view_top_row_to_dy): make sure dy >= 0 when done.
3821         (gtk_tree_view_adjustment_changed): only update our dy and
3822         top_row if the adjustment's dy actually changed.
3823
3824 2006-12-26  Christian Persch  <chpe@cvs.gnome.org>
3825
3826         * gtk/gtknotebook.c: (gtk_notebook_real_insert_page):
3827         Return the correct value from gtk_notebook_insert_page if the
3828         page-added handler reorders the tabs. Bug #345094.
3829
3830 2006-12-26  Carlos Garnacho  <carlosg@gnome.org>
3831
3832         Fix small regressions in GtkNotebook tab detaching. Bug #378852.
3833
3834         * gtk/gtknotebook.c (gtk_notebook_do_arrow): grab focus to allow tabs
3835         scrolling when hovering with a detached tab.
3836         (gtk_notebook_stop_reorder): Do not deparent the wrong tab if the
3837         focus tab has changed during a tab DND operation.
3838         (gtk_notebook_drag_end): ensure that the dropped tab gets focused.
3839         (gtk_notebook_paint): do not take cur_page as a reference to paint the
3840         box if it's detached.
3841         (gtk_notebook_calculate_tabs_allocation): focus_tab may be different
3842         to the detached tab if we hover the arrows during a tabs detaching 
3843         operation, do not allocate it unconditionally in 0,0.
3844
3845 2006-12-26  Carlos Garnacho  <carlosg@gnome.org>
3846
3847         Expose improvements for GtkNotebook. Bug #383435
3848
3849         * gtk/gtknotebook.c (gtk_notebook_expose): propagate the event to tab
3850         labels.
3851         (gtk_notebook_draw_focus): do not repaint the whole focused tab again.
3852         (gtk_notebook_draw_tab): do not send handmade expose events to tab
3853         labels.
3854
3855 2006-12-26  Matthias Clasen  <mclasen@redhat.com>
3856
3857         * gtk/gtkfilesystemunix.c (execute_callbacks): Return
3858         FALSE.  (#389623, Carlos Garnacho Parro)
3859
3860         * gtk/gtkrange.c (stop_scrolling): Avoid spurious
3861         redraws.
3862
3863 2006-12-25  Christian Persch  <chpe@cvs.gnome.org>
3864
3865         * gtk/gtkplug.c: (gtk_plug_construct_for_display),
3866         (gtk_plug_unrealize): Notify the "embedded" property also on
3867         normal construction and when destroying the socket window.
3868         Bug #388738.
3869
3870 2006-12-25  Christian Persch  <chpe@cvs.gnome.org>
3871
3872         * gtk/gtkaboutdialog.c: (gtk_about_dialog_class_init),
3873         (gtk_about_dialog_init), (display_credits_dialog),
3874         (display_license_dialog):
3875         * gtk/gtkfilechooserdialog.c: (gtk_file_chooser_dialog_class_init),
3876         (gtk_file_chooser_dialog_init),
3877         (gtk_file_chooser_dialog_constructor),
3878         (gtk_file_chooser_dialog_unmap):
3879         * gtk/gtkrecentchooserdefault.c:
3880         (_gtk_recent_chooser_default_init):
3881         * gtk/gtkrecentchooserdialog.c:
3882         (gtk_recent_chooser_dialog_class_init),
3883         (gtk_recent_chooser_dialog_init),
3884         (gtk_recent_chooser_dialog_constructor),
3885         (gtk_recent_chooser_dialog_unmap): Set the HIG spacings directly
3886         instead of using style-set handlers. Fix the filechooser's spacing
3887         between content and action area to 12px. Bug #372447.
3888
3889 2006-12-25  Christian Persch  <chpe@cvs.gnome.org>
3890
3891         * gtk/gtkstatusbar.c: (gtk_statusbar_size_allocate):
3892         Don't assume statusbar->label is the statusbar's frame's child when
3893         shrinking the size allocation when the grip is shown. Bug #372452.
3894
3895 2006-12-25  Christian Persch  <chpe@cvs.gnome.org>
3896
3897         * gtk/gtkpagesetupunixdialog.c: (printer_status_cb),
3898         (add_custom_paper): Fix mem leaks. Bug #389194.
3899
3900 2006-12-24  Matthias Clasen  <mclasen@redhat.com>
3901
3902         * gtk/gtktextutil.c: Remove debug output.
3903
3904         * gtk/gtktextview.c: Improve the DND scrolling
3905         behaviour.  (#92387, Carlos Garnacho Parro)
3906
3907         * gtk/gtkaccellabel.c: Improve translators comments.  
3908         (#389298, Christian Persch)
3909
3910 2006-12-24  Bastien Nocera  <hadess@hadess.net>
3911
3912         * gtk/gtkrecentmanager.c: Fix typo (s/expansive/expensive)
3913         (#389183)
3914
3915 2006-12-24  Christian Persch  <chpe@cvs.gnome.org>
3916
3917         * docs/reference/gtk/gtk-sections.txt:
3918         * gtk/gtk.symbols:
3919         * gtk/gtkpagesetupunixdialog.c: (fill_paper_sizes_from_printer):
3920         * gtk/gtkprinter-private.h:
3921         * gtk/gtkprinter.c: (gtk_printer_list_papers):
3922         * gtk/gtkprinter.h: Make gtk_printer_list_papers public. Bug #345587.
3923
3924 2006-12-24  Carlos Garcia Campos  <carlosgc@gnome.org>
3925
3926         * gtk/gtkpagesetupunixdialog.c: Don't ignore reverse portrait option
3927         when is selected in page setup dialog. Fixes bug #365047.
3928
3929 2006-12-24  Behdad Esfahbod  <behdad@gnome.org>
3930
3931         * gtk/gtkentry.c (_gtk_entry_effective_inner_border):
3932         Use gtk_border_free when freeing border.
3933
3934 2006-12-24  Matthias Clasen  <mclasen@redhat.com>
3935
3936         * gtk/gtkentry.c (gtk_entry_button_press): When
3937         shift-clicking, keep the larger part of the selection
3938         selected.  (#353709, Benjamin Otte)
3939
3940         * gtk/gtkbutton.c (gtk_button_get_props): Use 
3941         gtk_border_free when freeing borders.
3942
3943         * gtk/gtkbutton.c (gtk_button_grab_notify): Be more
3944         careful when faking a button release.  (#323146,
3945         Travis Abbott)
3946
3947         * gtk/gtkhandlebox.c (draw_textured_frame): Draw the
3948         handle with the right orientation, depending on the
3949         position of the handlebox.  (#159764, Benjamin Berg)
3950
3951 2006-12-24  Behdad Esfahbod  <behdad@gnome.org>
3952
3953         * gtk/gtkstyle.c (gtk_border_copy), (gtk_border_free): Use gslice for
3954         GtkBorder (#383557).
3955
3956 2006-12-24  Behdad Esfahbod  <behdad@gnome.org>
3957
3958         Bug 340141 â€“ Update to Pango 1.16 API
3959
3960         * gdk/gdkpango.c (layout_iter_get_line_clip_region),
3961         (gdk_pango_layout_line_get_clip_region):
3962         * gtk/gtkcalendar.c (gtk_calendar_size_request):
3963         * gtk/gtkentry.c (gtk_entry_get_pixel_ranges),
3964         (get_layout_position), (gtk_entry_find_position),
3965         (gtk_entry_adjust_scroll):
3966         * gtk/gtkiconview.c (get_pango_text_offsets):
3967         * gtk/gtklabel.c (get_cursor_direction):
3968         * gtk/gtkstyle.c (get_insensitive_layout):
3969         * gtk/gtktextdisplay.c (render_para):
3970         * gtk/gtktextlayout.c (allocate_child_widgets),
3971         (find_display_line_below), (find_display_line_above),
3972         (gtk_text_layout_move_iter_to_previous_line),
3973         (gtk_text_layout_move_iter_to_next_line),
3974         (gtk_text_layout_move_iter_to_line_end),
3975         (gtk_text_layout_iter_starts_line),
3976         (gtk_text_layout_move_iter_to_x):
3977         * gtk/gtktextutil.c (limit_layout_lines):
3978         Use the _readonly version of pango_layout_iter_get_line(),
3979         pango_layout_iter_get_run(), pango_layout_get_line(), and
3980         pango_layout_get_lines().
3981
3982         * gtk/gtkmain.c (gtk_get_default_language): Use
3983         pango_get_default_language().
3984
3985 2006-12-24  Matthias Clasen  <mclasen@redhat.com>
3986
3987         * gtk/gtkentry.c (gtk_entry_set_text): Emit changed
3988         and notify:text only once. The same fix was applied
3989         for replacing the selection via DND or copy-and-paste.
3990         (#64998, Damon Chaplin, Sven Herzberg)
3991
3992 2006-12-23  Matthias Clasen  <mclasen@redhat.com>
3993
3994         * gtk/gtkimmulticontext.c: Be careful to not override
3995         GTK+ translations with the translations of the input
3996         method.  (#317080, Tor Lillqvist)
3997
3998         * modules/input/imcedilla.c: Use standard macros
3999         for translation domain and locale dir.
4000
4001         * gtk/gtkimcontextsimple.c: Allow composing l with 
4002         stroke.  (#349638, Daniel Lublin)
4003
4004         * gtk/gen-paper-names.c: Fix a thinko in the suffix
4005         calculation.  (#382369, Christian Persch)
4006
4007         * gtk/paper_names_offsets.c: Regenerated.
4008
4009 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
4010
4011         * modules/engines/pixbuf/pixbuf.h:
4012         * modules/engines/pixbuf/pixbuf-rc-style.h:
4013         * modules/engines/pixbuf/pixbuf-style.h: Move 
4014         G_GNUC_INTERNAL before function declarations.  (#352276,
4015         Damien Carbery)
4016
4017 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
4018
4019         * demos/gtk-demo/*.c: Fix some leaks.  (#348108, Chris
4020         Wilson)
4021
4022 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
4023
4024         * *.c: Replace a lot of idle and timeout calls by
4025         the new gdk_threads api. 
4026
4027         * gdk/gdk.symbols:
4028         * gdk/gdk.h:
4029         * gdk/gdk.c: Add functions to allow threadsafe handling
4030         of idles and timeouts wrt. to the GDK lock.  (#321886,
4031         Chris Wilson)
4032         
4033 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
4034         
4035         * gdk/gdkpango.c: Use pango_cairo_show_error_underline.  
4036         (#340141, Behdad Esfahbod)
4037
4038         * configure.in: Check for getc_unlocked.
4039
4040         * gtk/xdgmime/xdgmimemagic.c: Use getc if getc_unlocked is
4041         unavailable.   (#381499)
4042
4043         * tests/teststatusicon.c: Fix a typo
4044
4045 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
4046
4047         Make it possible to track the embeddedness of
4048         statusicon (#387215, Martyn Russell, patch by Christian
4049         Persch)
4050
4051         * gtk/gtkstatusicon.c: Add orientation and embedded properties.
4052         * gtk/gtkplug.c: 
4053         * gtk/gtkplug-x11.c: Add an embedded property.
4054         * tests/teststatusicon.c: Test the new properties.
4055
4056         * gtk/gtkwidget.c (gtk_widget_get_draw_rectangle): Don't
4057         leak draw_border.  (#387170, Kjartan Maraas)
4058
4059 2006-12-21  Matthias Clasen  <mclasen@redhat.com>
4060
4061          * gtk/gtkfilechooserembed.c (_gtk_file_chooser_embed_set_delegate()):
4062         Typo fix.  (#388123, Murray Cumming)
4063         
4064         * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event):
4065         Generate double-click events.  (#380421, Tommi Komulainen)
4066
4067         * gdk/x1/gdkinput-xfree.c (_gdk_input_configure_event):
4068         (_gdk_input_enter_event): Correct return_if_fail checks.
4069         (#379803, Tommi Komulainen)
4070
4071         * gdk/gdkdisplay.c: Improve the docs of some functions operating
4072         on the default display.  (##353438, Mariano Suárez-Alvarez)
4073
4074 2006-12-21  Matthew Barnes  <mbarnes@redhat.com>
4075
4076         * docs/reference/gdk/gdk-sections.txt:
4077         * gdk/gdkcolor.[ch] (gdk_color_to_string): Add a function for
4078         converting a GdkColor to a string (#373856).
4079
4080         * configure.in: Bump pango requirement to 1.15.2.
4081
4082 2006-12-20  Matthias Clasen  <mclasen@redhat.com>
4083         
4084         * gdk/keynames.txt: Mark arrow keys as translatable.  (#369506,
4085         Bastian Nocera)
4086
4087         * gdk/keyname-table.h: Regenerated
4088
4089         * gtk/gtktextbuffer.c: Add signal documentation.  (#317064,
4090         Søren Wedel Nielsen)
4091
4092         * gtk/gtktextview.c (gtk_text_view_start_selection_drag):
4093         Silently return if a drag is already in progress, rather
4094         than asserting.  (#335622, Li Yuan, testcase by Erwann Chenede)
4095
4096         * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_new_with_dialog):
4097         Allow any GtkDialog that implements GtkFileChooser as
4098         dialog.  (#335473, Tommi Komulainen)
4099
4100 2006-12-20  Mikael Hallendal  <micke@imendio.com>
4101
4102         * gtk/gtkstatusicon.c: (gtk_status_icon_init): Fixed a last minute
4103         change in the quartz backend.
4104
4105 2006-12-20  Mikael Hallendal  <micke@imendio.com>
4106
4107         * gtk/Makefile.am: Added gtkstatusicon-quartz.c
4108         * gtk/gtkstatusicon-quartz.c: Implements the quartz backend for the
4109         status icon.
4110         * gtk/gtkstatusicon.c: Hooked in the new quartz backend. Bug #387874.
4111
4112 2006-12-19  Matthias Clasen  <mclasen@redhat.com>
4113
4114         * gtk/gtkprintunixdialog.c: Add a tooltip explaining the
4115         format of page ranges, and improve the page sequence icon
4116         for the case of n_copies == 1.
4117  
4118 2006-12-19  Mikael Hallendal  <micke@imendio.com>
4119
4120         * gdk/quartz/gdkcursor-quartz.c: Splitted out the GdkPixbuf to NSImage
4121         routine so that it can be used from libgtk as well (needed for
4122         upcoming GtkStatusIcon support in the Quartz port).
4123         * gdk/quartz/gdkevents-quartz.c: Don't assume that all NSWindows are
4124         created from GDK, this is not true for the status icon.
4125         * gdk/quartz/gdkprivate-quartz.h:
4126         * gdk/quartz/gdkquartz.h: Added 
4127         gdk_quartz_pixbuf_to_ns_image_libgtk_only so that it is available to 
4128         the status icon code.
4129
4130 2006-12-16  Tristan Van Berkom <tvb@gnome.org>
4131
4132         * gtk/gtkmessagedialog.c: Added return_if_fail (image) to
4133         gtk_message_dialog_set_image ()
4134
4135         * gtk/gtkscrolledwindow.c: Fixed a bug in set_property()
4136         (setting "window-placement-set" could result in a crash because
4137         of boolean/enum mixup)
4138
4139 2006-12-15  Federico Mena Quintero  <federico@novell.com>
4140
4141         Merged from gtk-2-10:
4142
4143         * gtk/gtkmenu.c (gtk_menu_set_title): Don't try to optimize for
4144         the case where the new title is the same as the old title, to
4145         preserve the behavior from GTK+ 2.8 (NULL and "" titles are not
4146         equivalent).  Handle the case where title == priv->title.  This
4147         was found by the LSB compatibility tests:
4148         https://bugzilla.novell.com/show_bug.cgi?id=223882
4149
4150 2006-12-15  Dom Lachowicz <domlachowicz@gmail.com>
4151
4152         * gtk/gtkcombobox.c: Make GtkComboBox in "appears-as-list" mode
4153         more closely resemble its Win32 counterpart. Bug #340204.
4154
4155 2006-12-14  Carlos Garnacho  <carlosg@gnome.org>
4156
4157         * gtk/gtkcalendar.c: draw arrows pointing to the right correctly
4158         placed inside their GdkWindow. Bug #385672.
4159
4160 2006-12-14  Christian Persch  <chpe@cvs.gnome.org>
4161
4162         * gtk/gtkiconview.c: Fix docs typo. Bug #385642.
4163
4164 2006-12-13  Dom Lachowicz <domlachowicz@gmail.com>
4165
4166         * src/modules/engines/ms-windows/msw_style.c: Bug 351679 - Notebooks 
4167         drawn with extra line below tab in MS-Windows theme. Patch by 
4168         Cody Russell
4169         
4170 2006-12-13  Matthias Clasen  <mclasen@redhat.com>
4171
4172         * gtk/Makefile.am: Add --unlink-tempfile to the evince call
4173         for print preview.  (#370041, Ghee Teo)
4174
4175 2006-12-11  Matthias Clasen  <mclasen@redhat.com>
4176
4177         * gtk/gtkprogressbar.c (gtk_progress_bar_paint_text): Be more
4178         careful when overdrawing antialiased text.  (#352435, Alex Jones,
4179         patch by Benjamin Otte)
4180
4181         * gtk/gtksettings.c: Change the way in which color scheme information
4182         is merged to correctly handle vanishing colors.  (#374420, 
4183         Benjamin Berg, patch by Callum McKenzie) 
4184         Also allow to separate entries in color schemes by ';' 
4185         instead of newline.  
4186
4187 2006-12-10  Matthias Clasen  <mclasen@redhat.com>
4188
4189         * modules/printbackends/cups/gtkcupsutils.c (gtk_cups_request_encode_option): 
4190         Properly pass multi-value options to cups.  (#355350, JĂĽrg Billeter) 
4191
4192 2006-12-10  Kristian Rietveld  <kris@gtk.org>
4193
4194         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_focus_out_event):
4195         cancel editing (ie. don't accept changes) when the entry loses
4196         focus. (Fixes #164494, reported by Chris Rouch).
4197
4198 2006-12-10  Matthias Clasen  <mclasen@redhat.com>
4199
4200         * configure.in: Correct a misapplied patch. 
4201
4202 2006-12-10  Tor Lillqvist  <tml@novell.com>
4203
4204         * gtk-zip.sh.in: Put gdk-pixbuf-query-loaders.exe and
4205         gtk-query-immodules-2.0.exe in the runtime zipfile instead of
4206         developer zipfile. Users might add pixbuf loaders or immodules
4207         even if they are not interested in developing gtk+-using software.
4208
4209 2006-12-10  Matthias Clasen  <mclasen@redhat.com>
4210
4211         * configure.in: Check for crt_extern.h and _NSGetEnviron.
4212         * gdk/x11/gdkspawn-x11.c: Fix compilation on Darwin where
4213         environ is not available.  (#384168, Min Sik Kim)
4214
4215 2006-12-07  Paolo Maggi  <paolo@gnome.org>
4216
4217         Fixes bug #383407
4218         
4219         * gtk/gtkentry.c (gtk_entry_set_text): check for
4220         completion->priv->changed_id > 0 before calling 
4221         g_signal_handler_[un]block.
4222         (gtk_entry_completion_key_press): does not block/unblock the "changed"
4223         signal before calling gtk_entry_set_text.
4224         
4225 2006-12-07  Carlos Garnacho  <carlosg@gnome.org>
4226
4227         * gtk/gtkcellrendererprogress (compute_dimensions): do not use
4228         xthickness/ythickness, they aren't used any longer for drawing.
4229
4230 2006-12-07  Matthias Clasen  <mclasen@redhat.com>
4231
4232         * gtk/gtkrc.c (_gtk_rc_init): Fix clipping of accelerator
4233         underlines by giving labels a small draw-border.
4234
4235 2006-12-06  Kristian Rietveld  <kris@gtk.org>
4236
4237         * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_render):
4238         draw progress bar through theme engine instead of using our own
4239         custom cairo drawing code (#377244, patch from Carlos Garnacho).
4240
4241 2006-12-06  Matthias Clasen  <mclasen@redhat.com>
4242
4243         * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities):
4244         Update the sensitivity of the collate checkbutton more frequently,
4245         proposed by Tim Waugh.
4246
4247 2006-12-04  Matthias Clasen  <mclasen@redhat.com>
4248
4249         * gtk/gtkmessagedialog.c (setup_type): Set a11y name and role
4250         since we no longer set window titles.
4251
4252 2006-12-04  Christian Persch  <chpe@cvs.gnome.org>
4253
4254         * gtk/gtkpagesetup.c: (gtk_page_setup_get_paper_size),
4255         (gtk_page_setup_set_paper_size): Don't leak the old page size when
4256         setting a new one. Bug #382314.
4257
4258 2006-12-03  Michael Natterer  <mitch@gimp.org>
4259
4260         * gtk/gtktextview.c: remove FIXME #include that is no longer needed.
4261
4262 2006-12-03  Kristian Rietveld  <kris@gtk.org>
4263
4264         Make sure [xy]_offset are always being initialized, fix pixbuf
4265         renderer padding.  (#108235, Sven Neumann).
4266
4267         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_get_size),
4268         (gtk_cell_renderer_pixbuf_render): add padding in _render instead
4269         of _get_size.
4270
4271         * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_get_size):
4272         always initialize [xy]_offset.
4273         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): ditto.
4274         * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_size):
4275         ditto.
4276
4277 2006-12-03  Kristian Rietveld  <kris@gtk.org>
4278
4279         * gtk/gtktreeview.c (validate_visible_area): when not using an
4280         explicit alignment, use the full area of the row (not just dy)
4281         to determine how to implicitly align it.  (Fixes #363191, reported
4282         by Federico Mena Quintero).
4283
4284 2006-12-02  Matthias Clasen  <mclasen@redhat.com>
4285
4286         * gtk/gtkicontheme.c (insert_theme): Properly clean up
4287         if an icon theme index file has no directories.  (#381236)
4288
4289 2006-12-02  Dom Lachowicz <domlachowicz@gmail.com>
4290
4291         * src/modules/engines/ms-windows/msw_style.c: Bug 351678 - Notebooks 
4292         not with PositionType.Top drawn incorrectly. Patch by Cody Russell
4293         
4294 2006-11-28  Behdad Esfahbod  <behdad@gnome.org>
4295
4296         Remove the broken Thai input method and add a functional Thai and Lao
4297         input method by Theppitak Karoonboonyanan. (#81031)
4298
4299         * modules/input/imthai.c:
4300         * modules/input/gtkimcontextthai.c:
4301         * modules/input/gtkimcontextthai.h:
4302         * modules/input/thai-charprop.c:
4303         * modules/input/thai-charprop.h:
4304         Added.
4305
4306         * modules/input/imthai-broken.c:
4307         Removed.
4308         
4309         * modules/input/Makefile.am:
4310         Updated.
4311
4312 2006-11-27  Christian Persch  <chpe@cvs.gnome.org>
4313
4314         * gtk/gtkstatusicon.c: Notify when the screen changes. Bug #379793.
4315
4316 Mon Nov 27 12:27:06 2006  Tim Janik  <timj@imendio.com>
4317
4318         * gtk/gtktextview.c: applied patch by  Colin Leroy for
4319         Control+GDK_KP_Left to move one word to the left, #356255.
4320
4321 2006-11-26  Benjamin Berg  <benjamin@sipsolutions.net>
4322
4323         * gtk/gtkstyle.c: (gtk_default_draw_flat_box): Protect against NULL
4324           widget. (#379503)
4325
4326 2006-11-25  Matthias Clasen  <mclasen@redhat.com>
4327
4328         * modules/printbackends/cups/gtkprintbackendcups.c: Make
4329         print dialog work when 'BrowseShortNames Off' is specified
4330         in cups configuration. Patch by Tim Waugh.
4331
4332 2006-11-24  Michael Natterer  <mitch@imendio.com>
4333
4334         * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): if we
4335         can't go up/down, consult gtk_widget_keynav_failed() and leave the
4336         widget if it returns FALSE (bug #322640).
4337
4338 2006-11-23  Behdad Esfahbod  <behdad@gnome.org>
4339
4340         * gtk/gtkmain.c: Fix minor typo in docs. (#378632, Hannes Mueller)
4341
4342 2006-11-22  Emmanuele Bassi  <ebassi@gnome.org>
4343
4344         * gtk/gtkrecentmanager.c:
4345         (get_uri_shortname_for_display): g_filename_from_uri() might
4346         fail; catch the failure and fall back to the non-local URI
4347         case. (#363437)
4348
4349 2006-11-19  Mark McLoughlin  <mark@skynet.ie>
4350
4351         Fixes bug #376502 - multi-screen support for GtkStatusIcon
4352
4353         * gtk/gtkstatusicon.[ch]:
4354         (gtk_status_icon_set_screen),
4355         (gtk_status_icon_get_screen): add multi-screen API. Allows
4356         an app to display an icon on a non-default screen
4357         (gtk_status_icon_class_init),
4358         (gtk_status_icon_set_property),
4359         (gtk_status_icon_get_property): add a "screen" property
4360         
4361         * tests/teststatusicon.c: update to test on multiple screens
4362
4363 2006-11-17  Matthias Clasen  <mclasen@redhat.com>
4364
4365         Fix problems with drag cancellation. (#376535, Michael Natterer)
4366         
4367         * gtk/gtkdnd.c (gtk_drag_source_info_destroy): Disconnect signal
4368         handlers before emitting drag-end.
4369         (gtk_drag_end): Disconnect signal handlers before removing
4370         the grab.  
4371
4372 2006-11-16  Mariano Suárez-Alvarez <mariano@gnome.org>
4373
4374         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
4375         add gtk-doc blurb on GtkCellRendererText::edited (#376094)
4376
4377 2006-11-16  Michael Natterer  <mitch@imendio.com>
4378
4379         * gtk/gtkradiobutton.c (gtk_radio_button_focus): don't use
4380         gtk_widget_keynav_failed(). Instead, look at gtk-keynav-cursor-only
4381         and gtk-keynav-wrap-around and wrap around, beep or continue outside
4382         the group manually (bug #322640).
4383
4384 2006-11-16  Michael Natterer  <mitch@imendio.com>
4385
4386         Add new infrastructure for notifications of failed keyboard
4387         navigation and navigation with restricted set of keys.
4388
4389         The patch handles configurable beeping, navigating the GUI with
4390         cursor keys only (as in phone environments), and configurable
4391         wrap-around. Fixes bugs #322640, #70986, #318827, #334726, #334742
4392         and #309291.
4393
4394         * gtk/gtksettings.c: added properties gtk-keynav-cursor-only,
4395         gtk-keynav-wrap-around and gtk-error-bell.
4396
4397         * gtk/gtkwidget.[ch]: added new signal "keynav-failed" and public
4398         API to emit it. Added New function gtk_widget_error_bell() which
4399         looks at the gtk-error-bell setting and calls gdk_window_beep()
4400         accordingly.
4401
4402         * gtk/gtk.symbols: add the new widget symbols.
4403
4404         * gtk/gtkcellrendereraccel.c
4405         * gtk/gtkimcontextsimple.c
4406         * gtk/gtkmenu.c
4407         * gtk/gtknotebook.c: use gtk_widget_error_bell() or look at the
4408         gtk-error-bell setting instead of calling gdk_display_beep()
4409         unconditionally.
4410
4411         * gtk/gtkcombobox.c
4412         * gtk/gtkentry.c
4413         * gtk/gtkiconview.c
4414         * gtk/gtklabel.c
4415         * gtk/gtkmenushell.c
4416         * gtk/gtkspinbutton.c
4417         * gtk/gtktextview.c
4418         * gtk/gtktreeview.c: call gtk_widget_error_bell() on failed keynav.
4419
4420         * gtk/gtkentry.c
4421         * gtk/gtklabel.c
4422         * gtk/gtkrange.c
4423         * gtk/gtktextview.c: consult gtk_widget_keynav_failed() on failed
4424         cursor navigation and leave the widget if it returns FALSE.
4425
4426         * gtk/gtkmenushell.c
4427         * gtk/gtknotebook.c: only wrap around if gtk-keynav-wrap-around
4428         is TRUE.
4429
4430         * gtk/gtkradiobutton.c: ask gtk_widget_keynav_failed() to decide
4431         whether to to wrap-around, and don't select active items on cursor
4432         navigation if gtk-keynav-cursor-only is TRUE. Should look at
4433         gtk-keynav-wrap-around too, will look into that.
4434
4435 2006-11-16  Emmanuele Bassi  <ebassi@gnome.org>
4436
4437         * gtk/gtkrecentmanager.c:
4438         (gtk_recent_info_get_uri_display): Return the URI
4439         of the GtkRecentInfo object (upgraded to UTF-8 if
4440         needed) in case of non-local file. (#351945)
4441
4442 2006-11-16  Emmanuele Bassi  <ebassi@gnome.org>
4443         
4444         * gtk/gtkrecentchoosermenu.c:
4445         (gtk_recent_chooser_menu_add_tip): Apply the tip only
4446         if we have a displayable name for the item. (#365031,
4447         patch by padraig.obriain(at)sun.com)
4448
4449 2006-11-16  Emmanuele Bassi  <ebassi@gnome.org>
4450
4451         * gtk/gtkrecentmanager.c: Provide a fast path returning
4452         NULL when the limit is set to 0.
4453
4454         * gtk/gtkrecentchooserdefault.c:
4455         * gtk/gtkrecentchoosermenu.c: Add the same fast path
4456         inside the RecentChooser implementation; add a check
4457         in the list clamping code. (#373466 and duplicates)
4458
4459 2006-11-15  Matthias Clasen  <mclasen@redhat.com>
4460
4461         * modules/printbackends/cups/gtkprintbackendcups.c (cups_printer_get_options): 
4462         Don't pass NULL to strncpy.  (#359537, patch by  Carlos Garcia Campos)
4463
4464 2006-11-15  Michael Natterer  <mitch@imendio.com>
4465
4466         * gtk/gtkrange.[ch]: added properties "fill-level",
4467         "show-fill-level" and "restrict-to-fill-level" and getters/setters
4468         for them. The "fill level" is an additional marker on the range's
4469         trough than can be e.g. used to indicate the amount of
4470         pre-buffering in a range showing the play position of streamed
4471         media. See the embedded API docs for details. Made GtkRangeLayout
4472         a GTypeInstance private struct and removed finalize()
4473         implementation. Fixes bug #349808
4474
4475         * gtk/gtk.symbols: added the new symbols.
4476
4477 2006-11-14  Behdad Esfahbod  <behdad@gnome.org>
4478
4479         * configure.in: Make libtool magic robust. (#352795)
4480
4481 2006-11-13  Paolo Borelli  <pborelli@katamail.com>
4482
4483         * gtk/gtkrc.c (gtk_rc_parse_icon_source): plug small memory
4484         leak (#370395)
4485
4486 2006-11-09  Kristian Rietveld  <kris@imendio.com>
4487
4488         * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): disable
4489         don't move cursor case for SELECTION_NONE. (#371756, John Ellis).
4490
4491 2006-11-09  Carlos Garnacho  <carlosg@gnome.org>
4492
4493         * gtk/gtkpathbar.c (on_slider_unmap): Fix parenthesis confusion.
4494
4495 2006-11-08  Carlos Garnacho  <carlosg@gnome.org>
4496
4497         * gtk/gtkpathbar.c (on_slider_unmap): added, do not leave the scroll
4498         timeout running if the slider buttons are hidden. (#372527)
4499
4500 2006-11-08  Christian Persch  <chpe@cvs.gnome.org>
4501
4502         * gtk/gtkfilechooserdefault.c (browse_widgets_create): Don't make
4503         the "Location" label bold. Bug #372449.
4504
4505 2006-11-07  Carlos Garnacho  <carlosg@gnome.org>
4506
4507         * gtk/gtknotebook.c (gtk_notebook_calculate_tabs_allocation): make
4508         non-focused tabs xthickness/ythickness thinner. (#353962)
4509
4510 2006-11-07  Paolo Borelli  <pborelli@katamail.com>
4511
4512         * gtk/gtktextbtree.c (_gtk_text_btree_delete): avoid memory
4513         corruption (#357050).
4514
4515 2006-11-06  Alexander Larsson  <alexl@redhat.com>
4516
4517         * gtk/gtkdnd.c: (gtk_drag_begin_internal),
4518         (gtk_drag_source_info_destroy), (gtk_drag_end),
4519         (gtk_drag_grab_notify_cb):
4520         Cancel drag when the grab is shadowed. (#122688)
4521
4522 2006-11-01  Kristian Rietveld  <kris@imendio.com>
4523
4524         * gtk/gtkcombobox.c (gtk_combo_box_class_init),
4525         (gtk_combo_box_size_request): add arrow-size property to control
4526         the minimum size of the arrow, have the arrow scale up with the
4527         font by default. (#357950).
4528
4529 2006-10-30  Kristian Rietveld  <kris@gtk.org>
4530
4531         * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): don't
4532         forget to queue a draw for the new cursor node. (Fixes #366548,
4533         reported by Sven Herzberg).
4534
4535 2006-10-30  Michael Natterer  <mitch@imendio.com>
4536
4537         * gtk/gtkrange.c (gtk_range_key_press): consume the Escape key
4538         only if we actually cancel a drag. Fixes bug #58389.
4539
4540 2006-10-30  Kristian Rietveld  <kris@gtk.org>
4541
4542         * gtk/gtktreeview.c (gtk_tree_view_class_init): change left/right
4543         keybindings to collapse/expand rows instead of moving the focus
4544         cursor. (#105895, Brian Bober and others).
4545
4546 2006-10-29  Kristian Rietveld  <kris@gtk.org>
4547
4548         * gtk/gtktreeview.c (gtk_tree_view_real_expand_row): guard against
4549         child removal in row-expanded callback. (#366782, John Ellis).
4550
4551 2006-10-29  Tor Lillqvist  <tml@novell.com>
4552
4553         * gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Improve handling
4554         of the small icon of the window class. (#152620, Kazuki Iwamoto)
4555
4556 2006-10-29  Tor Lillqvist  <tml@novell.com>
4557
4558         * gdk/win32/gdkcursor-win32.c
4559         (gdk_win32_icon_to_pixbuf_libgtk_only): Implement for B&W cursors,
4560         for instance the built-in GDK ones.
4561
4562 2006-10-27  Kristian Rietveld  <kris@gtk.org>
4563
4564         * gtk/gtktreeview.c (validate_visible_area): rework the area_above == 0
4565         case to not overwrite the variables in the lower scope (which are
4566         used later on ...), get the path correctly and bail out when there
4567         isn't a node above us. (#359231).
4568
4569 2006-10-26  Christian Persch  <chpe@cvs.gnome.org>
4570
4571         * gtk/gtkaboutdialog.c: Put initial focus on Close button (#337261).
4572
4573 2006-10-25  Johan Dahlin  <jdahlin@async.com.br>
4574
4575         * gtk/gtk.symbols: Add missing symbols to so make check can pass
4576
4577 2006-10-23  Dom Lachowicz <domlachowicz@gmail.com>
4578
4579         * src/modules/engines/ms-windows/msw_style.c (draw_expander): Remember
4580         to free GDI Pen resources, introduced by bug 340201.(#364514)
4581         
4582 2006-10-18  Kristian Rietveld  <kris@imendio.com>
4583
4584         * tests/testcombo.c (main): connect to notify::popup-shown instead of
4585         popup-show (the latter does not exist).
4586
4587 2006-10-15  Paolo Borelli  <pborelli@katamail.com>
4588
4589         * gtk/gtkicontheme.c (pixbuf_supports_svg): plug memory leak.
4590         Fixes bug #362439.
4591
4592 2006-10-12  Michael Natterer  <mitch@imendio.com>
4593
4594         * gtk/gtkcombobox.c (gtk_combo_box_class_init): fix commit below
4595         (committed the wrong patch).
4596
4597 2006-10-12  Michael Natterer  <mitch@imendio.com>
4598
4599         * gtk/gtkcombobox.c: added "move-active" and "popup" signals and
4600         bindings to trigger them. Removed gtk_combo_box_key_press(), it's
4601         obsolete now. Fixes bug #358293.
4602
4603 2006-10-11  Michael Emmel  <mike.emmel@gmail.com>
4604
4605         * gdkpixmap-directfb.c: add missing RGB24 case (#361176) 
4606
4607 2006-10-11  Tor Lillqvist  <tml@novell.com>
4608
4609         * configure.in: Enable having some gdk-pixbuf loaders built-in
4610         even if loading the others dynamically. Define Automake
4611         conditional INCLUDE_FOO for each loader as TRUE if that loader is
4612         built-in. See also gdk-pixbuf/ChangeLog.
4613
4614 Wed Oct 11 14:31:30 2006  Tim Janik  <timj@imendio.com>
4615
4616         * docs/reference/gtk/gtk-sections.txt:
4617         * gtk/gtkbindings.c: document gtk_binding_entry_skip().
4618
4619 2006-10-11  Tor Lillqvist  <tml@novell.com>
4620
4621         * gtk/gtk.symbols: Remove gtk_combo_string_key, which is a static
4622         variable.
4623
4624 2006-10-11  Tor Lillqvist  <tml@novell.com>
4625
4626         Merge from 2.10 branch:
4627
4628         * gtk/gtkmain.c (do_pre_parse_initialization): On Win32, if
4629         environment variable LC_ALL or LANG is set, set the Win32 thread
4630         locale to the corresponding locale. Then call the C library
4631         setlocale() to set the C library locale accordingly. The
4632         inconsistency mentioned below is gone. (#339756) Do some special
4633         casing for Serbia and Montenegro. Handle the Latin and Cyrillic
4634         scripts for Azeri, Uzbek and Serbian.
4635         (enum_locale_proc): Helper function for the above functionality.
4636
4637         * gtk/gtkcalendar.c (gtk_calendar_init): No longer need to check
4638         if the environment variables are set here, as they have already
4639         been taken into account and the Win32 thread locale has been
4640         set.
4641
4642 Tue Oct 10 16:38:23 2006  Tim Janik  <timj@imendio.com>
4643
4644         * gtk/tmpl/gtkbindings.sgml: 
4645         * gtk/gtkbindings.c: applied patch from Michael Natterer to move to 
4646         inline docs. applied wording fixes suggested by Martyn Russell.
4647
4648 2006-10-09  Matthias Clasen  <mclasen@redhat.com>
4649
4650         * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
4651         Update the docs to state which out parameters may be NULL.
4652         (#360870, Attilio Fiandrotti)
4653
4654 2006-10-08  Matthias Clasen  <mclasen@redhat.com>
4655
4656         * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities): Fix
4657         a typo.  (#359542, Ghee Teo)
4658
4659 2006-10-08 Matthias Clasen <mclasen@redhat.com>
4660
4661         * gtk/gtknotebook.c (gtk_notebook_reorder_tab): Only
4662         reorder tabs if the focus is in the tab.  (#350342, Carlos
4663         Garnacho Parro)
4664
4665 2006-10-08 Michael Emmel <mike.emmel@gmail.com>
4666
4667         * gdk/directfb/gdkproperty-directfb.c strdup atom name (#357611) 
4668
4669 2006-10-08  Kristian Rietveld  <kris@gtk.org>
4670
4671         * gtk/gtktreeview.[ch] (gtk_tree_view_set_property),
4672         (gtk_tree_view_set_show_expanders),
4673         (gtk_tree_view_get_show_expanders): add getter/setter for
4674         show-expanders property, queue a redraw when this property
4675         is toggled (#351167, Martin Ejdestig),
4676         (gtk_tree_view_set_level_indentation),
4677         (gtk_tree_view_get_level_indentation): also add getter/setter
4678         and docs for level-indentation property.
4679
4680 2006-10-08  Matthias Clasen  <mclasen@redhat.com>
4681
4682         * gtk/gtkradiobutton.c (gtk_radio_button_focus): Don't 
4683         leak a list.  (#360350, Benjamin Berg)
4684
4685         * Apply a cleanup patch by Kjartan Maraas  (#341812)
4686
4687 2006-10-07  Tor Lillqvist  <tml@novell.com>
4688
4689         * gtk/gtkcalendar.c (gtk_calendar_init): Use the Win32 thread
4690         locale's first day of week setting on Win32. (#339752, Bogdan
4691         Nicula) Don't do this if one of the environment variables that
4692         affect gettext is set, though. In that case use the week start day
4693         from the corresponding message catalog.
4694
4695         Unfortunately the same logic isn't possible in the weekday and
4696         month name lookup; there even if you have set one of the
4697         aforementioned environment variables, you still get the weekday
4698         and month names from the Win32 thread locale. Yes, this is
4699         inconsistent.
4700
4701         Use only wide-character API in the Win32 code in this file, too.
4702
4703 2006-10-06  Matthias Clasen  <mclasen@redhat.com>
4704
4705         * gtk/gtkfilechooser.c (gtk_file_chooser_set_select_multiple):
4706         Fix the docs.  (#360112)
4707
4708         * gtk/gtkcellview.c: Don't set the background of the
4709         window in a no-window widget.  (#359581, Xan Lopez)
4710
4711
4712 2006-10-05  Behdad Esfahbod  <behdad@gnome.org>
4713
4714         * gtk/Makefile.am, gtk/aliasfilescheck.sh:  Propagate srcdir into the
4715         test correctly. (#359845)
4716
4717 2006-10-05  Michael Natterer  <mitch@imendio.com>
4718
4719         * gtk/gtkrc.[ch]: added new scanner token "unbind" which gets
4720         rid of a key binding (in fact, it only lets it appear unbound).
4721
4722         * gtk/gtkbindings.[ch] (struct GtkBindingEntry): added
4723         "guint marks_unbound : 1"
4724
4725         (gtk_binding_entry_skip): new API which marks the entry as unbound.
4726
4727         Changed code so it returns FALSE when "marks_unbound == TRUE" is
4728         encountered while activating bindings, effectively letting the
4729         binding appear unbound (regardless of still existing bindings in
4730         lower binding priority levels). Fixes bug #358329.
4731
4732         (gtk_binding_entry_add)
4733         (gtk_binding_entry_clear)
4734         (gtk_binding_entry_add_signall)
4735         (gtk_binding_parse_binding): deprected these functions.
4736
4737         (_gtk_binding_parse_binding)
4738         (_gtk_binding_entry_add_signall): new internal API.
4739
4740         * gtk/gtk.symbols: changed accordingly.
4741
4742 2006-10-03  Matthias Clasen  <mclasen@redhat.com>
4743
4744         Fix interaction of GtkEntryCompletion with input
4745         methods.  (#354495, Diego Escalante Urrelo)
4746
4747         * gtk/gtkentry.c (gtk_entry_completion_key_press): Only reset
4748         the im context if we actually handle the key event.
4749
4750         * gtk/gtkentrycompletion.c: Also propagate key release events
4751         to the entry.
4752
4753 2006-10-03  Matthias Clasen  <mclasen@redhat.com>
4754
4755         * gtk/gtkprintsettings.c (gtk_print_settings_get_duplex):
4756         Fix a typo.  (#359052, Ghee Teo)
4757
4758         * gtk/*.c, gdk/*.c: Apply a patch by Behdad Esfahbod to
4759         reduce relocations. (#359053)
4760
4761 2006-10-03  Matthias Clasen  <mclasen@redhat.com>
4762
4763         * modules/printbackends/cups/gtkcupsutils.c:
4764         * modules/printbackends/cups/gtkprintbackendcups.c: Complete
4765         the fix for bug 357280.
4766
4767 2006-10-02  Behdad Esfahbod  <behdad@gnome.org>
4768
4769         * gdk-pixbuf/Makefile.am:
4770         * gdk/Makefile.am:
4771         * gtk/Makefile.am:
4772         Include pltcheck.sh in EXTRA_DIST.
4773
4774 2006-10-02  Behdad Esfahbod  <behdad@gnome.org>
4775
4776         * gdk/x11/gdkevents-x11.c: Move all includes before including
4777         gdkalias.h.
4778
4779 2006-10-02  Behdad Esfahbod  <behdad@gnome.org>
4780
4781         * gtk/Makefile.am: Fix typo in file name.  (#358931)
4782
4783 2006-10-02  Matthias Clasen  <mclasen@redhat.com>
4784
4785         * modules/printbackends/cups/gtkprintbackendcups.c (available_choices): 
4786         Only use the group name field if cups is new enough.  (#357280)
4787
4788         * gtk/gtksizegroup.c: Make sure that the quarks are 
4789         initialized before using them.  (#353736)
4790
4791         * gtk/Makefile.am (stamp-icons): Use rm instead of ln -f to
4792         replace existing links.  (#354849, James Evans)
4793
4794 2006-10-01  Matthias Clasen  <mclasen@redhat.com>
4795
4796         * gtk/gtkexpander.c (gtk_expander_realize) 
4797         (gtk_expander_size_allocate): Make the event_window large
4798         enough to cover the full height of the label_widget.  (#358351,
4799         Scott Horowitz)
4800
4801 2006-10-01  Tor Lillqvist  <tml@novell.com>
4802
4803         * gtk/gtkfilesystemwin32.c: Same change as to gtkfilesystemunix.c.
4804
4805 2006-09-30  Matthias Clasen  <mclasen@redhat.com>
4806
4807         * gtk/gtkfilechooserbutton.c (update_combo_box): Protect
4808         against base_path being NULL.  (#358405, many reporters)
4809
4810 2006-09-29  Matthias Clasen  <mclasen@redhat.com>
4811
4812         * gtk/gtkfilesystemunix.c: Apply a patch by Padraig O'Briain
4813         to avoid a deadlock.
4814
4815 2006-09-27  Kristian Rietveld  <kris@imendio.com>
4816
4817         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_free_level),
4818         (gtk_tree_model_filter_ref_node),
4819         (gtk_tree_model_filter_real_unref_node): bring zero ref count loops
4820         in sync with each other and the sort model.
4821
4822 2006-09-27  Kristian Rietveld  <kris@imendio.com>
4823
4824         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_init),
4825         (gtk_tree_model_filter_finalize), (gtk_tree_model_filter_row_deleted),
4826         (gtk_tree_model_filter_new): unref the virtual root path once that
4827         node (or one if its ancestors) is deleted, set virtual_root_deleted
4828         so we only unref it once.
4829
4830 2006-09-27  Kristian Rietveld  <kris@imendio.com>
4831
4832         * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_changed),
4833         (gtk_tree_model_sort_sort_level): ref count nodes the proper way,
4834         (gtk_tree_model_sort_ref_node), (gtk_tree_model_sort_real_unref_node),
4835         (gtk_tree_model_sort_free_level): bring zero ref count loops in
4836         sync,
4837         (gtk_tree_model_sort_free_level): free child levels before
4838         decreasing the zero ref count of the current level,
4839         (gtk_tree_model_sort_clear_cache): only clear cache if zero_ref_count
4840         is > 0.
4841
4842 2006-09-25  Matthias Clasen  <mclasen@redhat.com>
4843
4844         * demos/gtk-demo/*.c:
4845         * gtk/gtkeventbox.c:
4846         * gtk/gtkprintoperation.c: Fix typos. String change.
4847
4848 2006-09-25  Kristian Rietveld  <kris@gtk.org>
4849
4850         * gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): if the tree view
4851         has already been realized; scroll to background area instead of
4852         cell area. (Fixes #330683, Johan Dahlin, Tommi Komulainen).
4853
4854 2006-09-25  Kristian Rietveld  <kris@gtk.org>
4855
4856         * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): only attempt
4857         to create the GCs if the widget is realized. (Fixes #357578).
4858
4859 2006-09-25  Matthias Clasen  <mclasen@redhat.com>
4860
4861         * gtk/gtkuimanager.c (_gtk_menu_is_empty): Don't leak
4862         the list of children (#357454, Paolo Borelli)
4863
4864 2006-09-25  Michael Natterer  <mitch@imendio.com>
4865
4866         * gdk/x11/gdkdisplay-x11.c (gdk_display_x11_finalize): free
4867         display->input_windows with g_free(), not g_object_unref()
4868         (#357566, Tommi Komulainen).
4869
4870 2006-09-24  Kristian Rietveld  <kris@gtk.org>
4871
4872         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init),
4873         (gtk_cell_renderer_text_[sg]et_property): actually add align-set
4874         property to the API (left-over patch from #157439).
4875
4876 2006-09-24  Kristian Rietveld  <kris@gtk.org>
4877
4878         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button): draw
4879         the indicator if the column has a sort column id (and the model is
4880         sortable) or if the user explicitly requested the indicator
4881         to be shown.  (Fixes #352738, Chris Vine).
4882
4883 2006-09-23  Tor Lillqvist  <tml@novell.com>
4884
4885         * gtk/Makefile.am: Use EXEEXT.
4886
4887 2006-09-22  Michael Natterer  <mitch@imendio.com>
4888
4889         * gtk/gtkstyle.c (gtk_style_real_copy): also copy icon factories
4890         and color hashes. Fixes bug #357132.
4891
4892 2006-09-22  Matthias Clasen  <mclasen@redhat.com>
4893
4894         Make remote bookmarks work better (#354887)
4895         
4896         * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): 
4897         (shortcuts_insert_path): 
4898         * gtk/gtkfilechooserbutton.c (change_icon_theme): 
4899         (model_add_bookmarks): 
4900         (model_update_current_folder): 
4901         (update_label_and_image): 
4902         If the bookmark points to a remote file, don't call get_info(), 
4903         since that may a) take a long time and b) pop up an auth dialog.
4904         Instead, just use a folder icon and create a display name
4905         from the uri.
4906
4907         * gtk/gtkfilechooserdefault.c (_gtk_file_chooser_label_for_uri): 
4908         New function to create a suitable display name for a remote
4909         uri. This should really be done in GtkFileSystem.
4910         
4911 2006-09-21  Michael Natterer  <mitch@imendio.com>
4912
4913        Implement lots of value setters for GdkGC, based on a heavily
4914        modified patch from Thomas Broyer (bug #328853):
4915
4916         * gdk/quartz/gdkcolor-quartz.c: removed functions which set colors
4917         on the CGContext. Instead, added gdk_quartz_get_rgba_from_pixel()
4918         which simply returns RGBA values from a GdkColor's pixel value.
4919         See gdk_quartz_update_context_from_gc() below.
4920
4921         * gdk/quartz/gdkprivate-quartz.h (struct GdkGCQuartz): added lots
4922         of members for the newly suppored GC values. Added enum
4923         GdkQuartzContextValuesMask which is used for setting up the
4924         CGContext for filling and/or stroking.
4925
4926         * gdk/quartz/gdkgc-quartz.c (gdk_quartz_gc_get_values)
4927         (gdk_quartz_gc_set_values)
4928         (_gdk_windowing_gc_copy): support a lot more GC values.
4929
4930         (gdk_quartz_update_context_from_gc): added
4931         GdkQuartzContextValuesMask parameter and set filling/stroking
4932         parameters accordingly. This function also gained full control
4933         over the FG and BG colors (they can't be set separately any more).
4934
4935         The stipple mask part of the patch doesn't work but seems to take
4936         the right approach and doesn't make things worse, so I applied it.
4937
4938         Did *not* apply the clipping part of the patch since I don't
4939         understand it (I don't understand the version in CVS either, but
4940         it at least works :-)
4941
4942         * gdk/quartz/gdkdrawable-quartz.c: pass the right masks to
4943         gdk_quartz_update_context_from_gc() and removed separate color
4944         setting calls. Some minor fixes.
4945
4946         * gdk/quartz/gdkwindow-quartz.c
4947         (gdk_window_impl_quartz_begin_paint_region): set the CGContext's
4948         fill color manually. We don't have/need a GC here.
4949
4950 2006-09-21  Michael Natterer  <mitch@imendio.com>
4951
4952         * gdk/quartz/gdkwindow-quartz.c
4953         (gdk_window_impl_quartz_begin_paint_region): fix cast: it's
4954         drawable_impl->wrapper that is the GdkWindow, not the
4955         drawable_impl itself.
4956
4957 2006-09-20  Behnam Esfahbod <behnam@zwnj.org>
4958
4959         * gdk/x11/gdkkeys-x11.c:
4960           (get_direction): just check the first shift-level of keyboard
4961         layout for RTL and LTR keysyms() (compliment to #116626)
4962
4963 Wed Sep 20 16:59:38 2006  Tim Janik  <timj@imendio.com>
4964
4965         * gtk/gtkviewport.c: always update the bin_window position and size
4966         in size_allocate, even if we don't have a visible child. this fixes
4967         expose artefacts as described in #313508.
4968
4969         * gtk/gtkscrolledwindow.c: make hiding of automatic scrollbars when we
4970         have no visible child explicit.
4971
4972 2006-09-19  Ryan Lortie  <desrt@desrt.ca>
4973
4974         * docs/reference/gdk/gdk-sections.txt:
4975         * gdk/gdk.symbols:
4976         * gdk/gdkpango.h:
4977         * gdk/gdkpango.c: Bug 355343.  Add a GdkPangoAttrEmbossColor.
4978           (gdk_pango_layout_get_clip_region): Remove an unused variable.
4979           (gdk_pango_attr_embossed_new): Fix documentation.
4980
4981 Tue Sep 19 17:00:04 2006  Tim Janik  <timj@imendio.com>
4982
4983         * gtk/gtkarrow.c: added GtkArrow::arrow-scaling style property to 
4984         control the arrow/border ratio within the allocation.
4985
4986         * tests/testgtk.c: added a GtkArrow to handle box test.
4987
4988         * tests/testgtkrc: test ::arrow-scaling property.
4989
4990 2006-09-19  Matthias Clasen  <mclasen@redhat.com>
4991
4992         * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
4993         Display an error when we come to the root.  
4994
4995 2006-09-16  Matthias Clasen  <mclasen@redhat.com>
4996
4997         * gtk/gtkfilechooserbutton.c: Use bookmark labels in 
4998         the combobox. 
4999
5000         * gtk/gtkfilechooserbutton.c: Don't add remote volumes and 
5001         bookmarks to the model in local-only mode, to avoid 
5002         authentication dialogs pop up for invisible bookmarks, and
5003         to fix issues with separators not being hidden when
5004         they should.  (#354887, Dennis Cranston)
5005
5006 2006-09-16  Matthias Clasen  <mclasen@redhat.com>
5007
5008         * gtk/gtkcombobox.c (gtk_combo_box_finalize): Unref the
5009         treeview use in list mode.  (#355732, Richard Hult)
5010
5011         * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): Send
5012         change notification for the right property.  (#355308,
5013         Torsten Schoenfeld)
5014
5015 2006-09-15  Michael Natterer  <mitch@imendio.com>
5016
5017         * gtk/gtktreeview.c (gtk_tree_view_key_press): refactored column
5018         header navigation/resizing/reordering to be more readable and lose
5019         one level of nesting.
5020
5021 2006-09-15  Kristian Rietveld  <kris@imendio.com>
5022
5023         * gtk/gtktreeview.c (gtk_tree_view_key_press): actually directly
5024         return after handling column button focus; we disable wrap around
5025         with this (which actually happened via a really weird code path).
5026         (Michael Natterer)
5027
5028 2006-09-15  Kristian Rietveld  <kris@imendio.com>
5029
5030         * gtk/gtktreeview.c (gtk_tree_view_key_press): make column resizing
5031         code RTL aware, also break from the loops after we have seen the
5032         focussed column button (Michael Natterer).
5033
5034 Thu Sep 14 12:28:51 2006  Tim Janik  <timj@imendio.com>
5035
5036         * tests/testrichtext.c (main): intialize random number generator state
5037         upon program start, to enable truely random testing.
5038
5039 2006-09-13 Michael Emmel <mike.emmel@gmail.com>
5040
5041         * gdk/directfb/gdkcolor-directfb.c small clean ups include order
5042         * gdk/directfb/gdkwindow-directfb.c fixed beep compile error
5043         * gdk/directfb/Makefile.am removed GDK_PIXBUF_DISABLE_DEPRECATED
5044                 GDK_DISABLE_DEPRECATED to allow compile per Behdad
5045         * gdk/quartz/Makefile.am same change as directfb Makefile
5046         * gtk/Makefile.am fixed typo that cause socket stubs not to compile
5047
5048 2006-09-13 Matthias Clasen <mclasen@redhat.com>
5049
5050         * gtk/gtkcolorsel.c: Use a GtkWindow instead of a GtkInvisible
5051         for the grab widget, to make the color picker work with window
5052         groups.  
5053
5054 2006-09-12 Hong Jen Yee <pcman.tw@gmail.com>
5055
5056         signed off by: Dom Lachowicz
5057         
5058         * modules/engines/ms-windows/msw_style.c: Bug 340201. This contains
5059         a large number of improvements to the Microsoft Windows theme engine
5060         which are fully described in the bug report.
5061         
5062 Mon Sep 11 14:22:39 2006  Tim Janik  <timj@imendio.com>
5063
5064         * tests/testgtk.c: fixed compiler warnings.
5065
5066 2006-09-10  Matthias Clasen  <mclasen@redhat.com>
5067
5068         * gtk/gtkfilechooserbutton.c (model_add_special): Request
5069         the display name too, otherwise "Desktop" does not appear
5070         in the file chooser button. 
5071
5072 2006-09-10  Tor Lillqvist  <tml@novell.com>
5073
5074         * gdk/win32/gdkprivate-win32.h
5075         * gdk/win32/gdkmain-win32.c
5076         * gdk/win32/gdkwindow-win32.c: Define WINVER and _WIN32_WINNT as
5077         0x0500 in gdkprivate-win32.h instead of doing it in two source
5078         files. (#355212, Mike Edenfield)
5079
5080         * gdk/win32/gdkwindow-win32.c: We can also remove the ersatz
5081         GetAncestor() for the _MSC_VER && WINVER < 0x0500 case, I hope.
5082
5083 2006-09-10  Matthias Clasen  <mclasen@redhat.com>
5084
5085         * Commit a patch by Behdad to fix typos, omissions and other
5086         errors in the symbol aliasing, and add checks for local PLT
5087         entries.  (#354687, Behdad Esfahbod)
5088
5089         * gtk/gtktreeview.c (gtk_tree_view_search_scroll_event): Renew
5090         the flush timeout.  (#354043, Nelson Benitez)
5091         
5092         * gtk/gtkfilechoosersettings.c (set_unexpected_element_end_error): 
5093         Improve wording. String change!  (#355126, David Lodge)
5094
5095         * gtk/updateiconcache.c: Improve wording. String change!  (#355128,
5096         David Lodge)
5097
5098         * gtk/paper_names_offsets.c: Fix a typo. String change!  (#355134,
5099         David Lodge)
5100
5101 2006-09-09  Matthias Clasen <mclasen@redhat.com>
5102
5103         * gdk/x11/gdkfonts-x11.c: Fix small theoretical memory leaks.
5104         (#353916, Chris Wilson)
5105
5106         * gtk/gtksettings.c (_gtk_settings_reset_rc_values):
5107         Don't leak the to_reset list.  (#353914, Chris Wilson)
5108
5109         * gtk/gtkwidget.c: Add docs for the parent-set signal.
5110         (#353772, Mariano Suárez-Alvarez)
5111
5112 2006-09-08  Matthias Clasen <mclasen@redhat.com>
5113
5114         * gtk/gtktextbuffer.c (remove_all_selection_clipboards):
5115         Don't clear clipboards here, since we are called from finalize
5116         and can't emit signals.
5117
5118         * configure.in: Set version to 2.11.0
5119
5120 2006-09-06  Richard Hult  <richard@imendio.com>
5121
5122         * gdk/quartz/gdkkeys-quartz.c: (maybe_update_keymap): Special-case 
5123         shift-tab and map it to GDK_ISO_Left_Tab, fixes bug #350806.
5124
5125 2006-09-04  Kristian Rietveld  <kris@imendio.com>
5126
5127         * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
5128         if setting the given folder failed, try setting the parent folder
5129         until we succeed; display an error box at the end.
5130
5131 2006-09-04  Kristian Rietveld  <kris@imendio.com>
5132
5133         * gtk/gtkpathbar.c (gtk_path_bar_dispose): don't cancel the
5134         operations spawned by buttons here,
5135         (set_button_image_get_info_cb): bail out if button is NULL, but
5136         do free button_data,
5137         (button_data_free): only free the data if non NULL (since this
5138         function can be called multiple times for the same data), cancel
5139         handle if pending but don't free button_data in this case (will
5140         happen in the callback).
5141
5142 2006-09-04  Michael Natterer  <mitch@imendio.com>
5143
5144         * gtk/gtkrc.c (rc_parse_token_or_compound)
5145         (gtk_rc_parse_assignment): serialize floating point values using
5146         locale-independent functions. (#346751, Frederic Crozat)
5147
5148 2006-09-04  Tor Lillqvist  <tml@novell.com>
5149
5150         * gdk/win32/gdkevents-win32.c
5151         * gdk/win32/gdkwindow-win32.c: Use wide-char API for message and
5152         window handling (PeekMessage, PostMessage, SendMessage,
5153         DispatchMessage, DefWindowProc, RegisterClassEx,
5154         CreateWindowEx). (#321597)
5155
5156 2006-09-03  Kristian Rietveld  <kris@imendio.com>
5157
5158         * gtk/gtkfilechooserdefault.c (save_entry_get_info_cb),
5159         (file_exists_get_info_cb), (gtk_file_chooser_default_should_respond):
5160         change file_exists_and_is_not_folder checks to get the file info
5161         for the path directly instead of querying the current file folder
5162         of the save entry.
5163
5164         * gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault): add
5165         new field.
5166
5167         * tests/autotestfilechooser.c (wait_for_idle_idle), (wait_for_idle),
5168         (test_reload_sequence), (test_button_folder_states_for_action): wait
5169         for idle after setting a folder to ensure the async operations to load
5170         the folder are finished,
5171         (test_confirm_overwrite), (test_confirm_overwrite_for_path):
5172         factor out test_confirm_overwrite code so we can add tests for more
5173         paths more easily.
5174
5175 2006-09-03  Richard Hult  <richard@imendio.com>
5176
5177         * gdk/quartz/GdkQuartzView.c (drawRect): Don't do anything if
5178         exposure isn't in the event mask, plug a leak, and check that the
5179         window isn't destroyed.
5180         (isOpaque): Check that the window isn't destroyed, fixes bug 
5181         #353028.
5182
5183 2006-09-03  Matthias Clasen  <mclasen@redhat.com>
5184
5185         * gtk/gtkwidget.c (gtk_widget_class_init): Fix a typo.  
5186         (#354035, Mariano Suárez-Alvarez)
5187
5188         * gtk/gtkmain.c (post_parse_hook): 
5189         * gdk/gdk.c (gdk_init): Handle display_name being NULL.
5190         (#354004, Chris Wilson)
5191
5192 2006-09-03  Tor Lillqvist  <tml@novell.com>
5193
5194         * gdk/win32/gdkwindow-win32.c (gdk_window_beep): No
5195         GDK_WINDOW_DISPLAY in the Win32 backend.
5196
5197         * gtk/gtkfilesystemwin32.c: Copy what Kris did to
5198         gtkfilesystemunix.c
5199
5200 2006-09-02  Kristian Rietveld  <kris@imendio.com>
5201
5202         First part of file chooser fixes.
5203
5204         * gtk/gtkfilechooserbutton.c (model_add_special): also set the
5205         handle in the model for the desktopdir case.
5206
5207         * gtk/gtkfilechooserdefault.c (shortcuts_add_current_folder): free
5208         volume in case we retrieved it but don't pass it on to insert_path,
5209         (shortcuts_model_create): change the column type for the handles
5210         to pointer instead of GObject so our handle ref counting is not
5211         disturbed,
5212         (show_and_select_paths_finished_loading): don't forget to unref
5213         the dialog.
5214
5215         * gtk/gtkfilesystemunix.c (gtk_file_system_unix_class_init),
5216         (gtk_file_system_unix_init), (gtk_file_system_unix_dispose):
5217         remove pending execute_callbacks_idle during dispose, also
5218         execute all callbacks waiting to be run in the next idle,
5219         (queue_*callback), (execute_callbacks_idle): refactor to maintain
5220         a list of callbacks to call per file system instead of globally,
5221         guard the file system during callback invocation,
5222         (gtk_file_system_unix_get_folder): only add load folder idle if
5223         none has been added yet.
5224
5225 2006-09-01  Matthias Clasen  <mclasen@redhat.com>
5226
5227         * gtk/gtkentry.c: Don't unnecessarily reset the im context
5228         when deleting the selection.  (#353803, Alex Larsson)
5229
5230 2006-09-01  Abel Cheung  <abel@oaka.org>
5231
5232         * configure.in: Added 'ang' 'dz' to ALL_LINGUAS.
5233
5234 2006-08-31  Matthias Clasen  <mclasen@redhat.com>
5235
5236         Stop cursor blinking after a configurable timeout.
5237         (#353670, #352442, Arjan van de Ven, Manu Cornet)
5238         
5239         * gtk/gtksettings.c (gtk_settings_class_init): Add a 
5240         gtk-cursor-blink-timeout setting, which specifies the number
5241         of seconds that the cursor should blink after a user interaction.
5242         The default value is G_MAXINT to preserve the current behaviour.
5243
5244         * gtk/gtkentry.c (blink_cb): Stop blinking after blink-timeout
5245         seconds.
5246
5247         * gtk/gtkentry.c (gtk_entry_completion_key_press) 
5248         (gtk_entry_button_press, gtk_entry_focus_in): Reset the
5249         blink timer.
5250
5251         * gtk/gtktextview.c (blink_cb): Stop blinking after blink-timeout
5252         seconds. 
5253
5254         * gtk/gtktextview.c (gtk_text_view_key_press_event) 
5255         (gtk_text_view_button_press_event, gtk_text_view_focus_in_event): 
5256         Reset the blink timer.
5257         
5258 2006-08-31  Matthias Clasen  <mclasen@redhat.com>
5259
5260         * gtk/gtkprintoperation-unix.c (get_print_dialog): Don't specify
5261         explicit format capabilities.  (#346505, Christian Persch)
5262
5263         * modules/printbackends/cups/gtkprintbackendcups.c (cups_request_printer_list_cb): Send printer-list-done on error. 
5264
5265 2006-08-31  Michael Natterer  <mitch@imendio.com>
5266
5267         * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Fix build.
5268
5269 2006-08-30  Richard Hult  <richard@imendio.com>
5270
5271         * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep): Fix build.
5272
5273 2006-08-30  Matthias Clasen  <mclasen@redhat.com>
5274
5275         * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Only use XKB
5276         for beeping if we are using XKB.  
5277
5278 2006-08-29  Matthias Clasen  <mclasen@redhat.com>
5279
5280         * gdk/gdkwindow.h: 
5281         * gdk/gdk.symbols: 
5282         * gdk/directfb/gdkwindow-directfb.c (gdk_window_beep): 
5283         * gdk/win32/gdkwindow-win32.c (gdk_window_beep): 
5284         * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep): 
5285         * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Add a function
5286         to beep on a window. For X11, implement this with
5287         XkbBell.  (#353455, Mariano Suárez-Alvarez)
5288         
5289 2006-08-29  Tor Lillqvist  <tml@novell.com>
5290
5291         Remove support for Windows 9x/ME. GTK+ hasn't worked on Win9x
5292         since 2.6 or 2.8. It's pointless to keep the Win9x code in here as
5293         it isn't being maintained anyway. If somebody is interested, it
5294         can always be found in older GTK+ versions, and in CVS.
5295
5296         * configure.in
5297         * acconfig.h
5298         * gdk/Makefile.am
5299         * gdk/win32/Makefile.am
5300         * gdk/win32/libie55uid.la
5301         * gdk/win32/gdkevents-win32.c: Remove the --with-ie55 configure
5302         switch and associated stuff. Active IMM and the <dimm.h> header
5303         was used for IM support on NT4 and Win9x. Win2k and later have IM
5304         support built-in.
5305
5306         * gdk/win32/gdkcursor-win32.c
5307         * gdk/win32/gdkdnd-win32.c
5308         * gdk/win32/gdkdrawable-win32.c
5309         * gdk/win32/gdkevents-win32.c
5310         * gdk/win32/gdkgc-win32.c
5311         * gdk/win32/gdkglobals-win32.c
5312         * gdk/win32/gdkkeys-win32.c
5313         * gdk/win32/gdkmain-win32.c
5314         * gdk/win32/gdkproperty-win32.c
5315         * gdk/win32/gdkselection-win32.c
5316         * gdk/win32/gdkwindow-win32.c: Remove the G_WIN32_IS_NT_BASED()
5317         and G_WIN32_HAVE_WIDECHAR_API() tests and their false (Win9x)
5318         branches, and any variables or static functions used only by the
5319         Win9x branches.
5320
5321         * gdk/win32/gdkprivate-win32.h: Remove backup definitions for
5322         constants that aren't missing from current mingw and MSVC6
5323         headers.
5324
5325         * gdk/win32/gdkmain-win32.c
5326         * gdk/win32/gdkprivate-win32.h: Remove the _gdk_win32_gdi_failed()
5327         function. On NT-based Windows GetLastError() returns error codes
5328         also for failed GDI calls, so we can use _gdk_win32_api_failed()
5329         always.
5330
5331 2006-08-29  Emmanuele Bassi  <ebassi@gnome.org>
5332
5333         * gtk/gtkrecentchoosermenu.c
5334         (gtk_recent_chooser_menu_set_current_uri): Break when an item
5335         is found and activated. (#353449, based on a patch by Jan Arne
5336         Petersen)
5337
5338 Fri Jul 14 16:13:37 2006  Tim Janik  <timj@gtk.org>
5339
5340         * gtk/gtkprogressbar.c: introduced ::xspacing and ::yspacing style 
5341         properties which make all hardcoded padding and spacing values
5342         configurable. properly swap ::text-xalign treatment for RTL widgets.
5343
5344         * gtk/gtkprogress.c: fixed style property blurbs. made alignment 
5345         proeprty more consistent with GtkMisc alignment blurbs. mention
5346         RTL treatment for text-xalign.
5347
5348 Tue Aug 29 11:57:40 2006  Tim Janik  <timj@imendio.com>
5349
5350         * tests/testgtk.c: allow (most) windows to be resizable.
5351         added ellipsization settings to progress bars. 
5352
5353 2006-08-28  Matthias Clasen   <mclasen@redhat.com>
5354
5355         * modules/printbackend/cups/gtkprintbackendcups.c: Use a
5356         resonable timeout of 3 seconds when polling for printer
5357         list updates, instead of 300000 seconds...
5358
5359 2006-08-28  Michael Natterer  <mitch@imendio.com>
5360
5361         * gtk/gtktextbufferserialize.c (serialize_text): don't write out
5362         </apply_tag> for tags that have already been closed by the logic
5363         which turns overlapping spans into XML-able trees. Fixes broken
5364         XML when there are overlapping tags in the buffer. Also free two
5365         leaked GLists and did some cleanup.
5366
5367         * tests/Makefile.am
5368         * tests/testrichtext.c: new test which creates randomly tagged
5369         GtkTextBuffers and serializes/deserializes them.
5370
5371 2006-08-26  Matthias Clasen  <mclasen@redhat.com>
5372
5373         * gtk/gtkstatusicon.c (gtk_status_icon_reset_image_data): 
5374         Don't leak pixbufs.  (#352264, Ross Burton)
5375
5376         * gtk/gtklinkbutton.c (set_link_underline): Don't leak
5377         PangoAttributes.  (#352391, Paolo Borelli)
5378
5379 2006-08-25  Matthias Clasen  <mclasen@redhat.com>
5380
5381         * demos/gtk-demo/Makefile.am:
5382         * demos/gtk-demo/textscroll.c: Add an example of automatic
5383         scrolling, thanks to Yevgen Muntyan.  (#351206)
5384         
5385         * gtk/gtkmodules.c (find_module): Use local binding when
5386         loading modules.  (#351868)
5387
5388 2006-08-24  Michael Natterer  <mitch@imendio.com>
5389
5390         * gdk/quartz/gdkdisplay-quartz.c (gdk_display_get_name): return
5391         the hostname instead of NULL.
5392
5393 2006-08-23  Matthias Clasen  <mclasen@redhat.com>
5394
5395         * gtk/gtkprinteroptionwidget.[hc]: Fix confusion about
5396         names and values in comboboxes, and clean up some
5397         coding style issues.
5398
5399 2006-08-23  Tor Lillqvist  <tml@novell.com>
5400
5401         * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_make_path):
5402         Revert unintended translatable string addition. Use same string
5403         in GError as in gtkfilesystemunix.c.
5404
5405         * gtk/gtkfilesystemwin32.c (_gtk_file_system_win32_path_compare):
5406         Fix logic at the end of strings. 
5407
5408         * gtk/gtkfilesystemwin32.c: Maintain a hash table of live
5409         handles and check that we have no outstanding handles at
5410         finalization time. (Copying what Matthias did for
5411         gtkfilesystemunix.c)
5412
5413 2006-08-23  Matthias Clasen  <mclasen@redhat.com>
5414
5415         * gtk/gtkfilesystemunix.c: Maintain a hash table
5416         of live handles and check that we have no outstanding
5417         handles at finalization time. (Copying what
5418         Federico did for gtkfilesystemgnomevfs.c)
5419
5420 2007-08-22  Matthias Clasen  <mclasen@redhat.com> 
5421
5422         * Branch for 2.10
5423