]> Pileus Git - ~andy/gtk/blob - ChangeLog
New tooltips API.
[~andy/gtk] / ChangeLog
1 2007-02-06  Kristian Rietveld  <kris@imendio.com>
2
3         New tooltips API.
4
5         * gtk/Makefile.am
6         * gtk/gtk.h
7         * gtk/gtk.symbols: build system foo.
8
9         * gtk/gtkmain.c (gtk_main_do_event): call tooltip event handler
10         hook for appropriate events.
11
12         * gtk/gtkmarshalers.list: add BOOLEAN:INT,INT,BOOLEAN,OBJECT.
13
14         * gtk/gtkrc.c: add style for gtk-tooltip.
15
16         * gtk/gtksettings.c (gtk_settings_class_init): make the
17         different tooltip timeouts configurable.
18
19         * gtk/gtkwidget.[ch]: add new properties, signals, make sure
20         tooltips are hidden on unmap, destroy, update window event
21         mask on realize, hook into focus change and show help
22         handlers.
23
24         * gtk/gtkwindow.h: move GtkWindow typdef to gtkwidget.h ...
25
26         * gtk/gtktooltip.[ch]: new files.
27
28         * tests/Makefile.am
29         * tests/testtooltips.c: add test application.
30
31 2007-02-05  Dom Lachowicz <domlachowicz@gmail.com>
32
33         * modules/engines/ms-windows/msw_style.c: Fix bug 404506, caused
34         by prematurely releasing a DC. By Hiroyuki Yamamoto
35         * modules/engines/ms-windows/msw_style.c: Fix bug 403470 - leaking 
36         pixbufs when drawing rotated tabs. By Daniel Atallah
37         
38 2007-02-05  Michael Natterer  <mitch@imendio.com>
39
40         * gtk/gtksettings.c: add new boolean settings gtk-enable-accels
41         and gtk-enable-mnemonics which enable/disable accelerators and
42         mnemonics (bug #72375, based on a patch from Tommi Komulainen).
43
44         * gtk/gtkwindow.c (gtk_window_activate_key)
45         * gtk/gtkmenushell.c (gtk_menu_shell_key_press): don't invoke them
46         if the resp. setting is FALSE.
47
48         * gtk/gtkaccellabel.c (gtk_accel_label_refetch)
49         * gtk/gtklabel.c (gtk_label_set_pattern_internal): don't display
50         them if the setting is FALSE.
51
52         * gtk/gtklabel.c: added signal connection to the screen's settings
53         object and traverse all widgets on the screen when the setting
54         changes. It's slightly ugly to also update GtkAccelLabels here,
55         but less ugly than connecting and traversing all widgets twice.
56
57 2007-02-05  Michael Natterer  <mitch@imendio.com>
58
59         * gtk/gtktextbuffer.h (enum GtkTextBufferTargetInfo): changed
60         values from G_MAXUINT-0, -1, -2 to -1, -2, -3 so we stay within
61         ansi C enum value limits. Fixes bug #46757.
62
63 2007-02-03  Soren Sandmann <sandmann@daimi.au.dk>
64
65         * gtk/gtksequence.[ch]: Remove these files since GSequence has
66         been moved into GLib.
67
68         * gtk/gtkliststore.c: Port to GSequence instead of GtkSequence.
69
70         * configure.in: Require glib-2.13.0
71         
72 2007-02-04  Tor Lillqvist  <tml@novell.com>
73
74         * gdk/win32/gdkcursor-win32.c: Don't define BITMAPV5HEADER on
75         mingw with w32api >= 3.8, which has it in wingdi.h. (#403896)
76
77 2007-02-02  Kristian Rietveld  <kris@gtk.org>
78
79         * gtk/gtktreeview.c (gtk_tree_view_row_changed): remove unused
80         style_get of vertical-separator. (#403165, Chris Wilson).
81
82 2007-02-02  Christian Persch  <chpe@svn.gnome.org>
83
84         * gtk/gtkfilechoosersettings.c: (get_config_filename),
85         (ensure_settings_read), (_gtk_file_chooser_settings_init),
86         (_gtk_file_chooser_settings_set_show_hidden),
87         (_gtk_file_chooser_settings_set_expand_folders),
88         (_gtk_file_chooser_settings_save): Use a simple key file instead of a
89         markup file. Bug #399592.
90
91 2007-02-02  Mariano Suárez-Alvarez  <mariano@gnome.org>
92
93         * gtk/gtkcellrenderertext.c(gtk_cell_renderer_text_class_init):
94         be a little more helpful with the docs on GtkCellRendererText:alignment.
95         Bug #403409.
96
97 2007-02-01  Michael Natterer  <mitch@imendio.com>
98
99         * gtk/gtkmenu.c (gtk_menu_paint): pass &event->area to
100         gtk_paint_box() calls.
101
102 2007-02-01  Michael Natterer  <mitch@imendio.com>
103
104         * gtk/gtkmenu.c (gtk_menu_button_press)
105         (gtk_menu_button_release)
106         (gtk_menu_button_scroll): remove redundant and confusing
107         if (GTK_IS_MENU (widget)) checks because "widget" is always a
108         GtkMenu here.
109
110 Thu Feb  1 12:22:06 2007  Tim Janik  <timj@imendio.com>
111
112         * gtk/gtkcombobox.c (gtk_combo_box_list_destroy): remove extra reference
113         that gtkcombobox keeps on priv->popup_widget if it's a tree view.
114
115 2007-01-31  Christian Persch  <chpe@svn.gnome.org>
116
117         * gtk/gtkaboutdialog.c: (update_credits_button_visibility),
118         (gtk_about_dialog_set_authors), (gtk_about_dialog_set_documenters),
119         (gtk_about_dialog_set_artists),
120         (gtk_about_dialog_set_translator_credits): Hide the Credits button iff
121         there are no credits to show. Bug #402806.
122
123 2007-01-31  Tor Lillqvist  <tml@novell.com>
124
125         * gdk/win32/gdkinput-win32.c (print_cursor): New debugging
126         function.
127         (_gdk_input_wintab_init_check): Call it when debugging output is
128         requested.
129         (_gdk_input_wintab_init_check): Skip duplicated cursors for Wacom
130         tablets. The Wacom driver reports duplicated cursors with
131         physid==0. Fix verified by Robert Ögren.
132
133 2007-01-30  Felix Riemann  <friemann@svn.gnome.org>
134
135         * modules/printbackends/file/gtkprintbackendfile.c:
136         (file_printer_get_options): Fix leaked string. Fixes bug #402565.
137
138 2007-01-30  Matthias Clasen  <mclasen@redhat.com>
139
140         * gdk/x11/gdkwindow-x11.c (gdk_x11_window_move_to_current_desktop):
141         (gdk_x11_window_set_user_time): Be more careful about toplevel
142         possibly being NULL.  (#402453, Sebastian Bacher)
143
144 Tue Jan 30 12:09:56 2007  Tim Janik  <timj@gtk.org>
145
146         * gtk/gtksettings.c: cleaned up ::color-hash registration to not abuse
147         class_n_properties and leave an uninitialized value array behind.
148
149 2007-01-29  Michael Natterer  <mitch@imendio.com>
150
151         * gtk/gtkmenuitem.c (gtk_menu_item_select)
152         (gtk_menu_item_deselect): queue a draw on the parent_menu_item of
153         this menu item's menu, to enable themeing menu items depending on
154         whether something is selected in their submenu (patch taken from
155         maemo-gtk).
156
157 2007-01-28  Matthias Clasen  <mclasen@redhat.com>
158
159         * gtk/gtktoolbar.c: Reinstate gtk_toolbar_content_new_compatibility()
160         that was mistakenly "cleaned up" a while ago. Also
161         revert a problematic change to the screen_changed
162         handler.  (#401598, Søren Sandmann)
163
164 2007-01-28  Matthias Clasen  <mclasen@redhat.com>
165
166         * gtk/gtkframe.c (gtk_frame_size_allocation): Fix a 
167         problem with large y thickness.  (#136592, Xan Lopez)
168
169 2007-01-28  Matthias Clasen  <mclasen@redhat.com>
170
171         * gtk/gtkaction.c (gtk_action_new): Use canonical
172         property names.  
173
174 2007-01-27  Matthias Clasen  <mclasen@redhat.com>
175
176         * gtk/gtknotebook.c (gtk_notebook_draw_arrow):
177         (gtk_notebook_draw_focus): Avoid some unnecessary 
178         gtk_widget_get_style() calls.
179
180 2007-01-27  Matthias Clasen  <mclasen@redhat.com>
181
182         * gtk/gtktoolbar.c:
183         * gtk/gtktoolitem.c:
184         * gtk/gtktoolbutton.c: Rearrange things so that setting
185         multiple properties causes not more than a single 
186         reconstruction of the contents.
187
188         * gtk/gtkaction.c (connect_proxy): Set all tool button 
189         properties in one go.
190
191 2007-01-27  Matthias Clasen  <mclasen@redhat.com>
192
193         * gtk/gtkstatusicon.c:
194         * gtk/gtktrayicon-x11.c: Fix GtkStatusIcon to not
195         take up space on the panel if it is invisible.  (340110, Christian
196         Persch)
197
198         * tests/teststatusicon.c:
199         * tests/Makefile.am: Updates
200
201 2007-01-27  Matthias Clasen  <mclasen@redhat.com>
202
203         * gtk/gtkfilesel.h:
204         * gtk/gtkrc.h:
205         * gtk/gtk.symbols: Add deprecation guards for gtk_rc_style_ref/unref
206         and the old file selector.  (#348256)
207
208 2007-01-26  Matthias Clasen  <mclasen@redhat.com>
209
210         * gtk/gtkiconview.c: Documentation fixes (#400530, Anders Brander)
211
212 2007-01-26  Matthias Clasen  <mclasen@redhat.com>
213
214         * gtk/updateiconcache.c: Check the mtime of all directories,
215         not just the toplevel, if ftw() is available.  (#331671, Behdad
216         Esfahbod)
217
218         * configure.in: Check for ftw.h.
219
220 2007-01-26  Michael Natterer  <mitch@imendio.com>
221
222         * modules/input/gtkimcontextxim.c (gtk_im_context_xim_finalize):
223         destroy the XIM only if it exists. While the code does look safe
224         in general, there can be corner cases where the "reconnecting"
225         boolean being FALSE does not correspond to the XIM being
226         allocated (fixes #329450, fix taken from maemo-gtk).
227
228 Fri Jan 26 13:07:07 2007  Tim Janik  <timj@imendio.com>
229
230         * gtk/gtkstyle.c (draw_insertion_cursor): clamp cursor coordinates to
231         window bounds (fix from Maemo Gtk).
232
233 2007-01-26  Michael Natterer  <mitch@imendio.com>
234
235         * gtk/gtkentrycompletion.c (gtk_entry_completion_insert_prefix):
236         only block/unblock completion->priv->insert_text_id if it is
237         actually connected. While this can't happen the way GtkEntry
238         itself uses the completion, it's still public API and should not
239         blindly call functions that will spit warnings (fix taken from
240         maemo-gtk).
241
242 2007-01-25  Matthias Clasen  <mclasen@redhat.com>
243
244         * gdk/gdkwindow.c: Reduce locking overhead by not repeatedly getting
245         the paintable iface.  
246
247 2007-01-24  Michael Natterer  <mitch@imendio.com>
248
249         * gtk/gtkwidget.c (gtk_widget_set_state): revert generic disabling
250         of PRELIGHT state for the reasons given in bug #135666. Widget
251         states are sometimes abused or otherwise used wrongly for historic
252         reasons, causing this part of the patch to break e.g. menu items.
253
254 2007-01-24  Roozbeh Pournader  <roozbeh@farsiweb.info>
255
256         * README: Remove mention of no-longer-existing PATCH
257         keyword in bugzilla. (#396899)
258
259 2007-01-23  Carlos Garcia Campos  <carlosgc@gnome.org>
260
261         * gtk/gtkpagesetup.c
262         (gtk_page_setup_set_paper_size_and_default_margins): Fix memory leak.
263         Fixes bug #399907. 
264
265 2007-01-22  Chris Wilson <chris@chris-wilson.co.uk>
266
267         Bug 399314 – Add G_GNUC_WARN_UNUSED_RESULT to gtk_style_attach
268
269         * gtk/gtkstyle.h:
270                 Cause gcc to issue a warning if the style returned from
271                 gtk_style_attach is not used. Failure to update
272                 widget->style causes some very difficult to reproduce bugs,
273                 eg Bug 353498 – crash in Terminal: changing icon theme.
274
275 2007-01-19  Michael Emmel  <mike.emmel@gmail.com>
276
277         * gdk/directfb/gdkevents-directfb.c: added fixes for window
278         crossing events frm Attilio Fiandrotti<attilio.fiandrotti@gmail.com>
279
280 2007-01-19  Matthias Clasen  <mclasen@redhat.com>
281
282         * gtk/gtkcalendar.c: Fix build breakage.
283
284 2007-01-19  Kristian Rietveld  <kris@imendio.com>
285
286         * gtk/gtktreeview.c (gtk_tree_view_motion_bin_window),
287         (add_scroll_timeout), (gtk_tree_view_drag_motion): factor out
288         add_scroll_timeout().  (taken from maemo-gtk).
289
290 2007-01-18  Matthias Clasen  <mclasen@redhat.com>
291
292         * gtk/gtkcalendar.c: Fix problems with the initial
293         focus in GtkCalendar.  (#397783, Vincent Untz)
294
295 2007-01-19  Robert Ögren  <gtk@roboros.com>
296
297         Fix for bug #143460 - missed tablet clicks on Windows
298
299         * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check):
300         Request absolute reporting of tablet button state, and cut down
301         the packet queue size a bit.
302         (_gdk_input_other_event): Change button state handling
303         accordingly. Also drop the no longer necessary code that detects
304         missed clicks/releases for button 1. The switch to absolute button
305         state should prevent missed events for all buttons. Additionally,
306         swap button 2 and 3.
307         (_gdk_input_grab_pointer): Don't reset button_state, that will only
308         cause a new press event as soon as the next tablet packet arrives.
309
310 2007-01-19  Tor Lillqvist  <tml@novell.com>
311
312         Build Wintab support always on Windows. Don't require the Wintab
313         SDK.
314
315         * configure.in: Drop the --with-wintab option. Drop the
316         HAVE_WINTAB feature test macro and Automake variable.
317
318         * acconfig.h
319         * config.h.win32.in: Drop HAVE_WINTAB.
320
321         * gdk/win32/gdkevents-win32.c
322         * gdk/win32/gdkinput.c
323         * gdk/win32/gdkinput-win32.h
324         * gdk/win32/gdkinput-win32.c
325         * gdk/win32/gdkmain-win32.c: Make HAVE_WINTAB ifdef blocks
326         unconditional.
327
328         * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Try
329         to load wintab32.dll dynamically here. If it is found look up the
330         handful Wintab functions we use.
331         (rest of file): Use these function pointers instead of calling the
332         functions from wntab32x.lib. The code in wntab32x.lib did the same
333         thing anyway: tried to load wintab32.dll, and looked up the
334         addresses of the actual functions from it.
335
336         * gdk/Makefile.am
337         * gdk/win32/Makefile.am: Drop the libwntab32x hacks.
338
339         * gdk/win32/wintab.h
340         * gdk/win32/pktdef.h: New files. Copied from the Wintab
341         SDK. Copyright blurb says: "The text and information contained in
342         this file may be freely used, copied, or distributed without
343         compensation or licensing restrictions."
344
345         * README.win32: Update a bit. Remove the text about the Wintab
346         SDK.
347
348 2007-01-18  Tor Lillqvist  <tml@novell.com>
349
350         * gdk-pixbuf/Makefile.am
351         * gdk/Makefile.am
352         * gdk/win32/Makefile.am
353         * gtk/Makefile.am: Fixes for building outside srcdir on
354         Win32. (#336819, #340113) Drop distributing the handmade .la
355         libtool wrapper for the wntab32x library. It's too much trouble
356         making it work when building outside srcdir. Just link to the
357         library direcly using -Wl,win32/libwntab32x.a.
358
359 2007-01-18  Michael Natterer  <mitch@imendio.com>
360
361         * gtk/gtkcheckbutton.c
362         * gtk/gtkdnd.c
363         * gtk/gtkentry.c
364         * gtk/gtkmenu.c
365         * gtk/gtktreeview.c
366         * gtk/gtkviewport.c: pass more clip rectangles to gtk_paint_foo()
367         functions. Based on a patch from maemo-gtk (bug #398023).
368
369 2007-01-17  Tor Lillqvist  <tml@novell.com>
370
371         * gtk-zip.sh.in: Include also the COPYING file.
372
373 2007-01-17  Matthias Clasen  <mclasen@redhat.com>
374
375         * modules/printbackends/cups/gtkprintbackendcups.c: Don't use
376         httpGetFd() when building against cups 1.1
377
378 2007-01-17  Tor Lillqvist  <tml@novell.com>
379
380         Proper fix for #396175:
381
382         * gtk/gtkimmulticontext.c: Revert change by Hans Breuer below: Do
383         include gtkprivate.h. On Win32 we do want to use the redefinition
384         of GTK_LOCALEDIR as a call to the function _gtk_get_localedir().
385
386         * gtk/gtkimmodule.c: Instead, correct the prefix also on
387         simple_context_info.domain_dirname. Do the prefix corrections
388         always on Win32, not just when GTK_LIBDIR is defined. i.e., until
389         now they were done only in the autoconfiscated gcc builds. Hans
390         needs to make sure GTK_LIBDIR and GTK_LOCALEDIR are defined also
391         in MSVC builds now.
392         (correct_localedir_prefix): New function, like
393         correct_libdir_prefix(), but for GTK_LOCALEDIR, in case
394         GTK_LOCALEDIR is not a descendant of GTK_LIBDIR.
395         (gtk_im_module_initialize): Thus call correct_localedir_prefix()
396         on the domain_dirname instead of correct_libdir_prefix().
397         (_gtk_im_module_list): Call correct_localedir_prefix() on
398         simple_context_info.domain_dirname.
399
400 2007-01-16  Matthias Clasen  <mclasen@redhat.com>
401
402         * gtk/gtkrange.c (range_grab_remove): Queue a redraw when the
403         grab changes.  (#396470, Benjamin Berg)
404
405 2007-01-15  Emmanuele Bassi  <ebassi@gnome.org>
406
407         * gtk/gtkrecentchoosermenu.c: Ellipsize the menu items label
408         if they grow too much. (#357303)
409
410 2007-01-14  Matthias Clasen  <mclasen@redhat.com>
411
412         * gtk/gtkicontheme.c (theme_lookup_icon): When finding a matching
413         non-scalable dir, keep going and look for a closer match.
414         (#395830, Luca Ferretti)
415
416 2007-01-14  Christian Persch  <chpe@svn.gnome.org>
417
418         * gtk/gtkclipboard.c: (gtk_clipboard_set_text),
419         (gtk_clipboard_set_image): Use gtk_target_table_new_from_list and
420         gtk_target_table_free instead of duplicating the code. Bug #396493.
421
422 2007-01-13  Matthias Clasen  <mclasen@redhat.com>
423
424         * gtk/gtkuimanager.c: Don't crash if menu or toolbar
425         positions can't be found.  (#396161, Hans Breuer)
426
427 2007-01-13  Matthias Clasen  <mclasen@redhat.com>
428
429         * gtk/gtkselection.c (_gtk_selection_request): Plug 
430         memory leaks.  (#396160, Carlos Garcia Campos)
431
432 2007-01-13  Matthias Clasen  <mclasen@redhat.com>
433
434         * configure.in: Link libgtk against Xfixes.  (#396074,
435         Tommi Komulainen)
436
437 2007-01-13  Matthias Clasen  <mclasen@redhat.com>
438
439         * gtk/gtkradiobutton.c (gtk_radio_button_focus): Avoid
440         a compiler warning.  (#395045, Chris Wilson)
441
442 2007-01-13  Hans Breuer <hans@breuer.org>
443
444         * gtk/gtkprintoperation-win32.c : take the custom tab label from
445         gtk_print_operation_set_custom_tab_label() into account (bug #390746).
446
447         * gtk/gtkimmulticontext.c : don't include "gtkprivate.h" to avoid
448         differing definitions of GTK_LOCALEDIR (bug #396175).
449
450         * gtk/gtktreeview.c : use g_snprintf instead of snprintf, which is
451         not available everywhere
452
453         * gtk/makefile.msc.in : updated
454
455 2007-01-12  Michael Natterer  <mitch@imendio.com>
456
457         * gtk/gtkentry.c (gtk_entry_button_press): don't add
458         entry->scroll_offset to entry->drag_start_y. Fixes the entry
459         starting drags after ridiculously small mouse movements.
460
461 2007-01-11  Richard Hult  <richard@imendio.com>
462
463         * demos/gtk-demo/main.c: (load_file): Close the file after it's
464         loaded (bug #395316).
465
466 2007-01-11  Kjartan Maraas  <kmaraas@gnome.org>
467
468         * gtk/gtkfilesystemunix.c: (expand_tilde):
469         Make a single tilde go to $HOME in the location entry.
470         Patch from Yevgen Muntyan. Closes the gtk+ part of
471         bug #334168.
472
473 2007-01-10  Behdad Esfahbod  <behdad@gnome.org>
474
475         * gdk/gdkpango.c (gdk_draw_layout_with_colors):
476         * gtk/gtklabel.c (gtk_label_size_request):
477         Use pango_matrix_transform_rectangle(). (#340141)
478
479         * configure.in: Bump pango requirement to 1.15.3.
480
481 2007-01-10  Kristian Rietveld  <kris@imendio.com>
482
483         * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_init):
484         refactor to initialize indicator_size to TOGGLE_WIDTH instead
485         of the hardcoded value of 12.
486
487 2007-01-09  Matthias Clasen  <mclasen@redhat.com>
488
489         * configure.in: Fix the directfb cairo test. (#394855, 
490         Josselin Mouette)
491
492 2007-01-09  Behdad Esfahbod  <behdad@gnome.org>
493
494         * configure.in: Fix comment for --with-included-loaders.  That option
495         affects builds with module loading enabled too.
496
497 2006-01-08  Peter Teichman  <peter@novell.com>
498
499         * gtk/gtkfilechooserdefault.c:
500         * gtk/gtkfilechooserprivate.h:
501         * gtk/gtkfilechoosersettings.c:
502         * gtk/gtkfilechoosersettings.h:
503         Save the expanded state of the folder browser with the file
504         chooser settings.  Resolves the expander portions of (#153828,
505         Lemmit Kaplinski)
506
507 2007-01-08  Emmanuele Bassi  <ebassi@gnome.org>
508
509         * gtk/gtkrecentchoosermenu.c (gtk_recent_chooser_menu_create_item):
510         Don't leak the icon pixbuf after setting it to the image menu
511         item.  Found by Paolo Borelli.
512
513 2007-01-08  Matthias Clasen  <mclasen@redhat.com>
514
515         * gtk/gtktreemodel.c (gtk_tree_path_to_string): Don't 
516         corrupt memory when faced with paths with ridiculously
517         large indices. Found by the GTKVTS test suite.  
518
519 2007-01-08  Matthias Clasen  <mclasen@redhat.com>
520
521         * gtk/gtkmodules.c (_gtk_modules_init): Set 
522         default_display_opened before loading modules.  (#393102,
523         Brian Cameron)
524  
525 2007-01-07  Matthias Clasen  <mclasen@redhat.com>
526
527         * gtk/gtktextview.c (gtk_text_view_set_border_window_size):
528         Call text_window_realize() with the correct parameters.
529         (#393813, Yevgen Muntyan)
530
531 2007-01-07  Matthias Clasen  <mclasen@redhat.com>
532
533         * gtk/gtkstatusbar.c: Move docs inline, and expand them 
534         a bit.
535
536 2007-01-06  Matthias Clasen  <mclasen@redhat.com>
537
538         * gtk/gtklabel.c: Make line wrapping work with width-chars
539         and max-width-chars, and simplify the storage of wrap-width.
540         (#322580, Itai Bar-Haim)
541
542 2007-01-06  Tor Lillqvist  <tml@novell.com>
543
544         * gdk/win32/cursor.bdf: New file. Downloaded from
545         freedesktop.org's webcvs. Slighly edited cursors "crosshair",
546         "diamond_cross", "draft_large", "gobbler" and "target" to fix
547         #392504. It is possible that the same end result could have been
548         achieved by tweaking bdfcursor.c instead.
549         
550         * gdk/win32/bdfcursor.c: Add optional debugging output.
551
552         * gdk/win32/xcursors.h: Regenerated.
553
554 2007-01-05  Matthias Clasen  <mclasen@redhat.com>
555
556         * gtk/gtknotebook.c (gtk_notebook_set_menu_label_text): Left-align
557         menu labels.  (#393255, Michail Crayson)
558
559 2007-01-05  Kristian Rietveld  <kris@gtk.org>
560
561         * gtk/gtktreeview.c (gtk_tree_view_dy_to_top_row): handle tree
562         == NULL.  (Fixes #392685, reported by Yevgen Muntyan).
563
564 2007-01-05  Kristian Rietveld  <kris@gtk.org>
565
566         * gtk/gtktreeview.c (gtk_tree_view_row_changed): do allow to
567         invalidate nodes if the tree view is not realized. (#363147,
568         Carlos Garnacho, Miguel Cabrera).
569
570 2007-01-05  Matthias Clasen  <mclasen@redhat.com>
571
572         * gtk/gtkmenu.c (gtk_menu_paint): Take the scroll arrow into
573         account when drawing the background.  (#393166, Benjamin Berg)
574
575 2007-01-05  Behdad Esfahbod  <behdad@gnome.org>
576
577         * gtk/gtklabel.c (get_layout_location): Fix broken width computation,
578         again.
579
580 2007-01-05  Carlos Garnacho  <carlosg@gnome.org>
581
582         * gtk/gtknotebook.c (gtk_notebook_size_request): take into account
583         both scroll arrows when calculating size request in GTK_POS_LEFT or
584         GTK_POS_RIGHT notebooks. (#393124, reported by Christian Persch)
585
586 2007-01-05  Michael Natterer  <mitch@imendio.com>
587
588         * gtk/gtkwindow.c (gtk_window_key_release_event): chain up to
589         the right function (fix taken from maemo-gtk).
590
591 2007-01-05  Behdad Esfahbod  <behdad@gnome.org>
592
593         * gdk/gdkprivate.h:
594         * gdk/gdkpango.c (gdk_draw_layout_line_with_colors),
595         (gdk_draw_layout_with_colors):
596         * gdk/gdkwindow.c (gdk_window_draw_glyphs_transformed):
597         Avoid overflow when converting coordinates to Pango units. (#332266,
598         Jody Goldberg)
599
600 2007-01-04  Matthias Clasen  <mclasen@redhat.com>
601
602         * gtk/gtkcombobox.c (gtk_combo_box_popup): move set_cursor
603         after realization of the popup window, so clamp node doesn't fail.
604         (#346616, Tommi Komulainen, patch by Kristian Rietveld).
605
606 2007-01-04  Behdad Esfahbod  <behdad@gnome.org>
607
608         * gtk/gtklabel.c (get_layout_location): Fix uninitialized width
609         variable.
610
611 2007-01-04  Matthias Clasen  <mclasen@redhat.com>
612
613         * gtk/Makefile.am:
614         * gdk-pixbuf/Makefile.am:
615         * configure.in:
616         * gdk/win32/rc/gdk.rc.in: Cross-compilation fixes.
617         (#392646, Yevgen Muntyan)
618
619 2007-01-04  Matthias Clasen  <mclasen@redhat.com>
620
621         * demos/gtk-demo/textscroll.c:
622         * gtk/gtkhandlebox.c:
623         * gtk/gtkcolorsel.c: Fix some compiler warnings.
624
625 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
626
627         * gtk/gtktextview.c: Rework the beep-on-uninserted-text
628         by calling the input method regardless of editability,
629         and beeping from the commit/preedit-changed handlers.
630         (#390514, Yevgen Muntyan)
631
632 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
633
634         Fix #332604, reported by Joe Wreschnig, patch
635         by Jan Arne Petersen and Behdad Esfahbod.
636
637         * gtk/gtklabel.c (gtk_label_size_allocate): Only
638         set the width of the layout when necessary.
639         (get_layout_location): Use pango_layout_get_pixel_extents()
640         instead of pango_layout_get_width().
641
642 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
643
644         * modules/printbackends/cups/gtkprintbackendcups.c 
645         (available_choices): Don't leak conflicts.
646
647         * gtk/gtkprintoperation.c (gtk_print_operation_finalize):
648         Don't leak the status string.
649
650 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
651
652         * gtk/gtkfilechooserdefault.c (update_chooser_entry):
653         Exit early if we can't get file info - this happens
654         if the iter points to the row where we are editing
655         the name for a newly created folder.  (#392191, Michael
656         Partridge, patch by Kristian Rietveld)
657
658 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
659
660         * gtk/*.c:
661         * gdk/x11/*.c: Apply a patch by Chris Wilson to
662         avoid spurious valgrind warnings from XSendEvent() 
663         calls.  (#392532)
664
665         * modules/printbackends/cups/gtkprintbackendcups.c: Close
666         the http connection after getting the PPD.
667
668         * gtk/gtkprinteroptionwidget.c (filesave_changed_cb):
669         Fix memory leaks.  
670
671 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
672
673         * gtk/gtkassistant.c (remove_page): If the current page
674         is removed, always pick a different one.  (#392457, 
675         Colin Watson)
676
677 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
678
679         * modules/printbackend/cups/*.c: Coding style cleanups.
680
681 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
682
683         * configure.in: Export SED to make sourcing of
684         libtool work. Tighten up the directfb pkgconfig check.
685
686 2007-01-03  Michael Natterer  <mitch@imendio.com>
687
688         * gtk/gtkstyle.c (option_menu_get_props)
689         * gtk/gtkoptionmenu.c (gtk_option_menu_get_props): Use 
690         gtk_border_free when freeing borders.
691
692 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
693
694         * gtk/gtkentry.c (get_text_area_size): Work when the
695         entry is not realized.  (#392315, Yevgen Muntyan)
696
697         * gtk/gtkentry.c (gtk_entry_queue_draw): Use 
698         GTK_WIDGET_DRAWABLE() here.  (#392227, Chris Wilson)
699
700         * gtk/gtkentry.c (cursor_blinks): Don't get settings
701         unnecessarily.  (#392227)
702
703 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
704
705         * gtk/gtkwindow.c (gtk_window_move_resize): Only process
706         updates on the window at hand, not on all windows, to
707         avoid violating resize/redraw ordering constraints.
708         (#362406, Owen Taylor)
709         
710 2007-01-03  Kristian Rietveld  <kris@gtk.org>
711
712         * gtk/gtkcellrendererprogress.c
713         (gtk_cell_renderer_progress_class_init): fix docs.
714
715 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
716         
717         * gtk/updateiconcache.c: Include locale.h
718
719 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
720
721         * gtk/updateiconcache.c (main): Call setlocale().
722
723         * gtk/gtkfilesel.c:
724         * gtk/gtkfilesystemunix.c:
725         * gtk/gtkfilesystemwin32.c:
726         * gtk/gtkfilechoosersettings.c:
727         * gtk/updateiconcache.c: Consistently use folder instead of
728         directory in translated messages.  (#344584, Javier F. Serrador)
729
730 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
731
732         Try to fix #315732, reported by Luke Hutchinson:
733
734         * gdk/x11/xsettings-client.[hc]:
735         * gdk/x11/gdkdevents-x11.c: Don't assume that ref'ing a GdkWindow
736         will guarantee that it can be looked up in the xid hash later.
737         Also, use the nesting server grab function during the xsettings
738         client initialization. Finally, make xsettings client not
739         eat DestroyNotifys so that GDK can do its regular cleanup. 
740
741 2007-01-02  Michael Natterer  <mitch@imendio.com>
742
743         * gtk/gtkrange.c (gtk_range_scroll) (gtk_range_move_slider): beep
744         when a keybinding didn't change adjustment->value.
745
746 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
747
748         * gtk/gtktextbuffer.c (gtk_text_view_key_press_event):
749         Try harder not to beep on events which are not meant to
750         insert stuff in the buffer.  (#390514, Yevgen Muntyan) 
751
752 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
753
754         * gtk/gtktextbufferrichtext.c: Small documentation fixes.
755
756 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
757
758         * gtk/gtkentry.c (get_text_area_size): Center in the frame.  
759         (#304482, Rob Staudinger, patch by  Richard Stellingwerff)
760
761 2007-01-02  Michael Emmel  <mike.emmel@gmail.com>
762
763         * gdkwindow-directfb.c: fixed leak of dfb resource on destroy 
764
765 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
766
767         * gtk/gtkscrolledwindow.h:
768         * gtk/gtkscrolledwindow.c: Only handle key bindings
769         for scrolling if the scrollbars are visible.
770         (#340135, Christian Persch)
771
772 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
773
774         * gtk/gtktextview.c (gtk_text_view_scroll_hpages):
775         Don't segfault on horizontal scrolling.  
776
777 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
778
779         * gtk/gtknotebook.h:
780         * gtk/gtknotebook.c: Only handle key bindings for
781         tab reordering if the tabs are shown and reorderable. 
782         (#390468, Yevgen Muntyan)
783
784         * gtk/gtkmarshalers.list: Add required marshaler
785
786 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
787
788         * gtk/gtkcontainer.c (gtk_container_class_list_child_properties):
789         Mention in the docs that the return value is
790         NULL-terminated.  (#383373, Christian Neumair)
791
792 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
793
794         * gtk/gtkicontheme.c (load_themes): Waste less time
795         with non-directories.  (#391725, Chris Wilson)
796
797 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
798
799         * gtk/gtkcellrendererprogress.c: Implement activity mode
800         for GtkCellRendererProgress.  (#377851, Brad Taylor)
801
802 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
803
804         Fix some IPP compliance issues.  (#391523, Albrecht Dress)
805
806         * modules/printbackends/cups/gtkcupsutils.c
807         (gtk_cups_request_encode_option): Use IPP_TAG_JOB, not
808         IPP_TAG_OPERATION.
809         * modules/printbackends/cups/gtkprintbackendcups.c
810         (gtk_print_backend_cups_print_stream): Don't add the
811         requesting-user-name attribute a second time. 
812
813 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
814
815         * gtk/gtkimcontextsimple.c: Fix en/em dash confusion.  (#378462)
816
817 2006-12-31  Emmanuele Bassi  <ebassi@gnome.org>
818
819         * gtk/gtkrecentchoosermenu.c (set_recent_manager): Use the
820         right object when disconnecting from the GtkRecentManager::changed
821         signal; save us a few indirections using a variable.
822
823 2006-12-31  Emmanuele Bassi  <ebassi@gnome.org>
824
825         * gtk/gtkrecentchoosermenu.c: Move the signal and idle
826         disconnections into the dispose function, as well as the
827         object unrefs; reset every handler id and the
828         pointers. (suggested by Paolo Borelli, #390873)
829
830 2006-12-31  Matthias Clasen  <mclasen@redhat.com>
831
832         * gtk/gtkprintoperation-win32.c: Include windows.h (#391229,
833         Kazuki Iwamoto)
834
835 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
836
837         * gtk/gtktextview.c (gtk_text_view_destroy): Remove the
838         scroll timeout.  (#390872, Yevgen Muntyan)
839
840 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
841
842         * gtk/gtkprintoperation-unix.c:
843         * gtk/gtkprintbackend.c:
844         * gtk/gtkfilechooserdefault.c:
845         * gtk/gtksettings.c: Move a few settings to gtksettings.c
846         to make sure they show up in the docs.  (#365364, Christian
847         Persch)
848
849 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
850
851         * gtk/gtkassistant.c: Redraw assistant on reallocate
852         to avoid rendering glitches.  (#343956, Christian
853         Persch, Carlos Garnacho)
854
855 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
856
857         * gtk/gtkrange.c: Typo fix.  (#352121, Clytie Siddall)
858
859 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
860
861         * gtk/gtkaction.c: Improve the docs of the "label" 
862         property.  (#341730, Kristof Vansant)
863
864 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
865
866         * gtk/gtkwindow.c (gtk_window_compute_configure_request_size):
867         Correctly handle min size. (#320465, Philipp Langdale)
868
869 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
870
871         * gtk/prop-editor.c: Implement editing of flags.
872
873 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
874
875         * gtk/gtkentry.c:
876         * gtk/gtklabel.c:
877         * gtk/gtkpaned.c:
878         * gtk/gtkstatusbar.c:
879         * gtk/gtktextview.c: Don't install cursors on insensitive
880         widgets.  (#358864, Jan Schampera)
881
882 2006-12-29  Matthias Clasen  <mclasen@redhat.com>
883
884         * gtk/gtkrecentmanager.h:
885         * gtk/gtkprintoperation.c: Fix doc typos.  (#370909,
886         Shiino Yuki)
887
888         * gtk/gtkstyle.c (gtk_style_attach): Clarify docs.  (#353423,
889         Christian Persch)
890
891         * gtk/gtkentry.c (blink_cb):
892         * gtk/gtktextview.c (blink_cb): Don't die in an assertion
893         if focus went missing. Just warn, clean up and continue.
894         (#374378)
895
896 2006-12-29  Carlos Garnacho  <carlosg@gnome.org>
897
898         * gtk/gtknotebook.c (gtk_notebook_scroll): return if the widget that
899         originally received the event is a notebook page. (#315440, reported
900         by Mateusz Stefek)
901
902 2006-12-29  Matthias Clasen  <mclasen@redhat.com>
903
904         * gdk/gdkcolor.c (gdk_color_hash): Fix a typo. (#390613,
905         Paolo Borelli)
906
907 2006-12-29  Matthias Clasen  <mclasen@redhat.com>
908
909         * tests/prop-editor.c: Display children of containers
910         and cell renderers of cell layouts.
911
912         * gtk/gtk.symbols:
913         * gtk/gtkcelllayout.[hc] (gtk_cell_layout_get_cells):
914         New function to get the cell renderers of a cell layout.
915
916         * gtk/gtktreeviewcolumn.c:
917         * gtk/gtkcellview.c:
918         * gtk/gtkiconview.c: Implement get_cells.
919
920 2006-12-28  Matthias Clasen  <mclasen@redhat.com>
921
922         * gtk/gtkiconview.c: Use word wrapping by default, and
923         center multiline labels.  (#318763, Ross Burton)
924
925         * gtk/gtkcellrenderertext.c (get_layout): Remove a special
926         case for single-line layouts.
927
928 2006-12-28  Matthias Clasen  <mclasen@redhat.com>
929
930         * gtk/gtkarrow.c: Fix a typo in the docs.  (#390423,
931         David Lodge)
932
933         * gtk/gtkuimanager.c (update_node): Only use the results
934         of find_menu/toolbar_position() if they succeed. May fix
935         bug #388041.
936
937 2006-12-28  Matthias Clasen  <mclasen@redhat.com>
938
939         * gdk/gdk.c: Fix some formatting errors in docs.  
940
941 2006-12-28  Tor Lillqvist  <tml@novell.com>
942
943         * gtk/gtkstatusicon.c (gtk_status_icon_finalize)
944         (gtk_status_icon_update_image): Don't leak HICONs on
945         Win32. (#364868, Hiroyuki Yamamoto)
946
947 2006-12-28  Carlos Garnacho  <carlosg@gnome.org>
948
949         Make GtkNotebook able to drop detached tabs anywhere. Bug #360225.
950
951         * gtk/gtkwidget.c (gtk_widget_class_init): add "drag-failed" signal.
952         * gtk/gtkmarshalers.list: add new marshaler definition.
953         * gtk/gtkenums.h: add GtkDragResult enum.
954
955         * gtk/gtkdnd.c (gtk_drag_drop_finished): emit "drag-failed" if DND
956         operation wasn't successful.
957         (_gtk_drag_source_handle_event) (gtk_drag_drop)
958         (gtk_drag_selection_get) (gtk_drag_cancel) (gtk_drag_key_cb)
959         (gtk_drag_grab_broken_event_cb) (gtk_drag_grab_notify_cb)
960         (gtk_drag_button_release_cb) (gtk_drag_abort_timeout): tell
961         gtk_drag_drop_finished() the operation result.
962
963         * gtk/gtknotebook.c (gtk_notebook_drag_failed): new function.
964         (gtk_notebook_drag_data_get): do not call window creation hook here.
965         (gtk_notebook_init): do not set "application/x-rootwindow-drop"
966         target, instead connect to "drag-failed".
967         (gtk_notebook_draw_focus): fix potential crasher if cur_page is NULL.
968
969 2006-12-28  Mikael Hallendal  <micke@imendio.com>
970
971         * gdk/quartz/gdkevents-quartz.c: Factored out the event loop 
972         integration into gdkeventloop-quartz.c.
973
974         * gdk/quartz/Makefile.am: Added gdkeventloop-quartz.c
975
976         * gdk/quartz/gdkeventloop-quartz.c: New file containing the event loop 
977         integration.
978
979 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
980
981         * modules/printbackends/lpr/gtkprintbackendlpr.c 
982         (gtk_print_backend_lpr_print_stream): Close the io channel
983         on unref.  (#390159, Joe Markus Clarke)
984
985 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
986
987         * gdk/gdk.h: Remove redundant declarations (#390097,
988         Christian Persch)
989
990 2006-12-27  Kristian Rietveld  <kris@gtk.org>
991
992         Support inverting arrows via XSetting. (#377979, Yevgen Muntyan).
993
994         * gtk/gtksettings.c (gtk_settings_class_init): add new setting
995         gtk-alternative-sort-arrows.
996
997         * gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting): add
998         new setting.
999
1000         * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: set new
1001         gtk-alternative-sort-arrows setting to true.
1002
1003         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
1004         invert direction if gtk-alternative-sort-arrows is TRUE.
1005
1006 2006-12-27  Tor Lillqvist  <tml@novell.com>
1007
1008         * gtk/gtk.symbols: Add gtk_status_icon_get_screen and
1009         gtk_status_icon_set_screen.
1010
1011         * gtk/gtkstatusicon.c: Implement gtk_status_icon_position_menu()
1012         on Windows. Keep track of where the last button click on the
1013         taskbar icon took place, and return that. Obviously not correct if
1014         no button has ever been clicked on the icon, or if the geometry of
1015         the taskbar has changed since. But for most use cases where a menu
1016         is going to be displayed as a direct result of a button click on
1017         the status icon, works fine. (#377349)
1018
1019         Implement getting the orientation property on Windows.
1020
1021         (gtk_status_icon_embedded_changed)
1022         (gtk_status_icon_orientation_changed): Ifdefify these functions
1023         that are used only on X11.
1024
1025 2006-12-27  Tor Lillqvist  <tml@novell.com>
1026
1027         * gtk/gtkfilesystemwin32.c (execute_callbacks): Fix
1028         typo. (#390035, Kazuki Iwamoto)
1029
1030 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
1031
1032         * gtk/gtkcellview.c (gtk_cell_view_set_model): Accept NULL.
1033
1034         * gtk/gtkcombobox.c (gtk_combo_box_set_model):
1035         (gtk_combo_box_unset_model): Handle repeated unsetting
1036         of models without warnings.  (#367529, Robert Ancell)
1037
1038 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
1039
1040         * modules/printbackends/cups/gtkcupsutils.c: 
1041         * modules/printbackends/cups/gtkprintbackendcups.c: Use
1042         getters for http fields where available.  (#364866, 
1043         Björn Lindqvist)
1044
1045 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
1046
1047         * gtk/gtkwidget.c (gtk_widget_show): Add a g_return_if_fail.
1048         (#362614, Xan Lopez)
1049
1050 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
1051
1052         * gtk/gtkuimanager.c (update_node): If a required action
1053         is missing, don't recurse over the children.  (#349119,
1054         Chris Moller)
1055
1056 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
1057
1058         Fix a few problems with nested menus in comboboxes
1059         (#386694, Yevgen Muntyan)
1060
1061         * gtk/gtkcombobox.c (gtk_combo_box_menu_fill_level): Always
1062         connect the activate callback.
1063         (gtk_combo_box_menu_item_activate): Do nothing if called on
1064         an item with a submenu.
1065         (gtk_combo_box_menu_row_deleted): Remove a submenu when it
1066         is empty.
1067
1068 2006-12-26  Mariano Suárez-Alvarez  <mariano@gnome.org>
1069
1070         * gtk/gtkfilechooserbuuton.[hc]: Add a file-set signal to the
1071         filechooser button. Bug 353196.
1072
1073 2006-12-26  Kristian Rietveld  <kris@gtk.org>
1074
1075         * gtk/gtktreeview.c (gtk_tree_view_search_init): fix typo causing
1076         the search dialog timeout never to be refreshed. (#389581,
1077         Andrzej Szombierski).
1078
1079 2006-12-26  Kristian Rietveld  <kris@gtk.org>
1080
1081         Lots of scrolling fixes.  Made scrolling work properly in not fully
1082         validated tree views; fixed a bunch of corner cases.
1083
1084         * gtk/gtktreeview.c (validate_visible_area): if a row's dy is past
1085         upper - page_size, we know it is located at the end so the test for
1086         dy + height has been dropped.
1087         In the same case if area_below < 0, we know this is the last node
1088         in the tree view so area_above is page_size - height of this row.
1089         (validate_visible_area): got rid of subtracting new_height -
1090         old_height from area_{below,above}, it didn't make any sense at
1091         all and the full height of the row should be subtracted instead.
1092         (validate_visible_area): when scrolling to a given path, set the
1093         top row directly together with the dy offset, then sync that top_row
1094         to the dy.
1095         (gtk_tree_view_set_top_row): new function to directly set a top_row.
1096         (gtk_tree_view_dy_to_top_row): refactored to use
1097         gtk_tree_view_set_top_row().
1098         (gtk_tree_view_top_row_to_dy): make sure dy >= 0 when done.
1099         (gtk_tree_view_adjustment_changed): only update our dy and
1100         top_row if the adjustment's dy actually changed.
1101
1102 2006-12-26  Christian Persch  <chpe@cvs.gnome.org>
1103
1104         * gtk/gtknotebook.c: (gtk_notebook_real_insert_page):
1105         Return the correct value from gtk_notebook_insert_page if the
1106         page-added handler reorders the tabs. Bug #345094.
1107
1108 2006-12-26  Carlos Garnacho  <carlosg@gnome.org>
1109
1110         Fix small regressions in GtkNotebook tab detaching. Bug #378852.
1111
1112         * gtk/gtknotebook.c (gtk_notebook_do_arrow): grab focus to allow tabs
1113         scrolling when hovering with a detached tab.
1114         (gtk_notebook_stop_reorder): Do not deparent the wrong tab if the
1115         focus tab has changed during a tab DND operation.
1116         (gtk_notebook_drag_end): ensure that the dropped tab gets focused.
1117         (gtk_notebook_paint): do not take cur_page as a reference to paint the
1118         box if it's detached.
1119         (gtk_notebook_calculate_tabs_allocation): focus_tab may be different
1120         to the detached tab if we hover the arrows during a tabs detaching 
1121         operation, do not allocate it unconditionally in 0,0.
1122
1123 2006-12-26  Carlos Garnacho  <carlosg@gnome.org>
1124
1125         Expose improvements for GtkNotebook. Bug #383435
1126
1127         * gtk/gtknotebook.c (gtk_notebook_expose): propagate the event to tab
1128         labels.
1129         (gtk_notebook_draw_focus): do not repaint the whole focused tab again.
1130         (gtk_notebook_draw_tab): do not send handmade expose events to tab
1131         labels.
1132
1133 2006-12-26  Matthias Clasen  <mclasen@redhat.com>
1134
1135         * gtk/gtkfilesystemunix.c (execute_callbacks): Return
1136         FALSE.  (#389623, Carlos Garnacho Parro)
1137
1138         * gtk/gtkrange.c (stop_scrolling): Avoid spurious
1139         redraws.
1140
1141 2006-12-25  Christian Persch  <chpe@cvs.gnome.org>
1142
1143         * gtk/gtkplug.c: (gtk_plug_construct_for_display),
1144         (gtk_plug_unrealize): Notify the "embedded" property also on
1145         normal construction and when destroying the socket window.
1146         Bug #388738.
1147
1148 2006-12-25  Christian Persch  <chpe@cvs.gnome.org>
1149
1150         * gtk/gtkaboutdialog.c: (gtk_about_dialog_class_init),
1151         (gtk_about_dialog_init), (display_credits_dialog),
1152         (display_license_dialog):
1153         * gtk/gtkfilechooserdialog.c: (gtk_file_chooser_dialog_class_init),
1154         (gtk_file_chooser_dialog_init),
1155         (gtk_file_chooser_dialog_constructor),
1156         (gtk_file_chooser_dialog_unmap):
1157         * gtk/gtkrecentchooserdefault.c:
1158         (_gtk_recent_chooser_default_init):
1159         * gtk/gtkrecentchooserdialog.c:
1160         (gtk_recent_chooser_dialog_class_init),
1161         (gtk_recent_chooser_dialog_init),
1162         (gtk_recent_chooser_dialog_constructor),
1163         (gtk_recent_chooser_dialog_unmap): Set the HIG spacings directly
1164         instead of using style-set handlers. Fix the filechooser's spacing
1165         between content and action area to 12px. Bug #372447.
1166
1167 2006-12-25  Christian Persch  <chpe@cvs.gnome.org>
1168
1169         * gtk/gtkstatusbar.c: (gtk_statusbar_size_allocate):
1170         Don't assume statusbar->label is the statusbar's frame's child when
1171         shrinking the size allocation when the grip is shown. Bug #372452.
1172
1173 2006-12-25  Christian Persch  <chpe@cvs.gnome.org>
1174
1175         * gtk/gtkpagesetupunixdialog.c: (printer_status_cb),
1176         (add_custom_paper): Fix mem leaks. Bug #389194.
1177
1178 2006-12-24  Matthias Clasen  <mclasen@redhat.com>
1179
1180         * gtk/gtktextutil.c: Remove debug output.
1181
1182         * gtk/gtktextview.c: Improve the DND scrolling
1183         behaviour.  (#92387, Carlos Garnacho Parro)
1184
1185         * gtk/gtkaccellabel.c: Improve translators comments.  
1186         (#389298, Christian Persch)
1187
1188 2006-12-24  Bastien Nocera  <hadess@hadess.net>
1189
1190         * gtk/gtkrecentmanager.c: Fix typo (s/expansive/expensive)
1191         (#389183)
1192
1193 2006-12-24  Christian Persch  <chpe@cvs.gnome.org>
1194
1195         * docs/reference/gtk/gtk-sections.txt:
1196         * gtk/gtk.symbols:
1197         * gtk/gtkpagesetupunixdialog.c: (fill_paper_sizes_from_printer):
1198         * gtk/gtkprinter-private.h:
1199         * gtk/gtkprinter.c: (gtk_printer_list_papers):
1200         * gtk/gtkprinter.h: Make gtk_printer_list_papers public. Bug #345587.
1201
1202 2006-12-24  Carlos Garcia Campos  <carlosgc@gnome.org>
1203
1204         * gtk/gtkpagesetupunixdialog.c: Don't ignore reverse portrait option
1205         when is selected in page setup dialog. Fixes bug #365047.
1206
1207 2006-12-24  Behdad Esfahbod  <behdad@gnome.org>
1208
1209         * gtk/gtkentry.c (_gtk_entry_effective_inner_border):
1210         Use gtk_border_free when freeing border.
1211
1212 2006-12-24  Matthias Clasen  <mclasen@redhat.com>
1213
1214         * gtk/gtkentry.c (gtk_entry_button_press): When
1215         shift-clicking, keep the larger part of the selection
1216         selected.  (#353709, Benjamin Otte)
1217
1218         * gtk/gtkbutton.c (gtk_button_get_props): Use 
1219         gtk_border_free when freeing borders.
1220
1221         * gtk/gtkbutton.c (gtk_button_grab_notify): Be more
1222         careful when faking a button release.  (#323146,
1223         Travis Abbott)
1224
1225         * gtk/gtkhandlebox.c (draw_textured_frame): Draw the
1226         handle with the right orientation, depending on the
1227         position of the handlebox.  (#159764, Benjamin Berg)
1228
1229 2006-12-24  Behdad Esfahbod  <behdad@gnome.org>
1230
1231         * gtk/gtkstyle.c (gtk_border_copy), (gtk_border_free): Use gslice for
1232         GtkBorder (#383557).
1233
1234 2006-12-24  Behdad Esfahbod  <behdad@gnome.org>
1235
1236         Bug 340141 – Update to Pango 1.16 API
1237
1238         * gdk/gdkpango.c (layout_iter_get_line_clip_region),
1239         (gdk_pango_layout_line_get_clip_region):
1240         * gtk/gtkcalendar.c (gtk_calendar_size_request):
1241         * gtk/gtkentry.c (gtk_entry_get_pixel_ranges),
1242         (get_layout_position), (gtk_entry_find_position),
1243         (gtk_entry_adjust_scroll):
1244         * gtk/gtkiconview.c (get_pango_text_offsets):
1245         * gtk/gtklabel.c (get_cursor_direction):
1246         * gtk/gtkstyle.c (get_insensitive_layout):
1247         * gtk/gtktextdisplay.c (render_para):
1248         * gtk/gtktextlayout.c (allocate_child_widgets),
1249         (find_display_line_below), (find_display_line_above),
1250         (gtk_text_layout_move_iter_to_previous_line),
1251         (gtk_text_layout_move_iter_to_next_line),
1252         (gtk_text_layout_move_iter_to_line_end),
1253         (gtk_text_layout_iter_starts_line),
1254         (gtk_text_layout_move_iter_to_x):
1255         * gtk/gtktextutil.c (limit_layout_lines):
1256         Use the _readonly version of pango_layout_iter_get_line(),
1257         pango_layout_iter_get_run(), pango_layout_get_line(), and
1258         pango_layout_get_lines().
1259
1260         * gtk/gtkmain.c (gtk_get_default_language): Use
1261         pango_get_default_language().
1262
1263 2006-12-24  Matthias Clasen  <mclasen@redhat.com>
1264
1265         * gtk/gtkentry.c (gtk_entry_set_text): Emit changed
1266         and notify:text only once. The same fix was applied
1267         for replacing the selection via DND or copy-and-paste.
1268         (#64998, Damon Chaplin, Sven Herzberg)
1269
1270 2006-12-23  Matthias Clasen  <mclasen@redhat.com>
1271
1272         * gtk/gtkimmulticontext.c: Be careful to not override
1273         GTK+ translations with the translations of the input
1274         method.  (#317080, Tor Lillqvist)
1275
1276         * modules/input/imcedilla.c: Use standard macros
1277         for translation domain and locale dir.
1278
1279         * gtk/gtkimcontextsimple.c: Allow composing l with 
1280         stroke.  (#349638, Daniel Lublin)
1281
1282         * gtk/gen-paper-names.c: Fix a thinko in the suffix
1283         calculation.  (#382369, Christian Persch)
1284
1285         * gtk/paper_names_offsets.c: Regenerated.
1286
1287 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
1288
1289         * modules/engines/pixbuf/pixbuf.h:
1290         * modules/engines/pixbuf/pixbuf-rc-style.h:
1291         * modules/engines/pixbuf/pixbuf-style.h: Move 
1292         G_GNUC_INTERNAL before function declarations.  (#352276,
1293         Damien Carbery)
1294
1295 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
1296
1297         * demos/gtk-demo/*.c: Fix some leaks.  (#348108, Chris
1298         Wilson)
1299
1300 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
1301
1302         * *.c: Replace a lot of idle and timeout calls by
1303         the new gdk_threads api. 
1304
1305         * gdk/gdk.symbols:
1306         * gdk/gdk.h:
1307         * gdk/gdk.c: Add functions to allow threadsafe handling
1308         of idles and timeouts wrt. to the GDK lock.  (#321886,
1309         Chris Wilson)
1310         
1311 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
1312         
1313         * gdk/gdkpango.c: Use pango_cairo_show_error_underline.  
1314         (#340141, Behdad Esfahbod)
1315
1316         * configure.in: Check for getc_unlocked.
1317
1318         * gtk/xdgmime/xdgmimemagic.c: Use getc if getc_unlocked is
1319         unavailable.   (#381499)
1320
1321         * tests/teststatusicon.c: Fix a typo
1322
1323 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
1324
1325         Make it possible to track the embeddedness of
1326         statusicon (#387215, Martyn Russell, patch by Christian
1327         Persch)
1328
1329         * gtk/gtkstatusicon.c: Add orientation and embedded properties.
1330         * gtk/gtkplug.c: 
1331         * gtk/gtkplug-x11.c: Add an embedded property.
1332         * tests/teststatusicon.c: Test the new properties.
1333
1334         * gtk/gtkwidget.c (gtk_widget_get_draw_rectangle): Don't
1335         leak draw_border.  (#387170, Kjartan Maraas)
1336
1337 2006-12-21  Matthias Clasen  <mclasen@redhat.com>
1338
1339          * gtk/gtkfilechooserembed.c (_gtk_file_chooser_embed_set_delegate()):
1340         Typo fix.  (#388123, Murray Cumming)
1341         
1342         * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event):
1343         Generate double-click events.  (#380421, Tommi Komulainen)
1344
1345         * gdk/x1/gdkinput-xfree.c (_gdk_input_configure_event):
1346         (_gdk_input_enter_event): Correct return_if_fail checks.
1347         (#379803, Tommi Komulainen)
1348
1349         * gdk/gdkdisplay.c: Improve the docs of some functions operating
1350         on the default display.  (##353438, Mariano Suárez-Alvarez)
1351
1352 2006-12-21  Matthew Barnes  <mbarnes@redhat.com>
1353
1354         * docs/reference/gdk/gdk-sections.txt:
1355         * gdk/gdkcolor.[ch] (gdk_color_to_string): Add a function for
1356         converting a GdkColor to a string (#373856).
1357
1358         * configure.in: Bump pango requirement to 1.15.2.
1359
1360 2006-12-20  Matthias Clasen  <mclasen@redhat.com>
1361         
1362         * gdk/keynames.txt: Mark arrow keys as translatable.  (#369506,
1363         Bastian Nocera)
1364
1365         * gdk/keyname-table.h: Regenerated
1366
1367         * gtk/gtktextbuffer.c: Add signal documentation.  (#317064,
1368         Søren Wedel Nielsen)
1369
1370         * gtk/gtktextview.c (gtk_text_view_start_selection_drag):
1371         Silently return if a drag is already in progress, rather
1372         than asserting.  (#335622, Li Yuan, testcase by Erwann Chenede)
1373
1374         * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_new_with_dialog):
1375         Allow any GtkDialog that implements GtkFileChooser as
1376         dialog.  (#335473, Tommi Komulainen)
1377
1378 2006-12-20  Mikael Hallendal  <micke@imendio.com>
1379
1380         * gtk/gtkstatusicon.c: (gtk_status_icon_init): Fixed a last minute
1381         change in the quartz backend.
1382
1383 2006-12-20  Mikael Hallendal  <micke@imendio.com>
1384
1385         * gtk/Makefile.am: Added gtkstatusicon-quartz.c
1386         * gtk/gtkstatusicon-quartz.c: Implements the quartz backend for the
1387         status icon.
1388         * gtk/gtkstatusicon.c: Hooked in the new quartz backend. Bug #387874.
1389
1390 2006-12-19  Matthias Clasen  <mclasen@redhat.com>
1391
1392         * gtk/gtkprintunixdialog.c: Add a tooltip explaining the
1393         format of page ranges, and improve the page sequence icon
1394         for the case of n_copies == 1.
1395  
1396 2006-12-19  Mikael Hallendal  <micke@imendio.com>
1397
1398         * gdk/quartz/gdkcursor-quartz.c: Splitted out the GdkPixbuf to NSImage
1399         routine so that it can be used from libgtk as well (needed for
1400         upcoming GtkStatusIcon support in the Quartz port).
1401         * gdk/quartz/gdkevents-quartz.c: Don't assume that all NSWindows are
1402         created from GDK, this is not true for the status icon.
1403         * gdk/quartz/gdkprivate-quartz.h:
1404         * gdk/quartz/gdkquartz.h: Added 
1405         gdk_quartz_pixbuf_to_ns_image_libgtk_only so that it is available to 
1406         the status icon code.
1407
1408 2006-12-16  Tristan Van Berkom <tvb@gnome.org>
1409
1410         * gtk/gtkmessagedialog.c: Added return_if_fail (image) to
1411         gtk_message_dialog_set_image ()
1412
1413         * gtk/gtkscrolledwindow.c: Fixed a bug in set_property()
1414         (setting "window-placement-set" could result in a crash because
1415         of boolean/enum mixup)
1416
1417 2006-12-15  Federico Mena Quintero  <federico@novell.com>
1418
1419         Merged from gtk-2-10:
1420
1421         * gtk/gtkmenu.c (gtk_menu_set_title): Don't try to optimize for
1422         the case where the new title is the same as the old title, to
1423         preserve the behavior from GTK+ 2.8 (NULL and "" titles are not
1424         equivalent).  Handle the case where title == priv->title.  This
1425         was found by the LSB compatibility tests:
1426         https://bugzilla.novell.com/show_bug.cgi?id=223882
1427
1428 2006-12-15  Dom Lachowicz <domlachowicz@gmail.com>
1429
1430         * gtk/gtkcombobox.c: Make GtkComboBox in "appears-as-list" mode
1431         more closely resemble its Win32 counterpart. Bug #340204.
1432
1433 2006-12-14  Carlos Garnacho  <carlosg@gnome.org>
1434
1435         * gtk/gtkcalendar.c: draw arrows pointing to the right correctly
1436         placed inside their GdkWindow. Bug #385672.
1437
1438 2006-12-14  Christian Persch  <chpe@cvs.gnome.org>
1439
1440         * gtk/gtkiconview.c: Fix docs typo. Bug #385642.
1441
1442 2006-12-13  Dom Lachowicz <domlachowicz@gmail.com>
1443
1444         * src/modules/engines/ms-windows/msw_style.c: Bug 351679 - Notebooks 
1445         drawn with extra line below tab in MS-Windows theme. Patch by 
1446         Cody Russell
1447         
1448 2006-12-13  Matthias Clasen  <mclasen@redhat.com>
1449
1450         * gtk/Makefile.am: Add --unlink-tempfile to the evince call
1451         for print preview.  (#370041, Ghee Teo)
1452
1453 2006-12-11  Matthias Clasen  <mclasen@redhat.com>
1454
1455         * gtk/gtkprogressbar.c (gtk_progress_bar_paint_text): Be more
1456         careful when overdrawing antialiased text.  (#352435, Alex Jones,
1457         patch by Benjamin Otte)
1458
1459         * gtk/gtksettings.c: Change the way in which color scheme information
1460         is merged to correctly handle vanishing colors.  (#374420, 
1461         Benjamin Berg, patch by Callum McKenzie) 
1462         Also allow to separate entries in color schemes by ';' 
1463         instead of newline.  
1464
1465 2006-12-10  Matthias Clasen  <mclasen@redhat.com>
1466
1467         * modules/printbackends/cups/gtkcupsutils.c (gtk_cups_request_encode_option): 
1468         Properly pass multi-value options to cups.  (#355350, Jürg Billeter) 
1469
1470 2006-12-10  Kristian Rietveld  <kris@gtk.org>
1471
1472         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_focus_out_event):
1473         cancel editing (ie. don't accept changes) when the entry loses
1474         focus. (Fixes #164494, reported by Chris Rouch).
1475
1476 2006-12-10  Matthias Clasen  <mclasen@redhat.com>
1477
1478         * configure.in: Correct a misapplied patch. 
1479
1480 2006-12-10  Tor Lillqvist  <tml@novell.com>
1481
1482         * gtk-zip.sh.in: Put gdk-pixbuf-query-loaders.exe and
1483         gtk-query-immodules-2.0.exe in the runtime zipfile instead of
1484         developer zipfile. Users might add pixbuf loaders or immodules
1485         even if they are not interested in developing gtk+-using software.
1486
1487 2006-12-10  Matthias Clasen  <mclasen@redhat.com>
1488
1489         * configure.in: Check for crt_extern.h and _NSGetEnviron.
1490         * gdk/x11/gdkspawn-x11.c: Fix compilation on Darwin where
1491         environ is not available.  (#384168, Min Sik Kim)
1492
1493 2006-12-07  Paolo Maggi  <paolo@gnome.org>
1494
1495         Fixes bug #383407
1496         
1497         * gtk/gtkentry.c (gtk_entry_set_text): check for
1498         completion->priv->changed_id > 0 before calling 
1499         g_signal_handler_[un]block.
1500         (gtk_entry_completion_key_press): does not block/unblock the "changed"
1501         signal before calling gtk_entry_set_text.
1502         
1503 2006-12-07  Carlos Garnacho  <carlosg@gnome.org>
1504
1505         * gtk/gtkcellrendererprogress (compute_dimensions): do not use
1506         xthickness/ythickness, they aren't used any longer for drawing.
1507
1508 2006-12-07  Matthias Clasen  <mclasen@redhat.com>
1509
1510         * gtk/gtkrc.c (_gtk_rc_init): Fix clipping of accelerator
1511         underlines by giving labels a small draw-border.
1512
1513 2006-12-06  Kristian Rietveld  <kris@gtk.org>
1514
1515         * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_render):
1516         draw progress bar through theme engine instead of using our own
1517         custom cairo drawing code (#377244, patch from Carlos Garnacho).
1518
1519 2006-12-06  Matthias Clasen  <mclasen@redhat.com>
1520
1521         * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities):
1522         Update the sensitivity of the collate checkbutton more frequently,
1523         proposed by Tim Waugh.
1524
1525 2006-12-04  Matthias Clasen  <mclasen@redhat.com>
1526
1527         * gtk/gtkmessagedialog.c (setup_type): Set a11y name and role
1528         since we no longer set window titles.
1529
1530 2006-12-04  Christian Persch  <chpe@cvs.gnome.org>
1531
1532         * gtk/gtkpagesetup.c: (gtk_page_setup_get_paper_size),
1533         (gtk_page_setup_set_paper_size): Don't leak the old page size when
1534         setting a new one. Bug #382314.
1535
1536 2006-12-03  Michael Natterer  <mitch@gimp.org>
1537
1538         * gtk/gtktextview.c: remove FIXME #include that is no longer needed.
1539
1540 2006-12-03  Kristian Rietveld  <kris@gtk.org>
1541
1542         Make sure [xy]_offset are always being initialized, fix pixbuf
1543         renderer padding.  (#108235, Sven Neumann).
1544
1545         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_get_size),
1546         (gtk_cell_renderer_pixbuf_render): add padding in _render instead
1547         of _get_size.
1548
1549         * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_get_size):
1550         always initialize [xy]_offset.
1551         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): ditto.
1552         * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_size):
1553         ditto.
1554
1555 2006-12-03  Kristian Rietveld  <kris@gtk.org>
1556
1557         * gtk/gtktreeview.c (validate_visible_area): when not using an
1558         explicit alignment, use the full area of the row (not just dy)
1559         to determine how to implicitly align it.  (Fixes #363191, reported
1560         by Federico Mena Quintero).
1561
1562 2006-12-02  Matthias Clasen  <mclasen@redhat.com>
1563
1564         * gtk/gtkicontheme.c (insert_theme): Properly clean up
1565         if an icon theme index file has no directories.  (#381236)
1566
1567 2006-12-02  Dom Lachowicz <domlachowicz@gmail.com>
1568
1569         * src/modules/engines/ms-windows/msw_style.c: Bug 351678 - Notebooks 
1570         not with PositionType.Top drawn incorrectly. Patch by Cody Russell
1571         
1572 2006-11-28  Behdad Esfahbod  <behdad@gnome.org>
1573
1574         Remove the broken Thai input method and add a functional Thai and Lao
1575         input method by Theppitak Karoonboonyanan. (#81031)
1576
1577         * modules/input/imthai.c:
1578         * modules/input/gtkimcontextthai.c:
1579         * modules/input/gtkimcontextthai.h:
1580         * modules/input/thai-charprop.c:
1581         * modules/input/thai-charprop.h:
1582         Added.
1583
1584         * modules/input/imthai-broken.c:
1585         Removed.
1586         
1587         * modules/input/Makefile.am:
1588         Updated.
1589
1590 2006-11-27  Christian Persch  <chpe@cvs.gnome.org>
1591
1592         * gtk/gtkstatusicon.c: Notify when the screen changes. Bug #379793.
1593
1594 Mon Nov 27 12:27:06 2006  Tim Janik  <timj@imendio.com>
1595
1596         * gtk/gtktextview.c: applied patch by  Colin Leroy for
1597         Control+GDK_KP_Left to move one word to the left, #356255.
1598
1599 2006-11-26  Benjamin Berg  <benjamin@sipsolutions.net>
1600
1601         * gtk/gtkstyle.c: (gtk_default_draw_flat_box): Protect against NULL
1602           widget. (#379503)
1603
1604 2006-11-25  Matthias Clasen  <mclasen@redhat.com>
1605
1606         * modules/printbackends/cups/gtkprintbackendcups.c: Make
1607         print dialog work when 'BrowseShortNames Off' is specified
1608         in cups configuration. Patch by Tim Waugh.
1609
1610 2006-11-24  Michael Natterer  <mitch@imendio.com>
1611
1612         * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): if we
1613         can't go up/down, consult gtk_widget_keynav_failed() and leave the
1614         widget if it returns FALSE (bug #322640).
1615
1616 2006-11-23  Behdad Esfahbod  <behdad@gnome.org>
1617
1618         * gtk/gtkmain.c: Fix minor typo in docs. (#378632, Hannes Mueller)
1619
1620 2006-11-22  Emmanuele Bassi  <ebassi@gnome.org>
1621
1622         * gtk/gtkrecentmanager.c:
1623         (get_uri_shortname_for_display): g_filename_from_uri() might
1624         fail; catch the failure and fall back to the non-local URI
1625         case. (#363437)
1626
1627 2006-11-19  Mark McLoughlin  <mark@skynet.ie>
1628
1629         Fixes bug #376502 - multi-screen support for GtkStatusIcon
1630
1631         * gtk/gtkstatusicon.[ch]:
1632         (gtk_status_icon_set_screen),
1633         (gtk_status_icon_get_screen): add multi-screen API. Allows
1634         an app to display an icon on a non-default screen
1635         (gtk_status_icon_class_init),
1636         (gtk_status_icon_set_property),
1637         (gtk_status_icon_get_property): add a "screen" property
1638         
1639         * tests/teststatusicon.c: update to test on multiple screens
1640
1641 2006-11-17  Matthias Clasen  <mclasen@redhat.com>
1642
1643         Fix problems with drag cancellation. (#376535, Michael Natterer)
1644         
1645         * gtk/gtkdnd.c (gtk_drag_source_info_destroy): Disconnect signal
1646         handlers before emitting drag-end.
1647         (gtk_drag_end): Disconnect signal handlers before removing
1648         the grab.  
1649
1650 2006-11-16  Mariano Suárez-Alvarez <mariano@gnome.org>
1651
1652         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
1653         add gtk-doc blurb on GtkCellRendererText::edited (#376094)
1654
1655 2006-11-16  Michael Natterer  <mitch@imendio.com>
1656
1657         * gtk/gtkradiobutton.c (gtk_radio_button_focus): don't use
1658         gtk_widget_keynav_failed(). Instead, look at gtk-keynav-cursor-only
1659         and gtk-keynav-wrap-around and wrap around, beep or continue outside
1660         the group manually (bug #322640).
1661
1662 2006-11-16  Michael Natterer  <mitch@imendio.com>
1663
1664         Add new infrastructure for notifications of failed keyboard
1665         navigation and navigation with restricted set of keys.
1666
1667         The patch handles configurable beeping, navigating the GUI with
1668         cursor keys only (as in phone environments), and configurable
1669         wrap-around. Fixes bugs #322640, #70986, #318827, #334726, #334742
1670         and #309291.
1671
1672         * gtk/gtksettings.c: added properties gtk-keynav-cursor-only,
1673         gtk-keynav-wrap-around and gtk-error-bell.
1674
1675         * gtk/gtkwidget.[ch]: added new signal "keynav-failed" and public
1676         API to emit it. Added New function gtk_widget_error_bell() which
1677         looks at the gtk-error-bell setting and calls gdk_window_beep()
1678         accordingly.
1679
1680         * gtk/gtk.symbols: add the new widget symbols.
1681
1682         * gtk/gtkcellrendereraccel.c
1683         * gtk/gtkimcontextsimple.c
1684         * gtk/gtkmenu.c
1685         * gtk/gtknotebook.c: use gtk_widget_error_bell() or look at the
1686         gtk-error-bell setting instead of calling gdk_display_beep()
1687         unconditionally.
1688
1689         * gtk/gtkcombobox.c
1690         * gtk/gtkentry.c
1691         * gtk/gtkiconview.c
1692         * gtk/gtklabel.c
1693         * gtk/gtkmenushell.c
1694         * gtk/gtkspinbutton.c
1695         * gtk/gtktextview.c
1696         * gtk/gtktreeview.c: call gtk_widget_error_bell() on failed keynav.
1697
1698         * gtk/gtkentry.c
1699         * gtk/gtklabel.c
1700         * gtk/gtkrange.c
1701         * gtk/gtktextview.c: consult gtk_widget_keynav_failed() on failed
1702         cursor navigation and leave the widget if it returns FALSE.
1703
1704         * gtk/gtkmenushell.c
1705         * gtk/gtknotebook.c: only wrap around if gtk-keynav-wrap-around
1706         is TRUE.
1707
1708         * gtk/gtkradiobutton.c: ask gtk_widget_keynav_failed() to decide
1709         whether to to wrap-around, and don't select active items on cursor
1710         navigation if gtk-keynav-cursor-only is TRUE. Should look at
1711         gtk-keynav-wrap-around too, will look into that.
1712
1713 2006-11-16  Emmanuele Bassi  <ebassi@gnome.org>
1714
1715         * gtk/gtkrecentmanager.c:
1716         (gtk_recent_info_get_uri_display): Return the URI
1717         of the GtkRecentInfo object (upgraded to UTF-8 if
1718         needed) in case of non-local file. (#351945)
1719
1720 2006-11-16  Emmanuele Bassi  <ebassi@gnome.org>
1721         
1722         * gtk/gtkrecentchoosermenu.c:
1723         (gtk_recent_chooser_menu_add_tip): Apply the tip only
1724         if we have a displayable name for the item. (#365031,
1725         patch by padraig.obriain(at)sun.com)
1726
1727 2006-11-16  Emmanuele Bassi  <ebassi@gnome.org>
1728
1729         * gtk/gtkrecentmanager.c: Provide a fast path returning
1730         NULL when the limit is set to 0.
1731
1732         * gtk/gtkrecentchooserdefault.c:
1733         * gtk/gtkrecentchoosermenu.c: Add the same fast path
1734         inside the RecentChooser implementation; add a check
1735         in the list clamping code. (#373466 and duplicates)
1736
1737 2006-11-15  Matthias Clasen  <mclasen@redhat.com>
1738
1739         * modules/printbackends/cups/gtkprintbackendcups.c (cups_printer_get_options): 
1740         Don't pass NULL to strncpy.  (#359537, patch by  Carlos Garcia Campos)
1741
1742 2006-11-15  Michael Natterer  <mitch@imendio.com>
1743
1744         * gtk/gtkrange.[ch]: added properties "fill-level",
1745         "show-fill-level" and "restrict-to-fill-level" and getters/setters
1746         for them. The "fill level" is an additional marker on the range's
1747         trough than can be e.g. used to indicate the amount of
1748         pre-buffering in a range showing the play position of streamed
1749         media. See the embedded API docs for details. Made GtkRangeLayout
1750         a GTypeInstance private struct and removed finalize()
1751         implementation. Fixes bug #349808
1752
1753         * gtk/gtk.symbols: added the new symbols.
1754
1755 2006-11-14  Behdad Esfahbod  <behdad@gnome.org>
1756
1757         * configure.in: Make libtool magic robust. (#352795)
1758
1759 2006-11-13  Paolo Borelli  <pborelli@katamail.com>
1760
1761         * gtk/gtkrc.c (gtk_rc_parse_icon_source): plug small memory
1762         leak (#370395)
1763
1764 2006-11-09  Kristian Rietveld  <kris@imendio.com>
1765
1766         * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): disable
1767         don't move cursor case for SELECTION_NONE. (#371756, John Ellis).
1768
1769 2006-11-09  Carlos Garnacho  <carlosg@gnome.org>
1770
1771         * gtk/gtkpathbar.c (on_slider_unmap): Fix parenthesis confusion.
1772
1773 2006-11-08  Carlos Garnacho  <carlosg@gnome.org>
1774
1775         * gtk/gtkpathbar.c (on_slider_unmap): added, do not leave the scroll
1776         timeout running if the slider buttons are hidden. (#372527)
1777
1778 2006-11-08  Christian Persch  <chpe@cvs.gnome.org>
1779
1780         * gtk/gtkfilechooserdefault.c (browse_widgets_create): Don't make
1781         the "Location" label bold. Bug #372449.
1782
1783 2006-11-07  Carlos Garnacho  <carlosg@gnome.org>
1784
1785         * gtk/gtknotebook.c (gtk_notebook_calculate_tabs_allocation): make
1786         non-focused tabs xthickness/ythickness thinner. (#353962)
1787
1788 2006-11-07  Paolo Borelli  <pborelli@katamail.com>
1789
1790         * gtk/gtktextbtree.c (_gtk_text_btree_delete): avoid memory
1791         corruption (#357050).
1792
1793 2006-11-06  Alexander Larsson  <alexl@redhat.com>
1794
1795         * gtk/gtkdnd.c: (gtk_drag_begin_internal),
1796         (gtk_drag_source_info_destroy), (gtk_drag_end),
1797         (gtk_drag_grab_notify_cb):
1798         Cancel drag when the grab is shadowed. (#122688)
1799
1800 2006-11-01  Kristian Rietveld  <kris@imendio.com>
1801
1802         * gtk/gtkcombobox.c (gtk_combo_box_class_init),
1803         (gtk_combo_box_size_request): add arrow-size property to control
1804         the minimum size of the arrow, have the arrow scale up with the
1805         font by default. (#357950).
1806
1807 2006-10-30  Kristian Rietveld  <kris@gtk.org>
1808
1809         * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): don't
1810         forget to queue a draw for the new cursor node. (Fixes #366548,
1811         reported by Sven Herzberg).
1812
1813 2006-10-30  Michael Natterer  <mitch@imendio.com>
1814
1815         * gtk/gtkrange.c (gtk_range_key_press): consume the Escape key
1816         only if we actually cancel a drag. Fixes bug #58389.
1817
1818 2006-10-30  Kristian Rietveld  <kris@gtk.org>
1819
1820         * gtk/gtktreeview.c (gtk_tree_view_class_init): change left/right
1821         keybindings to collapse/expand rows instead of moving the focus
1822         cursor. (#105895, Brian Bober and others).
1823
1824 2006-10-29  Kristian Rietveld  <kris@gtk.org>
1825
1826         * gtk/gtktreeview.c (gtk_tree_view_real_expand_row): guard against
1827         child removal in row-expanded callback. (#366782, John Ellis).
1828
1829 2006-10-29  Tor Lillqvist  <tml@novell.com>
1830
1831         * gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Improve handling
1832         of the small icon of the window class. (#152620, Kazuki Iwamoto)
1833
1834 2006-10-29  Tor Lillqvist  <tml@novell.com>
1835
1836         * gdk/win32/gdkcursor-win32.c
1837         (gdk_win32_icon_to_pixbuf_libgtk_only): Implement for B&W cursors,
1838         for instance the built-in GDK ones.
1839
1840 2006-10-27  Kristian Rietveld  <kris@gtk.org>
1841
1842         * gtk/gtktreeview.c (validate_visible_area): rework the area_above == 0
1843         case to not overwrite the variables in the lower scope (which are
1844         used later on ...), get the path correctly and bail out when there
1845         isn't a node above us. (#359231).
1846
1847 2006-10-26  Christian Persch  <chpe@cvs.gnome.org>
1848
1849         * gtk/gtkaboutdialog.c: Put initial focus on Close button (#337261).
1850
1851 2006-10-25  Johan Dahlin  <jdahlin@async.com.br>
1852
1853         * gtk/gtk.symbols: Add missing symbols to so make check can pass
1854
1855 2006-10-23  Dom Lachowicz <domlachowicz@gmail.com>
1856
1857         * src/modules/engines/ms-windows/msw_style.c (draw_expander): Remember
1858         to free GDI Pen resources, introduced by bug 340201.(#364514)
1859         
1860 2006-10-18  Kristian Rietveld  <kris@imendio.com>
1861
1862         * tests/testcombo.c (main): connect to notify::popup-shown instead of
1863         popup-show (the latter does not exist).
1864
1865 2006-10-15  Paolo Borelli  <pborelli@katamail.com>
1866
1867         * gtk/gtkicontheme.c (pixbuf_supports_svg): plug memory leak.
1868         Fixes bug #362439.
1869
1870 2006-10-12  Michael Natterer  <mitch@imendio.com>
1871
1872         * gtk/gtkcombobox.c (gtk_combo_box_class_init): fix commit below
1873         (committed the wrong patch).
1874
1875 2006-10-12  Michael Natterer  <mitch@imendio.com>
1876
1877         * gtk/gtkcombobox.c: added "move-active" and "popup" signals and
1878         bindings to trigger them. Removed gtk_combo_box_key_press(), it's
1879         obsolete now. Fixes bug #358293.
1880
1881 2006-10-11  Michael Emmel  <mike.emmel@gmail.com>
1882
1883         * gdkpixmap-directfb.c: add missing RGB24 case (#361176) 
1884
1885 2006-10-11  Tor Lillqvist  <tml@novell.com>
1886
1887         * configure.in: Enable having some gdk-pixbuf loaders built-in
1888         even if loading the others dynamically. Define Automake
1889         conditional INCLUDE_FOO for each loader as TRUE if that loader is
1890         built-in. See also gdk-pixbuf/ChangeLog.
1891
1892 Wed Oct 11 14:31:30 2006  Tim Janik  <timj@imendio.com>
1893
1894         * docs/reference/gtk/gtk-sections.txt:
1895         * gtk/gtkbindings.c: document gtk_binding_entry_skip().
1896
1897 2006-10-11  Tor Lillqvist  <tml@novell.com>
1898
1899         * gtk/gtk.symbols: Remove gtk_combo_string_key, which is a static
1900         variable.
1901
1902 2006-10-11  Tor Lillqvist  <tml@novell.com>
1903
1904         Merge from 2.10 branch:
1905
1906         * gtk/gtkmain.c (do_pre_parse_initialization): On Win32, if
1907         environment variable LC_ALL or LANG is set, set the Win32 thread
1908         locale to the corresponding locale. Then call the C library
1909         setlocale() to set the C library locale accordingly. The
1910         inconsistency mentioned below is gone. (#339756) Do some special
1911         casing for Serbia and Montenegro. Handle the Latin and Cyrillic
1912         scripts for Azeri, Uzbek and Serbian.
1913         (enum_locale_proc): Helper function for the above functionality.
1914
1915         * gtk/gtkcalendar.c (gtk_calendar_init): No longer need to check
1916         if the environment variables are set here, as they have already
1917         been taken into account and the Win32 thread locale has been
1918         set.
1919
1920 Tue Oct 10 16:38:23 2006  Tim Janik  <timj@imendio.com>
1921
1922         * gtk/tmpl/gtkbindings.sgml: 
1923         * gtk/gtkbindings.c: applied patch from Michael Natterer to move to 
1924         inline docs. applied wording fixes suggested by Martyn Russell.
1925
1926 2006-10-09  Matthias Clasen  <mclasen@redhat.com>
1927
1928         * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
1929         Update the docs to state which out parameters may be NULL.
1930         (#360870, Attilio Fiandrotti)
1931
1932 2006-10-08  Matthias Clasen  <mclasen@redhat.com>
1933
1934         * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities): Fix
1935         a typo.  (#359542, Ghee Teo)
1936
1937 2006-10-08 Matthias Clasen <mclasen@redhat.com>
1938
1939         * gtk/gtknotebook.c (gtk_notebook_reorder_tab): Only
1940         reorder tabs if the focus is in the tab.  (#350342, Carlos
1941         Garnacho Parro)
1942
1943 2006-10-08 Michael Emmel <mike.emmel@gmail.com>
1944
1945         * gdk/directfb/gdkproperty-directfb.c strdup atom name (#357611) 
1946
1947 2006-10-08  Kristian Rietveld  <kris@gtk.org>
1948
1949         * gtk/gtktreeview.[ch] (gtk_tree_view_set_property),
1950         (gtk_tree_view_set_show_expanders),
1951         (gtk_tree_view_get_show_expanders): add getter/setter for
1952         show-expanders property, queue a redraw when this property
1953         is toggled (#351167, Martin Ejdestig),
1954         (gtk_tree_view_set_level_indentation),
1955         (gtk_tree_view_get_level_indentation): also add getter/setter
1956         and docs for level-indentation property.
1957
1958 2006-10-08  Matthias Clasen  <mclasen@redhat.com>
1959
1960         * gtk/gtkradiobutton.c (gtk_radio_button_focus): Don't 
1961         leak a list.  (#360350, Benjamin Berg)
1962
1963         * Apply a cleanup patch by Kjartan Maraas  (#341812)
1964
1965 2006-10-07  Tor Lillqvist  <tml@novell.com>
1966
1967         * gtk/gtkcalendar.c (gtk_calendar_init): Use the Win32 thread
1968         locale's first day of week setting on Win32. (#339752, Bogdan
1969         Nicula) Don't do this if one of the environment variables that
1970         affect gettext is set, though. In that case use the week start day
1971         from the corresponding message catalog.
1972
1973         Unfortunately the same logic isn't possible in the weekday and
1974         month name lookup; there even if you have set one of the
1975         aforementioned environment variables, you still get the weekday
1976         and month names from the Win32 thread locale. Yes, this is
1977         inconsistent.
1978
1979         Use only wide-character API in the Win32 code in this file, too.
1980
1981 2006-10-06  Matthias Clasen  <mclasen@redhat.com>
1982
1983         * gtk/gtkfilechooser.c (gtk_file_chooser_set_select_multiple):
1984         Fix the docs.  (#360112)
1985
1986         * gtk/gtkcellview.c: Don't set the background of the
1987         window in a no-window widget.  (#359581, Xan Lopez)
1988
1989
1990 2006-10-05  Behdad Esfahbod  <behdad@gnome.org>
1991
1992         * gtk/Makefile.am, gtk/aliasfilescheck.sh:  Propagate srcdir into the
1993         test correctly. (#359845)
1994
1995 2006-10-05  Michael Natterer  <mitch@imendio.com>
1996
1997         * gtk/gtkrc.[ch]: added new scanner token "unbind" which gets
1998         rid of a key binding (in fact, it only lets it appear unbound).
1999
2000         * gtk/gtkbindings.[ch] (struct GtkBindingEntry): added
2001         "guint marks_unbound : 1"
2002
2003         (gtk_binding_entry_skip): new API which marks the entry as unbound.
2004
2005         Changed code so it returns FALSE when "marks_unbound == TRUE" is
2006         encountered while activating bindings, effectively letting the
2007         binding appear unbound (regardless of still existing bindings in
2008         lower binding priority levels). Fixes bug #358329.
2009
2010         (gtk_binding_entry_add)
2011         (gtk_binding_entry_clear)
2012         (gtk_binding_entry_add_signall)
2013         (gtk_binding_parse_binding): deprected these functions.
2014
2015         (_gtk_binding_parse_binding)
2016         (_gtk_binding_entry_add_signall): new internal API.
2017
2018         * gtk/gtk.symbols: changed accordingly.
2019
2020 2006-10-03  Matthias Clasen  <mclasen@redhat.com>
2021
2022         Fix interaction of GtkEntryCompletion with input
2023         methods.  (#354495, Diego Escalante Urrelo)
2024
2025         * gtk/gtkentry.c (gtk_entry_completion_key_press): Only reset
2026         the im context if we actually handle the key event.
2027
2028         * gtk/gtkentrycompletion.c: Also propagate key release events
2029         to the entry.
2030
2031 2006-10-03  Matthias Clasen  <mclasen@redhat.com>
2032
2033         * gtk/gtkprintsettings.c (gtk_print_settings_get_duplex):
2034         Fix a typo.  (#359052, Ghee Teo)
2035
2036         * gtk/*.c, gdk/*.c: Apply a patch by Behdad Esfahbod to
2037         reduce relocations. (#359053)
2038
2039 2006-10-03  Matthias Clasen  <mclasen@redhat.com>
2040
2041         * modules/printbackends/cups/gtkcupsutils.c:
2042         * modules/printbackends/cups/gtkprintbackendcups.c: Complete
2043         the fix for bug 357280.
2044
2045 2006-10-02  Behdad Esfahbod  <behdad@gnome.org>
2046
2047         * gdk-pixbuf/Makefile.am:
2048         * gdk/Makefile.am:
2049         * gtk/Makefile.am:
2050         Include pltcheck.sh in EXTRA_DIST.
2051
2052 2006-10-02  Behdad Esfahbod  <behdad@gnome.org>
2053
2054         * gdk/x11/gdkevents-x11.c: Move all includes before including
2055         gdkalias.h.
2056
2057 2006-10-02  Behdad Esfahbod  <behdad@gnome.org>
2058
2059         * gtk/Makefile.am: Fix typo in file name.  (#358931)
2060
2061 2006-10-02  Matthias Clasen  <mclasen@redhat.com>
2062
2063         * modules/printbackends/cups/gtkprintbackendcups.c (available_choices): 
2064         Only use the group name field if cups is new enough.  (#357280)
2065
2066         * gtk/gtksizegroup.c: Make sure that the quarks are 
2067         initialized before using them.  (#353736)
2068
2069         * gtk/Makefile.am (stamp-icons): Use rm instead of ln -f to
2070         replace existing links.  (#354849, James Evans)
2071
2072 2006-10-01  Matthias Clasen  <mclasen@redhat.com>
2073
2074         * gtk/gtkexpander.c (gtk_expander_realize) 
2075         (gtk_expander_size_allocate): Make the event_window large
2076         enough to cover the full height of the label_widget.  (#358351,
2077         Scott Horowitz)
2078
2079 2006-10-01  Tor Lillqvist  <tml@novell.com>
2080
2081         * gtk/gtkfilesystemwin32.c: Same change as to gtkfilesystemunix.c.
2082
2083 2006-09-30  Matthias Clasen  <mclasen@redhat.com>
2084
2085         * gtk/gtkfilechooserbutton.c (update_combo_box): Protect
2086         against base_path being NULL.  (#358405, many reporters)
2087
2088 2006-09-29  Matthias Clasen  <mclasen@redhat.com>
2089
2090         * gtk/gtkfilesystemunix.c: Apply a patch by Padraig O'Briain
2091         to avoid a deadlock.
2092
2093 2006-09-27  Kristian Rietveld  <kris@imendio.com>
2094
2095         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_free_level),
2096         (gtk_tree_model_filter_ref_node),
2097         (gtk_tree_model_filter_real_unref_node): bring zero ref count loops
2098         in sync with each other and the sort model.
2099
2100 2006-09-27  Kristian Rietveld  <kris@imendio.com>
2101
2102         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_init),
2103         (gtk_tree_model_filter_finalize), (gtk_tree_model_filter_row_deleted),
2104         (gtk_tree_model_filter_new): unref the virtual root path once that
2105         node (or one if its ancestors) is deleted, set virtual_root_deleted
2106         so we only unref it once.
2107
2108 2006-09-27  Kristian Rietveld  <kris@imendio.com>
2109
2110         * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_changed),
2111         (gtk_tree_model_sort_sort_level): ref count nodes the proper way,
2112         (gtk_tree_model_sort_ref_node), (gtk_tree_model_sort_real_unref_node),
2113         (gtk_tree_model_sort_free_level): bring zero ref count loops in
2114         sync,
2115         (gtk_tree_model_sort_free_level): free child levels before
2116         decreasing the zero ref count of the current level,
2117         (gtk_tree_model_sort_clear_cache): only clear cache if zero_ref_count
2118         is > 0.
2119
2120 2006-09-25  Matthias Clasen  <mclasen@redhat.com>
2121
2122         * demos/gtk-demo/*.c:
2123         * gtk/gtkeventbox.c:
2124         * gtk/gtkprintoperation.c: Fix typos. String change.
2125
2126 2006-09-25  Kristian Rietveld  <kris@gtk.org>
2127
2128         * gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): if the tree view
2129         has already been realized; scroll to background area instead of
2130         cell area. (Fixes #330683, Johan Dahlin, Tommi Komulainen).
2131
2132 2006-09-25  Kristian Rietveld  <kris@gtk.org>
2133
2134         * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): only attempt
2135         to create the GCs if the widget is realized. (Fixes #357578).
2136
2137 2006-09-25  Matthias Clasen  <mclasen@redhat.com>
2138
2139         * gtk/gtkuimanager.c (_gtk_menu_is_empty): Don't leak
2140         the list of children (#357454, Paolo Borelli)
2141
2142 2006-09-25  Michael Natterer  <mitch@imendio.com>
2143
2144         * gdk/x11/gdkdisplay-x11.c (gdk_display_x11_finalize): free
2145         display->input_windows with g_free(), not g_object_unref()
2146         (#357566, Tommi Komulainen).
2147
2148 2006-09-24  Kristian Rietveld  <kris@gtk.org>
2149
2150         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init),
2151         (gtk_cell_renderer_text_[sg]et_property): actually add align-set
2152         property to the API (left-over patch from #157439).
2153
2154 2006-09-24  Kristian Rietveld  <kris@gtk.org>
2155
2156         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button): draw
2157         the indicator if the column has a sort column id (and the model is
2158         sortable) or if the user explicitly requested the indicator
2159         to be shown.  (Fixes #352738, Chris Vine).
2160
2161 2006-09-23  Tor Lillqvist  <tml@novell.com>
2162
2163         * gtk/Makefile.am: Use EXEEXT.
2164
2165 2006-09-22  Michael Natterer  <mitch@imendio.com>
2166
2167         * gtk/gtkstyle.c (gtk_style_real_copy): also copy icon factories
2168         and color hashes. Fixes bug #357132.
2169
2170 2006-09-22  Matthias Clasen  <mclasen@redhat.com>
2171
2172         Make remote bookmarks work better (#354887)
2173         
2174         * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): 
2175         (shortcuts_insert_path): 
2176         * gtk/gtkfilechooserbutton.c (change_icon_theme): 
2177         (model_add_bookmarks): 
2178         (model_update_current_folder): 
2179         (update_label_and_image): 
2180         If the bookmark points to a remote file, don't call get_info(), 
2181         since that may a) take a long time and b) pop up an auth dialog.
2182         Instead, just use a folder icon and create a display name
2183         from the uri.
2184
2185         * gtk/gtkfilechooserdefault.c (_gtk_file_chooser_label_for_uri): 
2186         New function to create a suitable display name for a remote
2187         uri. This should really be done in GtkFileSystem.
2188         
2189 2006-09-21  Michael Natterer  <mitch@imendio.com>
2190
2191        Implement lots of value setters for GdkGC, based on a heavily
2192        modified patch from Thomas Broyer (bug #328853):
2193
2194         * gdk/quartz/gdkcolor-quartz.c: removed functions which set colors
2195         on the CGContext. Instead, added gdk_quartz_get_rgba_from_pixel()
2196         which simply returns RGBA values from a GdkColor's pixel value.
2197         See gdk_quartz_update_context_from_gc() below.
2198
2199         * gdk/quartz/gdkprivate-quartz.h (struct GdkGCQuartz): added lots
2200         of members for the newly suppored GC values. Added enum
2201         GdkQuartzContextValuesMask which is used for setting up the
2202         CGContext for filling and/or stroking.
2203
2204         * gdk/quartz/gdkgc-quartz.c (gdk_quartz_gc_get_values)
2205         (gdk_quartz_gc_set_values)
2206         (_gdk_windowing_gc_copy): support a lot more GC values.
2207
2208         (gdk_quartz_update_context_from_gc): added
2209         GdkQuartzContextValuesMask parameter and set filling/stroking
2210         parameters accordingly. This function also gained full control
2211         over the FG and BG colors (they can't be set separately any more).
2212
2213         The stipple mask part of the patch doesn't work but seems to take
2214         the right approach and doesn't make things worse, so I applied it.
2215
2216         Did *not* apply the clipping part of the patch since I don't
2217         understand it (I don't understand the version in CVS either, but
2218         it at least works :-)
2219
2220         * gdk/quartz/gdkdrawable-quartz.c: pass the right masks to
2221         gdk_quartz_update_context_from_gc() and removed separate color
2222         setting calls. Some minor fixes.
2223
2224         * gdk/quartz/gdkwindow-quartz.c
2225         (gdk_window_impl_quartz_begin_paint_region): set the CGContext's
2226         fill color manually. We don't have/need a GC here.
2227
2228 2006-09-21  Michael Natterer  <mitch@imendio.com>
2229
2230         * gdk/quartz/gdkwindow-quartz.c
2231         (gdk_window_impl_quartz_begin_paint_region): fix cast: it's
2232         drawable_impl->wrapper that is the GdkWindow, not the
2233         drawable_impl itself.
2234
2235 2006-09-20  Behnam Esfahbod <behnam@zwnj.org>
2236
2237         * gdk/x11/gdkkeys-x11.c:
2238           (get_direction): just check the first shift-level of keyboard
2239         layout for RTL and LTR keysyms() (compliment to #116626)
2240
2241 Wed Sep 20 16:59:38 2006  Tim Janik  <timj@imendio.com>
2242
2243         * gtk/gtkviewport.c: always update the bin_window position and size
2244         in size_allocate, even if we don't have a visible child. this fixes
2245         expose artefacts as described in #313508.
2246
2247         * gtk/gtkscrolledwindow.c: make hiding of automatic scrollbars when we
2248         have no visible child explicit.
2249
2250 2006-09-19  Ryan Lortie  <desrt@desrt.ca>
2251
2252         * docs/reference/gdk/gdk-sections.txt:
2253         * gdk/gdk.symbols:
2254         * gdk/gdkpango.h:
2255         * gdk/gdkpango.c: Bug 355343.  Add a GdkPangoAttrEmbossColor.
2256           (gdk_pango_layout_get_clip_region): Remove an unused variable.
2257           (gdk_pango_attr_embossed_new): Fix documentation.
2258
2259 Tue Sep 19 17:00:04 2006  Tim Janik  <timj@imendio.com>
2260
2261         * gtk/gtkarrow.c: added GtkArrow::arrow-scaling style property to 
2262         control the arrow/border ratio within the allocation.
2263
2264         * tests/testgtk.c: added a GtkArrow to handle box test.
2265
2266         * tests/testgtkrc: test ::arrow-scaling property.
2267
2268 2006-09-19  Matthias Clasen  <mclasen@redhat.com>
2269
2270         * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
2271         Display an error when we come to the root.  
2272
2273 2006-09-16  Matthias Clasen  <mclasen@redhat.com>
2274
2275         * gtk/gtkfilechooserbutton.c: Use bookmark labels in 
2276         the combobox. 
2277
2278         * gtk/gtkfilechooserbutton.c: Don't add remote volumes and 
2279         bookmarks to the model in local-only mode, to avoid 
2280         authentication dialogs pop up for invisible bookmarks, and
2281         to fix issues with separators not being hidden when
2282         they should.  (#354887, Dennis Cranston)
2283
2284 2006-09-16  Matthias Clasen  <mclasen@redhat.com>
2285
2286         * gtk/gtkcombobox.c (gtk_combo_box_finalize): Unref the
2287         treeview use in list mode.  (#355732, Richard Hult)
2288
2289         * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): Send
2290         change notification for the right property.  (#355308,
2291         Torsten Schoenfeld)
2292
2293 2006-09-15  Michael Natterer  <mitch@imendio.com>
2294
2295         * gtk/gtktreeview.c (gtk_tree_view_key_press): refactored column
2296         header navigation/resizing/reordering to be more readable and lose
2297         one level of nesting.
2298
2299 2006-09-15  Kristian Rietveld  <kris@imendio.com>
2300
2301         * gtk/gtktreeview.c (gtk_tree_view_key_press): actually directly
2302         return after handling column button focus; we disable wrap around
2303         with this (which actually happened via a really weird code path).
2304         (Michael Natterer)
2305
2306 2006-09-15  Kristian Rietveld  <kris@imendio.com>
2307
2308         * gtk/gtktreeview.c (gtk_tree_view_key_press): make column resizing
2309         code RTL aware, also break from the loops after we have seen the
2310         focussed column button (Michael Natterer).
2311
2312 Thu Sep 14 12:28:51 2006  Tim Janik  <timj@imendio.com>
2313
2314         * tests/testrichtext.c (main): intialize random number generator state
2315         upon program start, to enable truely random testing.
2316
2317 2006-09-13 Michael Emmel <mike.emmel@gmail.com>
2318
2319         * gdk/directfb/gdkcolor-directfb.c small clean ups include order
2320         * gdk/directfb/gdkwindow-directfb.c fixed beep compile error
2321         * gdk/directfb/Makefile.am removed GDK_PIXBUF_DISABLE_DEPRECATED
2322                 GDK_DISABLE_DEPRECATED to allow compile per Behdad
2323         * gdk/quartz/Makefile.am same change as directfb Makefile
2324         * gtk/Makefile.am fixed typo that cause socket stubs not to compile
2325
2326 2006-09-13 Matthias Clasen <mclasen@redhat.com>
2327
2328         * gtk/gtkcolorsel.c: Use a GtkWindow instead of a GtkInvisible
2329         for the grab widget, to make the color picker work with window
2330         groups.  
2331
2332 2006-09-12 Hong Jen Yee <pcman.tw@gmail.com>
2333
2334         signed off by: Dom Lachowicz
2335         
2336         * modules/engines/ms-windows/msw_style.c: Bug 340201. This contains
2337         a large number of improvements to the Microsoft Windows theme engine
2338         which are fully described in the bug report.
2339         
2340 Mon Sep 11 14:22:39 2006  Tim Janik  <timj@imendio.com>
2341
2342         * tests/testgtk.c: fixed compiler warnings.
2343
2344 2006-09-10  Matthias Clasen  <mclasen@redhat.com>
2345
2346         * gtk/gtkfilechooserbutton.c (model_add_special): Request
2347         the display name too, otherwise "Desktop" does not appear
2348         in the file chooser button. 
2349
2350 2006-09-10  Tor Lillqvist  <tml@novell.com>
2351
2352         * gdk/win32/gdkprivate-win32.h
2353         * gdk/win32/gdkmain-win32.c
2354         * gdk/win32/gdkwindow-win32.c: Define WINVER and _WIN32_WINNT as
2355         0x0500 in gdkprivate-win32.h instead of doing it in two source
2356         files. (#355212, Mike Edenfield)
2357
2358         * gdk/win32/gdkwindow-win32.c: We can also remove the ersatz
2359         GetAncestor() for the _MSC_VER && WINVER < 0x0500 case, I hope.
2360
2361 2006-09-10  Matthias Clasen  <mclasen@redhat.com>
2362
2363         * Commit a patch by Behdad to fix typos, omissions and other
2364         errors in the symbol aliasing, and add checks for local PLT
2365         entries.  (#354687, Behdad Esfahbod)
2366
2367         * gtk/gtktreeview.c (gtk_tree_view_search_scroll_event): Renew
2368         the flush timeout.  (#354043, Nelson Benitez)
2369         
2370         * gtk/gtkfilechoosersettings.c (set_unexpected_element_end_error): 
2371         Improve wording. String change!  (#355126, David Lodge)
2372
2373         * gtk/updateiconcache.c: Improve wording. String change!  (#355128,
2374         David Lodge)
2375
2376         * gtk/paper_names_offsets.c: Fix a typo. String change!  (#355134,
2377         David Lodge)
2378
2379 2006-09-09  Matthias Clasen <mclasen@redhat.com>
2380
2381         * gdk/x11/gdkfonts-x11.c: Fix small theoretical memory leaks.
2382         (#353916, Chris Wilson)
2383
2384         * gtk/gtksettings.c (_gtk_settings_reset_rc_values):
2385         Don't leak the to_reset list.  (#353914, Chris Wilson)
2386
2387         * gtk/gtkwidget.c: Add docs for the parent-set signal.
2388         (#353772, Mariano Suárez-Alvarez)
2389
2390 2006-09-08  Matthias Clasen <mclasen@redhat.com>
2391
2392         * gtk/gtktextbuffer.c (remove_all_selection_clipboards):
2393         Don't clear clipboards here, since we are called from finalize
2394         and can't emit signals.
2395
2396         * configure.in: Set version to 2.11.0
2397
2398 2006-09-06  Richard Hult  <richard@imendio.com>
2399
2400         * gdk/quartz/gdkkeys-quartz.c: (maybe_update_keymap): Special-case 
2401         shift-tab and map it to GDK_ISO_Left_Tab, fixes bug #350806.
2402
2403 2006-09-04  Kristian Rietveld  <kris@imendio.com>
2404
2405         * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
2406         if setting the given folder failed, try setting the parent folder
2407         until we succeed; display an error box at the end.
2408
2409 2006-09-04  Kristian Rietveld  <kris@imendio.com>
2410
2411         * gtk/gtkpathbar.c (gtk_path_bar_dispose): don't cancel the
2412         operations spawned by buttons here,
2413         (set_button_image_get_info_cb): bail out if button is NULL, but
2414         do free button_data,
2415         (button_data_free): only free the data if non NULL (since this
2416         function can be called multiple times for the same data), cancel
2417         handle if pending but don't free button_data in this case (will
2418         happen in the callback).
2419
2420 2006-09-04  Michael Natterer  <mitch@imendio.com>
2421
2422         * gtk/gtkrc.c (rc_parse_token_or_compound)
2423         (gtk_rc_parse_assignment): serialize floating point values using
2424         locale-independent functions. (#346751, Frederic Crozat)
2425
2426 2006-09-04  Tor Lillqvist  <tml@novell.com>
2427
2428         * gdk/win32/gdkevents-win32.c
2429         * gdk/win32/gdkwindow-win32.c: Use wide-char API for message and
2430         window handling (PeekMessage, PostMessage, SendMessage,
2431         DispatchMessage, DefWindowProc, RegisterClassEx,
2432         CreateWindowEx). (#321597)
2433
2434 2006-09-03  Kristian Rietveld  <kris@imendio.com>
2435
2436         * gtk/gtkfilechooserdefault.c (save_entry_get_info_cb),
2437         (file_exists_get_info_cb), (gtk_file_chooser_default_should_respond):
2438         change file_exists_and_is_not_folder checks to get the file info
2439         for the path directly instead of querying the current file folder
2440         of the save entry.
2441
2442         * gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault): add
2443         new field.
2444
2445         * tests/autotestfilechooser.c (wait_for_idle_idle), (wait_for_idle),
2446         (test_reload_sequence), (test_button_folder_states_for_action): wait
2447         for idle after setting a folder to ensure the async operations to load
2448         the folder are finished,
2449         (test_confirm_overwrite), (test_confirm_overwrite_for_path):
2450         factor out test_confirm_overwrite code so we can add tests for more
2451         paths more easily.
2452
2453 2006-09-03  Richard Hult  <richard@imendio.com>
2454
2455         * gdk/quartz/GdkQuartzView.c (drawRect): Don't do anything if
2456         exposure isn't in the event mask, plug a leak, and check that the
2457         window isn't destroyed.
2458         (isOpaque): Check that the window isn't destroyed, fixes bug 
2459         #353028.
2460
2461 2006-09-03  Matthias Clasen  <mclasen@redhat.com>
2462
2463         * gtk/gtkwidget.c (gtk_widget_class_init): Fix a typo.  
2464         (#354035, Mariano Suárez-Alvarez)
2465
2466         * gtk/gtkmain.c (post_parse_hook): 
2467         * gdk/gdk.c (gdk_init): Handle display_name being NULL.
2468         (#354004, Chris Wilson)
2469
2470 2006-09-03  Tor Lillqvist  <tml@novell.com>
2471
2472         * gdk/win32/gdkwindow-win32.c (gdk_window_beep): No
2473         GDK_WINDOW_DISPLAY in the Win32 backend.
2474
2475         * gtk/gtkfilesystemwin32.c: Copy what Kris did to
2476         gtkfilesystemunix.c
2477
2478 2006-09-02  Kristian Rietveld  <kris@imendio.com>
2479
2480         First part of file chooser fixes.
2481
2482         * gtk/gtkfilechooserbutton.c (model_add_special): also set the
2483         handle in the model for the desktopdir case.
2484
2485         * gtk/gtkfilechooserdefault.c (shortcuts_add_current_folder): free
2486         volume in case we retrieved it but don't pass it on to insert_path,
2487         (shortcuts_model_create): change the column type for the handles
2488         to pointer instead of GObject so our handle ref counting is not
2489         disturbed,
2490         (show_and_select_paths_finished_loading): don't forget to unref
2491         the dialog.
2492
2493         * gtk/gtkfilesystemunix.c (gtk_file_system_unix_class_init),
2494         (gtk_file_system_unix_init), (gtk_file_system_unix_dispose):
2495         remove pending execute_callbacks_idle during dispose, also
2496         execute all callbacks waiting to be run in the next idle,
2497         (queue_*callback), (execute_callbacks_idle): refactor to maintain
2498         a list of callbacks to call per file system instead of globally,
2499         guard the file system during callback invocation,
2500         (gtk_file_system_unix_get_folder): only add load folder idle if
2501         none has been added yet.
2502
2503 2006-09-01  Matthias Clasen  <mclasen@redhat.com>
2504
2505         * gtk/gtkentry.c: Don't unnecessarily reset the im context
2506         when deleting the selection.  (#353803, Alex Larsson)
2507
2508 2006-09-01  Abel Cheung  <abel@oaka.org>
2509
2510         * configure.in: Added 'ang' 'dz' to ALL_LINGUAS.
2511
2512 2006-08-31  Matthias Clasen  <mclasen@redhat.com>
2513
2514         Stop cursor blinking after a configurable timeout.
2515         (#353670, #352442, Arjan van de Ven, Manu Cornet)
2516         
2517         * gtk/gtksettings.c (gtk_settings_class_init): Add a 
2518         gtk-cursor-blink-timeout setting, which specifies the number
2519         of seconds that the cursor should blink after a user interaction.
2520         The default value is G_MAXINT to preserve the current behaviour.
2521
2522         * gtk/gtkentry.c (blink_cb): Stop blinking after blink-timeout
2523         seconds.
2524
2525         * gtk/gtkentry.c (gtk_entry_completion_key_press) 
2526         (gtk_entry_button_press, gtk_entry_focus_in): Reset the
2527         blink timer.
2528
2529         * gtk/gtktextview.c (blink_cb): Stop blinking after blink-timeout
2530         seconds. 
2531
2532         * gtk/gtktextview.c (gtk_text_view_key_press_event) 
2533         (gtk_text_view_button_press_event, gtk_text_view_focus_in_event): 
2534         Reset the blink timer.
2535         
2536 2006-08-31  Matthias Clasen  <mclasen@redhat.com>
2537
2538         * gtk/gtkprintoperation-unix.c (get_print_dialog): Don't specify
2539         explicit format capabilities.  (#346505, Christian Persch)
2540
2541         * modules/printbackends/cups/gtkprintbackendcups.c (cups_request_printer_list_cb): Send printer-list-done on error. 
2542
2543 2006-08-31  Michael Natterer  <mitch@imendio.com>
2544
2545         * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Fix build.
2546
2547 2006-08-30  Richard Hult  <richard@imendio.com>
2548
2549         * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep): Fix build.
2550
2551 2006-08-30  Matthias Clasen  <mclasen@redhat.com>
2552
2553         * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Only use XKB
2554         for beeping if we are using XKB.  
2555
2556 2006-08-29  Matthias Clasen  <mclasen@redhat.com>
2557
2558         * gdk/gdkwindow.h: 
2559         * gdk/gdk.symbols: 
2560         * gdk/directfb/gdkwindow-directfb.c (gdk_window_beep): 
2561         * gdk/win32/gdkwindow-win32.c (gdk_window_beep): 
2562         * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep): 
2563         * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Add a function
2564         to beep on a window. For X11, implement this with
2565         XkbBell.  (#353455, Mariano Suárez-Alvarez)
2566         
2567 2006-08-29  Tor Lillqvist  <tml@novell.com>
2568
2569         Remove support for Windows 9x/ME. GTK+ hasn't worked on Win9x
2570         since 2.6 or 2.8. It's pointless to keep the Win9x code in here as
2571         it isn't being maintained anyway. If somebody is interested, it
2572         can always be found in older GTK+ versions, and in CVS.
2573
2574         * configure.in
2575         * acconfig.h
2576         * gdk/Makefile.am
2577         * gdk/win32/Makefile.am
2578         * gdk/win32/libie55uid.la
2579         * gdk/win32/gdkevents-win32.c: Remove the --with-ie55 configure
2580         switch and associated stuff. Active IMM and the <dimm.h> header
2581         was used for IM support on NT4 and Win9x. Win2k and later have IM
2582         support built-in.
2583
2584         * gdk/win32/gdkcursor-win32.c
2585         * gdk/win32/gdkdnd-win32.c
2586         * gdk/win32/gdkdrawable-win32.c
2587         * gdk/win32/gdkevents-win32.c
2588         * gdk/win32/gdkgc-win32.c
2589         * gdk/win32/gdkglobals-win32.c
2590         * gdk/win32/gdkkeys-win32.c
2591         * gdk/win32/gdkmain-win32.c
2592         * gdk/win32/gdkproperty-win32.c
2593         * gdk/win32/gdkselection-win32.c
2594         * gdk/win32/gdkwindow-win32.c: Remove the G_WIN32_IS_NT_BASED()
2595         and G_WIN32_HAVE_WIDECHAR_API() tests and their false (Win9x)
2596         branches, and any variables or static functions used only by the
2597         Win9x branches.
2598
2599         * gdk/win32/gdkprivate-win32.h: Remove backup definitions for
2600         constants that aren't missing from current mingw and MSVC6
2601         headers.
2602
2603         * gdk/win32/gdkmain-win32.c
2604         * gdk/win32/gdkprivate-win32.h: Remove the _gdk_win32_gdi_failed()
2605         function. On NT-based Windows GetLastError() returns error codes
2606         also for failed GDI calls, so we can use _gdk_win32_api_failed()
2607         always.
2608
2609 2006-08-29  Emmanuele Bassi  <ebassi@gnome.org>
2610
2611         * gtk/gtkrecentchoosermenu.c
2612         (gtk_recent_chooser_menu_set_current_uri): Break when an item
2613         is found and activated. (#353449, based on a patch by Jan Arne
2614         Petersen)
2615
2616 Fri Jul 14 16:13:37 2006  Tim Janik  <timj@gtk.org>
2617
2618         * gtk/gtkprogressbar.c: introduced ::xspacing and ::yspacing style 
2619         properties which make all hardcoded padding and spacing values
2620         configurable. properly swap ::text-xalign treatment for RTL widgets.
2621
2622         * gtk/gtkprogress.c: fixed style property blurbs. made alignment 
2623         proeprty more consistent with GtkMisc alignment blurbs. mention
2624         RTL treatment for text-xalign.
2625
2626 Tue Aug 29 11:57:40 2006  Tim Janik  <timj@imendio.com>
2627
2628         * tests/testgtk.c: allow (most) windows to be resizable.
2629         added ellipsization settings to progress bars. 
2630
2631 2006-08-28  Matthias Clasen   <mclasen@redhat.com>
2632
2633         * modules/printbackend/cups/gtkprintbackendcups.c: Use a
2634         resonable timeout of 3 seconds when polling for printer
2635         list updates, instead of 300000 seconds...
2636
2637 2006-08-28  Michael Natterer  <mitch@imendio.com>
2638
2639         * gtk/gtktextbufferserialize.c (serialize_text): don't write out
2640         </apply_tag> for tags that have already been closed by the logic
2641         which turns overlapping spans into XML-able trees. Fixes broken
2642         XML when there are overlapping tags in the buffer. Also free two
2643         leaked GLists and did some cleanup.
2644
2645         * tests/Makefile.am
2646         * tests/testrichtext.c: new test which creates randomly tagged
2647         GtkTextBuffers and serializes/deserializes them.
2648
2649 2006-08-26  Matthias Clasen  <mclasen@redhat.com>
2650
2651         * gtk/gtkstatusicon.c (gtk_status_icon_reset_image_data): 
2652         Don't leak pixbufs.  (#352264, Ross Burton)
2653
2654         * gtk/gtklinkbutton.c (set_link_underline): Don't leak
2655         PangoAttributes.  (#352391, Paolo Borelli)
2656
2657 2006-08-25  Matthias Clasen  <mclasen@redhat.com>
2658
2659         * demos/gtk-demo/Makefile.am:
2660         * demos/gtk-demo/textscroll.c: Add an example of automatic
2661         scrolling, thanks to Yevgen Muntyan.  (#351206)
2662         
2663         * gtk/gtkmodules.c (find_module): Use local binding when
2664         loading modules.  (#351868)
2665
2666 2006-08-24  Michael Natterer  <mitch@imendio.com>
2667
2668         * gdk/quartz/gdkdisplay-quartz.c (gdk_display_get_name): return
2669         the hostname instead of NULL.
2670
2671 2006-08-23  Matthias Clasen  <mclasen@redhat.com>
2672
2673         * gtk/gtkprinteroptionwidget.[hc]: Fix confusion about
2674         names and values in comboboxes, and clean up some
2675         coding style issues.
2676
2677 2006-08-23  Tor Lillqvist  <tml@novell.com>
2678
2679         * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_make_path):
2680         Revert unintended translatable string addition. Use same string
2681         in GError as in gtkfilesystemunix.c.
2682
2683         * gtk/gtkfilesystemwin32.c (_gtk_file_system_win32_path_compare):
2684         Fix logic at the end of strings. 
2685
2686         * gtk/gtkfilesystemwin32.c: Maintain a hash table of live
2687         handles and check that we have no outstanding handles at
2688         finalization time. (Copying what Matthias did for
2689         gtkfilesystemunix.c)
2690
2691 2006-08-23  Matthias Clasen  <mclasen@redhat.com>
2692
2693         * gtk/gtkfilesystemunix.c: Maintain a hash table
2694         of live handles and check that we have no outstanding
2695         handles at finalization time. (Copying what
2696         Federico did for gtkfilesystemgnomevfs.c)
2697
2698 2007-08-22  Matthias Clasen  <mclasen@redhat.com> 
2699
2700         * Branch for 2.10
2701