]> Pileus Git - ~andy/gtk/blob - ChangeLog
cleanup/refactor some leftover code.
[~andy/gtk] / ChangeLog
1 2007-04-25  Kristian Rietveld  <kris@imendio.com>
2
3         * gtk/gtktooltip.c (find_topmost_widget_coords_from_event):
4         cleanup/refactor some leftover code.
5
6 2007-04-24  Matthias Clasen  <mclasen@redhat.com>
7
8         * gtk/gtkprintunixdialog.c (dialog_get_page_ranges): Parse
9         half-open ranges like -2 or 3-, and be a bit more liberal
10         about whitespace.
11         (dialog_set_page_ranges): Support half-open ranges.
12
13         * gtk/gtkprintoperation.c (print_pages_idle): Substitute the
14         number of pages in half-open ranges.
15         (preview_iface_is_selected): Support half-open ranges here, too.
16
17 2007-04-24  Chris Wilson  <chris@chris-wilson.co.uk>
18
19         * gtk/gtkicontheme.c (scan_directory): Ensure the 
20         icon_theme->all_icons and dir->icons hash tables use the same string
21         as their keys. (#418531)
22
23 2007-04-23  Cody Russell  <bratsche@gnome.org>
24         * modules/engines/ms-windows/msw_style.c: Fixed one-pixel drawing error on
25         left-most tab when notebooks are top-oriented.  Also general cleanup of
26         notebook tab related code.  (Lieven van der Heide, Cody Russell)
27
28 2007-04-23  Matthias Clasen  <mclasen@redhat.com>
29
30         * modules/printbackends/cups/gtkprintbackendcups.c: Reduce
31         the amount of debug spew if we are not debugging.
32         
33 2007-04-23  Michael Natterer  <mitch@imendio.com>
34
35         * tests/Makefile.am (testtooltips_SOURCES): fix typo:
36         testtoooltips_SOURCES -> testtooltips_SOURCES.
37
38 2007-04-19  Cody Russell <bratsche@gnome.org>
39
40         * modules/engines/ms-windows/msw_style.c: Fix menuitem rendering
41         for Windows Vista.  (#392015, Hiroyuki Yamamoto)
42
43 2007-04-19  Dominic Lachowicz <domlachowicz@gmail.com>
44
45         * modules/engines/ms-windows/msw_style.c: Fix pixbuf leaks in
46         non-WinXP rendering paths. From Daniel Atallah (#403470)
47         
48 2007-04-19  Matthias Clasen  <mclasen@redhat.com>
49
50         * gtk/gtkicontheme.h:
51         * gtk/gtkicontheme.c: Add GTK_ICON_LOOKUP_GENERIC_FALLBACK
52         icon lookup flag and implement it.  (#396901, Luca Ferreti)
53         
54 2007-04-18  Richard Hult  <richard@imendio.com>
55
56         * gdk/quartz/gdkwindow-quartz.c:
57         (gdk_window_quartz_process_updates_internal),
58         (gdk_window_quartz_process_all_updates),
59         (gdk_window_impl_quartz_process_updates): Refactor the process 
60         updates functions to share code between them. Also fixes bug 
61         #427660 by not updating larger regions than necessary.
62
63 2007-04-18  Matthias Clasen  <mclasen@redhat.com>
64
65         * gdk/gdkregion-generic.h (GROWREGION): Handle the case
66         of nRects == 0 correctly.  
67         
68 2007-04-18  Emmanuele Bassi  <ebassi@gnome.org>
69
70         * gtk/gtkrecentmanager.c (gtk_recent_manager_lookup_item): Fix
71         a leak by not increasing the refcount of the GtkRecentInfo
72         object when returning it (thanks to Matthias Clasen).
73
74 2007-04-16  Alexander Larsson  <alexl@redhat.com>
75
76         * gtk/gtkprintoperation.c (gtk_print_operation_run):
77         Make async print preview work by actually starting
78         the print process in that case (#424168)
79
80 2007-04-14  Yevgen Muntyan <muntyan@tamu.edu>
81
82         * gtk/gtkselection.c (selection_get_text_plain): fixed
83         wrong g_convert_with_fallback() call which caused
84         gtk_selection_data_get_text() return invalid UTF-8 for
85         non-ASCII text in text/plain selection (#382824).
86
87 2007-04-12  Jakub Steiner <jimmac@ximian.com>
88
89         * gtk/stock-icons/*: update the stock icons to follow the Tango
90                 style guidelines
91
92 2007-04-11  Chris Wilson  <chris@chris-wilson.co.uk>
93
94         * gtk/gtkiconfactory.c (_gtk_icon_factory_list_ids):
95         * gtk/gtkstock.c (gtk_stock_list_ids):
96             Switch over to use glib's new g_hash_table_get_keys() rather
97             than our own static implementation.
98
99         * gtk/gtkiconfactory.h: Update to return a GList.
100
101         * configure.in: Bump required version to 2.13.1
102
103 2007-04-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
104
105         * gdk/quartz/gdkeventloop-quartz.c: Protect the polling thread
106           setup and shutdown function by mutexes and read the wakeup
107           pipe unconditionally and unblocking. This should make the main
108           loop always be woken up when using g_idle_add() from another
109           thread in the Quartz backend (#425271).
110
111 2007-04-10  Matthias Clasen  <mclasen@redhat.com>
112
113         * gdk/x11/xsettings-client.[hc]: Change the XSettingsWatchFunc
114         to return a Bool to indicate success. Update callers and 
115         implementors. Based on a patch by Owen Taylor.
116         
117         * gdk/x11/gdkevents-x11.c (gdk_xsettings_watch_cb): Don't
118         leak a reference to gdkwin.
119
120 2007-04-07  Xan Lopez  <xan@gnome.org>
121
122         * gtk/gtknotebook.c (gtk_notebook_class_init): 
123         s/arrow-size/arrow-spacing in the arrow-spacing
124         style property docs.
125
126 2007-04-06  Richard Hult  <richard@imendio.com>
127
128         * gdk/quartz/: Clean up namespaces to make the code more
129         maintainable.
130
131         * gdk/quartz/gdkdrawable-quartz.c:
132         * gdk/quartz/gdkgc-quartz.c: Fix bug #418384, alignment of tiled
133         images, by setting the pattern phase for the CG pattern.
134
135 2007-04-04  Kristian Rietveld  <kris@imendio.com>
136
137         * gtk/gtktooltip.c (tooltip_browse_mode_expired),
138         (gtk_tooltip_hide_tooltip), (tooltip_popup_timeout),
139         (gtk_tooltip_start_delay): use new gdk_threads API.
140
141 2007-04-03  Behdad Esfahbod  <behdad@gnome.org>
142
143         * gtk/gtksettings.c (settings_update_font_options): Don't set
144         metrics-hinting font option.  Rely on the default value which is
145         on for all raster cairo surfaces. (#425985)
146
147 2007-04-03  Loïc Minier  <lool@dooz.org>
148
149         * gdk/x11/gdkscreen-x11.c: (check_xfree_xinerama): Revert to
150         non-xinerama mode when XineramaQueryScreens returns NULL; patch from
151         Simon McVittie; #425786.
152
153 2007-04-02  Michael Natterer  <mitch@imendio.com>
154
155         * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): remove
156         artifact from the time when type checking casts warned on NULL,
157         some whitespace cleanup.
158
159 2007-04-01  Cody Russell  <bratsche@gnome.org>
160
161         * modules/engines/ms-windows/msw_style.c: Fix rendering of
162         notebook tabs when they are bottom-oriented.  Fixes #399253.
163
164 2007-03-31  Elijah Newren  <newren gmail com>
165
166         * gdk/x11/gdkwindow-x11.c (setup_toplevel_window,
167           gdk_x11_window_set_user_time):
168         Patch from Matthias to add support for the
169         _NET_WM_USER_TIME_WINDOW EWMH protocol; see #354213.
170
171         WARNING: This patch will make metacity <= 2.18.0 freeze on
172         workspace switch.  This is due to a weird problem that should only
173         affect window managers using gdk in-process for decoration drawing
174         and which make an unsafe assumption relating to doing so (i.e. it
175         should only affect metacity).  Upgrade your version of metacity if
176         you hit this bug.
177
178 2007-03-29  Michael Natterer  <mitch@imendio.com>
179
180         Don't close menus on clicks on their border area (bug #423761).
181         (modified patch from maemo-gtk).
182
183         * gtk/gtkmenu.c (gtk_menu_button_press)
184         (gtk_menu_button_release): bail out early if the click was on the
185         menu's border (not on any item and not outside the window).
186
187         (pointer_in_menu_window): new utility function which checks if
188         passed root coords are inside the menu_shell or one of its
189         parent shells.
190
191 2007-03-29  Michael Natterer  <mitch@imendio.com>
192
193         * gtk/gtkmenu.c: get rid of local GtkSettings variables by moving
194         gtk_widget_get_settings() into the g_object_get() call. Some small
195         indentation fixes.
196
197 2007-03-28  Matthias Clasen  <mclasen@redhat.com>
198
199         * modules/printbackends/cups/gtkcupsutils.[hc]:
200         * modules/printbackends/cups/gtkprintbackendcups.c: Apply
201         a patch by John Palmieri to make the cups print backend support
202         raw printers.  
203
204 2007-03-28  Kristian Rietveld  <kris@imendio.com>
205
206         * gtk/gtkwidget.c (gtk_widget_set_tooltip_window): don't unref
207         tooltip_window, since this is handled by set_qdata_full() already.
208         (#412001, Torsten Schoenfeld).
209
210 2007-03-27  Tor Lillqvist  <tml@novell.com>
211
212         * modules/input/Makefile.am: Use LDADDS for im-multipress.la, too: 
213
214 2007-03-26  Christian Persch  <chpe@gnome.org>
215
216         * gtk/gtkrc.c: (gtk_rc_context_get): Initialise variable. Bug #423064.
217
218 2007-03-24  Kristian Rietveld  <kris@gtk.org>
219
220         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
221         calculate the depth with the corrected real_cell_area and don't
222         subtract horizontal_separator/2.
223
224 2007-03-24  Andreas Nilsson <andreas@andreasn.se>
225
226         * gtk-yes.png
227         * gtk-no: More Tango love.
228
229 2007-03-23  Jakub Steiner <jimmac@ximian.com>
230
231         * gtk-dialog-authentication.svg
232         * gtk-dialog-error.svg
233         * gtk-dialog-info.svg
234         * gtk-dialog-question.svg
235         * gtk-dialog-warning.svg: Start with a Tango face-lift.
236
237 2007-03-23  Rodney Dawes  <dobey@novell.com>
238
239         * gtk/gtkicontheme.c: Fix a couple of comment typos (#421627)
240
241 2007-03-23  Matthias Clasen  <mclasen@redhat.com>
242
243         * gtk/gtkfilechooserdefault.c: Add a keybinding (C-h) to
244         toggle whether to show hidden files.  (#344657, 
245         Wouter Bolsterlee, Priit Laes, et al)
246
247 2007-03-23  Matthias Clasen  <mclasen@redhat.com>
248
249         * gtk/gtkfilechooserdefault.c: Add a keybinding (C-l) to
250         toggle the visibility of the location entry.  (#383354, 
251         John Pye, patch by Carlos Garnacho)
252
253 2007-03-22  Matthias Clasen  <mclasen@redhat.com>
254
255         * gtk/gtksettings.c (merge_color_scheme): Freeze property
256         notification.
257         * gtk/gtksettings.c (_gtk_settings_handle_event): Handle
258         the gtk-color-scheme xsetting being unset.
259
260         * gtk/gtkrc.c (gtk_rc_reparse_all_for_settings): Handle
261         recursion locally.
262
263 2007-03-21  Matthias Clasen  <mclasen@redhat.com>
264
265         * gtk/gtkprintoperation-unix.c: Remove leftover debug spew.
266
267 2007-03-21  Rodney Dawes  <dobey@novell.com>
268
269         * gtk/gtk.symbols:
270         * gtk/gtkicontheme.[ch]:
271         * docs/reference/gtk/gtk-sections.txt:
272         * tests/testicontheme.c:
273         Add a new API call gtk_icon_theme_list_contexts so that one can
274         choose icons from a theme by context (#420719)
275         
276 2007-03-21  Ross Burton  <ross@burtonini.com>
277
278         * gtk/gtktexttag.c:
279         Document the ::event signal (#420703).
280
281 2007-03-20  Kristian Rietveld  <kris@gtk.org>
282
283         * gtk/gtktreeviewcolumn.c:
284         * gtk/gtktreeprivate.h: add _gtk_tree_view_column_get_focus_area().
285
286         * gtk/gtktreeview.c (gtk_tree_view_clamp_column_visible): add
287         focus_to_cell parameter, rework to handle clamping columns which
288         are bigger than the available page size better,
289         (gtk_tree_view_key_press): remove code handling moving the focus
290         to other column headers,
291         (gtk_tree_view_header_focus): add clamp_column_visible parameter,
292         fix RTL support, don't wrap around when moving focus to other
293         column headers, call gtk_tree_view_clamp_column_visible() instead
294         of duplicating code,
295         (gtk_tree_view_focus): only clamp the column visible when we are
296         explicitly moving to another column header (fixes #399555, Charles
297         Kerr),
298         (gtk_tree_view_move_cursor_left_right): update call to
299         gtk_tree_view_clamp_column_visible().
300
301 2007-03-19  Matthias Clasen <mclasen@redhat.com> 
302
303         * demos/gtk-demo/appwindow.c: Explicitly set the title on the
304         about dialog.
305
306 2007-03-18  Matthias Clasen <mclasen@redhat.com> 
307
308         * gtk/gtkentrycompletion.c (gtk_entry_completion_compute_prefix):
309         Ensure that the prefix is valid UTF-8.  (#419568, Nickolay V. Shmyrev)
310
311 2007-03-18  Matthias Clasen <mclasen@redhat.com> 
312
313         * modules/input/gtkimcontextmultipress.[hc]:
314         * modules/input/im-multipress.conf:
315         * modules/input/immultipress.c:
316         * modules/input/README.multipress: Add the multipress input
317         method.  (#417446, Johannes Schmid, Murray Cumming)
318
319         * modules/input/Makefile.am: Glue
320
321 2007-03-17  Chris Wilson  <chris@chris-wilson.co.uk>
322
323         * gdk/x11/gdkvisual-x11.c (_gdk_visual_init):
324         Initialise nxvisuals to 0 in order to handle XGetVisualInfo()
325         failures gracefully. (#419171)
326
327 2007-03-17  Emmanuele Bassi  <ebassi@gnome.org>
328
329         * gtk/gtkrecentaction.c (recent_chooser_set_property),
330         (gtk_recent_action_set_property): Remove useless inlined
331         function and propagate the properties to the GtkRecentChooser
332         objects we create, instead of all the proxies.
333
334         (set_current_filter): Remove 'inline' marker.
335
336 2007-03-16  Emmanuele Bassi  <ebassi@gnome.org>
337
338         Apply changes suggested by Michael Natterer. (#338843)
339
340         * gtk/gtkaction.h:
341         * gtk/gtkaction.c: Rename get_submenu() to create_menu();
342         rename gtk_action_get_submenu() to gtk_action_create_menu().
343
344         * gtk/gtkrecentaction.c: Update for GtkAction change.
345
346         * gtk/gtkuimanager.c (update_node): Update for GtkAction change;
347         also, use the menu from the GtkAction for both menuitem and
348         toolitem nodes.
349
350 2007-03-16  Xan Lopez  <xan@gnome.org>
351
352         * gtk/gtkwidget.c: Fix documentation error in
353         gtk_widget_set_redraw_on_allocate.
354
355 2007-03-16  Matthias Clasen  <mclasen@redhat.com>
356
357         * gtk/gtkprintunixdialog.c (printer_added_cb): Scroll to
358         make the selected printer visible.  (#418403, Nickolay V. Shmyrev,
359         patch by Christian Persch)
360
361 2007-03-15  Federico Mena Quintero  <federico@novell.com>
362
363         Merged from gtk-2-10:
364
365         * gtk/gtkfilechooserdefault.c (find_good_size_from_style):
366         PANGO_PIXELS() gives us device units, which are *points* in
367         pangocairo's parlance, but we want actual pixels.  So, get the
368         screen's resolution to compute the actual number of pixels.
369         Fixes bug #418585.
370
371 2007-03-15  Emmanuele Bassi  <ebassi@gnome.org>
372
373         * gtk/gtkrecentmanager.c (gtk_recent_manager_add_item): Remove
374         unused GError; do not allocate GtkRecentData and use a variable
375         on the stack. (#418673, Morten Welinder)
376
377 2007-03-15  Emmanuele Bassi  <ebassi@gnome.org>
378
379         * gtk/gtkaction.[ch]: Add GtkActionClass::get_submenu() vfunc:
380         actions providing a menu item or a menu tool button with already
381         a submenu should return the GtkMenu widget.
382
383         * gtk/gtkuimanager.c (update_node): If an action provides its
384         own submenu, use it instead of adding an empty one
385
386         * gtk/gtkrecentaction.[ch]: Add GtkRecentAction, an action
387         implementing the GtkRecentChooser interface for displaying the
388         list of recently used files into menus and toolbars generated
389         using GtkUIManager. (#338843)
390
391         * gtk/Makefile.am:
392         * gtk/gtk.h:
393         * gtk/gtk.symbols: Add GtkRecentAction API to the build.
394
395         * tests/testactions.c: Exercise the GtkRecentAction API.
396
397 2007-03-15  Chris Wilson  <chris@chris-wilson.co.uk>
398
399         * gtk/gtkicontheme.c (ensure_valid_themes), (rescan_themes),
400         (gtk_icon_theme_rescan_if_needed): Protect ensure_valid_themes()
401         from recursion, which can happen for example if the app tries to
402         reload an icon from within a theme-changed handler. (#418531)
403
404 2007-03-15  Richard Hult  <richard@imendio.com>
405
406         * gdk/quartz/gdkmain-quartz.c: Add stubs for
407         gdk_notify_startup_complete_with_id and gdk_window_set_startup_id
408         here too.
409
410 2007-03-15  Emmanuele Bassi  <ebassi@gnome.org>
411
412         * gtk/gtkrecentmanager.c: Fix documentation errors. (Morten
413         Welinder)
414
415 2007-03-15  Tor Lillqvist  <tml@novell.com>
416
417         * gdk/gdk.symbols: Add gdk_notify_startup_complete_with_id and
418         gdk_window_set_startup_id.
419
420         * gdk/win32/gdkmain-win32.c: Add dummy implementations of the above.
421
422 2007-03-15  Emmanuele Bassi  <ebassi@gnome.org>
423
424         * gtk/gtkrecentchooserprivate.h:
425         * gtk/gtkrecentchooserutils.c: Move filtering of the recent
426         files list into the shared implementation; do the filtering
427         before the sorting, so that we always clamp on the desired
428         size. (#418219)
429
430         * gtk/gtkrecentchoosermenu.c: Remove the filtering of the
431         list, as it's already been done.
432
433         * gtk/gtkrecentchooserdefault.c: Ditto; also remove the
434         GtkTreeModelFilter: just reload the view if the sorting and
435         filtering properties change.
436
437         * gtk/testrecentchoosermenu.c: Exercise the limit property.
438
439 2007-03-14  Michael Natterer  <mitch@imendio.com>
440
441         Make gtk_widget_set_extension_events() work on already realized
442         widgets (bug #379550, Tommi Komulainen)
443
444         * gdk/x11/gdkinput.c (gdk_input_set_extension_events): allow to be
445         called multiple times without leaking and work correctly when
446         already realized (don't rely on a configure event following).
447
448         * gtk/gtkwidget.c (gtk_widget_set_extension_events_internal): new
449         internal function which walks the GdkWindow tree and sets the
450         extension events on all windows that belong to the widget.
451
452         (gtk_widget_realize)
453         (gtk_widget_set_extension_events): use the new function.
454
455 2007-03-14  Emmanuele Bassi  <ebassi@gnome.org>
456
457         Various clean ups in the GtkRecent code. (see #338843)
458
459         * gtk/gtkrecentchooserdefault.c:
460         * gtk/gtkrecentchoosermenu.c:
461         * gtk/gtkrecentchooserprivate.h:
462         * gtk/gtkrecentchooserutils.c: Move the recent chooser function
463         for getting the sorted and clamped list of recent files from the
464         manager outside the implementations.
465
466         * gtk/gtkrecentchooserdefault.c (chooser_set_sort_type): Repopulate
467         the list when the sorting order changes.
468
469         (gtk_recent_chooser_default_dispose),
470         (gtk_recent_chooser_default_finalize): Move object unref and
471         source removal from finalize to dispose.
472
473         * gtk/gtkrecentchooser.c (gtk_recent_chooser_type_init): Relax the
474         prerequisite for the GtkRecentChooser interface implementations,
475         from GtkObject to GObject.
476
477         (gtk_recent_chooser_class_init): Use GTK_PARAM_* instead of
478         G_PARAM_*
479
480 2007-03-13  Emmanuele Bassi  <ebassi@gnome.org>
481
482         Apply patch by Vytautas Liuolia for changing the startup
483         notification id on a window in the X11 backend. (#347375)
484
485         * gdk/gdk.h:
486         * gdk/gdkx.h:
487         * gdk/x11/gdkdisplay-x11.c: Add gdk_notify_startup_complete_with_id()
488         and gdk_x11_display_get_startup_notification_id().
489
490         * gdk/gdkwindow.h:
491         * gdk/x11/gdkwindow-x11.c: Add gdk_window_set_startup_id().
492
493         * gtk/gtkwindow.h:
494         * gtk/gtkwindow.c: Add gtk_window_set_startup_id(), used to
495         change the startup notification id.
496         
497         (gtk_window_class_init), (gtk_window_init),
498         (gtk_window_set_property): Add write-only "startup-id" property
499         to GtkWindow.
500
501         (gtk_window_realize): Set the startup notification id
502         on a GtkWindow if it's valid.
503
504         (gtk_window_map): If we have another valid startup notification
505         id then finish the notification process.
506
507 2007-03-13  Matthias Clasen  <mclasen@redhat.com>
508
509         * gtk/gtknotebook.c (gtk_notebook_real_insert_page):
510         Fix tabbed browsing in epiphany.  (#413664, Christian Persch)
511
512 2007-03-12  Matthias Clasen  <mclasen@redhat.com>
513
514         * gtk/gtksizegroup.c (gtk_size_group_add_widget): Clarify
515         docs.  (#345844, Torsten Schoenfeld)
516
517         * gdk/x11/gdkevents-x11.c (gdk_display_add_client_message_filter):
518         * gdk/gdkwindow.c (gdk_window_add_filter): Add
519         cross-references.  (#351252, Vincent Untz)
520
521         * gtk/gtkprintoperation.c: Fix an oversight in an
522         example.  (#381083, Ian Puleston)
523
524         * gtk/gtkcombobox.c: Clean up and clarify docs.  (#412484)
525
526 2007-03-12  Matthias Clasen  <mclasen@redhat.com>
527
528         * gtk/gtkspinbutton.c (gtk_spin_button_style_set): Set
529         the background of the panel window on style changes. (#402144,
530         Benjamin Berg)
531
532 2007-03-12  Matthias Clasen  <mclasen@redhat.com>
533
534         * gtk/gtkbindings.c (gtk_binding_entry_add_signal): Remove
535         an obsolete comment.  (#402169, Xan Lopez)
536
537 2007-03-12  Matthias Clasen  <mclasen@redhat.com>
538
539         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_property):
540         Don't copy PangoLanguage.  (#340031, Morten Welinder)
541
542 2007-03-12  Matthias Clasen  <mclasen@redhat.com>
543
544         * gtk/gtkfilechooserbutton.c (change_icon_theme_get_info_cb):
545         Handle the row reference path being NULL.  (#410565, Joe Markus
546         Clarke, patch by Chris Wilson)
547
548 2007-03-11  Matthias Clasen  <mclasen@redhat.com>
549
550         * tests/testiconview.c: Handle Menu key presses without
551         crash.  (#385637, Christian Persch)
552
553 2007-03-11  Matthias Clasen  <mclasen@redhat.com>
554
555         * gtk/gtktooltips.c (gtk_tooltips_get_info_from_tip_window):
556         Don't crash if active_tips_data is NULL.  (#382904, Li Yuan)
557
558 2007-03-11  Matthias Clasen  <mclasen@redhat.com>
559
560         * gtk/gtktextview.c (gtk_text_view_set_buffer): Set first_para_mark
561         to NULL.  (#396805, Colin Leroy, patch by Mariano Suárez-Alvarez)
562         
563 2007-03-12  Kristian Rietveld  <kris@gtk.org>
564
565         * gtk/gtkfilechooserdefault.c (check_save_entry): immediately
566         bail out if current_folder is NULL. (#350988, lots of reporters,
567         modified patch by Jan Darmochwal).
568
569 2007-03-10  Kristian Rietveld  <kris@gtk.org>
570
571         * gtk/gtktreeview.c (gtk_tree_view_search_dialog_hide): only
572         hide the search dialog and send focus events if the search dialog
573         is currently visible.
574
575 2007-03-10  Richard Hult  <richard@imendio.com>
576
577         * gdk/quartz/gdkdrawable-quartz.c:
578         (gdk_quartz_ref_cairo_surface): Reuse the surface during its lifetime.
579         (gdk_quartz_drawable_get_context): Update for the new quartz cairo 
580         surface API (#410442). Don't lock focus unless called outside of an 
581         expose event.
582         (gdk_quartz_drawable_release_context): Only flush the CG context and 
583         unlock focus if called outside of expose.
584         (_gdk_quartz_drawable_finish): New function, used to free the cached
585         cairo surface.
586
587         * gdk/quartz/gdkwindow-quartz.c:
588         (gdk_window_impl_quartz_begin_paint_region): A few small style changes.
589         (_gdk_window_impl_quartz_get_type): No need to make the type info
590         static.
591         (gdk_window_quartz_process_all_updates): Move the autorelease pool
592         allocation and freeing outside the loop.
593         (_gdk_windowing_window_destroy): Finish the drawable.
594         (move_resize_window_internal): Small cleanup and remove comment.
595
596         * gdk/quartz/gdkpixmap-quartz.c: Finish the drawable.
597
598 2007-03-10  Richard Hult  <richard@imendio.com>
599
600         * gdk/quartz/gdkprivate-quartz.h: Add missing function signature to fix
601         a build warning.
602
603 2007-03-10  Richard Hult  <richard@imendio.com>
604
605         * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_get_name): Plug a leak.
606
607 2007-03-10  Richard Hult  <richard@imendio.com>
608
609         * gdk/quartz/GdkQuartzView.c: Remove unneccesary exposure mask check.
610
611 2007-03-10  Richard Hult  <richard@imendio.com>
612
613         * gdk/quartz/gdkevents-quartz.c: (gdk_screen_get_setting): Don't set
614         the font name here, leave that to themes, fixes #387508.
615
616 2007-03-10  Kristian Rietveld  <kris@gtk.org>
617
618         * gtk/gtktreemodelsort.c (gtk_tree_model_sort_ref_node),
619         (gtk_tree_model_sort_real_unref_node): when (un)reffing an
620         element, also (un)ref its parent elements. (Fixes #364946,
621         reported by many, testcase by Andreas Koehler).
622
623 2007-03-10  Matthias Clasen <mclasen@redhat.com>
624
625         * gtk/gtkprintoperation-unix.c: Initialize the do_preview
626         field of PrintResponseData.  (#396703, Christian Persch)
627
628         * tests/print-editor.c: Plug some leaks.
629
630 2007-03-09  Matthias Clasen <mclasen@redhat.com>
631
632         * gtk/gtktextview.c (gtk_text_view_end_selection_drag):
633         Get rid of the unused event argument. Update all callers.
634
635         * gtk/gtktextview.c (gtk_text_view_focus_out): Call
636         gtk_text_view_end_selection_drag.  (#351671, Boyd Timothy)
637
638 2007-03-09  Matthias Clasen <mclasen@redhat.com>
639
640         * modules/input/gtkimcontextxim.c 
641         (gtk_im_context_xim_filter_keypress): Don't commit
642         modifier-adorned characters.  (#331369, #335796, Lin Ma
643         and others)
644
645 2007-03-09  Matthias Clasen <mclasen@redhat.com>
646
647         * Everywhere: Remove unnecessary NULL checks before
648         g_free().  (#369666, Morten Welinder, Djihed Afifi)
649
650         * configure.in: Check for ftw.h
651
652 2007-03-09  Matthias Clasen <mclasen@redhat.com>
653
654         * gtk/gtkfilesystemwin32.c (get_icon_path): Remove
655         C99isms.  (#416525, Kazuki Iwamoto)
656
657 2007-03-09  Tor Lillqvist  <tml@novell.com>
658
659         * README.win32: Update.
660
661 2007-03-08  Matthias Clasen <mclasen@redhat.com>
662
663         * gdk/x11/gdkasync.c (send_event_handler): Defer the callbacks
664         to an idle to avoid deadlock with xcb-ified libX11.  (#413032,
665         Sebastian Dröge)
666
667 2007-03-08  Matthias Clasen <mclasen@redhat.com>
668
669         * gtk/gtknotebook.c (gtk_notebook_real_insert_page):
670         Set child visibility to FALSE here; it will be turned
671         back on in switch_page.  (#413664, Carlos Garnacho)
672         
673 2007-03-08  Mathias Hasselmann <mathias.hasselmann@gmx.de>
674
675         * modules/engines/ms-windows/msw_style.c: Use proper border style
676         when drawing shadow of scrolled windows on Windows XP (#168326)
677         * modules/engines/ms-windows/xp_theme.c: Explicitly set size of
678         element_part_map array to ensure it always is large enough.
679         
680 2007-03-08  Mathias Hasselmann <mathias.hasselmann@gmx.de>      
681
682         * gtk/gtkcombobox.c: Add shadow-type style property, set shadow-type
683         property of GtkEntry accordingly, unify size-allocation of toggle
684         button (#411123, patch from Mathias Hasselmann).
685         * gtk/gtkentry.c: Add shadow-type property. Query style properties
686         on style changes only (#411123, patch from Mathias Hasselmann).
687         * modules/engines/ms-windows/msw_style.c: Drop combo_box_draw_box
688         hack as GtkComboBox emits drawing requests now (#411123, patch 
689         from Mathias Hasselmann).
690         
691 2007-03-08  Mathias Hasselmann <mathias.hasselmann@gmx.de>
692
693         * gtk/gtkscrolledindow.c: Improve look of GtkScrolledWindow on Windows
694         by implementing a scrollbars-within-bevel style property. (#168326)
695         
696 2007-03-08  Mathias Hasselmann <mathias.hasselmann@gmx.de>
697
698         * gtk/gtkfilesystemwin32.c: Use Windows shell icons. Icons are
699         stored in the current theme with the name
700         "gtk-win32-shell-icon;PATH;INDEX". PATH and INDEX reference shell
701         icons as reported by SHGetFileInfoW. (#412221)
702
703 2007-03-07  Matthias Clasen <mclasen@redhat.com>
704
705         * gtk/gtkexpander.c (gtk_expander_paint_focus): Draw the
706         focus around the arrow if there is no label widget.  
707         (#124045, Cody Russell)
708
709 2007-03-07  Matthias Clasen <mclasen@redhat.com>
710
711         * gtk/gtkcombo.c: (gtk_combo_init):
712         * gtk/gtkcombobox.c: (gtk_combo_box_set_popup_widget),
713         (gtk_combo_box_menu_setup):
714         Set names on the popup widgets to make them themable. (#414975, 
715         Benjamin Berg)
716
717 2007-03-07  Michael Natterer  <mitch@imendio.com>
718
719         * gtk/gtkcellrendereraccel.c: use multihead safe ungrab functions
720         instead of gdk_keyboard_ungrab() and gdk_pointer_ungrab(), remove
721         empty finalize() implementation, some cosmetic cleanup
722         (bug #415645).
723
724 2007-03-06  Chris Wilson  <chris@chris-wilson.co.uk>
725
726         * gtk/gtkicontheme.c (update_current_theme), (gtk_icon_theme_init),
727         (do_theme_change), (gtk_icon_theme_set_custom_theme),
728         (load_themes):
729         Be careful not to trigger a style reset before we have loaded
730         the icon theme. (#414875).
731
732 2007-03-06  Tor Lillqvist  <tml@novell.com>
733
734         * gdk/Makefile.am
735         * gtk/Makefile.am: Further fixes for building on Win32 outside
736         srcdir. (#413492, Mathias Hasselmann)
737
738 2007-03-04  Ihar Hrachyshka <iharh@gnome.org>
739
740         * configure.in: Added be@latin to ALL_LINGUAS. Problems seems to be
741         fixed.
742
743 2007-03-04  Claudio Saavedra  <csaavedra@alumnos.utalca.cl>
744
745         * configure.in: Removed be@latin from ALL_LINGUAS, as it's currently
746         breaking the build.
747
748 2007-03-04  Ihar Hrachyshka <iharh@gnome.org>
749
750         * configure.in: Added be@latin to ALL_LINGUAS
751
752 2007-03-03  Guillaume Savaton <llumeao@gmail.com>
753
754         * configure.in: Added Esperanto (eo) to ALL_LINGUAS
755
756 2007-03-01  Matthias Clasen <mclasen@redhat.com>
757
758         * gtk/gtksettings.c: Always store gtk-color-scheme
759         values from all sources in the ColorSchemeData struct
760         and ignore the property_value for gtk-color-scheme.
761         This fixes #412596, reported by Thomas Wood.
762
763 2007-02-28  Matthias Clasen <mclasen@redhat.com>
764
765         * gtk/gtksettings.c: Make color scheme update properly
766         when changing themes.  (#402131, Benjamin Berg)
767
768 2007-02-28  Matthias Clasen <mclasen@redhat.com>
769
770         * gtk/gtkrc.c: Don't leak references to the color-hash 
771         gotten from GtkSettings.  (#409357, Benjamin Berg)
772
773 2007-02-28  Tristan Van Berkom <tvb@gnome.org>
774
775         * gtk/gtkradiobutton.c: Fixed a warning from
776         g_object_set (radiobutton, "group", NULL, NULL).
777
778 2007-02-26  Matthias Clasen <mclasen@redhat.com>
779
780         Apply a patch by Carlos Garnacho to fix several problems
781         with filechooser size handling (#325477, #151169, 143213,
782         #153785)
783
784         * gtk/gtkfilechooserdefault.c: Increase NUM_LINES slightly.
785         (browse_widgets_create): Don't force the paned position to 200.
786         (find_good_size_from_style): Take the size of the extra widget
787         into account.
788
789         * gtk/gtkfilechooserdialog.c (file_chooser_widget_update_hints):
790         Accept a minimal width parameter. Update all callers.
791
792 2007-02-26  Matthias Clasen <mclasen@redhat.com>
793
794         * gtk/gtkprintunixdialog.c: Change the label to "Pages per side",
795         which is more accurate, suggested by Tim Waugh. String change! 
796
797 2007-02-26  Matthias Clasen <mclasen@redhat.com>
798
799         * gtk/gtkprinteroptionwidget.c: Make the folder selection for
800         print-to-file work. Reported by Ian Collier.
801
802 2007-02-26  Chris Wilson  <chris@chris-wilson.co.uk>
803
804         Bug 409101 – invalid read to gtkicontheme.c insert_theme(), might cause gnome-panel crash
805
806         * gtk/gtkicontheme.c: (scan_directory):
807                 Reorder the replacement of the shared base_name key, so that we
808                 avoid dereferencing the string in the icon_theme->all_icon
809                 hash table after freeing it from the dir->icons hash table.
810
811 2007-02-26  Tor Lillqvist  <tml@novell.com>
812
813         * gdk/win32/gdkwindow-win32.c (gdk_window_set_icon_name): Add
814         comment clarifying that "icon name" here is not related to the
815         freedesktop.org icon naming stuff.
816
817 2007-02-23  Dom Lachowicz  <domlachowicz@gmail.com>
818
819         * modules/engines/ms-windows/msw_style.c: Bug 411118 - bad bevel for
820         progress bar on windows classic. Match from Mathias Hasselmann.
821         
822 2007-02-19  Tor Lillqvist  <tml@novell.com>
823
824         * gdk/win32/gdkinput.c
825         (gdk_device_finalize, gdk_device_class_init): Remove.
826         (gdk_device_get_type): Drop class init function. The X11 version
827         doesn't have one either.
828         (gdk_devices_list): Call gdk_display_list_devices() on _gdk_display.
829         (gdk_display_list_devices): Check that the argument is
830         _gdk_display.
831
832         * gdk/win32/gdkinput-win32.h (GdkAxisInfo, GdkDevicePrivate):
833         Cleanup: remove unused fields.
834         * gdk/win32/gdkinput-win32.c: Corresponding changes. Fix function
835         names in a few debugging printouts.
836
837 2007-02-18  Matthias Clasen  <mclasen@redhat.com>
838
839         * gtk/gtktextlayout.c (gtk_text_layout_move_iter_visually):
840         Ignore invisible text when going to end of the previous line.
841         (#382565)
842
843 2007-02-18  Richard Hult  <richard@imendio.com>
844
845         * gdk/quartz/gdkwindow-quartz.c:
846         (gdk_window_quartz_process_all_updates),
847         (_gdk_windowing_window_destroy): Setup release pools to plug two leaks,
848         patch from Erik van Pienbroek, fixes bug #396649.
849
850 2007-02-18  Richard Hult  <richard@imendio.com>
851
852         * gdk/quartz/gdkevents-quartz.c: Add stub for 
853         gdk_display_add_client_message_filter, patch from Taybin Rutkin. Fixes
854         bug #405870.
855
856         * gdk/quartz/gdkprivate-quartz.h: Add prototypes to fix build warnings.
857
858 2007-02-18  Richard Hult  <richard@imendio.com>
859
860         * gdk/quartz/GdkQuartzView.h:
861         * gdk/quartz/GdkQuartzWindow.h:
862         * gdk/quartz/gdkquartz.h: Import AppKit.h instead of Quartz.h.
863         * gdk/quartz/gdkscreen-quartz.c: (get_mm_from_pixels): Don't use 
864         userSpaceScaleFactor for 10.3. Those changes bring us closer to working
865         on panther, patch from Mathias Hasselmann.
866         
867         * gdk/quartz/gdkeventloop-quartz.c: Add includes to fix build warnings.
868
869 2007-02-16  Behdad Esfahbod  <behdad@gnome.org>
870
871         * gdk/gdkpango.c (gdk_pango_layout_get_clip_region): Use PANGO_PIXELS
872         instead of division. (#334617)
873
874 2007-02-16  Kristian Rietveld  <kris@gtk.org>
875
876         * gtk/gtktreeprivate.h: add cursor_offset field.
877
878         * gtk/gtktreeview.c (gtk_tree_view_init),
879         (gtk_tree_view_move_cursor_page_up_down): fix off by one error
880         in page up/down handling by memorizing the offset into the cursor
881         row.  (Fixes #399809, reported by Bruce Bowler).
882
883 2007-02-16  Kristian Rietveld  <kris@gtk.org>
884
885         * gtk/gtktreeview.c (gtk_tree_view_search_dialog_hide): send
886         a focus-in event to the tree view after hiding the search dialog.
887         (#356515, Rich Burridge, Peter Parente).
888
889 2007-02-16  Kristian Rietveld  <kris@imendio.com>
890
891         * tests/testtooltips.c (query_tooltip_text_view_cb): also handle
892         keyboard tooltips. (#408325, Matthias Clasen).
893
894 2007-02-16  Xan Lopez  <xan@gnome.org>
895
896         * gtk/gtkcombobox.c (gtk_combo_box_expose_event): Cleanup the logic
897         in expose event handler. Reviewed by Matthias Clasen, #406112
898
899 2007-02-16  Matthias Clasen  <mclasen@redhat.com>
900
901         * gtk/gtkmain.c: Run pre_parse_hook only once.  (#403139, Kjartan
902         Maraas)
903
904 2007-02-15  Matthias Clasen  <mclasen@redhat.com>
905
906         * gdk/x11/gdmain-x11.c (_gdk_xgrab_check_button_event): Be more
907         careful when checking for ButtonRelease events that end implicit
908         grabs.  (#386618, Christof Krüger)
909
910 2007-02-15  Matthias Clasen  <mclasen@redhat.com>
911
912         * gtk/gtktextbtree.c (_gtk_text_btree_delete): Free the lines
913         even if there are no views.  (#408018, Albert Huang)
914
915 2007-02-15  Cody Russell  <bratsche@gnome.org>
916
917         * gdk/win32/gdkevents-win32.c: Make sure we get enough main context 
918         iterations while we're resizing so that the window contents are resized 
919         more smoothly (#389765).
920
921         * gdk/win32/gdkevents-win32.c: Fix flickering widgets when window contents
922         are resized (#310522).
923
924 2007-02-15  Matthias Clasen  <mclasen@redhat.com>
925
926         * gtk/updateiconcache.c: Handle symlinked .icon files 
927         intelligently; also avoid storing duplicate strings.
928
929 2007-02-15  Michael Natterer  <mitch@imendio.com>
930
931         * gtk/gtkmenushell.c: remove two antique function typedefs that
932         are probably obsolete for ages.
933
934 2007-02-14  Stefan Kost  <ensonic@users.sf.net>
935
936         reviewed by: Matthias Clasen  <mclasen@redhat.com>
937
938         * configure.in: determine installation prefixes of dependent libs to
939         crossreference docs (#407146).
940
941 2007-02-14  Kristian Rietveld  <kris@imendio.com>
942
943         * gtk/gtktooltip.c (child_location_foreach): check return value
944         of gtk_widget_translate_coordinates() so we cannot end up
945         using uninitialized x, y values.  (#407863, patch from Carlos
946         Garnacho).
947
948 2007-02-14  Kristian Rietveld  <kris@imendio.com>
949
950         * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_realize_button):
951         use TREE_VIEW_DRAG_WIDTH/2 when calculating the drag window
952         position instead of a hardcoded value.  (Taken from maemo-gtk).
953
954 2007-02-14  Michael Natterer  <mitch@imendio.com>
955
956         * gtk/gtkmenu.c (gtk_menu_motion_notify): don't forget to set the
957         state of the synthesized GDK_ENTER_NOTIFY event. Fix taken from
958         maemo-gtk.
959
960 2007-02-13  Kristian Rietveld  <kris@imendio.com>
961
962         * gtk/gtktooltip.c (gtk_tooltip_hide_tooltip): stop any
963         pending tooltip timeout. (Fixes #406110, Carlos Garnacho).
964
965 2007-02-10  Emmanuele Bassi  <ebassi@gnome.org>
966
967         * gtk/gtkrecentchoosermenu.c: Fix the english of the comment;
968         remove some type checking; use better variable naming for the
969         internal menu item markers.
970
971 2007-02-09  Emmanuele Bassi  <ebassi@gnome.org>
972
973         * gtk/gtkrecentchoosermenu.c: Add support for both prepending
974         and appending custom menu items.
975
976         (gtk_recent_chooser_menu_constructor): Add a placeholder menu
977         item for the empty menu case, and for giving us a starting
978         point for the recent items populating process.
979
980         (gtk_recent_chooser_menu_insert_item),
981         (gtk_recent_chooser_menu_dispose_items): Insert an item at
982         the position following the placeholder (and find that position
983         if needed).
984
985         (idle_populate_func), (idle_populate_clean_up): Show the
986         placeholder menu item, instead of creating one each time.
987
988         (gtk_recent_chooser_menu_populate): Kill some indirections
989         and hide the placeholder before populating the menu.
990
991         (set_recent_manager): Remember to remove the idle population
992         source if the manager changes.
993
994         * tests/testrecentchoosermenu.c: Test the appending and
995         prepending of the menu items to the recent chooser menu
996         widget.
997
998 2007-02-08  Emmanuele Bassi  <ebassi@gnome.org>
999
1000         * gtk/gtkrecentchoosermenu.c (idle_populate_func): Keep count
1001         of the displayed items to build the menu items mnemonic instead
1002         of the overall item count. (#377164)
1003
1004         (idle_populate_clean_up): Append a menu item if all the items
1005         got filtered in the idle populate function. (#405696)
1006
1007         * tests/Makefile.am:
1008         * tests/testrecentchoosermenu.c: Add a test for the
1009         GtkRecentChooserMenu widget.
1010
1011 Thu Feb  8 13:07:08 2007  Tim Janik  <timj@imendio.com>
1012
1013         * applied patch from Xan Lopez which adds GTK_BUTTONBOX_CENTER to
1014         GtkButtonBox (bug #336159).
1015
1016         * gtk/gtkenums.h:
1017         * gtk/gtkvbbox.c, gtk/gtkhbbox.c, gtk/gtkbbox.c:
1018         support GTK_BUTTONBOX_CENTER.
1019
1020         * tests/testbbox.c: new button box test, which allows testing of 
1021         the various button box properties.
1022
1023         * tests/testgtk.c: added GTK_BUTTONBOX_CENTER. to button box test.
1024
1025 2007-02-07  Cody Russell  <bratsche@gnome.org>
1026
1027         * gdk/gdk.symbols: Add gdk_event_request_motions
1028
1029 Wed Feb  7 19:03:28 2007  Tim Janik  <timj@gtk.org>
1030
1031         * gtk/gtkentry.c (gtk_entry_motion_notify): fixed motion request 
1032         condition which was wrongly ported with my last commit.
1033
1034 Tue Feb  6 15:53:59 2007  Tim Janik  <timj@imendio.com>
1035
1036         * gtk/gtktextview.c (gtk_text_view_motion_event):
1037         * gtk/gtkspinbutton.c (gtk_spin_button_motion_notify):
1038         * gtk/gtkaboutdialog.c (credits_motion_notify_event):
1039         * gtk/gtkhruler.c (gtk_hruler_motion_notify):
1040         * gtk/gtkvruler.c (gtk_vruler_motion_notify): 
1041         * gtk/gtkentry.c (gtk_entry_motion_notify):
1042         * gtk/gtktooltip.c (_gtk_tooltip_handle_event):
1043         * gtk/gtkhsv.c (gtk_hsv_motion): call gdk_event_request_motions()
1044         for new motion events after receiving motion hints.
1045
1046         * gdk/gdkevents.[hc]: added gdk_event_request_motions().
1047
1048 2007-02-06  Kristian Rietveld  <kris@imendio.com>
1049
1050         * gtk/gtktooltip.c (find_topmost_widget_coords_from_event):
1051         remove unused get of has_tooltip.
1052
1053         * tests/testtooltips.c (query_tooltip_tree_view_cb): use the
1054         portable g_snprintf instead of snprintf.
1055
1056 2007-02-06  Michael Natterer  <mitch@imendio.com>
1057
1058         * gtk/gtktooltip.c (gtk_tooltip_finalize): chain up.
1059
1060         (gtk_tooltip_show_tooltip): move variables and code to local
1061         scope. Fixes warnings about maybe uninitialized variables.
1062
1063 2007-02-06  Kristian Rietveld  <kris@imendio.com>
1064
1065         New tooltips API.
1066
1067         * gtk/Makefile.am
1068         * gtk/gtk.h
1069         * gtk/gtk.symbols: build system foo.
1070
1071         * gtk/gtkmain.c (gtk_main_do_event): call tooltip event handler
1072         hook for appropriate events.
1073
1074         * gtk/gtkmarshalers.list: add BOOLEAN:INT,INT,BOOLEAN,OBJECT.
1075
1076         * gtk/gtkrc.c: add style for gtk-tooltip.
1077
1078         * gtk/gtksettings.c (gtk_settings_class_init): make the
1079         different tooltip timeouts configurable.
1080
1081         * gtk/gtkwidget.[ch]: add new properties, signals, make sure
1082         tooltips are hidden on unmap, destroy, update window event
1083         mask on realize, hook into focus change and show help
1084         handlers.
1085
1086         * gtk/gtkwindow.h: move GtkWindow typdef to gtkwidget.h ...
1087
1088         * gtk/gtktooltip.[ch]: new files.
1089
1090         * tests/Makefile.am
1091         * tests/testtooltips.c: add test application.
1092
1093 2007-02-05  Dom Lachowicz <domlachowicz@gmail.com>
1094
1095         * modules/engines/ms-windows/msw_style.c: Fix bug 404506, caused
1096         by prematurely releasing a DC. By Hiroyuki Yamamoto
1097         * modules/engines/ms-windows/msw_style.c: Fix bug 403470 - leaking 
1098         pixbufs when drawing rotated tabs. By Daniel Atallah
1099         
1100 2007-02-05  Michael Natterer  <mitch@imendio.com>
1101
1102         * gtk/gtksettings.c: add new boolean settings gtk-enable-accels
1103         and gtk-enable-mnemonics which enable/disable accelerators and
1104         mnemonics (bug #72375, based on a patch from Tommi Komulainen).
1105
1106         * gtk/gtkwindow.c (gtk_window_activate_key)
1107         * gtk/gtkmenushell.c (gtk_menu_shell_key_press): don't invoke them
1108         if the resp. setting is FALSE.
1109
1110         * gtk/gtkaccellabel.c (gtk_accel_label_refetch)
1111         * gtk/gtklabel.c (gtk_label_set_pattern_internal): don't display
1112         them if the setting is FALSE.
1113
1114         * gtk/gtklabel.c: added signal connection to the screen's settings
1115         object and traverse all widgets on the screen when the setting
1116         changes. It's slightly ugly to also update GtkAccelLabels here,
1117         but less ugly than connecting and traversing all widgets twice.
1118
1119 2007-02-05  Michael Natterer  <mitch@imendio.com>
1120
1121         * gtk/gtktextbuffer.h (enum GtkTextBufferTargetInfo): changed
1122         values from G_MAXUINT-0, -1, -2 to -1, -2, -3 so we stay within
1123         ansi C enum value limits. Fixes bug #46757.
1124
1125 2007-02-03  Soren Sandmann <sandmann@daimi.au.dk>
1126
1127         * gtk/gtksequence.[ch]: Remove these files since GSequence has
1128         been moved into GLib.
1129
1130         * gtk/gtkliststore.c: Port to GSequence instead of GtkSequence.
1131
1132         * configure.in: Require glib-2.13.0
1133         
1134 2007-02-04  Tor Lillqvist  <tml@novell.com>
1135
1136         * gdk/win32/gdkcursor-win32.c: Don't define BITMAPV5HEADER on
1137         mingw with w32api >= 3.8, which has it in wingdi.h. (#403896)
1138
1139 2007-02-02  Kristian Rietveld  <kris@gtk.org>
1140
1141         * gtk/gtktreeview.c (gtk_tree_view_row_changed): remove unused
1142         style_get of vertical-separator. (#403165, Chris Wilson).
1143
1144 2007-02-02  Christian Persch  <chpe@svn.gnome.org>
1145
1146         * gtk/gtkfilechoosersettings.c: (get_config_filename),
1147         (ensure_settings_read), (_gtk_file_chooser_settings_init),
1148         (_gtk_file_chooser_settings_set_show_hidden),
1149         (_gtk_file_chooser_settings_set_expand_folders),
1150         (_gtk_file_chooser_settings_save): Use a simple key file instead of a
1151         markup file. Bug #399592.
1152
1153 2007-02-02  Mariano Suárez-Alvarez  <mariano@gnome.org>
1154
1155         * gtk/gtkcellrenderertext.c(gtk_cell_renderer_text_class_init):
1156         be a little more helpful with the docs on GtkCellRendererText:alignment.
1157         Bug #403409.
1158
1159 2007-02-01  Michael Natterer  <mitch@imendio.com>
1160
1161         * gtk/gtkmenu.c (gtk_menu_paint): pass &event->area to
1162         gtk_paint_box() calls.
1163
1164 2007-02-01  Michael Natterer  <mitch@imendio.com>
1165
1166         * gtk/gtkmenu.c (gtk_menu_button_press)
1167         (gtk_menu_button_release)
1168         (gtk_menu_button_scroll): remove redundant and confusing
1169         if (GTK_IS_MENU (widget)) checks because "widget" is always a
1170         GtkMenu here.
1171
1172 Thu Feb  1 12:22:06 2007  Tim Janik  <timj@imendio.com>
1173
1174         * gtk/gtkcombobox.c (gtk_combo_box_list_destroy): remove extra reference
1175         that gtkcombobox keeps on priv->popup_widget if it's a tree view.
1176
1177 2007-01-31  Christian Persch  <chpe@svn.gnome.org>
1178
1179         * gtk/gtkaboutdialog.c: (update_credits_button_visibility),
1180         (gtk_about_dialog_set_authors), (gtk_about_dialog_set_documenters),
1181         (gtk_about_dialog_set_artists),
1182         (gtk_about_dialog_set_translator_credits): Hide the Credits button iff
1183         there are no credits to show. Bug #402806.
1184
1185 2007-01-31  Tor Lillqvist  <tml@novell.com>
1186
1187         * gdk/win32/gdkinput-win32.c (print_cursor): New debugging
1188         function.
1189         (_gdk_input_wintab_init_check): Call it when debugging output is
1190         requested.
1191         (_gdk_input_wintab_init_check): Skip duplicated cursors for Wacom
1192         tablets. The Wacom driver reports duplicated cursors with
1193         physid==0. Fix verified by Robert Ögren.
1194
1195 2007-01-30  Felix Riemann  <friemann@svn.gnome.org>
1196
1197         * modules/printbackends/file/gtkprintbackendfile.c:
1198         (file_printer_get_options): Fix leaked string. Fixes bug #402565.
1199
1200 2007-01-30  Matthias Clasen  <mclasen@redhat.com>
1201
1202         * gdk/x11/gdkwindow-x11.c (gdk_x11_window_move_to_current_desktop):
1203         (gdk_x11_window_set_user_time): Be more careful about toplevel
1204         possibly being NULL.  (#402453, Sebastian Bacher)
1205
1206 Tue Jan 30 12:09:56 2007  Tim Janik  <timj@gtk.org>
1207
1208         * gtk/gtksettings.c: cleaned up ::color-hash registration to not abuse
1209         class_n_properties and leave an uninitialized value array behind.
1210
1211 2007-01-29  Michael Natterer  <mitch@imendio.com>
1212
1213         * gtk/gtkmenuitem.c (gtk_menu_item_select)
1214         (gtk_menu_item_deselect): queue a draw on the parent_menu_item of
1215         this menu item's menu, to enable themeing menu items depending on
1216         whether something is selected in their submenu (patch taken from
1217         maemo-gtk).
1218
1219 2007-01-28  Matthias Clasen  <mclasen@redhat.com>
1220
1221         * gtk/gtktoolbar.c: Reinstate gtk_toolbar_content_new_compatibility()
1222         that was mistakenly "cleaned up" a while ago. Also
1223         revert a problematic change to the screen_changed
1224         handler.  (#401598, Søren Sandmann)
1225
1226 2007-01-28  Matthias Clasen  <mclasen@redhat.com>
1227
1228         * gtk/gtkframe.c (gtk_frame_size_allocation): Fix a 
1229         problem with large y thickness.  (#136592, Xan Lopez)
1230
1231 2007-01-28  Matthias Clasen  <mclasen@redhat.com>
1232
1233         * gtk/gtkaction.c (gtk_action_new): Use canonical
1234         property names.  
1235
1236 2007-01-27  Matthias Clasen  <mclasen@redhat.com>
1237
1238         * gtk/gtknotebook.c (gtk_notebook_draw_arrow):
1239         (gtk_notebook_draw_focus): Avoid some unnecessary 
1240         gtk_widget_get_style() calls.
1241
1242 2007-01-27  Matthias Clasen  <mclasen@redhat.com>
1243
1244         * gtk/gtktoolbar.c:
1245         * gtk/gtktoolitem.c:
1246         * gtk/gtktoolbutton.c: Rearrange things so that setting
1247         multiple properties causes not more than a single 
1248         reconstruction of the contents.
1249
1250         * gtk/gtkaction.c (connect_proxy): Set all tool button 
1251         properties in one go.
1252
1253 2007-01-27  Matthias Clasen  <mclasen@redhat.com>
1254
1255         * gtk/gtkstatusicon.c:
1256         * gtk/gtktrayicon-x11.c: Fix GtkStatusIcon to not
1257         take up space on the panel if it is invisible.  (340110, Christian
1258         Persch)
1259
1260         * tests/teststatusicon.c:
1261         * tests/Makefile.am: Updates
1262
1263 2007-01-27  Matthias Clasen  <mclasen@redhat.com>
1264
1265         * gtk/gtkfilesel.h:
1266         * gtk/gtkrc.h:
1267         * gtk/gtk.symbols: Add deprecation guards for gtk_rc_style_ref/unref
1268         and the old file selector.  (#348256)
1269
1270 2007-01-26  Matthias Clasen  <mclasen@redhat.com>
1271
1272         * gtk/gtkiconview.c: Documentation fixes (#400530, Anders Brander)
1273
1274 2007-01-26  Matthias Clasen  <mclasen@redhat.com>
1275
1276         * gtk/updateiconcache.c: Check the mtime of all directories,
1277         not just the toplevel, if ftw() is available.  (#331671, Behdad
1278         Esfahbod)
1279
1280         * configure.in: Check for ftw.h.
1281
1282 2007-01-26  Michael Natterer  <mitch@imendio.com>
1283
1284         * modules/input/gtkimcontextxim.c (gtk_im_context_xim_finalize):
1285         destroy the XIM only if it exists. While the code does look safe
1286         in general, there can be corner cases where the "reconnecting"
1287         boolean being FALSE does not correspond to the XIM being
1288         allocated (fixes #329450, fix taken from maemo-gtk).
1289
1290 Fri Jan 26 13:07:07 2007  Tim Janik  <timj@imendio.com>
1291
1292         * gtk/gtkstyle.c (draw_insertion_cursor): clamp cursor coordinates to
1293         window bounds (fix from Maemo Gtk).
1294
1295 2007-01-26  Michael Natterer  <mitch@imendio.com>
1296
1297         * gtk/gtkentrycompletion.c (gtk_entry_completion_insert_prefix):
1298         only block/unblock completion->priv->insert_text_id if it is
1299         actually connected. While this can't happen the way GtkEntry
1300         itself uses the completion, it's still public API and should not
1301         blindly call functions that will spit warnings (fix taken from
1302         maemo-gtk).
1303
1304 2007-01-25  Matthias Clasen  <mclasen@redhat.com>
1305
1306         * gdk/gdkwindow.c: Reduce locking overhead by not repeatedly getting
1307         the paintable iface.  
1308
1309 2007-01-24  Michael Natterer  <mitch@imendio.com>
1310
1311         * gtk/gtkwidget.c (gtk_widget_set_state): revert generic disabling
1312         of PRELIGHT state for the reasons given in bug #135666. Widget
1313         states are sometimes abused or otherwise used wrongly for historic
1314         reasons, causing this part of the patch to break e.g. menu items.
1315
1316 2007-01-24  Roozbeh Pournader  <roozbeh@farsiweb.info>
1317
1318         * README: Remove mention of no-longer-existing PATCH
1319         keyword in bugzilla. (#396899)
1320
1321 2007-01-23  Carlos Garcia Campos  <carlosgc@gnome.org>
1322
1323         * gtk/gtkpagesetup.c
1324         (gtk_page_setup_set_paper_size_and_default_margins): Fix memory leak.
1325         Fixes bug #399907. 
1326
1327 2007-01-22  Chris Wilson <chris@chris-wilson.co.uk>
1328
1329         Bug 399314 – Add G_GNUC_WARN_UNUSED_RESULT to gtk_style_attach
1330
1331         * gtk/gtkstyle.h:
1332                 Cause gcc to issue a warning if the style returned from
1333                 gtk_style_attach is not used. Failure to update
1334                 widget->style causes some very difficult to reproduce bugs,
1335                 eg Bug 353498 – crash in Terminal: changing icon theme.
1336
1337 2007-01-19  Michael Emmel  <mike.emmel@gmail.com>
1338
1339         * gdk/directfb/gdkevents-directfb.c: added fixes for window
1340         crossing events frm Attilio Fiandrotti<attilio.fiandrotti@gmail.com>
1341
1342 2007-01-19  Matthias Clasen  <mclasen@redhat.com>
1343
1344         * gtk/gtkcalendar.c: Fix build breakage.
1345
1346 2007-01-19  Kristian Rietveld  <kris@imendio.com>
1347
1348         * gtk/gtktreeview.c (gtk_tree_view_motion_bin_window),
1349         (add_scroll_timeout), (gtk_tree_view_drag_motion): factor out
1350         add_scroll_timeout().  (taken from maemo-gtk).
1351
1352 2007-01-18  Matthias Clasen  <mclasen@redhat.com>
1353
1354         * gtk/gtkcalendar.c: Fix problems with the initial
1355         focus in GtkCalendar.  (#397783, Vincent Untz)
1356
1357 2007-01-19  Robert Ögren  <gtk@roboros.com>
1358
1359         Fix for bug #143460 - missed tablet clicks on Windows
1360
1361         * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check):
1362         Request absolute reporting of tablet button state, and cut down
1363         the packet queue size a bit.
1364         (_gdk_input_other_event): Change button state handling
1365         accordingly. Also drop the no longer necessary code that detects
1366         missed clicks/releases for button 1. The switch to absolute button
1367         state should prevent missed events for all buttons. Additionally,
1368         swap button 2 and 3.
1369         (_gdk_input_grab_pointer): Don't reset button_state, that will only
1370         cause a new press event as soon as the next tablet packet arrives.
1371
1372 2007-01-19  Tor Lillqvist  <tml@novell.com>
1373
1374         Build Wintab support always on Windows. Don't require the Wintab
1375         SDK.
1376
1377         * configure.in: Drop the --with-wintab option. Drop the
1378         HAVE_WINTAB feature test macro and Automake variable.
1379
1380         * acconfig.h
1381         * config.h.win32.in: Drop HAVE_WINTAB.
1382
1383         * gdk/win32/gdkevents-win32.c
1384         * gdk/win32/gdkinput.c
1385         * gdk/win32/gdkinput-win32.h
1386         * gdk/win32/gdkinput-win32.c
1387         * gdk/win32/gdkmain-win32.c: Make HAVE_WINTAB ifdef blocks
1388         unconditional.
1389
1390         * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Try
1391         to load wintab32.dll dynamically here. If it is found look up the
1392         handful Wintab functions we use.
1393         (rest of file): Use these function pointers instead of calling the
1394         functions from wntab32x.lib. The code in wntab32x.lib did the same
1395         thing anyway: tried to load wintab32.dll, and looked up the
1396         addresses of the actual functions from it.
1397
1398         * gdk/Makefile.am
1399         * gdk/win32/Makefile.am: Drop the libwntab32x hacks.
1400
1401         * gdk/win32/wintab.h
1402         * gdk/win32/pktdef.h: New files. Copied from the Wintab
1403         SDK. Copyright blurb says: "The text and information contained in
1404         this file may be freely used, copied, or distributed without
1405         compensation or licensing restrictions."
1406
1407         * README.win32: Update a bit. Remove the text about the Wintab
1408         SDK.
1409
1410 2007-01-18  Tor Lillqvist  <tml@novell.com>
1411
1412         * gdk-pixbuf/Makefile.am
1413         * gdk/Makefile.am
1414         * gdk/win32/Makefile.am
1415         * gtk/Makefile.am: Fixes for building outside srcdir on
1416         Win32. (#336819, #340013) Drop distributing the handmade .la
1417         libtool wrapper for the wntab32x library. It's too much trouble
1418         making it work when building outside srcdir. Just link to the
1419         library direcly using -Wl,win32/libwntab32x.a.
1420
1421 2007-01-18  Michael Natterer  <mitch@imendio.com>
1422
1423         * gtk/gtkcheckbutton.c
1424         * gtk/gtkdnd.c
1425         * gtk/gtkentry.c
1426         * gtk/gtkmenu.c
1427         * gtk/gtktreeview.c
1428         * gtk/gtkviewport.c: pass more clip rectangles to gtk_paint_foo()
1429         functions. Based on a patch from maemo-gtk (bug #398023).
1430
1431 2007-01-17  Tor Lillqvist  <tml@novell.com>
1432
1433         * gtk-zip.sh.in: Include also the COPYING file.
1434
1435 2007-01-17  Matthias Clasen  <mclasen@redhat.com>
1436
1437         * modules/printbackends/cups/gtkprintbackendcups.c: Don't use
1438         httpGetFd() when building against cups 1.1
1439
1440 2007-01-17  Tor Lillqvist  <tml@novell.com>
1441
1442         Proper fix for #396175:
1443
1444         * gtk/gtkimmulticontext.c: Revert change by Hans Breuer below: Do
1445         include gtkprivate.h. On Win32 we do want to use the redefinition
1446         of GTK_LOCALEDIR as a call to the function _gtk_get_localedir().
1447
1448         * gtk/gtkimmodule.c: Instead, correct the prefix also on
1449         simple_context_info.domain_dirname. Do the prefix corrections
1450         always on Win32, not just when GTK_LIBDIR is defined. i.e., until
1451         now they were done only in the autoconfiscated gcc builds. Hans
1452         needs to make sure GTK_LIBDIR and GTK_LOCALEDIR are defined also
1453         in MSVC builds now.
1454         (correct_localedir_prefix): New function, like
1455         correct_libdir_prefix(), but for GTK_LOCALEDIR, in case
1456         GTK_LOCALEDIR is not a descendant of GTK_LIBDIR.
1457         (gtk_im_module_initialize): Thus call correct_localedir_prefix()
1458         on the domain_dirname instead of correct_libdir_prefix().
1459         (_gtk_im_module_list): Call correct_localedir_prefix() on
1460         simple_context_info.domain_dirname.
1461
1462 2007-01-16  Matthias Clasen  <mclasen@redhat.com>
1463
1464         * gtk/gtkrange.c (range_grab_remove): Queue a redraw when the
1465         grab changes.  (#396470, Benjamin Berg)
1466
1467 2007-01-15  Emmanuele Bassi  <ebassi@gnome.org>
1468
1469         * gtk/gtkrecentchoosermenu.c: Ellipsize the menu items label
1470         if they grow too much. (#357303)
1471
1472 2007-01-14  Matthias Clasen  <mclasen@redhat.com>
1473
1474         * gtk/gtkicontheme.c (theme_lookup_icon): When finding a matching
1475         non-scalable dir, keep going and look for a closer match.
1476         (#395830, Luca Ferretti)
1477
1478 2007-01-14  Christian Persch  <chpe@svn.gnome.org>
1479
1480         * gtk/gtkclipboard.c: (gtk_clipboard_set_text),
1481         (gtk_clipboard_set_image): Use gtk_target_table_new_from_list and
1482         gtk_target_table_free instead of duplicating the code. Bug #396493.
1483
1484 2007-01-13  Matthias Clasen  <mclasen@redhat.com>
1485
1486         * gtk/gtkuimanager.c: Don't crash if menu or toolbar
1487         positions can't be found.  (#396161, Hans Breuer)
1488
1489 2007-01-13  Matthias Clasen  <mclasen@redhat.com>
1490
1491         * gtk/gtkselection.c (_gtk_selection_request): Plug 
1492         memory leaks.  (#396160, Carlos Garcia Campos)
1493
1494 2007-01-13  Matthias Clasen  <mclasen@redhat.com>
1495
1496         * configure.in: Link libgtk against Xfixes.  (#396074,
1497         Tommi Komulainen)
1498
1499 2007-01-13  Matthias Clasen  <mclasen@redhat.com>
1500
1501         * gtk/gtkradiobutton.c (gtk_radio_button_focus): Avoid
1502         a compiler warning.  (#395045, Chris Wilson)
1503
1504 2007-01-13  Hans Breuer <hans@breuer.org>
1505
1506         * gtk/gtkprintoperation-win32.c : take the custom tab label from
1507         gtk_print_operation_set_custom_tab_label() into account (bug #390746).
1508
1509         * gtk/gtkimmulticontext.c : don't include "gtkprivate.h" to avoid
1510         differing definitions of GTK_LOCALEDIR (bug #396175).
1511
1512         * gtk/gtktreeview.c : use g_snprintf instead of snprintf, which is
1513         not available everywhere
1514
1515         * gtk/makefile.msc.in : updated
1516
1517 2007-01-12  Michael Natterer  <mitch@imendio.com>
1518
1519         * gtk/gtkentry.c (gtk_entry_button_press): don't add
1520         entry->scroll_offset to entry->drag_start_y. Fixes the entry
1521         starting drags after ridiculously small mouse movements.
1522
1523 2007-01-11  Richard Hult  <richard@imendio.com>
1524
1525         * demos/gtk-demo/main.c: (load_file): Close the file after it's
1526         loaded (bug #395316).
1527
1528 2007-01-11  Kjartan Maraas  <kmaraas@gnome.org>
1529
1530         * gtk/gtkfilesystemunix.c: (expand_tilde):
1531         Make a single tilde go to $HOME in the location entry.
1532         Patch from Yevgen Muntyan. Closes the gtk+ part of
1533         bug #334168.
1534
1535 2007-01-10  Behdad Esfahbod  <behdad@gnome.org>
1536
1537         * gdk/gdkpango.c (gdk_draw_layout_with_colors):
1538         * gtk/gtklabel.c (gtk_label_size_request):
1539         Use pango_matrix_transform_rectangle(). (#340141)
1540
1541         * configure.in: Bump pango requirement to 1.15.3.
1542
1543 2007-01-10  Kristian Rietveld  <kris@imendio.com>
1544
1545         * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_init):
1546         refactor to initialize indicator_size to TOGGLE_WIDTH instead
1547         of the hardcoded value of 12.
1548
1549 2007-01-09  Matthias Clasen  <mclasen@redhat.com>
1550
1551         * configure.in: Fix the directfb cairo test. (#394855, 
1552         Josselin Mouette)
1553
1554 2007-01-09  Behdad Esfahbod  <behdad@gnome.org>
1555
1556         * configure.in: Fix comment for --with-included-loaders.  That option
1557         affects builds with module loading enabled too.
1558
1559 2006-01-08  Peter Teichman  <peter@novell.com>
1560
1561         * gtk/gtkfilechooserdefault.c:
1562         * gtk/gtkfilechooserprivate.h:
1563         * gtk/gtkfilechoosersettings.c:
1564         * gtk/gtkfilechoosersettings.h:
1565         Save the expanded state of the folder browser with the file
1566         chooser settings.  Resolves the expander portions of (#153828,
1567         Lemmit Kaplinski)
1568
1569 2007-01-08  Emmanuele Bassi  <ebassi@gnome.org>
1570
1571         * gtk/gtkrecentchoosermenu.c (gtk_recent_chooser_menu_create_item):
1572         Don't leak the icon pixbuf after setting it to the image menu
1573         item.  Found by Paolo Borelli.
1574
1575 2007-01-08  Matthias Clasen  <mclasen@redhat.com>
1576
1577         * gtk/gtktreemodel.c (gtk_tree_path_to_string): Don't 
1578         corrupt memory when faced with paths with ridiculously
1579         large indices. Found by the GTKVTS test suite.  
1580
1581 2007-01-08  Matthias Clasen  <mclasen@redhat.com>
1582
1583         * gtk/gtkmodules.c (_gtk_modules_init): Set 
1584         default_display_opened before loading modules.  (#393102,
1585         Brian Cameron)
1586  
1587 2007-01-07  Matthias Clasen  <mclasen@redhat.com>
1588
1589         * gtk/gtktextview.c (gtk_text_view_set_border_window_size):
1590         Call text_window_realize() with the correct parameters.
1591         (#393813, Yevgen Muntyan)
1592
1593 2007-01-07  Matthias Clasen  <mclasen@redhat.com>
1594
1595         * gtk/gtkstatusbar.c: Move docs inline, and expand them 
1596         a bit.
1597
1598 2007-01-06  Matthias Clasen  <mclasen@redhat.com>
1599
1600         * gtk/gtklabel.c: Make line wrapping work with width-chars
1601         and max-width-chars, and simplify the storage of wrap-width.
1602         (#322580, Itai Bar-Haim)
1603
1604 2007-01-06  Tor Lillqvist  <tml@novell.com>
1605
1606         * gdk/win32/cursor.bdf: New file. Downloaded from
1607         freedesktop.org's webcvs. Slighly edited cursors "crosshair",
1608         "diamond_cross", "draft_large", "gobbler" and "target" to fix
1609         #392504. It is possible that the same end result could have been
1610         achieved by tweaking bdfcursor.c instead.
1611         
1612         * gdk/win32/bdfcursor.c: Add optional debugging output.
1613
1614         * gdk/win32/xcursors.h: Regenerated.
1615
1616 2007-01-05  Matthias Clasen  <mclasen@redhat.com>
1617
1618         * gtk/gtknotebook.c (gtk_notebook_set_menu_label_text): Left-align
1619         menu labels.  (#393255, Michail Crayson)
1620
1621 2007-01-05  Kristian Rietveld  <kris@gtk.org>
1622
1623         * gtk/gtktreeview.c (gtk_tree_view_dy_to_top_row): handle tree
1624         == NULL.  (Fixes #392685, reported by Yevgen Muntyan).
1625
1626 2007-01-05  Kristian Rietveld  <kris@gtk.org>
1627
1628         * gtk/gtktreeview.c (gtk_tree_view_row_changed): do allow to
1629         invalidate nodes if the tree view is not realized. (#363147,
1630         Carlos Garnacho, Miguel Cabrera).
1631
1632 2007-01-05  Matthias Clasen  <mclasen@redhat.com>
1633
1634         * gtk/gtkmenu.c (gtk_menu_paint): Take the scroll arrow into
1635         account when drawing the background.  (#393166, Benjamin Berg)
1636
1637 2007-01-05  Behdad Esfahbod  <behdad@gnome.org>
1638
1639         * gtk/gtklabel.c (get_layout_location): Fix broken width computation,
1640         again.
1641
1642 2007-01-05  Carlos Garnacho  <carlosg@gnome.org>
1643
1644         * gtk/gtknotebook.c (gtk_notebook_size_request): take into account
1645         both scroll arrows when calculating size request in GTK_POS_LEFT or
1646         GTK_POS_RIGHT notebooks. (#393124, reported by Christian Persch)
1647
1648 2007-01-05  Michael Natterer  <mitch@imendio.com>
1649
1650         * gtk/gtkwindow.c (gtk_window_key_release_event): chain up to
1651         the right function (fix taken from maemo-gtk).
1652
1653 2007-01-05  Behdad Esfahbod  <behdad@gnome.org>
1654
1655         * gdk/gdkprivate.h:
1656         * gdk/gdkpango.c (gdk_draw_layout_line_with_colors),
1657         (gdk_draw_layout_with_colors):
1658         * gdk/gdkwindow.c (gdk_window_draw_glyphs_transformed):
1659         Avoid overflow when converting coordinates to Pango units. (#332266,
1660         Jody Goldberg)
1661
1662 2007-01-04  Matthias Clasen  <mclasen@redhat.com>
1663
1664         * gtk/gtkcombobox.c (gtk_combo_box_popup): move set_cursor
1665         after realization of the popup window, so clamp node doesn't fail.
1666         (#346616, Tommi Komulainen, patch by Kristian Rietveld).
1667
1668 2007-01-04  Behdad Esfahbod  <behdad@gnome.org>
1669
1670         * gtk/gtklabel.c (get_layout_location): Fix uninitialized width
1671         variable.
1672
1673 2007-01-04  Matthias Clasen  <mclasen@redhat.com>
1674
1675         * gtk/Makefile.am:
1676         * gdk-pixbuf/Makefile.am:
1677         * configure.in:
1678         * gdk/win32/rc/gdk.rc.in: Cross-compilation fixes.
1679         (#392646, Yevgen Muntyan)
1680
1681 2007-01-04  Matthias Clasen  <mclasen@redhat.com>
1682
1683         * demos/gtk-demo/textscroll.c:
1684         * gtk/gtkhandlebox.c:
1685         * gtk/gtkcolorsel.c: Fix some compiler warnings.
1686
1687 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
1688
1689         * gtk/gtktextview.c: Rework the beep-on-uninserted-text
1690         by calling the input method regardless of editability,
1691         and beeping from the commit/preedit-changed handlers.
1692         (#390514, Yevgen Muntyan)
1693
1694 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
1695
1696         Fix #332604, reported by Joe Wreschnig, patch
1697         by Jan Arne Petersen and Behdad Esfahbod.
1698
1699         * gtk/gtklabel.c (gtk_label_size_allocate): Only
1700         set the width of the layout when necessary.
1701         (get_layout_location): Use pango_layout_get_pixel_extents()
1702         instead of pango_layout_get_width().
1703
1704 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
1705
1706         * modules/printbackends/cups/gtkprintbackendcups.c 
1707         (available_choices): Don't leak conflicts.
1708
1709         * gtk/gtkprintoperation.c (gtk_print_operation_finalize):
1710         Don't leak the status string.
1711
1712 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
1713
1714         * gtk/gtkfilechooserdefault.c (update_chooser_entry):
1715         Exit early if we can't get file info - this happens
1716         if the iter points to the row where we are editing
1717         the name for a newly created folder.  (#392191, Michael
1718         Partridge, patch by Kristian Rietveld)
1719
1720 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
1721
1722         * gtk/*.c:
1723         * gdk/x11/*.c: Apply a patch by Chris Wilson to
1724         avoid spurious valgrind warnings from XSendEvent() 
1725         calls.  (#392532)
1726
1727         * modules/printbackends/cups/gtkprintbackendcups.c: Close
1728         the http connection after getting the PPD.
1729
1730         * gtk/gtkprinteroptionwidget.c (filesave_changed_cb):
1731         Fix memory leaks.  
1732
1733 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
1734
1735         * gtk/gtkassistant.c (remove_page): If the current page
1736         is removed, always pick a different one.  (#392457, 
1737         Colin Watson)
1738
1739 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
1740
1741         * modules/printbackend/cups/*.c: Coding style cleanups.
1742
1743 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
1744
1745         * configure.in: Export SED to make sourcing of
1746         libtool work. Tighten up the directfb pkgconfig check.
1747
1748 2007-01-03  Michael Natterer  <mitch@imendio.com>
1749
1750         * gtk/gtkstyle.c (option_menu_get_props)
1751         * gtk/gtkoptionmenu.c (gtk_option_menu_get_props): Use 
1752         gtk_border_free when freeing borders.
1753
1754 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
1755
1756         * gtk/gtkentry.c (get_text_area_size): Work when the
1757         entry is not realized.  (#392315, Yevgen Muntyan)
1758
1759         * gtk/gtkentry.c (gtk_entry_queue_draw): Use 
1760         GTK_WIDGET_DRAWABLE() here.  (#392227, Chris Wilson)
1761
1762         * gtk/gtkentry.c (cursor_blinks): Don't get settings
1763         unnecessarily.  (#392227)
1764
1765 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
1766
1767         * gtk/gtkwindow.c (gtk_window_move_resize): Only process
1768         updates on the window at hand, not on all windows, to
1769         avoid violating resize/redraw ordering constraints.
1770         (#362406, Owen Taylor)
1771         
1772 2007-01-03  Kristian Rietveld  <kris@gtk.org>
1773
1774         * gtk/gtkcellrendererprogress.c
1775         (gtk_cell_renderer_progress_class_init): fix docs.
1776
1777 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
1778         
1779         * gtk/updateiconcache.c: Include locale.h
1780
1781 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
1782
1783         * gtk/updateiconcache.c (main): Call setlocale().
1784
1785         * gtk/gtkfilesel.c:
1786         * gtk/gtkfilesystemunix.c:
1787         * gtk/gtkfilesystemwin32.c:
1788         * gtk/gtkfilechoosersettings.c:
1789         * gtk/updateiconcache.c: Consistently use folder instead of
1790         directory in translated messages.  (#344584, Javier F. Serrador)
1791
1792 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
1793
1794         Try to fix #315732, reported by Luke Hutchinson:
1795
1796         * gdk/x11/xsettings-client.[hc]:
1797         * gdk/x11/gdkdevents-x11.c: Don't assume that ref'ing a GdkWindow
1798         will guarantee that it can be looked up in the xid hash later.
1799         Also, use the nesting server grab function during the xsettings
1800         client initialization. Finally, make xsettings client not
1801         eat DestroyNotifys so that GDK can do its regular cleanup. 
1802
1803 2007-01-02  Michael Natterer  <mitch@imendio.com>
1804
1805         * gtk/gtkrange.c (gtk_range_scroll) (gtk_range_move_slider): beep
1806         when a keybinding didn't change adjustment->value.
1807
1808 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
1809
1810         * gtk/gtktextbuffer.c (gtk_text_view_key_press_event):
1811         Try harder not to beep on events which are not meant to
1812         insert stuff in the buffer.  (#390514, Yevgen Muntyan) 
1813
1814 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
1815
1816         * gtk/gtktextbufferrichtext.c: Small documentation fixes.
1817
1818 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
1819
1820         * gtk/gtkentry.c (get_text_area_size): Center in the frame.  
1821         (#304482, Rob Staudinger, patch by  Richard Stellingwerff)
1822
1823 2007-01-02  Michael Emmel  <mike.emmel@gmail.com>
1824
1825         * gdkwindow-directfb.c: fixed leak of dfb resource on destroy 
1826
1827 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
1828
1829         * gtk/gtkscrolledwindow.h:
1830         * gtk/gtkscrolledwindow.c: Only handle key bindings
1831         for scrolling if the scrollbars are visible.
1832         (#340135, Christian Persch)
1833
1834 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
1835
1836         * gtk/gtktextview.c (gtk_text_view_scroll_hpages):
1837         Don't segfault on horizontal scrolling.  
1838
1839 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
1840
1841         * gtk/gtknotebook.h:
1842         * gtk/gtknotebook.c: Only handle key bindings for
1843         tab reordering if the tabs are shown and reorderable. 
1844         (#390468, Yevgen Muntyan)
1845
1846         * gtk/gtkmarshalers.list: Add required marshaler
1847
1848 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
1849
1850         * gtk/gtkcontainer.c (gtk_container_class_list_child_properties):
1851         Mention in the docs that the return value is
1852         NULL-terminated.  (#383373, Christian Neumair)
1853
1854 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
1855
1856         * gtk/gtkicontheme.c (load_themes): Waste less time
1857         with non-directories.  (#391725, Chris Wilson)
1858
1859 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
1860
1861         * gtk/gtkcellrendererprogress.c: Implement activity mode
1862         for GtkCellRendererProgress.  (#377851, Brad Taylor)
1863
1864 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
1865
1866         Fix some IPP compliance issues.  (#391523, Albrecht Dress)
1867
1868         * modules/printbackends/cups/gtkcupsutils.c
1869         (gtk_cups_request_encode_option): Use IPP_TAG_JOB, not
1870         IPP_TAG_OPERATION.
1871         * modules/printbackends/cups/gtkprintbackendcups.c
1872         (gtk_print_backend_cups_print_stream): Don't add the
1873         requesting-user-name attribute a second time. 
1874
1875 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
1876
1877         * gtk/gtkimcontextsimple.c: Fix en/em dash confusion.  (#378462)
1878
1879 2006-12-31  Emmanuele Bassi  <ebassi@gnome.org>
1880
1881         * gtk/gtkrecentchoosermenu.c (set_recent_manager): Use the
1882         right object when disconnecting from the GtkRecentManager::changed
1883         signal; save us a few indirections using a variable.
1884
1885 2006-12-31  Emmanuele Bassi  <ebassi@gnome.org>
1886
1887         * gtk/gtkrecentchoosermenu.c: Move the signal and idle
1888         disconnections into the dispose function, as well as the
1889         object unrefs; reset every handler id and the
1890         pointers. (suggested by Paolo Borelli, #390873)
1891
1892 2006-12-31  Matthias Clasen  <mclasen@redhat.com>
1893
1894         * gtk/gtkprintoperation-win32.c: Include windows.h (#391229,
1895         Kazuki Iwamoto)
1896
1897 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
1898
1899         * gtk/gtktextview.c (gtk_text_view_destroy): Remove the
1900         scroll timeout.  (#390872, Yevgen Muntyan)
1901
1902 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
1903
1904         * gtk/gtkprintoperation-unix.c:
1905         * gtk/gtkprintbackend.c:
1906         * gtk/gtkfilechooserdefault.c:
1907         * gtk/gtksettings.c: Move a few settings to gtksettings.c
1908         to make sure they show up in the docs.  (#365364, Christian
1909         Persch)
1910
1911 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
1912
1913         * gtk/gtkassistant.c: Redraw assistant on reallocate
1914         to avoid rendering glitches.  (#343956, Christian
1915         Persch, Carlos Garnacho)
1916
1917 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
1918
1919         * gtk/gtkrange.c: Typo fix.  (#352121, Clytie Siddall)
1920
1921 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
1922
1923         * gtk/gtkaction.c: Improve the docs of the "label" 
1924         property.  (#341730, Kristof Vansant)
1925
1926 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
1927
1928         * gtk/gtkwindow.c (gtk_window_compute_configure_request_size):
1929         Correctly handle min size. (#320465, Philipp Langdale)
1930
1931 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
1932
1933         * gtk/prop-editor.c: Implement editing of flags.
1934
1935 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
1936
1937         * gtk/gtkentry.c:
1938         * gtk/gtklabel.c:
1939         * gtk/gtkpaned.c:
1940         * gtk/gtkstatusbar.c:
1941         * gtk/gtktextview.c: Don't install cursors on insensitive
1942         widgets.  (#358864, Jan Schampera)
1943
1944 2006-12-29  Matthias Clasen  <mclasen@redhat.com>
1945
1946         * gtk/gtkrecentmanager.h:
1947         * gtk/gtkprintoperation.c: Fix doc typos.  (#370909,
1948         Shiino Yuki)
1949
1950         * gtk/gtkstyle.c (gtk_style_attach): Clarify docs.  (#353423,
1951         Christian Persch)
1952
1953         * gtk/gtkentry.c (blink_cb):
1954         * gtk/gtktextview.c (blink_cb): Don't die in an assertion
1955         if focus went missing. Just warn, clean up and continue.
1956         (#374378)
1957
1958 2006-12-29  Carlos Garnacho  <carlosg@gnome.org>
1959
1960         * gtk/gtknotebook.c (gtk_notebook_scroll): return if the widget that
1961         originally received the event is a notebook page. (#315440, reported
1962         by Mateusz Stefek)
1963
1964 2006-12-29  Matthias Clasen  <mclasen@redhat.com>
1965
1966         * gdk/gdkcolor.c (gdk_color_hash): Fix a typo. (#390613,
1967         Paolo Borelli)
1968
1969 2006-12-29  Matthias Clasen  <mclasen@redhat.com>
1970
1971         * tests/prop-editor.c: Display children of containers
1972         and cell renderers of cell layouts.
1973
1974         * gtk/gtk.symbols:
1975         * gtk/gtkcelllayout.[hc] (gtk_cell_layout_get_cells):
1976         New function to get the cell renderers of a cell layout.
1977
1978         * gtk/gtktreeviewcolumn.c:
1979         * gtk/gtkcellview.c:
1980         * gtk/gtkiconview.c: Implement get_cells.
1981
1982 2006-12-28  Matthias Clasen  <mclasen@redhat.com>
1983
1984         * gtk/gtkiconview.c: Use word wrapping by default, and
1985         center multiline labels.  (#318763, Ross Burton)
1986
1987         * gtk/gtkcellrenderertext.c (get_layout): Remove a special
1988         case for single-line layouts.
1989
1990 2006-12-28  Matthias Clasen  <mclasen@redhat.com>
1991
1992         * gtk/gtkarrow.c: Fix a typo in the docs.  (#390423,
1993         David Lodge)
1994
1995         * gtk/gtkuimanager.c (update_node): Only use the results
1996         of find_menu/toolbar_position() if they succeed. May fix
1997         bug #388041.
1998
1999 2006-12-28  Matthias Clasen  <mclasen@redhat.com>
2000
2001         * gdk/gdk.c: Fix some formatting errors in docs.  
2002
2003 2006-12-28  Tor Lillqvist  <tml@novell.com>
2004
2005         * gtk/gtkstatusicon.c (gtk_status_icon_finalize)
2006         (gtk_status_icon_update_image): Don't leak HICONs on
2007         Win32. (#364868, Hiroyuki Yamamoto)
2008
2009 2006-12-28  Carlos Garnacho  <carlosg@gnome.org>
2010
2011         Make GtkNotebook able to drop detached tabs anywhere. Bug #360225.
2012
2013         * gtk/gtkwidget.c (gtk_widget_class_init): add "drag-failed" signal.
2014         * gtk/gtkmarshalers.list: add new marshaler definition.
2015         * gtk/gtkenums.h: add GtkDragResult enum.
2016
2017         * gtk/gtkdnd.c (gtk_drag_drop_finished): emit "drag-failed" if DND
2018         operation wasn't successful.
2019         (_gtk_drag_source_handle_event) (gtk_drag_drop)
2020         (gtk_drag_selection_get) (gtk_drag_cancel) (gtk_drag_key_cb)
2021         (gtk_drag_grab_broken_event_cb) (gtk_drag_grab_notify_cb)
2022         (gtk_drag_button_release_cb) (gtk_drag_abort_timeout): tell
2023         gtk_drag_drop_finished() the operation result.
2024
2025         * gtk/gtknotebook.c (gtk_notebook_drag_failed): new function.
2026         (gtk_notebook_drag_data_get): do not call window creation hook here.
2027         (gtk_notebook_init): do not set "application/x-rootwindow-drop"
2028         target, instead connect to "drag-failed".
2029         (gtk_notebook_draw_focus): fix potential crasher if cur_page is NULL.
2030
2031 2006-12-28  Mikael Hallendal  <micke@imendio.com>
2032
2033         * gdk/quartz/gdkevents-quartz.c: Factored out the event loop 
2034         integration into gdkeventloop-quartz.c.
2035
2036         * gdk/quartz/Makefile.am: Added gdkeventloop-quartz.c
2037
2038         * gdk/quartz/gdkeventloop-quartz.c: New file containing the event loop 
2039         integration.
2040
2041 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
2042
2043         * modules/printbackends/lpr/gtkprintbackendlpr.c 
2044         (gtk_print_backend_lpr_print_stream): Close the io channel
2045         on unref.  (#390159, Joe Markus Clarke)
2046
2047 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
2048
2049         * gdk/gdk.h: Remove redundant declarations (#390097,
2050         Christian Persch)
2051
2052 2006-12-27  Kristian Rietveld  <kris@gtk.org>
2053
2054         Support inverting arrows via XSetting. (#377979, Yevgen Muntyan).
2055
2056         * gtk/gtksettings.c (gtk_settings_class_init): add new setting
2057         gtk-alternative-sort-arrows.
2058
2059         * gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting): add
2060         new setting.
2061
2062         * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: set new
2063         gtk-alternative-sort-arrows setting to true.
2064
2065         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
2066         invert direction if gtk-alternative-sort-arrows is TRUE.
2067
2068 2006-12-27  Tor Lillqvist  <tml@novell.com>
2069
2070         * gtk/gtk.symbols: Add gtk_status_icon_get_screen and
2071         gtk_status_icon_set_screen.
2072
2073         * gtk/gtkstatusicon.c: Implement gtk_status_icon_position_menu()
2074         on Windows. Keep track of where the last button click on the
2075         taskbar icon took place, and return that. Obviously not correct if
2076         no button has ever been clicked on the icon, or if the geometry of
2077         the taskbar has changed since. But for most use cases where a menu
2078         is going to be displayed as a direct result of a button click on
2079         the status icon, works fine. (#377349)
2080
2081         Implement getting the orientation property on Windows.
2082
2083         (gtk_status_icon_embedded_changed)
2084         (gtk_status_icon_orientation_changed): Ifdefify these functions
2085         that are used only on X11.
2086
2087 2006-12-27  Tor Lillqvist  <tml@novell.com>
2088
2089         * gtk/gtkfilesystemwin32.c (execute_callbacks): Fix
2090         typo. (#390035, Kazuki Iwamoto)
2091
2092 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
2093
2094         * gtk/gtkcellview.c (gtk_cell_view_set_model): Accept NULL.
2095
2096         * gtk/gtkcombobox.c (gtk_combo_box_set_model):
2097         (gtk_combo_box_unset_model): Handle repeated unsetting
2098         of models without warnings.  (#367529, Robert Ancell)
2099
2100 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
2101
2102         * modules/printbackends/cups/gtkcupsutils.c: 
2103         * modules/printbackends/cups/gtkprintbackendcups.c: Use
2104         getters for http fields where available.  (#364866, 
2105         Björn Lindqvist)
2106
2107 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
2108
2109         * gtk/gtkwidget.c (gtk_widget_show): Add a g_return_if_fail.
2110         (#362614, Xan Lopez)
2111
2112 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
2113
2114         * gtk/gtkuimanager.c (update_node): If a required action
2115         is missing, don't recurse over the children.  (#349119,
2116         Chris Moller)
2117
2118 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
2119
2120         Fix a few problems with nested menus in comboboxes
2121         (#386694, Yevgen Muntyan)
2122
2123         * gtk/gtkcombobox.c (gtk_combo_box_menu_fill_level): Always
2124         connect the activate callback.
2125         (gtk_combo_box_menu_item_activate): Do nothing if called on
2126         an item with a submenu.
2127         (gtk_combo_box_menu_row_deleted): Remove a submenu when it
2128         is empty.
2129
2130 2006-12-26  Mariano Suárez-Alvarez  <mariano@gnome.org>
2131
2132         * gtk/gtkfilechooserbuuton.[hc]: Add a file-set signal to the
2133         filechooser button. Bug 353196.
2134
2135 2006-12-26  Kristian Rietveld  <kris@gtk.org>
2136
2137         * gtk/gtktreeview.c (gtk_tree_view_search_init): fix typo causing
2138         the search dialog timeout never to be refreshed. (#389581,
2139         Andrzej Szombierski).
2140
2141 2006-12-26  Kristian Rietveld  <kris@gtk.org>
2142
2143         Lots of scrolling fixes.  Made scrolling work properly in not fully
2144         validated tree views; fixed a bunch of corner cases.
2145
2146         * gtk/gtktreeview.c (validate_visible_area): if a row's dy is past
2147         upper - page_size, we know it is located at the end so the test for
2148         dy + height has been dropped.
2149         In the same case if area_below < 0, we know this is the last node
2150         in the tree view so area_above is page_size - height of this row.
2151         (validate_visible_area): got rid of subtracting new_height -
2152         old_height from area_{below,above}, it didn't make any sense at
2153         all and the full height of the row should be subtracted instead.
2154         (validate_visible_area): when scrolling to a given path, set the
2155         top row directly together with the dy offset, then sync that top_row
2156         to the dy.
2157         (gtk_tree_view_set_top_row): new function to directly set a top_row.
2158         (gtk_tree_view_dy_to_top_row): refactored to use
2159         gtk_tree_view_set_top_row().
2160         (gtk_tree_view_top_row_to_dy): make sure dy >= 0 when done.
2161         (gtk_tree_view_adjustment_changed): only update our dy and
2162         top_row if the adjustment's dy actually changed.
2163
2164 2006-12-26  Christian Persch  <chpe@cvs.gnome.org>
2165
2166         * gtk/gtknotebook.c: (gtk_notebook_real_insert_page):
2167         Return the correct value from gtk_notebook_insert_page if the
2168         page-added handler reorders the tabs. Bug #345094.
2169
2170 2006-12-26  Carlos Garnacho  <carlosg@gnome.org>
2171
2172         Fix small regressions in GtkNotebook tab detaching. Bug #378852.
2173
2174         * gtk/gtknotebook.c (gtk_notebook_do_arrow): grab focus to allow tabs
2175         scrolling when hovering with a detached tab.
2176         (gtk_notebook_stop_reorder): Do not deparent the wrong tab if the
2177         focus tab has changed during a tab DND operation.
2178         (gtk_notebook_drag_end): ensure that the dropped tab gets focused.
2179         (gtk_notebook_paint): do not take cur_page as a reference to paint the
2180         box if it's detached.
2181         (gtk_notebook_calculate_tabs_allocation): focus_tab may be different
2182         to the detached tab if we hover the arrows during a tabs detaching 
2183         operation, do not allocate it unconditionally in 0,0.
2184
2185 2006-12-26  Carlos Garnacho  <carlosg@gnome.org>
2186
2187         Expose improvements for GtkNotebook. Bug #383435
2188
2189         * gtk/gtknotebook.c (gtk_notebook_expose): propagate the event to tab
2190         labels.
2191         (gtk_notebook_draw_focus): do not repaint the whole focused tab again.
2192         (gtk_notebook_draw_tab): do not send handmade expose events to tab
2193         labels.
2194
2195 2006-12-26  Matthias Clasen  <mclasen@redhat.com>
2196
2197         * gtk/gtkfilesystemunix.c (execute_callbacks): Return
2198         FALSE.  (#389623, Carlos Garnacho Parro)
2199
2200         * gtk/gtkrange.c (stop_scrolling): Avoid spurious
2201         redraws.
2202
2203 2006-12-25  Christian Persch  <chpe@cvs.gnome.org>
2204
2205         * gtk/gtkplug.c: (gtk_plug_construct_for_display),
2206         (gtk_plug_unrealize): Notify the "embedded" property also on
2207         normal construction and when destroying the socket window.
2208         Bug #388738.
2209
2210 2006-12-25  Christian Persch  <chpe@cvs.gnome.org>
2211
2212         * gtk/gtkaboutdialog.c: (gtk_about_dialog_class_init),
2213         (gtk_about_dialog_init), (display_credits_dialog),
2214         (display_license_dialog):
2215         * gtk/gtkfilechooserdialog.c: (gtk_file_chooser_dialog_class_init),
2216         (gtk_file_chooser_dialog_init),
2217         (gtk_file_chooser_dialog_constructor),
2218         (gtk_file_chooser_dialog_unmap):
2219         * gtk/gtkrecentchooserdefault.c:
2220         (_gtk_recent_chooser_default_init):
2221         * gtk/gtkrecentchooserdialog.c:
2222         (gtk_recent_chooser_dialog_class_init),
2223         (gtk_recent_chooser_dialog_init),
2224         (gtk_recent_chooser_dialog_constructor),
2225         (gtk_recent_chooser_dialog_unmap): Set the HIG spacings directly
2226         instead of using style-set handlers. Fix the filechooser's spacing
2227         between content and action area to 12px. Bug #372447.
2228
2229 2006-12-25  Christian Persch  <chpe@cvs.gnome.org>
2230
2231         * gtk/gtkstatusbar.c: (gtk_statusbar_size_allocate):
2232         Don't assume statusbar->label is the statusbar's frame's child when
2233         shrinking the size allocation when the grip is shown. Bug #372452.
2234
2235 2006-12-25  Christian Persch  <chpe@cvs.gnome.org>
2236
2237         * gtk/gtkpagesetupunixdialog.c: (printer_status_cb),
2238         (add_custom_paper): Fix mem leaks. Bug #389194.
2239
2240 2006-12-24  Matthias Clasen  <mclasen@redhat.com>
2241
2242         * gtk/gtktextutil.c: Remove debug output.
2243
2244         * gtk/gtktextview.c: Improve the DND scrolling
2245         behaviour.  (#92387, Carlos Garnacho Parro)
2246
2247         * gtk/gtkaccellabel.c: Improve translators comments.  
2248         (#389298, Christian Persch)
2249
2250 2006-12-24  Bastien Nocera  <hadess@hadess.net>
2251
2252         * gtk/gtkrecentmanager.c: Fix typo (s/expansive/expensive)
2253         (#389183)
2254
2255 2006-12-24  Christian Persch  <chpe@cvs.gnome.org>
2256
2257         * docs/reference/gtk/gtk-sections.txt:
2258         * gtk/gtk.symbols:
2259         * gtk/gtkpagesetupunixdialog.c: (fill_paper_sizes_from_printer):
2260         * gtk/gtkprinter-private.h:
2261         * gtk/gtkprinter.c: (gtk_printer_list_papers):
2262         * gtk/gtkprinter.h: Make gtk_printer_list_papers public. Bug #345587.
2263
2264 2006-12-24  Carlos Garcia Campos  <carlosgc@gnome.org>
2265
2266         * gtk/gtkpagesetupunixdialog.c: Don't ignore reverse portrait option
2267         when is selected in page setup dialog. Fixes bug #365047.
2268
2269 2006-12-24  Behdad Esfahbod  <behdad@gnome.org>
2270
2271         * gtk/gtkentry.c (_gtk_entry_effective_inner_border):
2272         Use gtk_border_free when freeing border.
2273
2274 2006-12-24  Matthias Clasen  <mclasen@redhat.com>
2275
2276         * gtk/gtkentry.c (gtk_entry_button_press): When
2277         shift-clicking, keep the larger part of the selection
2278         selected.  (#353709, Benjamin Otte)
2279
2280         * gtk/gtkbutton.c (gtk_button_get_props): Use 
2281         gtk_border_free when freeing borders.
2282
2283         * gtk/gtkbutton.c (gtk_button_grab_notify): Be more
2284         careful when faking a button release.  (#323146,
2285         Travis Abbott)
2286
2287         * gtk/gtkhandlebox.c (draw_textured_frame): Draw the
2288         handle with the right orientation, depending on the
2289         position of the handlebox.  (#159764, Benjamin Berg)
2290
2291 2006-12-24  Behdad Esfahbod  <behdad@gnome.org>
2292
2293         * gtk/gtkstyle.c (gtk_border_copy), (gtk_border_free): Use gslice for
2294         GtkBorder (#383557).
2295
2296 2006-12-24  Behdad Esfahbod  <behdad@gnome.org>
2297
2298         Bug 340141 – Update to Pango 1.16 API
2299
2300         * gdk/gdkpango.c (layout_iter_get_line_clip_region),
2301         (gdk_pango_layout_line_get_clip_region):
2302         * gtk/gtkcalendar.c (gtk_calendar_size_request):
2303         * gtk/gtkentry.c (gtk_entry_get_pixel_ranges),
2304         (get_layout_position), (gtk_entry_find_position),
2305         (gtk_entry_adjust_scroll):
2306         * gtk/gtkiconview.c (get_pango_text_offsets):
2307         * gtk/gtklabel.c (get_cursor_direction):
2308         * gtk/gtkstyle.c (get_insensitive_layout):
2309         * gtk/gtktextdisplay.c (render_para):
2310         * gtk/gtktextlayout.c (allocate_child_widgets),
2311         (find_display_line_below), (find_display_line_above),
2312         (gtk_text_layout_move_iter_to_previous_line),
2313         (gtk_text_layout_move_iter_to_next_line),
2314         (gtk_text_layout_move_iter_to_line_end),
2315         (gtk_text_layout_iter_starts_line),
2316         (gtk_text_layout_move_iter_to_x):
2317         * gtk/gtktextutil.c (limit_layout_lines):
2318         Use the _readonly version of pango_layout_iter_get_line(),
2319         pango_layout_iter_get_run(), pango_layout_get_line(), and
2320         pango_layout_get_lines().
2321
2322         * gtk/gtkmain.c (gtk_get_default_language): Use
2323         pango_get_default_language().
2324
2325 2006-12-24  Matthias Clasen  <mclasen@redhat.com>
2326
2327         * gtk/gtkentry.c (gtk_entry_set_text): Emit changed
2328         and notify:text only once. The same fix was applied
2329         for replacing the selection via DND or copy-and-paste.
2330         (#64998, Damon Chaplin, Sven Herzberg)
2331
2332 2006-12-23  Matthias Clasen  <mclasen@redhat.com>
2333
2334         * gtk/gtkimmulticontext.c: Be careful to not override
2335         GTK+ translations with the translations of the input
2336         method.  (#317080, Tor Lillqvist)
2337
2338         * modules/input/imcedilla.c: Use standard macros
2339         for translation domain and locale dir.
2340
2341         * gtk/gtkimcontextsimple.c: Allow composing l with 
2342         stroke.  (#349638, Daniel Lublin)
2343
2344         * gtk/gen-paper-names.c: Fix a thinko in the suffix
2345         calculation.  (#382369, Christian Persch)
2346
2347         * gtk/paper_names_offsets.c: Regenerated.
2348
2349 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
2350
2351         * modules/engines/pixbuf/pixbuf.h:
2352         * modules/engines/pixbuf/pixbuf-rc-style.h:
2353         * modules/engines/pixbuf/pixbuf-style.h: Move 
2354         G_GNUC_INTERNAL before function declarations.  (#352276,
2355         Damien Carbery)
2356
2357 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
2358
2359         * demos/gtk-demo/*.c: Fix some leaks.  (#348108, Chris
2360         Wilson)
2361
2362 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
2363
2364         * *.c: Replace a lot of idle and timeout calls by
2365         the new gdk_threads api. 
2366
2367         * gdk/gdk.symbols:
2368         * gdk/gdk.h:
2369         * gdk/gdk.c: Add functions to allow threadsafe handling
2370         of idles and timeouts wrt. to the GDK lock.  (#321886,
2371         Chris Wilson)
2372         
2373 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
2374         
2375         * gdk/gdkpango.c: Use pango_cairo_show_error_underline.  
2376         (#340141, Behdad Esfahbod)
2377
2378         * configure.in: Check for getc_unlocked.
2379
2380         * gtk/xdgmime/xdgmimemagic.c: Use getc if getc_unlocked is
2381         unavailable.   (#381499)
2382
2383         * tests/teststatusicon.c: Fix a typo
2384
2385 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
2386
2387         Make it possible to track the embeddedness of
2388         statusicon (#387215, Martyn Russell, patch by Christian
2389         Persch)
2390
2391         * gtk/gtkstatusicon.c: Add orientation and embedded properties.
2392         * gtk/gtkplug.c: 
2393         * gtk/gtkplug-x11.c: Add an embedded property.
2394         * tests/teststatusicon.c: Test the new properties.
2395
2396         * gtk/gtkwidget.c (gtk_widget_get_draw_rectangle): Don't
2397         leak draw_border.  (#387170, Kjartan Maraas)
2398
2399 2006-12-21  Matthias Clasen  <mclasen@redhat.com>
2400
2401          * gtk/gtkfilechooserembed.c (_gtk_file_chooser_embed_set_delegate()):
2402         Typo fix.  (#388123, Murray Cumming)
2403         
2404         * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event):
2405         Generate double-click events.  (#380421, Tommi Komulainen)
2406
2407         * gdk/x1/gdkinput-xfree.c (_gdk_input_configure_event):
2408         (_gdk_input_enter_event): Correct return_if_fail checks.
2409         (#379803, Tommi Komulainen)
2410
2411         * gdk/gdkdisplay.c: Improve the docs of some functions operating
2412         on the default display.  (##353438, Mariano Suárez-Alvarez)
2413
2414 2006-12-21  Matthew Barnes  <mbarnes@redhat.com>
2415
2416         * docs/reference/gdk/gdk-sections.txt:
2417         * gdk/gdkcolor.[ch] (gdk_color_to_string): Add a function for
2418         converting a GdkColor to a string (#373856).
2419
2420         * configure.in: Bump pango requirement to 1.15.2.
2421
2422 2006-12-20  Matthias Clasen  <mclasen@redhat.com>
2423         
2424         * gdk/keynames.txt: Mark arrow keys as translatable.  (#369506,
2425         Bastian Nocera)
2426
2427         * gdk/keyname-table.h: Regenerated
2428
2429         * gtk/gtktextbuffer.c: Add signal documentation.  (#317064,
2430         Søren Wedel Nielsen)
2431
2432         * gtk/gtktextview.c (gtk_text_view_start_selection_drag):
2433         Silently return if a drag is already in progress, rather
2434         than asserting.  (#335622, Li Yuan, testcase by Erwann Chenede)
2435
2436         * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_new_with_dialog):
2437         Allow any GtkDialog that implements GtkFileChooser as
2438         dialog.  (#335473, Tommi Komulainen)
2439
2440 2006-12-20  Mikael Hallendal  <micke@imendio.com>
2441
2442         * gtk/gtkstatusicon.c: (gtk_status_icon_init): Fixed a last minute
2443         change in the quartz backend.
2444
2445 2006-12-20  Mikael Hallendal  <micke@imendio.com>
2446
2447         * gtk/Makefile.am: Added gtkstatusicon-quartz.c
2448         * gtk/gtkstatusicon-quartz.c: Implements the quartz backend for the
2449         status icon.
2450         * gtk/gtkstatusicon.c: Hooked in the new quartz backend. Bug #387874.
2451
2452 2006-12-19  Matthias Clasen  <mclasen@redhat.com>
2453
2454         * gtk/gtkprintunixdialog.c: Add a tooltip explaining the
2455         format of page ranges, and improve the page sequence icon
2456         for the case of n_copies == 1.
2457  
2458 2006-12-19  Mikael Hallendal  <micke@imendio.com>
2459
2460         * gdk/quartz/gdkcursor-quartz.c: Splitted out the GdkPixbuf to NSImage
2461         routine so that it can be used from libgtk as well (needed for
2462         upcoming GtkStatusIcon support in the Quartz port).
2463         * gdk/quartz/gdkevents-quartz.c: Don't assume that all NSWindows are
2464         created from GDK, this is not true for the status icon.
2465         * gdk/quartz/gdkprivate-quartz.h:
2466         * gdk/quartz/gdkquartz.h: Added 
2467         gdk_quartz_pixbuf_to_ns_image_libgtk_only so that it is available to 
2468         the status icon code.
2469
2470 2006-12-16  Tristan Van Berkom <tvb@gnome.org>
2471
2472         * gtk/gtkmessagedialog.c: Added return_if_fail (image) to
2473         gtk_message_dialog_set_image ()
2474
2475         * gtk/gtkscrolledwindow.c: Fixed a bug in set_property()
2476         (setting "window-placement-set" could result in a crash because
2477         of boolean/enum mixup)
2478
2479 2006-12-15  Federico Mena Quintero  <federico@novell.com>
2480
2481         Merged from gtk-2-10:
2482
2483         * gtk/gtkmenu.c (gtk_menu_set_title): Don't try to optimize for
2484         the case where the new title is the same as the old title, to
2485         preserve the behavior from GTK+ 2.8 (NULL and "" titles are not
2486         equivalent).  Handle the case where title == priv->title.  This
2487         was found by the LSB compatibility tests:
2488         https://bugzilla.novell.com/show_bug.cgi?id=223882
2489
2490 2006-12-15  Dom Lachowicz <domlachowicz@gmail.com>
2491
2492         * gtk/gtkcombobox.c: Make GtkComboBox in "appears-as-list" mode
2493         more closely resemble its Win32 counterpart. Bug #340204.
2494
2495 2006-12-14  Carlos Garnacho  <carlosg@gnome.org>
2496
2497         * gtk/gtkcalendar.c: draw arrows pointing to the right correctly
2498         placed inside their GdkWindow. Bug #385672.
2499
2500 2006-12-14  Christian Persch  <chpe@cvs.gnome.org>
2501
2502         * gtk/gtkiconview.c: Fix docs typo. Bug #385642.
2503
2504 2006-12-13  Dom Lachowicz <domlachowicz@gmail.com>
2505
2506         * src/modules/engines/ms-windows/msw_style.c: Bug 351679 - Notebooks 
2507         drawn with extra line below tab in MS-Windows theme. Patch by 
2508         Cody Russell
2509         
2510 2006-12-13  Matthias Clasen  <mclasen@redhat.com>
2511
2512         * gtk/Makefile.am: Add --unlink-tempfile to the evince call
2513         for print preview.  (#370041, Ghee Teo)
2514
2515 2006-12-11  Matthias Clasen  <mclasen@redhat.com>
2516
2517         * gtk/gtkprogressbar.c (gtk_progress_bar_paint_text): Be more
2518         careful when overdrawing antialiased text.  (#352435, Alex Jones,
2519         patch by Benjamin Otte)
2520
2521         * gtk/gtksettings.c: Change the way in which color scheme information
2522         is merged to correctly handle vanishing colors.  (#374420, 
2523         Benjamin Berg, patch by Callum McKenzie) 
2524         Also allow to separate entries in color schemes by ';' 
2525         instead of newline.  
2526
2527 2006-12-10  Matthias Clasen  <mclasen@redhat.com>
2528
2529         * modules/printbackends/cups/gtkcupsutils.c (gtk_cups_request_encode_option): 
2530         Properly pass multi-value options to cups.  (#355350, Jürg Billeter) 
2531
2532 2006-12-10  Kristian Rietveld  <kris@gtk.org>
2533
2534         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_focus_out_event):
2535         cancel editing (ie. don't accept changes) when the entry loses
2536         focus. (Fixes #164494, reported by Chris Rouch).
2537
2538 2006-12-10  Matthias Clasen  <mclasen@redhat.com>
2539
2540         * configure.in: Correct a misapplied patch. 
2541
2542 2006-12-10  Tor Lillqvist  <tml@novell.com>
2543
2544         * gtk-zip.sh.in: Put gdk-pixbuf-query-loaders.exe and
2545         gtk-query-immodules-2.0.exe in the runtime zipfile instead of
2546         developer zipfile. Users might add pixbuf loaders or immodules
2547         even if they are not interested in developing gtk+-using software.
2548
2549 2006-12-10  Matthias Clasen  <mclasen@redhat.com>
2550
2551         * configure.in: Check for crt_extern.h and _NSGetEnviron.
2552         * gdk/x11/gdkspawn-x11.c: Fix compilation on Darwin where
2553         environ is not available.  (#384168, Min Sik Kim)
2554
2555 2006-12-07  Paolo Maggi  <paolo@gnome.org>
2556
2557         Fixes bug #383407
2558         
2559         * gtk/gtkentry.c (gtk_entry_set_text): check for
2560         completion->priv->changed_id > 0 before calling 
2561         g_signal_handler_[un]block.
2562         (gtk_entry_completion_key_press): does not block/unblock the "changed"
2563         signal before calling gtk_entry_set_text.
2564         
2565 2006-12-07  Carlos Garnacho  <carlosg@gnome.org>
2566
2567         * gtk/gtkcellrendererprogress (compute_dimensions): do not use
2568         xthickness/ythickness, they aren't used any longer for drawing.
2569
2570 2006-12-07  Matthias Clasen  <mclasen@redhat.com>
2571
2572         * gtk/gtkrc.c (_gtk_rc_init): Fix clipping of accelerator
2573         underlines by giving labels a small draw-border.
2574
2575 2006-12-06  Kristian Rietveld  <kris@gtk.org>
2576
2577         * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_render):
2578         draw progress bar through theme engine instead of using our own
2579         custom cairo drawing code (#377244, patch from Carlos Garnacho).
2580
2581 2006-12-06  Matthias Clasen  <mclasen@redhat.com>
2582
2583         * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities):
2584         Update the sensitivity of the collate checkbutton more frequently,
2585         proposed by Tim Waugh.
2586
2587 2006-12-04  Matthias Clasen  <mclasen@redhat.com>
2588
2589         * gtk/gtkmessagedialog.c (setup_type): Set a11y name and role
2590         since we no longer set window titles.
2591
2592 2006-12-04  Christian Persch  <chpe@cvs.gnome.org>
2593
2594         * gtk/gtkpagesetup.c: (gtk_page_setup_get_paper_size),
2595         (gtk_page_setup_set_paper_size): Don't leak the old page size when
2596         setting a new one. Bug #382314.
2597
2598 2006-12-03  Michael Natterer  <mitch@gimp.org>
2599
2600         * gtk/gtktextview.c: remove FIXME #include that is no longer needed.
2601
2602 2006-12-03  Kristian Rietveld  <kris@gtk.org>
2603
2604         Make sure [xy]_offset are always being initialized, fix pixbuf
2605         renderer padding.  (#108235, Sven Neumann).
2606
2607         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_get_size),
2608         (gtk_cell_renderer_pixbuf_render): add padding in _render instead
2609         of _get_size.
2610
2611         * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_get_size):
2612         always initialize [xy]_offset.
2613         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): ditto.
2614         * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_size):
2615         ditto.
2616
2617 2006-12-03  Kristian Rietveld  <kris@gtk.org>
2618
2619         * gtk/gtktreeview.c (validate_visible_area): when not using an
2620         explicit alignment, use the full area of the row (not just dy)
2621         to determine how to implicitly align it.  (Fixes #363191, reported
2622         by Federico Mena Quintero).
2623
2624 2006-12-02  Matthias Clasen  <mclasen@redhat.com>
2625
2626         * gtk/gtkicontheme.c (insert_theme): Properly clean up
2627         if an icon theme index file has no directories.  (#381236)
2628
2629 2006-12-02  Dom Lachowicz <domlachowicz@gmail.com>
2630
2631         * src/modules/engines/ms-windows/msw_style.c: Bug 351678 - Notebooks 
2632         not with PositionType.Top drawn incorrectly. Patch by Cody Russell
2633         
2634 2006-11-28  Behdad Esfahbod  <behdad@gnome.org>
2635
2636         Remove the broken Thai input method and add a functional Thai and Lao
2637         input method by Theppitak Karoonboonyanan. (#81031)
2638
2639         * modules/input/imthai.c:
2640         * modules/input/gtkimcontextthai.c:
2641         * modules/input/gtkimcontextthai.h:
2642         * modules/input/thai-charprop.c:
2643         * modules/input/thai-charprop.h:
2644         Added.
2645
2646         * modules/input/imthai-broken.c:
2647         Removed.
2648         
2649         * modules/input/Makefile.am:
2650         Updated.
2651
2652 2006-11-27  Christian Persch  <chpe@cvs.gnome.org>
2653
2654         * gtk/gtkstatusicon.c: Notify when the screen changes. Bug #379793.
2655
2656 Mon Nov 27 12:27:06 2006  Tim Janik  <timj@imendio.com>
2657
2658         * gtk/gtktextview.c: applied patch by  Colin Leroy for
2659         Control+GDK_KP_Left to move one word to the left, #356255.
2660
2661 2006-11-26  Benjamin Berg  <benjamin@sipsolutions.net>
2662
2663         * gtk/gtkstyle.c: (gtk_default_draw_flat_box): Protect against NULL
2664           widget. (#379503)
2665
2666 2006-11-25  Matthias Clasen  <mclasen@redhat.com>
2667
2668         * modules/printbackends/cups/gtkprintbackendcups.c: Make
2669         print dialog work when 'BrowseShortNames Off' is specified
2670         in cups configuration. Patch by Tim Waugh.
2671
2672 2006-11-24  Michael Natterer  <mitch@imendio.com>
2673
2674         * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): if we
2675         can't go up/down, consult gtk_widget_keynav_failed() and leave the
2676         widget if it returns FALSE (bug #322640).
2677
2678 2006-11-23  Behdad Esfahbod  <behdad@gnome.org>
2679
2680         * gtk/gtkmain.c: Fix minor typo in docs. (#378632, Hannes Mueller)
2681
2682 2006-11-22  Emmanuele Bassi  <ebassi@gnome.org>
2683
2684         * gtk/gtkrecentmanager.c:
2685         (get_uri_shortname_for_display): g_filename_from_uri() might
2686         fail; catch the failure and fall back to the non-local URI
2687         case. (#363437)
2688
2689 2006-11-19  Mark McLoughlin  <mark@skynet.ie>
2690
2691         Fixes bug #376502 - multi-screen support for GtkStatusIcon
2692
2693         * gtk/gtkstatusicon.[ch]:
2694         (gtk_status_icon_set_screen),
2695         (gtk_status_icon_get_screen): add multi-screen API. Allows
2696         an app to display an icon on a non-default screen
2697         (gtk_status_icon_class_init),
2698         (gtk_status_icon_set_property),
2699         (gtk_status_icon_get_property): add a "screen" property
2700         
2701         * tests/teststatusicon.c: update to test on multiple screens
2702
2703 2006-11-17  Matthias Clasen  <mclasen@redhat.com>
2704
2705         Fix problems with drag cancellation. (#376535, Michael Natterer)
2706         
2707         * gtk/gtkdnd.c (gtk_drag_source_info_destroy): Disconnect signal
2708         handlers before emitting drag-end.
2709         (gtk_drag_end): Disconnect signal handlers before removing
2710         the grab.  
2711
2712 2006-11-16  Mariano Suárez-Alvarez <mariano@gnome.org>
2713
2714         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
2715         add gtk-doc blurb on GtkCellRendererText::edited (#376094)
2716
2717 2006-11-16  Michael Natterer  <mitch@imendio.com>
2718
2719         * gtk/gtkradiobutton.c (gtk_radio_button_focus): don't use
2720         gtk_widget_keynav_failed(). Instead, look at gtk-keynav-cursor-only
2721         and gtk-keynav-wrap-around and wrap around, beep or continue outside
2722         the group manually (bug #322640).
2723
2724 2006-11-16  Michael Natterer  <mitch@imendio.com>
2725
2726         Add new infrastructure for notifications of failed keyboard
2727         navigation and navigation with restricted set of keys.
2728
2729         The patch handles configurable beeping, navigating the GUI with
2730         cursor keys only (as in phone environments), and configurable
2731         wrap-around. Fixes bugs #322640, #70986, #318827, #334726, #334742
2732         and #309291.
2733
2734         * gtk/gtksettings.c: added properties gtk-keynav-cursor-only,
2735         gtk-keynav-wrap-around and gtk-error-bell.
2736
2737         * gtk/gtkwidget.[ch]: added new signal "keynav-failed" and public
2738         API to emit it. Added New function gtk_widget_error_bell() which
2739         looks at the gtk-error-bell setting and calls gdk_window_beep()
2740         accordingly.
2741
2742         * gtk/gtk.symbols: add the new widget symbols.
2743
2744         * gtk/gtkcellrendereraccel.c
2745         * gtk/gtkimcontextsimple.c
2746         * gtk/gtkmenu.c
2747         * gtk/gtknotebook.c: use gtk_widget_error_bell() or look at the
2748         gtk-error-bell setting instead of calling gdk_display_beep()
2749         unconditionally.
2750
2751         * gtk/gtkcombobox.c
2752         * gtk/gtkentry.c
2753         * gtk/gtkiconview.c
2754         * gtk/gtklabel.c
2755         * gtk/gtkmenushell.c
2756         * gtk/gtkspinbutton.c
2757         * gtk/gtktextview.c
2758         * gtk/gtktreeview.c: call gtk_widget_error_bell() on failed keynav.
2759
2760         * gtk/gtkentry.c
2761         * gtk/gtklabel.c
2762         * gtk/gtkrange.c
2763         * gtk/gtktextview.c: consult gtk_widget_keynav_failed() on failed
2764         cursor navigation and leave the widget if it returns FALSE.
2765
2766         * gtk/gtkmenushell.c
2767         * gtk/gtknotebook.c: only wrap around if gtk-keynav-wrap-around
2768         is TRUE.
2769
2770         * gtk/gtkradiobutton.c: ask gtk_widget_keynav_failed() to decide
2771         whether to to wrap-around, and don't select active items on cursor
2772         navigation if gtk-keynav-cursor-only is TRUE. Should look at
2773         gtk-keynav-wrap-around too, will look into that.
2774
2775 2006-11-16  Emmanuele Bassi  <ebassi@gnome.org>
2776
2777         * gtk/gtkrecentmanager.c:
2778         (gtk_recent_info_get_uri_display): Return the URI
2779         of the GtkRecentInfo object (upgraded to UTF-8 if
2780         needed) in case of non-local file. (#351945)
2781
2782 2006-11-16  Emmanuele Bassi  <ebassi@gnome.org>
2783         
2784         * gtk/gtkrecentchoosermenu.c:
2785         (gtk_recent_chooser_menu_add_tip): Apply the tip only
2786         if we have a displayable name for the item. (#365031,
2787         patch by padraig.obriain(at)sun.com)
2788
2789 2006-11-16  Emmanuele Bassi  <ebassi@gnome.org>
2790
2791         * gtk/gtkrecentmanager.c: Provide a fast path returning
2792         NULL when the limit is set to 0.
2793
2794         * gtk/gtkrecentchooserdefault.c:
2795         * gtk/gtkrecentchoosermenu.c: Add the same fast path
2796         inside the RecentChooser implementation; add a check
2797         in the list clamping code. (#373466 and duplicates)
2798
2799 2006-11-15  Matthias Clasen  <mclasen@redhat.com>
2800
2801         * modules/printbackends/cups/gtkprintbackendcups.c (cups_printer_get_options): 
2802         Don't pass NULL to strncpy.  (#359537, patch by  Carlos Garcia Campos)
2803
2804 2006-11-15  Michael Natterer  <mitch@imendio.com>
2805
2806         * gtk/gtkrange.[ch]: added properties "fill-level",
2807         "show-fill-level" and "restrict-to-fill-level" and getters/setters
2808         for them. The "fill level" is an additional marker on the range's
2809         trough than can be e.g. used to indicate the amount of
2810         pre-buffering in a range showing the play position of streamed
2811         media. See the embedded API docs for details. Made GtkRangeLayout
2812         a GTypeInstance private struct and removed finalize()
2813         implementation. Fixes bug #349808
2814
2815         * gtk/gtk.symbols: added the new symbols.
2816
2817 2006-11-14  Behdad Esfahbod  <behdad@gnome.org>
2818
2819         * configure.in: Make libtool magic robust. (#352795)
2820
2821 2006-11-13  Paolo Borelli  <pborelli@katamail.com>
2822
2823         * gtk/gtkrc.c (gtk_rc_parse_icon_source): plug small memory
2824         leak (#370395)
2825
2826 2006-11-09  Kristian Rietveld  <kris@imendio.com>
2827
2828         * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): disable
2829         don't move cursor case for SELECTION_NONE. (#371756, John Ellis).
2830
2831 2006-11-09  Carlos Garnacho  <carlosg@gnome.org>
2832
2833         * gtk/gtkpathbar.c (on_slider_unmap): Fix parenthesis confusion.
2834
2835 2006-11-08  Carlos Garnacho  <carlosg@gnome.org>
2836
2837         * gtk/gtkpathbar.c (on_slider_unmap): added, do not leave the scroll
2838         timeout running if the slider buttons are hidden. (#372527)
2839
2840 2006-11-08  Christian Persch  <chpe@cvs.gnome.org>
2841
2842         * gtk/gtkfilechooserdefault.c (browse_widgets_create): Don't make
2843         the "Location" label bold. Bug #372449.
2844
2845 2006-11-07  Carlos Garnacho  <carlosg@gnome.org>
2846
2847         * gtk/gtknotebook.c (gtk_notebook_calculate_tabs_allocation): make
2848         non-focused tabs xthickness/ythickness thinner. (#353962)
2849
2850 2006-11-07  Paolo Borelli  <pborelli@katamail.com>
2851
2852         * gtk/gtktextbtree.c (_gtk_text_btree_delete): avoid memory
2853         corruption (#357050).
2854
2855 2006-11-06  Alexander Larsson  <alexl@redhat.com>
2856
2857         * gtk/gtkdnd.c: (gtk_drag_begin_internal),
2858         (gtk_drag_source_info_destroy), (gtk_drag_end),
2859         (gtk_drag_grab_notify_cb):
2860         Cancel drag when the grab is shadowed. (#122688)
2861
2862 2006-11-01  Kristian Rietveld  <kris@imendio.com>
2863
2864         * gtk/gtkcombobox.c (gtk_combo_box_class_init),
2865         (gtk_combo_box_size_request): add arrow-size property to control
2866         the minimum size of the arrow, have the arrow scale up with the
2867         font by default. (#357950).
2868
2869 2006-10-30  Kristian Rietveld  <kris@gtk.org>
2870
2871         * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): don't
2872         forget to queue a draw for the new cursor node. (Fixes #366548,
2873         reported by Sven Herzberg).
2874
2875 2006-10-30  Michael Natterer  <mitch@imendio.com>
2876
2877         * gtk/gtkrange.c (gtk_range_key_press): consume the Escape key
2878         only if we actually cancel a drag. Fixes bug #58389.
2879
2880 2006-10-30  Kristian Rietveld  <kris@gtk.org>
2881
2882         * gtk/gtktreeview.c (gtk_tree_view_class_init): change left/right
2883         keybindings to collapse/expand rows instead of moving the focus
2884         cursor. (#105895, Brian Bober and others).
2885
2886 2006-10-29  Kristian Rietveld  <kris@gtk.org>
2887
2888         * gtk/gtktreeview.c (gtk_tree_view_real_expand_row): guard against
2889         child removal in row-expanded callback. (#366782, John Ellis).
2890
2891 2006-10-29  Tor Lillqvist  <tml@novell.com>
2892
2893         * gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Improve handling
2894         of the small icon of the window class. (#152620, Kazuki Iwamoto)
2895
2896 2006-10-29  Tor Lillqvist  <tml@novell.com>
2897
2898         * gdk/win32/gdkcursor-win32.c
2899         (gdk_win32_icon_to_pixbuf_libgtk_only): Implement for B&W cursors,
2900         for instance the built-in GDK ones.
2901
2902 2006-10-27  Kristian Rietveld  <kris@gtk.org>
2903
2904         * gtk/gtktreeview.c (validate_visible_area): rework the area_above == 0
2905         case to not overwrite the variables in the lower scope (which are
2906         used later on ...), get the path correctly and bail out when there
2907         isn't a node above us. (#359231).
2908
2909 2006-10-26  Christian Persch  <chpe@cvs.gnome.org>
2910
2911         * gtk/gtkaboutdialog.c: Put initial focus on Close button (#337261).
2912
2913 2006-10-25  Johan Dahlin  <jdahlin@async.com.br>
2914
2915         * gtk/gtk.symbols: Add missing symbols to so make check can pass
2916
2917 2006-10-23  Dom Lachowicz <domlachowicz@gmail.com>
2918
2919         * src/modules/engines/ms-windows/msw_style.c (draw_expander): Remember
2920         to free GDI Pen resources, introduced by bug 340201.(#364514)
2921         
2922 2006-10-18  Kristian Rietveld  <kris@imendio.com>
2923
2924         * tests/testcombo.c (main): connect to notify::popup-shown instead of
2925         popup-show (the latter does not exist).
2926
2927 2006-10-15  Paolo Borelli  <pborelli@katamail.com>
2928
2929         * gtk/gtkicontheme.c (pixbuf_supports_svg): plug memory leak.
2930         Fixes bug #362439.
2931
2932 2006-10-12  Michael Natterer  <mitch@imendio.com>
2933
2934         * gtk/gtkcombobox.c (gtk_combo_box_class_init): fix commit below
2935         (committed the wrong patch).
2936
2937 2006-10-12  Michael Natterer  <mitch@imendio.com>
2938
2939         * gtk/gtkcombobox.c: added "move-active" and "popup" signals and
2940         bindings to trigger them. Removed gtk_combo_box_key_press(), it's
2941         obsolete now. Fixes bug #358293.
2942
2943 2006-10-11  Michael Emmel  <mike.emmel@gmail.com>
2944
2945         * gdkpixmap-directfb.c: add missing RGB24 case (#361176) 
2946
2947 2006-10-11  Tor Lillqvist  <tml@novell.com>
2948
2949         * configure.in: Enable having some gdk-pixbuf loaders built-in
2950         even if loading the others dynamically. Define Automake
2951         conditional INCLUDE_FOO for each loader as TRUE if that loader is
2952         built-in. See also gdk-pixbuf/ChangeLog.
2953
2954 Wed Oct 11 14:31:30 2006  Tim Janik  <timj@imendio.com>
2955
2956         * docs/reference/gtk/gtk-sections.txt:
2957         * gtk/gtkbindings.c: document gtk_binding_entry_skip().
2958
2959 2006-10-11  Tor Lillqvist  <tml@novell.com>
2960
2961         * gtk/gtk.symbols: Remove gtk_combo_string_key, which is a static
2962         variable.
2963
2964 2006-10-11  Tor Lillqvist  <tml@novell.com>
2965
2966         Merge from 2.10 branch:
2967
2968         * gtk/gtkmain.c (do_pre_parse_initialization): On Win32, if
2969         environment variable LC_ALL or LANG is set, set the Win32 thread
2970         locale to the corresponding locale. Then call the C library
2971         setlocale() to set the C library locale accordingly. The
2972         inconsistency mentioned below is gone. (#339756) Do some special
2973         casing for Serbia and Montenegro. Handle the Latin and Cyrillic
2974         scripts for Azeri, Uzbek and Serbian.
2975         (enum_locale_proc): Helper function for the above functionality.
2976
2977         * gtk/gtkcalendar.c (gtk_calendar_init): No longer need to check
2978         if the environment variables are set here, as they have already
2979         been taken into account and the Win32 thread locale has been
2980         set.
2981
2982 Tue Oct 10 16:38:23 2006  Tim Janik  <timj@imendio.com>
2983
2984         * gtk/tmpl/gtkbindings.sgml: 
2985         * gtk/gtkbindings.c: applied patch from Michael Natterer to move to 
2986         inline docs. applied wording fixes suggested by Martyn Russell.
2987
2988 2006-10-09  Matthias Clasen  <mclasen@redhat.com>
2989
2990         * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
2991         Update the docs to state which out parameters may be NULL.
2992         (#360870, Attilio Fiandrotti)
2993
2994 2006-10-08  Matthias Clasen  <mclasen@redhat.com>
2995
2996         * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities): Fix
2997         a typo.  (#359542, Ghee Teo)
2998
2999 2006-10-08 Matthias Clasen <mclasen@redhat.com>
3000
3001         * gtk/gtknotebook.c (gtk_notebook_reorder_tab): Only
3002         reorder tabs if the focus is in the tab.  (#350342, Carlos
3003         Garnacho Parro)
3004
3005 2006-10-08 Michael Emmel <mike.emmel@gmail.com>
3006
3007         * gdk/directfb/gdkproperty-directfb.c strdup atom name (#357611) 
3008
3009 2006-10-08  Kristian Rietveld  <kris@gtk.org>
3010
3011         * gtk/gtktreeview.[ch] (gtk_tree_view_set_property),
3012         (gtk_tree_view_set_show_expanders),
3013         (gtk_tree_view_get_show_expanders): add getter/setter for
3014         show-expanders property, queue a redraw when this property
3015         is toggled (#351167, Martin Ejdestig),
3016         (gtk_tree_view_set_level_indentation),
3017         (gtk_tree_view_get_level_indentation): also add getter/setter
3018         and docs for level-indentation property.
3019
3020 2006-10-08  Matthias Clasen  <mclasen@redhat.com>
3021
3022         * gtk/gtkradiobutton.c (gtk_radio_button_focus): Don't 
3023         leak a list.  (#360350, Benjamin Berg)
3024
3025         * Apply a cleanup patch by Kjartan Maraas  (#341812)
3026
3027 2006-10-07  Tor Lillqvist  <tml@novell.com>
3028
3029         * gtk/gtkcalendar.c (gtk_calendar_init): Use the Win32 thread
3030         locale's first day of week setting on Win32. (#339752, Bogdan
3031         Nicula) Don't do this if one of the environment variables that
3032         affect gettext is set, though. In that case use the week start day
3033         from the corresponding message catalog.
3034
3035         Unfortunately the same logic isn't possible in the weekday and
3036         month name lookup; there even if you have set one of the
3037         aforementioned environment variables, you still get the weekday
3038         and month names from the Win32 thread locale. Yes, this is
3039         inconsistent.
3040
3041         Use only wide-character API in the Win32 code in this file, too.
3042
3043 2006-10-06  Matthias Clasen  <mclasen@redhat.com>
3044
3045         * gtk/gtkfilechooser.c (gtk_file_chooser_set_select_multiple):
3046         Fix the docs.  (#360112)
3047
3048         * gtk/gtkcellview.c: Don't set the background of the
3049         window in a no-window widget.  (#359581, Xan Lopez)
3050
3051
3052 2006-10-05  Behdad Esfahbod  <behdad@gnome.org>
3053
3054         * gtk/Makefile.am, gtk/aliasfilescheck.sh:  Propagate srcdir into the
3055         test correctly. (#359845)
3056
3057 2006-10-05  Michael Natterer  <mitch@imendio.com>
3058
3059         * gtk/gtkrc.[ch]: added new scanner token "unbind" which gets
3060         rid of a key binding (in fact, it only lets it appear unbound).
3061
3062         * gtk/gtkbindings.[ch] (struct GtkBindingEntry): added
3063         "guint marks_unbound : 1"
3064
3065         (gtk_binding_entry_skip): new API which marks the entry as unbound.
3066
3067         Changed code so it returns FALSE when "marks_unbound == TRUE" is
3068         encountered while activating bindings, effectively letting the
3069         binding appear unbound (regardless of still existing bindings in
3070         lower binding priority levels). Fixes bug #358329.
3071
3072         (gtk_binding_entry_add)
3073         (gtk_binding_entry_clear)
3074         (gtk_binding_entry_add_signall)
3075         (gtk_binding_parse_binding): deprected these functions.
3076
3077         (_gtk_binding_parse_binding)
3078         (_gtk_binding_entry_add_signall): new internal API.
3079
3080         * gtk/gtk.symbols: changed accordingly.
3081
3082 2006-10-03  Matthias Clasen  <mclasen@redhat.com>
3083
3084         Fix interaction of GtkEntryCompletion with input
3085         methods.  (#354495, Diego Escalante Urrelo)
3086
3087         * gtk/gtkentry.c (gtk_entry_completion_key_press): Only reset
3088         the im context if we actually handle the key event.
3089
3090         * gtk/gtkentrycompletion.c: Also propagate key release events
3091         to the entry.
3092
3093 2006-10-03  Matthias Clasen  <mclasen@redhat.com>
3094
3095         * gtk/gtkprintsettings.c (gtk_print_settings_get_duplex):
3096         Fix a typo.  (#359052, Ghee Teo)
3097
3098         * gtk/*.c, gdk/*.c: Apply a patch by Behdad Esfahbod to
3099         reduce relocations. (#359053)
3100
3101 2006-10-03  Matthias Clasen  <mclasen@redhat.com>
3102
3103         * modules/printbackends/cups/gtkcupsutils.c:
3104         * modules/printbackends/cups/gtkprintbackendcups.c: Complete
3105         the fix for bug 357280.
3106
3107 2006-10-02  Behdad Esfahbod  <behdad@gnome.org>
3108
3109         * gdk-pixbuf/Makefile.am:
3110         * gdk/Makefile.am:
3111         * gtk/Makefile.am:
3112         Include pltcheck.sh in EXTRA_DIST.
3113
3114 2006-10-02  Behdad Esfahbod  <behdad@gnome.org>
3115
3116         * gdk/x11/gdkevents-x11.c: Move all includes before including
3117         gdkalias.h.
3118
3119 2006-10-02  Behdad Esfahbod  <behdad@gnome.org>
3120
3121         * gtk/Makefile.am: Fix typo in file name.  (#358931)
3122
3123 2006-10-02  Matthias Clasen  <mclasen@redhat.com>
3124
3125         * modules/printbackends/cups/gtkprintbackendcups.c (available_choices): 
3126         Only use the group name field if cups is new enough.  (#357280)
3127
3128         * gtk/gtksizegroup.c: Make sure that the quarks are 
3129         initialized before using them.  (#353736)
3130
3131         * gtk/Makefile.am (stamp-icons): Use rm instead of ln -f to
3132         replace existing links.  (#354849, James Evans)
3133
3134 2006-10-01  Matthias Clasen  <mclasen@redhat.com>
3135
3136         * gtk/gtkexpander.c (gtk_expander_realize) 
3137         (gtk_expander_size_allocate): Make the event_window large
3138         enough to cover the full height of the label_widget.  (#358351,
3139         Scott Horowitz)
3140
3141 2006-10-01  Tor Lillqvist  <tml@novell.com>
3142
3143         * gtk/gtkfilesystemwin32.c: Same change as to gtkfilesystemunix.c.
3144
3145 2006-09-30  Matthias Clasen  <mclasen@redhat.com>
3146
3147         * gtk/gtkfilechooserbutton.c (update_combo_box): Protect
3148         against base_path being NULL.  (#358405, many reporters)
3149
3150 2006-09-29  Matthias Clasen  <mclasen@redhat.com>
3151
3152         * gtk/gtkfilesystemunix.c: Apply a patch by Padraig O'Briain
3153         to avoid a deadlock.
3154
3155 2006-09-27  Kristian Rietveld  <kris@imendio.com>
3156
3157         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_free_level),
3158         (gtk_tree_model_filter_ref_node),
3159         (gtk_tree_model_filter_real_unref_node): bring zero ref count loops
3160         in sync with each other and the sort model.
3161
3162 2006-09-27  Kristian Rietveld  <kris@imendio.com>
3163
3164         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_init),
3165         (gtk_tree_model_filter_finalize), (gtk_tree_model_filter_row_deleted),
3166         (gtk_tree_model_filter_new): unref the virtual root path once that
3167         node (or one if its ancestors) is deleted, set virtual_root_deleted
3168         so we only unref it once.
3169
3170 2006-09-27  Kristian Rietveld  <kris@imendio.com>
3171
3172         * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_changed),
3173         (gtk_tree_model_sort_sort_level): ref count nodes the proper way,
3174         (gtk_tree_model_sort_ref_node), (gtk_tree_model_sort_real_unref_node),
3175         (gtk_tree_model_sort_free_level): bring zero ref count loops in
3176         sync,
3177         (gtk_tree_model_sort_free_level): free child levels before
3178         decreasing the zero ref count of the current level,
3179         (gtk_tree_model_sort_clear_cache): only clear cache if zero_ref_count
3180         is > 0.
3181
3182 2006-09-25  Matthias Clasen  <mclasen@redhat.com>
3183
3184         * demos/gtk-demo/*.c:
3185         * gtk/gtkeventbox.c:
3186         * gtk/gtkprintoperation.c: Fix typos. String change.
3187
3188 2006-09-25  Kristian Rietveld  <kris@gtk.org>
3189
3190         * gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): if the tree view
3191         has already been realized; scroll to background area instead of
3192         cell area. (Fixes #330683, Johan Dahlin, Tommi Komulainen).
3193
3194 2006-09-25  Kristian Rietveld  <kris@gtk.org>
3195
3196         * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): only attempt
3197         to create the GCs if the widget is realized. (Fixes #357578).
3198
3199 2006-09-25  Matthias Clasen  <mclasen@redhat.com>
3200
3201         * gtk/gtkuimanager.c (_gtk_menu_is_empty): Don't leak
3202         the list of children (#357454, Paolo Borelli)
3203
3204 2006-09-25  Michael Natterer  <mitch@imendio.com>
3205
3206         * gdk/x11/gdkdisplay-x11.c (gdk_display_x11_finalize): free
3207         display->input_windows with g_free(), not g_object_unref()
3208         (#357566, Tommi Komulainen).
3209
3210 2006-09-24  Kristian Rietveld  <kris@gtk.org>
3211
3212         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init),
3213         (gtk_cell_renderer_text_[sg]et_property): actually add align-set
3214         property to the API (left-over patch from #157439).
3215
3216 2006-09-24  Kristian Rietveld  <kris@gtk.org>
3217
3218         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button): draw
3219         the indicator if the column has a sort column id (and the model is
3220         sortable) or if the user explicitly requested the indicator
3221         to be shown.  (Fixes #352738, Chris Vine).
3222
3223 2006-09-23  Tor Lillqvist  <tml@novell.com>
3224
3225         * gtk/Makefile.am: Use EXEEXT.
3226
3227 2006-09-22  Michael Natterer  <mitch@imendio.com>
3228
3229         * gtk/gtkstyle.c (gtk_style_real_copy): also copy icon factories
3230         and color hashes. Fixes bug #357132.
3231
3232 2006-09-22  Matthias Clasen  <mclasen@redhat.com>
3233
3234         Make remote bookmarks work better (#354887)
3235         
3236         * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): 
3237         (shortcuts_insert_path): 
3238         * gtk/gtkfilechooserbutton.c (change_icon_theme): 
3239         (model_add_bookmarks): 
3240         (model_update_current_folder): 
3241         (update_label_and_image): 
3242         If the bookmark points to a remote file, don't call get_info(), 
3243         since that may a) take a long time and b) pop up an auth dialog.
3244         Instead, just use a folder icon and create a display name
3245         from the uri.
3246
3247         * gtk/gtkfilechooserdefault.c (_gtk_file_chooser_label_for_uri): 
3248         New function to create a suitable display name for a remote
3249         uri. This should really be done in GtkFileSystem.
3250         
3251 2006-09-21  Michael Natterer  <mitch@imendio.com>
3252
3253        Implement lots of value setters for GdkGC, based on a heavily
3254        modified patch from Thomas Broyer (bug #328853):
3255
3256         * gdk/quartz/gdkcolor-quartz.c: removed functions which set colors
3257         on the CGContext. Instead, added gdk_quartz_get_rgba_from_pixel()
3258         which simply returns RGBA values from a GdkColor's pixel value.
3259         See gdk_quartz_update_context_from_gc() below.
3260
3261         * gdk/quartz/gdkprivate-quartz.h (struct GdkGCQuartz): added lots
3262         of members for the newly suppored GC values. Added enum
3263         GdkQuartzContextValuesMask which is used for setting up the
3264         CGContext for filling and/or stroking.
3265
3266         * gdk/quartz/gdkgc-quartz.c (gdk_quartz_gc_get_values)
3267         (gdk_quartz_gc_set_values)
3268         (_gdk_windowing_gc_copy): support a lot more GC values.
3269
3270         (gdk_quartz_update_context_from_gc): added
3271         GdkQuartzContextValuesMask parameter and set filling/stroking
3272         parameters accordingly. This function also gained full control
3273         over the FG and BG colors (they can't be set separately any more).
3274
3275         The stipple mask part of the patch doesn't work but seems to take
3276         the right approach and doesn't make things worse, so I applied it.
3277
3278         Did *not* apply the clipping part of the patch since I don't
3279         understand it (I don't understand the version in CVS either, but
3280         it at least works :-)
3281
3282         * gdk/quartz/gdkdrawable-quartz.c: pass the right masks to
3283         gdk_quartz_update_context_from_gc() and removed separate color
3284         setting calls. Some minor fixes.
3285
3286         * gdk/quartz/gdkwindow-quartz.c
3287         (gdk_window_impl_quartz_begin_paint_region): set the CGContext's
3288         fill color manually. We don't have/need a GC here.
3289
3290 2006-09-21  Michael Natterer  <mitch@imendio.com>
3291
3292         * gdk/quartz/gdkwindow-quartz.c
3293         (gdk_window_impl_quartz_begin_paint_region): fix cast: it's
3294         drawable_impl->wrapper that is the GdkWindow, not the
3295         drawable_impl itself.
3296
3297 2006-09-20  Behnam Esfahbod <behnam@zwnj.org>
3298
3299         * gdk/x11/gdkkeys-x11.c:
3300           (get_direction): just check the first shift-level of keyboard
3301         layout for RTL and LTR keysyms() (compliment to #116626)
3302
3303 Wed Sep 20 16:59:38 2006  Tim Janik  <timj@imendio.com>
3304
3305         * gtk/gtkviewport.c: always update the bin_window position and size
3306         in size_allocate, even if we don't have a visible child. this fixes
3307         expose artefacts as described in #313508.
3308
3309         * gtk/gtkscrolledwindow.c: make hiding of automatic scrollbars when we
3310         have no visible child explicit.
3311
3312 2006-09-19  Ryan Lortie  <desrt@desrt.ca>
3313
3314         * docs/reference/gdk/gdk-sections.txt:
3315         * gdk/gdk.symbols:
3316         * gdk/gdkpango.h:
3317         * gdk/gdkpango.c: Bug 355343.  Add a GdkPangoAttrEmbossColor.
3318           (gdk_pango_layout_get_clip_region): Remove an unused variable.
3319           (gdk_pango_attr_embossed_new): Fix documentation.
3320
3321 Tue Sep 19 17:00:04 2006  Tim Janik  <timj@imendio.com>
3322
3323         * gtk/gtkarrow.c: added GtkArrow::arrow-scaling style property to 
3324         control the arrow/border ratio within the allocation.
3325
3326         * tests/testgtk.c: added a GtkArrow to handle box test.
3327
3328         * tests/testgtkrc: test ::arrow-scaling property.
3329
3330 2006-09-19  Matthias Clasen  <mclasen@redhat.com>
3331
3332         * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
3333         Display an error when we come to the root.  
3334
3335 2006-09-16  Matthias Clasen  <mclasen@redhat.com>
3336
3337         * gtk/gtkfilechooserbutton.c: Use bookmark labels in 
3338         the combobox. 
3339
3340         * gtk/gtkfilechooserbutton.c: Don't add remote volumes and 
3341         bookmarks to the model in local-only mode, to avoid 
3342         authentication dialogs pop up for invisible bookmarks, and
3343         to fix issues with separators not being hidden when
3344         they should.  (#354887, Dennis Cranston)
3345
3346 2006-09-16  Matthias Clasen  <mclasen@redhat.com>
3347
3348         * gtk/gtkcombobox.c (gtk_combo_box_finalize): Unref the
3349         treeview use in list mode.  (#355732, Richard Hult)
3350
3351         * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): Send
3352         change notification for the right property.  (#355308,
3353         Torsten Schoenfeld)
3354
3355 2006-09-15  Michael Natterer  <mitch@imendio.com>
3356
3357         * gtk/gtktreeview.c (gtk_tree_view_key_press): refactored column
3358         header navigation/resizing/reordering to be more readable and lose
3359         one level of nesting.
3360
3361 2006-09-15  Kristian Rietveld  <kris@imendio.com>
3362
3363         * gtk/gtktreeview.c (gtk_tree_view_key_press): actually directly
3364         return after handling column button focus; we disable wrap around
3365         with this (which actually happened via a really weird code path).
3366         (Michael Natterer)
3367
3368 2006-09-15  Kristian Rietveld  <kris@imendio.com>
3369
3370         * gtk/gtktreeview.c (gtk_tree_view_key_press): make column resizing
3371         code RTL aware, also break from the loops after we have seen the
3372         focussed column button (Michael Natterer).
3373
3374 Thu Sep 14 12:28:51 2006  Tim Janik  <timj@imendio.com>
3375
3376         * tests/testrichtext.c (main): intialize random number generator state
3377         upon program start, to enable truely random testing.
3378
3379 2006-09-13 Michael Emmel <mike.emmel@gmail.com>
3380
3381         * gdk/directfb/gdkcolor-directfb.c small clean ups include order
3382         * gdk/directfb/gdkwindow-directfb.c fixed beep compile error
3383         * gdk/directfb/Makefile.am removed GDK_PIXBUF_DISABLE_DEPRECATED
3384                 GDK_DISABLE_DEPRECATED to allow compile per Behdad
3385         * gdk/quartz/Makefile.am same change as directfb Makefile
3386         * gtk/Makefile.am fixed typo that cause socket stubs not to compile
3387
3388 2006-09-13 Matthias Clasen <mclasen@redhat.com>
3389
3390         * gtk/gtkcolorsel.c: Use a GtkWindow instead of a GtkInvisible
3391         for the grab widget, to make the color picker work with window
3392         groups.  
3393
3394 2006-09-12 Hong Jen Yee <pcman.tw@gmail.com>
3395
3396         signed off by: Dom Lachowicz
3397         
3398         * modules/engines/ms-windows/msw_style.c: Bug 340201. This contains
3399         a large number of improvements to the Microsoft Windows theme engine
3400         which are fully described in the bug report.
3401         
3402 Mon Sep 11 14:22:39 2006  Tim Janik  <timj@imendio.com>
3403
3404         * tests/testgtk.c: fixed compiler warnings.
3405
3406 2006-09-10  Matthias Clasen  <mclasen@redhat.com>
3407
3408         * gtk/gtkfilechooserbutton.c (model_add_special): Request
3409         the display name too, otherwise "Desktop" does not appear
3410         in the file chooser button. 
3411
3412 2006-09-10  Tor Lillqvist  <tml@novell.com>
3413
3414         * gdk/win32/gdkprivate-win32.h
3415         * gdk/win32/gdkmain-win32.c
3416         * gdk/win32/gdkwindow-win32.c: Define WINVER and _WIN32_WINNT as
3417         0x0500 in gdkprivate-win32.h instead of doing it in two source
3418         files. (#355212, Mike Edenfield)
3419
3420         * gdk/win32/gdkwindow-win32.c: We can also remove the ersatz
3421         GetAncestor() for the _MSC_VER && WINVER < 0x0500 case, I hope.
3422
3423 2006-09-10  Matthias Clasen  <mclasen@redhat.com>
3424
3425         * Commit a patch by Behdad to fix typos, omissions and other
3426         errors in the symbol aliasing, and add checks for local PLT
3427         entries.  (#354687, Behdad Esfahbod)
3428
3429         * gtk/gtktreeview.c (gtk_tree_view_search_scroll_event): Renew
3430         the flush timeout.  (#354043, Nelson Benitez)
3431         
3432         * gtk/gtkfilechoosersettings.c (set_unexpected_element_end_error): 
3433         Improve wording. String change!  (#355126, David Lodge)
3434
3435         * gtk/updateiconcache.c: Improve wording. String change!  (#355128,
3436         David Lodge)
3437
3438         * gtk/paper_names_offsets.c: Fix a typo. String change!  (#355134,
3439         David Lodge)
3440
3441 2006-09-09  Matthias Clasen <mclasen@redhat.com>
3442
3443         * gdk/x11/gdkfonts-x11.c: Fix small theoretical memory leaks.
3444         (#353916, Chris Wilson)
3445
3446         * gtk/gtksettings.c (_gtk_settings_reset_rc_values):
3447         Don't leak the to_reset list.  (#353914, Chris Wilson)
3448
3449         * gtk/gtkwidget.c: Add docs for the parent-set signal.
3450         (#353772, Mariano Suárez-Alvarez)
3451
3452 2006-09-08  Matthias Clasen <mclasen@redhat.com>
3453
3454         * gtk/gtktextbuffer.c (remove_all_selection_clipboards):
3455         Don't clear clipboards here, since we are called from finalize
3456         and can't emit signals.
3457
3458         * configure.in: Set version to 2.11.0
3459
3460 2006-09-06  Richard Hult  <richard@imendio.com>
3461
3462         * gdk/quartz/gdkkeys-quartz.c: (maybe_update_keymap): Special-case 
3463         shift-tab and map it to GDK_ISO_Left_Tab, fixes bug #350806.
3464
3465 2006-09-04  Kristian Rietveld  <kris@imendio.com>
3466
3467         * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
3468         if setting the given folder failed, try setting the parent folder
3469         until we succeed; display an error box at the end.
3470
3471 2006-09-04  Kristian Rietveld  <kris@imendio.com>
3472
3473         * gtk/gtkpathbar.c (gtk_path_bar_dispose): don't cancel the
3474         operations spawned by buttons here,
3475         (set_button_image_get_info_cb): bail out if button is NULL, but
3476         do free button_data,
3477         (button_data_free): only free the data if non NULL (since this
3478         function can be called multiple times for the same data), cancel
3479         handle if pending but don't free button_data in this case (will
3480         happen in the callback).
3481
3482 2006-09-04  Michael Natterer  <mitch@imendio.com>
3483
3484         * gtk/gtkrc.c (rc_parse_token_or_compound)
3485         (gtk_rc_parse_assignment): serialize floating point values using
3486         locale-independent functions. (#346751, Frederic Crozat)
3487
3488 2006-09-04  Tor Lillqvist  <tml@novell.com>
3489
3490         * gdk/win32/gdkevents-win32.c
3491         * gdk/win32/gdkwindow-win32.c: Use wide-char API for message and
3492         window handling (PeekMessage, PostMessage, SendMessage,
3493         DispatchMessage, DefWindowProc, RegisterClassEx,
3494         CreateWindowEx). (#321597)
3495
3496 2006-09-03  Kristian Rietveld  <kris@imendio.com>
3497
3498         * gtk/gtkfilechooserdefault.c (save_entry_get_info_cb),
3499         (file_exists_get_info_cb), (gtk_file_chooser_default_should_respond):
3500         change file_exists_and_is_not_folder checks to get the file info
3501         for the path directly instead of querying the current file folder
3502         of the save entry.
3503
3504         * gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault): add
3505         new field.
3506
3507         * tests/autotestfilechooser.c (wait_for_idle_idle), (wait_for_idle),
3508         (test_reload_sequence), (test_button_folder_states_for_action): wait
3509         for idle after setting a folder to ensure the async operations to load
3510         the folder are finished,
3511         (test_confirm_overwrite), (test_confirm_overwrite_for_path):
3512         factor out test_confirm_overwrite code so we can add tests for more
3513         paths more easily.
3514
3515 2006-09-03  Richard Hult  <richard@imendio.com>
3516
3517         * gdk/quartz/GdkQuartzView.c (drawRect): Don't do anything if
3518         exposure isn't in the event mask, plug a leak, and check that the
3519         window isn't destroyed.
3520         (isOpaque): Check that the window isn't destroyed, fixes bug 
3521         #353028.
3522
3523 2006-09-03  Matthias Clasen  <mclasen@redhat.com>
3524
3525         * gtk/gtkwidget.c (gtk_widget_class_init): Fix a typo.  
3526         (#354035, Mariano Suárez-Alvarez)
3527
3528         * gtk/gtkmain.c (post_parse_hook): 
3529         * gdk/gdk.c (gdk_init): Handle display_name being NULL.
3530         (#354004, Chris Wilson)
3531
3532 2006-09-03  Tor Lillqvist  <tml@novell.com>
3533
3534         * gdk/win32/gdkwindow-win32.c (gdk_window_beep): No
3535         GDK_WINDOW_DISPLAY in the Win32 backend.
3536
3537         * gtk/gtkfilesystemwin32.c: Copy what Kris did to
3538         gtkfilesystemunix.c
3539
3540 2006-09-02  Kristian Rietveld  <kris@imendio.com>
3541
3542         First part of file chooser fixes.
3543
3544         * gtk/gtkfilechooserbutton.c (model_add_special): also set the
3545         handle in the model for the desktopdir case.
3546
3547         * gtk/gtkfilechooserdefault.c (shortcuts_add_current_folder): free
3548         volume in case we retrieved it but don't pass it on to insert_path,
3549         (shortcuts_model_create): change the column type for the handles
3550         to pointer instead of GObject so our handle ref counting is not
3551         disturbed,
3552         (show_and_select_paths_finished_loading): don't forget to unref
3553         the dialog.
3554
3555         * gtk/gtkfilesystemunix.c (gtk_file_system_unix_class_init),
3556         (gtk_file_system_unix_init), (gtk_file_system_unix_dispose):
3557         remove pending execute_callbacks_idle during dispose, also
3558         execute all callbacks waiting to be run in the next idle,
3559         (queue_*callback), (execute_callbacks_idle): refactor to maintain
3560         a list of callbacks to call per file system instead of globally,
3561         guard the file system during callback invocation,
3562         (gtk_file_system_unix_get_folder): only add load folder idle if
3563         none has been added yet.
3564
3565 2006-09-01  Matthias Clasen  <mclasen@redhat.com>
3566
3567         * gtk/gtkentry.c: Don't unnecessarily reset the im context
3568         when deleting the selection.  (#353803, Alex Larsson)
3569
3570 2006-09-01  Abel Cheung  <abel@oaka.org>
3571
3572         * configure.in: Added 'ang' 'dz' to ALL_LINGUAS.
3573
3574 2006-08-31  Matthias Clasen  <mclasen@redhat.com>
3575
3576         Stop cursor blinking after a configurable timeout.
3577         (#353670, #352442, Arjan van de Ven, Manu Cornet)
3578         
3579         * gtk/gtksettings.c (gtk_settings_class_init): Add a 
3580         gtk-cursor-blink-timeout setting, which specifies the number
3581         of seconds that the cursor should blink after a user interaction.
3582         The default value is G_MAXINT to preserve the current behaviour.
3583
3584         * gtk/gtkentry.c (blink_cb): Stop blinking after blink-timeout
3585         seconds.
3586
3587         * gtk/gtkentry.c (gtk_entry_completion_key_press) 
3588         (gtk_entry_button_press, gtk_entry_focus_in): Reset the
3589         blink timer.
3590
3591         * gtk/gtktextview.c (blink_cb): Stop blinking after blink-timeout
3592         seconds. 
3593
3594         * gtk/gtktextview.c (gtk_text_view_key_press_event) 
3595         (gtk_text_view_button_press_event, gtk_text_view_focus_in_event): 
3596         Reset the blink timer.
3597         
3598 2006-08-31  Matthias Clasen  <mclasen@redhat.com>
3599
3600         * gtk/gtkprintoperation-unix.c (get_print_dialog): Don't specify
3601         explicit format capabilities.  (#346505, Christian Persch)
3602
3603         * modules/printbackends/cups/gtkprintbackendcups.c (cups_request_printer_list_cb): Send printer-list-done on error. 
3604
3605 2006-08-31  Michael Natterer  <mitch@imendio.com>
3606
3607         * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Fix build.
3608
3609 2006-08-30  Richard Hult  <richard@imendio.com>
3610
3611         * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep): Fix build.
3612
3613 2006-08-30  Matthias Clasen  <mclasen@redhat.com>
3614
3615         * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Only use XKB
3616         for beeping if we are using XKB.  
3617
3618 2006-08-29  Matthias Clasen  <mclasen@redhat.com>
3619
3620         * gdk/gdkwindow.h: 
3621         * gdk/gdk.symbols: 
3622         * gdk/directfb/gdkwindow-directfb.c (gdk_window_beep): 
3623         * gdk/win32/gdkwindow-win32.c (gdk_window_beep): 
3624         * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep): 
3625         * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Add a function
3626         to beep on a window. For X11, implement this with
3627         XkbBell.  (#353455, Mariano Suárez-Alvarez)
3628         
3629 2006-08-29  Tor Lillqvist  <tml@novell.com>
3630
3631         Remove support for Windows 9x/ME. GTK+ hasn't worked on Win9x
3632         since 2.6 or 2.8. It's pointless to keep the Win9x code in here as
3633         it isn't being maintained anyway. If somebody is interested, it
3634         can always be found in older GTK+ versions, and in CVS.
3635
3636         * configure.in
3637         * acconfig.h
3638         * gdk/Makefile.am
3639         * gdk/win32/Makefile.am
3640         * gdk/win32/libie55uid.la
3641         * gdk/win32/gdkevents-win32.c: Remove the --with-ie55 configure
3642         switch and associated stuff. Active IMM and the <dimm.h> header
3643         was used for IM support on NT4 and Win9x. Win2k and later have IM
3644         support built-in.
3645
3646         * gdk/win32/gdkcursor-win32.c
3647         * gdk/win32/gdkdnd-win32.c
3648         * gdk/win32/gdkdrawable-win32.c
3649         * gdk/win32/gdkevents-win32.c
3650         * gdk/win32/gdkgc-win32.c
3651         * gdk/win32/gdkglobals-win32.c
3652         * gdk/win32/gdkkeys-win32.c
3653         * gdk/win32/gdkmain-win32.c
3654         * gdk/win32/gdkproperty-win32.c
3655         * gdk/win32/gdkselection-win32.c
3656         * gdk/win32/gdkwindow-win32.c: Remove the G_WIN32_IS_NT_BASED()
3657         and G_WIN32_HAVE_WIDECHAR_API() tests and their false (Win9x)
3658         branches, and any variables or static functions used only by the
3659         Win9x branches.
3660
3661         * gdk/win32/gdkprivate-win32.h: Remove backup definitions for
3662         constants that aren't missing from current mingw and MSVC6
3663         headers.
3664
3665         * gdk/win32/gdkmain-win32.c
3666         * gdk/win32/gdkprivate-win32.h: Remove the _gdk_win32_gdi_failed()
3667         function. On NT-based Windows GetLastError() returns error codes
3668         also for failed GDI calls, so we can use _gdk_win32_api_failed()
3669         always.
3670
3671 2006-08-29  Emmanuele Bassi  <ebassi@gnome.org>
3672
3673         * gtk/gtkrecentchoosermenu.c
3674         (gtk_recent_chooser_menu_set_current_uri): Break when an item
3675         is found and activated. (#353449, based on a patch by Jan Arne
3676         Petersen)
3677
3678 Fri Jul 14 16:13:37 2006  Tim Janik  <timj@gtk.org>
3679
3680         * gtk/gtkprogressbar.c: introduced ::xspacing and ::yspacing style 
3681         properties which make all hardcoded padding and spacing values
3682         configurable. properly swap ::text-xalign treatment for RTL widgets.
3683
3684         * gtk/gtkprogress.c: fixed style property blurbs. made alignment 
3685         proeprty more consistent with GtkMisc alignment blurbs. mention
3686         RTL treatment for text-xalign.
3687
3688 Tue Aug 29 11:57:40 2006  Tim Janik  <timj@imendio.com>
3689
3690         * tests/testgtk.c: allow (most) windows to be resizable.
3691         added ellipsization settings to progress bars. 
3692
3693 2006-08-28  Matthias Clasen   <mclasen@redhat.com>
3694
3695         * modules/printbackend/cups/gtkprintbackendcups.c: Use a
3696         resonable timeout of 3 seconds when polling for printer
3697         list updates, instead of 300000 seconds...
3698
3699 2006-08-28  Michael Natterer  <mitch@imendio.com>
3700
3701         * gtk/gtktextbufferserialize.c (serialize_text): don't write out
3702         </apply_tag> for tags that have already been closed by the logic
3703         which turns overlapping spans into XML-able trees. Fixes broken
3704         XML when there are overlapping tags in the buffer. Also free two
3705         leaked GLists and did some cleanup.
3706
3707         * tests/Makefile.am
3708         * tests/testrichtext.c: new test which creates randomly tagged
3709         GtkTextBuffers and serializes/deserializes them.
3710
3711 2006-08-26  Matthias Clasen  <mclasen@redhat.com>
3712
3713         * gtk/gtkstatusicon.c (gtk_status_icon_reset_image_data): 
3714         Don't leak pixbufs.  (#352264, Ross Burton)
3715
3716         * gtk/gtklinkbutton.c (set_link_underline): Don't leak
3717         PangoAttributes.  (#352391, Paolo Borelli)
3718
3719 2006-08-25  Matthias Clasen  <mclasen@redhat.com>
3720
3721         * demos/gtk-demo/Makefile.am:
3722         * demos/gtk-demo/textscroll.c: Add an example of automatic
3723         scrolling, thanks to Yevgen Muntyan.  (#351206)
3724         
3725         * gtk/gtkmodules.c (find_module): Use local binding when
3726         loading modules.  (#351868)
3727
3728 2006-08-24  Michael Natterer  <mitch@imendio.com>
3729
3730         * gdk/quartz/gdkdisplay-quartz.c (gdk_display_get_name): return
3731         the hostname instead of NULL.
3732
3733 2006-08-23  Matthias Clasen  <mclasen@redhat.com>
3734
3735         * gtk/gtkprinteroptionwidget.[hc]: Fix confusion about
3736         names and values in comboboxes, and clean up some
3737         coding style issues.
3738
3739 2006-08-23  Tor Lillqvist  <tml@novell.com>
3740
3741         * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_make_path):
3742         Revert unintended translatable string addition. Use same string
3743         in GError as in gtkfilesystemunix.c.
3744
3745         * gtk/gtkfilesystemwin32.c (_gtk_file_system_win32_path_compare):
3746         Fix logic at the end of strings. 
3747
3748         * gtk/gtkfilesystemwin32.c: Maintain a hash table of live
3749         handles and check that we have no outstanding handles at
3750         finalization time. (Copying what Matthias did for
3751         gtkfilesystemunix.c)
3752
3753 2006-08-23  Matthias Clasen  <mclasen@redhat.com>
3754
3755         * gtk/gtkfilesystemunix.c: Maintain a hash table
3756         of live handles and check that we have no outstanding
3757         handles at finalization time. (Copying what
3758         Federico did for gtkfilesystemgnomevfs.c)
3759
3760 2007-08-22  Matthias Clasen  <mclasen@redhat.com> 
3761
3762         * Branch for 2.10
3763