]> Pileus Git - ~andy/gtk/blob - ChangeLog.pre-2-8
Make gtk_combo_box_get_active_text do the right thing for GtkComboBoxEntry
[~andy/gtk] / ChangeLog.pre-2-8
1 2005-04-01  Matthias Clasen  <mclasen@redhat.com>
2
3         Make gtk_combo_box_get_active_text do the right thing for
4         GtkComboBoxEntry (#171373, Robert Staudinger)
5         
6         * gtk/gtkcombobox.h: Add a get_active_text vfunc.
7         
8         * gtk/gtkcombobox.c (gtk_combo_box_real_get_active_text): And
9         implement it here.
10
11         * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_get_active_text): 
12         Implement get_active_text by always returning the content of 
13         the entry.
14
15 2005-03-31  Sven Neumann  <sven@gimp.org>
16
17         Merged from gtk-2-6:
18
19         * gtk/gtkbutton.c
20         * gtk/gtkiconview.c: fixed gtk-doc comments.
21
22 2005-03-31  Michael Natterer  <mitch@gimp.org>
23
24         Allow to pop up menus without grabbing the keyboard. Useful for
25         stuff like virtual keyboards. Fixes bug #159890
26
27         * gtk/gtk.symbols
28         * gtk/gtkmenushell.[ch]: added boolean property "take-focus"
29         and public API gtk_menu_shell_set/get_take_focus().
30
31         * gtk/gtkmenu.c (gtk_menu_popup)
32         (popup_grab_on_window): don't grab the keyboard if take_focus
33         is FALSE.
34
35         * gtk/gtkmenuitem.c (_gtk_menu_item_popup_submen): propagate the
36         parent menu_shell's take_focus property to the submenu which is
37         about to be popped up.
38
39 2005-03-30  Federico Mena Quintero  <federico@ximian.com>
40
41         Merged from gtk-2-6:
42
43         Fix #170755:
44
45         * gtk/gtktreeview.c (gtk_tree_view_row_changed): Only stop editing
46         if the row which changed is the same as the row being edited.
47
48 2005-03-30  Matthias Clasen  <mclasen@redhat.com>
49
50         * gtk/gtktreeview.c (gtk_tree_view_real_start_interactive_search): 
51         Make enable_search control only typeahead, not C-f.  (#170435,
52         Sven Neumann)
53         (gtk_tree_view_start_interactive_search): Pass keybinding == TRUE.
54
55         * gdk/gdkpixbuf.h: Include cairo.h
56
57         * gtk/gtkclipboard.c (gtk_clipboard_set_can_store): 
58         Don't accept n_targets == -1.
59         (clipboard_unset): unref the old_data, not the
60         user_data which we have just cleared.  (#172038, Sven
61         Neumann)
62
63         * gtk/gtkcombobox.c (gtk_combo_box_popup): Don't 
64         segfault if somebody tries to popup an unrealized
65         combo box.  (#172031, Felipe Heidrich)
66
67 2005-03-30  Tor Lillqvist  <tml@novell.com>
68
69         * gdk/win32/gdkevents-win32.c (build_pointer_event_state): The
70         state field should represent the state before the event, like on
71         X11. (#169753)
72         (gdk_event_translate): Fix event filter handling. If an event
73         filter (global, client message filter, of window-specific) returns
74         GDK_FILTER_CONTINUE, continue as if nothing happened. If it
75         returns GDK_FILTER_REMOVE or GDK_FILTER_TRANSLATE, return TRUE
76         from gdk_event_translate() which means that DefWindowProc() will
77         not be called.
78         (gdk_event_translate): Fix client message handling. Append a
79         GDK_CLIENT_EVENT unless there is a filter that matches and returns
80         something other than GDK_FILTER_CONTINUE. (#135552)
81
82 2005-03-29  Matthias Clasen  <mclasen@redhat.com>
83
84         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_set_visible_func): 
85         Document the need to refilter if parameters of the visibility function
86         change.  (#169516, Olivier Sessink)     
87
88 Mon Mar 28 15:13:42 2005  Søren Sandmann  <sandmann@redhat.com>
89
90         * gdk/gdkwindow.c (gdk_window_invalidate_maybe_recurse): Don't
91         invalidate areas that are covered by mapped input-output child
92         windows. Bug 141380.
93
94 2005-03-28  Jeroen Zwartepoorte  <jeroen.zwartepoorte@gmail.com>
95
96         * gtk/gtkfilechooserdefault.c: (update_preview_widget_visibility): Make
97         the preview label ellipsize so the dialog layout stays constant.
98         (#171398)
99
100 2005-03-28  Matthias Clasen  <mclasen@redhat.com>
101
102         * gtk/gtktreeview.c (gtk_tree_view_key_press): Don't pop up
103         the context menu of the search entry if it is not visible.
104         (#169534, Billy Biggs)
105
106 2005-03-27  Tor Lillqvist  <tml@novell.com>
107
108         * configure.in: Apparently AC_LIBTOOL_WIN32_DLL isn't deprecated
109         after all, and in fact necessary with HEAD libtool.
110
111 2005-03-26  Matthias Clasen  <mclasen@redhat.com>
112
113         * gtk/*.c: 
114         * gdk/gdkdisplaymanager.c: 
115         Use canonical names for g_object_notify() as well. 
116
117 2005-03-24  Tor Lillqvist  <tml@novell.com>
118
119         * configure.in (GTK_EXTRA_CFLAGS): Include the -mms-bitfields flag
120         in GTK_EXTRA_CFLAGS on Win32, so that it gets included in the
121         gtk+-2.0.pc file and automatically used by dependents. MSVC users
122         who use pkg-config will have to manually edit it out from
123         gtk+-2.0.pc, sorry. Maybe pkg-config should be enhanced to support
124         some kind of conditionals in .pc files?
125
126 2005-03-23  Matthias Clasen  <mclasen@redhat.com>
127
128         * gtk/gtkfilechooserbutton.c (update_combo_box): Remove
129         a call whose result was unused and leaked.  (#170776,
130         Kjartan Maraas)
131
132         Some cleanups to the GtkDialog code:  (#170746, 
133         Morten Welinder)
134         * gtk/gtkdialog.c (action_widget_activated): Simplify,
135         use _gtk_dialog_get_response_for_widget.
136         (gtk_dialog_add_action_widget): Use the correct signal
137         id for non-buttons.
138         (gtk_dialog_set_response_sensitive): 
139         (gtk_dialog_set_default_response): Use get_response_data.
140         (gtk_dialog_run): Don't disconnect the signals if the
141         dialog was destroyed while running.
142
143 Tue Mar 22 14:16:31 2005  Manish Singh  <yosh@gimp.org>
144
145         * gtk/gtkfilesystem.c (gtk_file_system_set_bookmark_label):
146         Use g_return_if_fail, not g_return_val_if_fail.
147
148 2005-03-22  Matthias Clasen  <mclasen@redhat.com>
149
150         Implement bookmark renaming  (#136216, Sean Middleditch)
151         
152         * gtk/gtkfilesystem.h (struct _GtkFileSystemIface): Add 
153         get_bookmark_label and set_bookmark_label vfuncs.
154
155         * gtk/gtkfilesystem.h:
156         * gtk/gtkfilesystem.c (gtk_file_system_set_bookmark_label): 
157         (gtk_file_system_get_bookmark_label): Wrappers for the
158         vfuncs.
159
160         * gtk/gtk.symbols: Add new exported symbols.
161
162         * gtk/gtkfilesystemunix.c (gtk_file_system_unix_set_bookmark_label): 
163         (gtk_file_system_unix_get_bookmark_label): Implementations
164         for the Unix backend.
165
166         * gtk/gtkfilechooserdefault.c: Add a context menu to
167         the bookmarks pane, and allow to rename bookmarks.
168
169 2005-03-22  Matthias Clasen  <mclasen@redhat.com>
170
171         * gtk/gtkpathbar.c (gtk_path_bar_unmap): 
172         * gtk/gtkspinbutton.c (gtk_spin_button_unmap): 
173         * gtk/gtknotebook.c (gtk_notebook_unmap): 
174         * gtk/gtkrange.c (gtk_range_unmap): Stop scrolling when
175         the widget is unmapped.  (#168791, Ryan Lortie)
176
177 2005-03-21  Matthias Clasen  <mclasen@redhat.com>
178
179         * gtk/gtkprivate.h: Define macros GTK_PARAM_READABLE,
180         GTK_PARAM_WRITABLE, GTK_PARAM_READWRITE which are like
181         their G_ counterparts, but also mark the name, nick
182         and blurb as static.
183
184         * gtk/*.c: Mark param spec strings as static, using
185         the new macros.
186
187         * gtk/gtkspinbutton.h: Fix a typo.
188
189 2005-03-21  Matthias Clasen  <mclasen@redhat.com>
190
191         * gtk/gtkcellrendererprogress.c: 
192         * gtk/gtkcellrendererpixbuf.c: 
193         * gtk/gtkcellrenderercombo.c: 
194         * gtk/gtkcellrenderer.c: 
195         * gtk/gtkcalendar.c: 
196         * gtk/gtkbutton.c: 
197         * gtk/gtkbox.c: 
198         * gtk/gtkbbox.c: 
199         * gtk/gtkaspectframe.c: 
200         * gtk/gtkarrow.c: 
201         * gtk/gtkalignment.c: 
202         * gtk/gtkactiongroup.c: 
203         * gtk/gtkaction.c:
204         * gtk/gtkaccellabel.c: 
205         * gtk/gtkaboutdialog.c: Mark param spec strings as static.
206
207         * gdk/gdkpango.c (gdk_pango_renderer_class_init): 
208         * gdk/gdkdisplaymanager.c (gdk_display_manager_class_init): Mark
209         param spec strings as static.
210
211 2005-03-21  Tor Lillqvist  <tml@novell.com>
212
213         * modules/engines/ms-windows/*.c: Silence gcc warnings (unused
214         variables, unhandled enum value in switch). Use g_object_unref()
215         instead of deprecated gdk_gc_unref() and gdk_drawable_unref().
216
217         * modules/engines/ms-windows/xp_theme.c (xp_theme_map_gtk_state): 
218         Add missing "case" keyword.
219
220         * modules/engines/ms-windows/Makefile.am: Link with -lgdi32
221         explicitly.
222
223 2005-03-20  Tor Lillqvist  <tml@novell.com>
224
225         * gdk/win32/gdkdisplay-win32.c (gdk_display_get_name): Return the
226         Terminal Services session number, window station name (always
227         "WinSta0" in interactive processes), and desktop name (typically
228         "Default"), concatenated with backslash separators.
229         (gdk_display_open): Accept only NULL or the string
230         gdk_display_get_name() returns as display name.
231
232 2005-03-20  Matthias Clasen  <mclasen@redhat.com>
233
234         Make PLT-reduction work with gcc4, and don't include
235         everything in gdkalias.h:
236         
237         * gtk/grk.symbols: Group symbols by header and source file.
238         * gtk/makegtkalias.pl: Protect definitions by the same 
239         preprocessor symbols used to guard the headers. Move
240         the alias declarations to a separate file which is 
241         produced when calling makegtkalias.pl -def
242         * gdk/Makefile.am (gtkaliasdef.c): Add a rule to generate 
243         this file.
244         * gtk/*.c: Include gtkalias.h after the other headers, 
245         include gtkaliasdef.c at the bottom.
246         * gtk/*.h: Small cleanups.
247
248 Fri Mar 18 23:59:49 2005  Soeren Sandmann  <sandmann@redhat.com>
249
250         * gtk/gtkmenutoolbutton.c (arrow_button_button_press_event_cb):
251         Make right-clicks not pop up the menu.
252
253 2005-03-18  Owen Taylor  <otaylor@redhat.com>
254
255         * gdk/x11/gdkdrawable-x11.c (_gdk_x11_drawable_finish): 
256         Call cairo_surface_finish()
257
258         * gdk/gdkinternals.c gdk/x11/gdkdrawable-x11.c: Remoev
259         _gdk_windowing_set_surface_device_offset().
260
261 2005-03-18  Tor Lillqvist  <tml@novell.com>
262
263         * gdk/win32/gdkevents-win32.c (gdk_event_translate): On
264         WM_MOUSEMOVE, don't check if this process owns the active
265         window. This makes cross-application widget embedding work better.
266         On WM_MOVE, don't bother checking for window visibility.
267
268         * gdk/win32/gdkim-win32.c: Remove bogus empty doc comment. Remove
269         unused variables. Add some casts to silence gcc.
270
271 2005-02-24  Owen Taylor  <otaylor@redhat.com>
272
273         * gdk/gdkwindow.c: Use cairo_set_device_offset().
274
275         * gdk/win32/gdkdrawable-win32.[ch] gdk/win32/gdkwindow-win32.c
276         gdk/win32/gdkpixmap-win32.c: 
277         Add_gdk_win32_drawable_acquire/release_dc() to get a DC for the 
278         drawable. Add _gdk_drawable_win32_finish() to clean up resources
279         when a drawable is destroyed.
280
281         * gdk/win32/gdkgc-win32.c gdk/win32/gdkdrawable-win32.c
282         (blit_from_pixmap) gdk/win32/gdkprivate-win32.h : Use 
283         acquire/release_dc when getting a DC to use with a GC or for 
284         blitting from a pixmap.
285
286         * gdk/win32/gdkdrawable-win32.[ch]: Implement ref_cairo_surface()
287
288         * gdk/win32/gdkpango-win32.c gdk/win32/gdkdrawable-win32.c Makefile.am:
289         Remove gdk_screen_get_pango_context(), draw_glyph[_transformed]
290         implementations.
291
292         * gdk/win32/gdkdrawable-win32.c: Remove 
293         gdk_draw_rectangle_alpha_libgtk_only()
294
295 2005-03-17  Owen Taylor  <otaylor@redhat.com>
296
297         * gdk/gdkpango.c: Fix get_stipple_surface to actually work, set
298         EXTEND_REPEAT on the stipple pattern.
299
300 2005-03-17  Matthias Clasen  <mclasen@redhat.com>
301
302         * gtk/gtklabel.c (gtk_label_set_markup): Fix formatting
303         in example in the docs.  (#170611, Jianfei Wang)
304
305         * gtk/gtkiconview.c (gtk_icon_view_size_allocate): Clamp
306         adjustment values on resize.  (#170567, Tomislav Jonjic)
307
308         * gtk/gtkicontheme.c (theme_lookup_icon): Don't crash
309         if there is no cache.  (#170652, Diego Gonzalez)
310         
311         * gtk/gtkentrycompletion.c (gtk_entry_completion_real_insert_prefix): 
312         Make inline completion insert the prefix at the
313         right spot.  (#170146, Doug Quale)
314
315 2005-03-17  Tor Lillqvist  <tml@novell.com>
316
317         * gdk/gdkkeynames.c: gdk_key is a typedef, not a struct tag.
318
319 2005-03-16  Matthias Clasen  <mclasen@redhat.com>
320
321         * gtk/gtkprogressbar.c (gtk_progress_bar_get_ellipsize): 
322         Typo fix in the docs.
323         
324         * gtk/gtkmenutoolbutton.c (gtk_menu_tool_button_set_arrow_tooltip): 
325         Typo fix in the docs.
326
327         * gtk/gtkiconview.c (gtk_icon_view_set_columns) 
328         (gtk_icon_view_get_columns, gtk_icon_view_set_item_width) 
329         (gtk_icon_view_get_item_width, gtk_icon_view_set_spacing) 
330         (gtk_icon_view_get_spacing, gtk_icon_view_set_row_spacing) 
331         (gtk_icon_view_set_column_spacing) 
332         (gtk_icon_view_get_row_spacing, gtk_icon_view_get_margin) 
333         (gtk_icon_view_set_margin): Add docs.
334         
335         * gtk/gtkcellview.c (gtk_cell_view_get_displayed_row): 
336         Add docs.
337
338 2005-03-15  Owen Taylor  <otaylor@redhat.com>
339
340         * gdk/gdkdrawable.h gdk/gdkdraw.c gdk/gdkpixmap.c gdk/gdkwindow.c 
341         gdk/x11/gdkdrawable-x11.c gdk/x11/gdkpixmap-x11.c gdk/x11/gdkwindow-x11.c
342         gdk/gdkinternals.h: Switch set_cairo_target() virtual function to
343         ref_cairo_surface()
344
345         * gdk/gdkdrawable.h gdk/gdkdraw.h: Switch set_cairo_target() virtual
346         function to create_cairo_context()
347
348         * gdk/gdkwindow.c: Clear double buffer pixmaps with Cairo.
349
350         * gdk/x11/gdkwindow-x11.c: Keep all components in GdkWindowObject.bg_color,
351         not just the pixel.
352
353         * tests/testcairo.c: Update for create_cairo_context()
354
355         * gdk/gdkdraw.c (gdk_draw_trapezoids, gdk_draw_glyphs[_transformed]):
356         Reimplement in terms of Cairo, bypass the vtable entries.
357
358         * gdk/x11/gdkdrawable-x11.[ch] gdk/x11/gdkdisplay-x11.[ch]
359         gdk/x11/gdkgc-x11.c gdk/x11/gdkpango-x11.c
360         gdk/x11/gdkprivate-x11.h gdk/x11/Makefile.am: Remove
361         implementation of draw_trapezoids / draw_glyphs[_transformed].
362
363         * gdk/gdkpango.c: Switch GdkPangoRenderer to use Cairo
364
365         * gdk/gdkpango.c gdk/x11/gdkpango-x11.c: Move
366         gdk_pango_context_get_for_screen() into the backend independent code.
367
368         * gdk/x11/gdkdrawable-x11.[ch]: Remove Xft use, use RENDER directly
369         for drawing images.
370
371         * gdk/gdkdrawable.h gdk/x11/gdkdrawable-x11.c: Remove
372         gdk_draw_rectangle_alpha_libgtk_only.
373
374         * gdk/gdkpixbuf.h gdk/gdkpixbuf-render.c: Add 
375         gdk_pixbuf_set_as_cairo_source()
376
377         * gdk/gdk.symbols: Update
378
379         * gtk/gtkcolorsel.c gtk/gtkhsv.c gtk/gtkiconview.c gtk/gtkruler.[ch]
380         gtk/gtk[hv]ruler.c: Convert to Cairo rendering.
381
382         * gtk/gtkstyle.c (gtk_default_draw_check, gtk_default_draw_focus,
383         gtk_default_draw_option): Switch to Cairo. Simplify the checkbutton,
384         radio button style for now to get something more scalable.
385
386         *  gtk/gtksettings.c: #if 0 out the code to use PangoXft for hinting/
387         antialiasing/dpi settings.
388
389 2005-03-16  Matthias Clasen  <mclasen@redhat.com>
390
391         * demos/gtk-demo/editable_cells.c: Also demonstrate
392         GtkCellRenderer::editing-started and separators.
393
394 Tue Mar 15 20:34:33 2005  Manish Singh  <yosh@gimp.org>
395
396         * gdk/x11/gdkinput-xfree.c: #include gdkaliasdef.c here too.
397
398 2005-03-15  Matthias Clasen  <mclasen@redhat.com>
399
400         Make PLT-reduction work with gcc4, and don't include
401         everything in gdkalias.h:
402
403         * gdk/gdk.symbols: Group symbols by header and source file.
404         * gdk/makegdkalias.pl: Protect definitions by the same
405         preprocessor symbols used to guard the headers. Move
406         the alias declarations to a separate file which is
407         produced when calling makegdkalias.pl -def
408         * gdk/Makefile.am (gdkaliasdef.c): Add a rule to generate this
409         file.
410         * gdk/*.c, gdk/x11/*.c: Include gdkalias.h after the other
411         headers, include gdkaliasdef.c at the bottom.
412
413 2005-03-16  Tor Lillqvist  <tml@novell.com>
414
415         * gdk/win32/gdkdisplay-win32.c (_win32_on_clipboard_change): Print
416         debugging output only if asked for, not always.
417
418         * gdk/win32/*.c: Use the %+d%+d format for coordinate pairs in
419         debugging printout instead of +%d+%d. Misc other additions and
420         cosmetic improvements to debugging printouts. Use API_CALL() and
421         GDI_CALL() macros in more places.
422
423         * gdk/win32/gdkwindow-win32.c (gdk_window_move, gdk_window_resize,
424         gdk_window_move_resize): To detect child windows, check whether
425         the real parent is not the desktop window, instead of relying on
426         the GDK window type being GDK_WINDOW_CHILD. Foreign GtkPlug
427         windows have a GDK window type GDK_WINDOW_FOREIGN, but are still
428         de facto child windows.
429
430         * gdk/win32/gdkprivate-win32.h
431         * gdk/win32/*.c: Drop global variable _gdk_root_window, just call
432         GetDesktopWindow(). Rename the GdkWindow* _gdk_parent_root to
433         _gdk_root.
434
435         * gdk/win32/gdkwindow-win32.h (GdkWindowImplWin32): Add
436         toplevel_window_type field.
437
438         * gdk/win32/gdkwindow-win32.c: As there is only one root window in
439         GDK on Win32, we can compare directly to _gdk_root instead of
440         checking the window type.
441         (gdk_window_reparent): When reparenting a child of the desktop
442         clear out the window decorations. Correspondingly, when
443         reparenting to the desktop, add decorations. As in the X11
444         backend, save the window type of a toplevel window when
445         reparenting, in case it is reparented back to toplevel.
446
447 2005-03-15  Matthias Clasen  <mclasen@redhat.com>
448
449         * gtk/gtkradioaction.c (gtk_radio_action_get_group): Add an
450         example for manually setting up a group of actions.
451
452         * gtk/gtkentrycompletion.c (gtk_entry_completion_class_init): 
453         Document that inline completion requires text-column to be set.
454         (gtk_entry_completion_compute_prefix): Return NULL if text-column
455         is not set.
456
457         * gtk/gtkentry.c (check_completion_callback): Call 
458         gtk_entry_completion_complete() before inserting the prefix,
459         otherwise the prefix may depend on (random) state of the
460         filter model.  
461
462 2005-03-15  Anders Carlsson  <andersca@imendio.com>
463
464         * docs/iconcache.txt:
465         Update spec.
466         
467         * gtk/gtkiconcache.c: (find_image_offset),
468         (_gtk_icon_cache_get_icon_flags), (_gtk_icon_cache_add_icons),
469         (_gtk_icon_cache_get_icon), (_gtk_icon_cache_get_icon_data):
470         * gtk/gtkiconcache.h:
471         Update to be able to fetch pixbuf data and icon metadata.
472         
473         * gtk/gtkicontheme.c: (theme_lookup_icon), (gtk_icon_info_free),
474         (icon_info_ensure_scale_and_pixbuf):
475         Use new cache functions.
476         
477         * gtk/updateiconcache.c: (foreach_remove_func), (load_icon_data),
478         (maybe_cache_image_data), (scan_directory), (write_pixdata),
479         (get_image_meta_data_size), (get_image_pixel_data_size),
480         (get_image_data_size), (get_single_node_size), (get_bucket_size),
481         (write_bucket), (main):
482         Update to write pixbuf data as well as information from .icon
483         files.
484         
485 2005-03-15  Tor Lillqvist  <tml@novell.com>
486
487         * gdk/win32/gdkmain-win32.c (_gdk_win32_key_to_string): New
488         debugging function. As GetKeyNameText() returns a localized key
489         name we need to convert it to UTF-8.
490
491         * gdk/win32/gdkprivate-win32.h: Declare it.
492
493         * gdk/win32/gdkevents-win32.c: Use it.
494
495         * gdk/win32/gdkwindow-win32.c (gdk_window_new_internal): Fix
496         handling of children of foreign windows. They should be child
497         windows from Windows's perspective, even if they are toplevel GDK
498         windows.
499
500 2005-03-13  Ivan, Wong Yat Cheung  <email@ivanwong.info>
501
502         * gdk/win32/gdkgeometry-win32.c (gdk_window_scroll): A further fix
503         for big window support. Now also the test in testgtk works.
504
505 2005-03-11  Matthias Clasen  <mclasen@redhat.com>
506
507         * gtk/gtkaboutdialog.c (add_credits_page): Don't crash on
508         style changes.  (#169334, Yury Puzis)
509
510         * gtk/gtkicontheme.c (gtk_icon_theme_set_custom_theme): Fix
511         the doc comments.  (#169967, Masao Mutoh)
512
513 2005-03-12  Ivan, Wong Yat Cheung  <email@ivanwong.info>
514
515         Big window fix for Win32. Big windows are still emulated within
516         16-bit coordinate limits, though. Big windows now work on NT-based
517         Windows. (#169989)
518
519         * gdk/win32/gdkgc-win32.c (_gdk_win32_gdkregion_to_hrgn): Use
520         32-bit coordinates.
521
522         * gdk/win32/gdkgeometry-win32.c: Largely rewrite.
523
524         * gdk/win32/gdkwindow-win32.c: Minor related changes.
525         
526 2005-03-10  Matthias Clasen  <mclasen@redhat.com>
527
528         * gtk/gtkliststore.c (gtk_list_store_insert_with_valuesv): 
529         Fix a doc typo.  (#169873, Johan Dahlin)
530
531         * gtk/gtkdialog.c (gtk_dialog_map): Don't
532         try to focus the default_widget if there is 
533         none.  (#169881, Thomas Leonard)
534
535 Wed Mar  9 19:20:44 2005  Manish Singh  <yosh@gimp.org>
536
537         * configure.in: Remove inadvertent gail references, require
538         Pango 1.9.0
539
540 2005-03-09  Matthias Clasen  <mclasen@redhat.com>
541
542         * configure.in: Require GLib 2.7.0
543
544 2005-03-09  Matthias Clasen  <mclasen@redhat.com>
545
546         * gtk/gtkwidget.h (struct _GtkWidget): Typo fixes in comments.
547         (#169728, Morten Welinder, Owen Taylor)
548
549         * gtk/gtkwidget.c (gtk_widget_add_mnemonic_label): Fix a typo
550         in the docs.  (#169729, Morten Welinder)
551
552         * gtk/gtkimage.c (gtk_image_class_init): Fix a typo.
553
554         * gtk/gtkiconview.c (gtk_icon_view_set_model): Queue a resize 
555         when the model is unset.  (#169528, Tomislav Jonjic)
556
557 2005-03-09  Matthias Clasen  <mclasen@redhat.com>
558
559         * gtk/gtkviewport.c (gtk_viewport_class_init): 
560         * gtk/gtkuimanager.c (gtk_ui_manager_class_init): 
561         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_class_init): 
562         * gtk/gtktipsquery.c (gtk_tips_query_class_init): 
563         * gtk/gtktext.c (gtk_text_class_init): 
564         * gtk/gtkstatusbar.c (gtk_statusbar_class_init): 
565         * gtk/gtkspinbutton.c (gtk_spin_button_class_init): 
566         * gtk/gtktoggleaction.c (gtk_toggle_action_class_init): 
567         * gtk/gtkoptionmenu.c (gtk_option_menu_class_init): 
568         * gtk/gtkoldeditable.c (gtk_old_editable_class_init): 
569         * gtk/gtkmessagedialog.c (gtk_message_dialog_class_init): 
570         * gtk/gtktoolbutton.c (gtk_tool_button_class_init): 
571         * gtk/gtktoolitem.c (gtk_tool_item_class_init): 
572         * gtk/gtkimage.c (gtk_image_class_init): 
573         * gtk/gtkruler.c (gtk_ruler_class_init): 
574         * gtk/gtkiconview.c (gtk_icon_view_class_init): 
575         * gtk/gtkprogressbar.c (gtk_progress_bar_class_init): 
576         * gtk/gtkprogress.c (gtk_progress_class_init): 
577         * gtk/gtkmenu.c (gtk_menu_class_init): 
578         * gtk/gtkscale.c (gtk_scale_class_init): 
579         * gtk/gtkpaned.c (gtk_paned_class_init): 
580         * gtk/gtkhandlebox.c (gtk_handle_box_class_init): 
581         * gtk/gtkfontbutton.c (gtk_font_button_class_init): 
582         * gtk/gtkfontsel.c (gtk_font_selection_class_init): 
583         * gtk/gtkfilesel.c (gtk_file_selection_class_init): 
584         * gtk/gtkentrycompletion.c (gtk_entry_completion_class_init): 
585         * gtk/gtkcurve.c (gtk_curve_class_init): 
586         * gtk/gtkcombo.c (gtk_combo_class_init): 
587         * gtk/gtkcombobox.c (gtk_combo_box_class_init): 
588         * gtk/gtkcolorbutton.c (gtk_color_button_class_init): 
589         * gtk/gtkcheckmenuitem.c (gtk_check_menu_item_class_init): 
590         * gtk/gtkmenuitem.c (gtk_menu_item_class_init): 
591         * gtk/gtkcheckbutton.c (gtk_check_button_class_init): 
592         * gtk/gtktogglebutton.c (gtk_toggle_button_class_init): 
593         * gtk/gtkcellview.c (gtk_cell_view_class_init): 
594         * gtk/gtktoolbar.c (gtk_toolbar_class_init): 
595         * gtk/gtkmenubar.c (gtk_menu_bar_class_init): 
596         * gtk/gtkclist.c (gtk_clist_class_init): 
597         * gtk/gtkctree.c (gtk_ctree_class_init): 
598         * gtk/gtkcolorsel.c (gtk_color_selection_class_init): 
599         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_class_init): 
600         * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init): 
601         * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_class_init): 
602         * gtk/gtkcalendar.c (gtk_calendar_class_init): 
603         * gtk/gtkbbox.c (gtk_button_box_class_init): 
604         * gtk/gtktable.c (gtk_table_class_init): 
605         * gtk/gtkaspectframe.c (gtk_aspect_frame_class_init): 
606         * gtk/gtkframe.c (gtk_frame_class_init): 
607         * gtk/gtkaction.c (gtk_action_class_init): 
608         * gtk/gtkaccellabel.c (gtk_accel_label_class_init): 
609         * gtk/gtkaboutdialog.c (gtk_about_dialog_class_init): 
610         * gtk/gtkdialog.c (gtk_dialog_class_init): More of the same.
611
612 2005-03-08  Matthias Clasen  <mclasen@redhat.com>
613
614         * gtk/gtktextbuffer.c (gtk_text_buffer_class_init): 
615         * gtk/gtkrange.c (gtk_range_class_init): 
616         * gtk/gtkscrolledwindow.c (gtk_scrolled_window_class_init): 
617         * gtk/gtktexttag.c (gtk_text_tag_class_init): 
618         * gtk/gtktextview.c (gtk_text_view_class_init): 
619         * gtk/gtkscrollbar.c (gtk_scrollbar_class_init): 
620         * gtk/gtknotebook.c (gtk_notebook_class_init): 
621         * gtk/gtkentry.c (gtk_entry_class_init): 
622         * gtk/gtkexpander.c (gtk_expander_class_init): 
623         * gtk/gtkarrow.c (gtk_arrow_class_init): 
624         * gtk/gtkalignment.c (gtk_alignment_class_init): 
625         * gtk/gtkbutton.c (gtk_button_class_init): 
626         * gtk/gtklabel.c (gtk_label_class_init): 
627         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_class_init): 
628         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
629         * gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init): 
630         * gtk/gtktreeview.c (gtk_tree_view_class_init): 
631         * gtk/gtkbox.c (gtk_box_class_init): 
632         * gtk/gtkwindow.c (gtk_window_class_init, gtk_window_class_init): 
633         * gtk/gtkcontainer.c (gtk_container_class_init): 
634         * gtk/gtkwidget.c (gtk_widget_class_init): 
635         * gtk/gtkobject.c (gtk_object_class_init): Use canonical names
636         when registering param specs.
637
638         * demos/gtk-demo/editable_cells.c: Use GtkCellRendererCombo
639         (#169607, Mark McLoughlin)
640         
641         * gtk/gtk.symbols: Add the new attributes here, too.
642
643         * gtk/gtkwidget.h: 
644         * gtk/gtktreeview.h: 
645         * gtk/gtktreeviewcolumn.h: 
646         * gtk/gtktextbuffer.h: 
647         * gtk/gtkobject.h: 
648         * gtk/gtkfilechooserdialog.h: 
649         * gtk/gtkdialog.h: 
650         * gtk/gtkcontainer.h: 
651         * gtk/gtkcelllayout.h: 
652         * gtk/gtkaboutdialog.h: Use G_GNUC_NULL_TERMINATED where
653         appropriate.  (#165682, Marc Meissner)
654
655 2005-03-07  Matthias Clasen  <mclasen@redhat.com>
656
657         Convert the gdk keyval-keyname tables to a big string
658         + offsets. (#168901)
659         
660         * gdk/gen-keyname-table.pl: Perl script inspired by
661         pango/tools/gen-color-table.pl to create the 
662         gdk_keys_by_keyval and gdk_keys_by_name tables as lists
663         of offsets pointing into a big const string.
664         
665         * gdk/keynames.txt: List of keyval-keyname pairs.
666         * gdk/keyname-table.h: Generated tables.
667
668         * gdk/gdkkeynames.c: Include keyname-table.h and don't
669         generate the inverse table at runtime.
670
671 2005-03-07  Matthias Clasen  <mclasen@redhat.com>
672
673         * gtk/gtkstyle.c: Document which parameters may be NULL.  
674         (#166855, Frank Naumann)
675
676 2005-03-07  Matthias Clasen  <mclasen@redhat.com>
677
678         * AUTHORS: Add original authors of incorporated software.
679
680 Thu Mar  3 16:59:44 2005  Manish Singh  <yosh@gimp.org>
681
682         * configure.in: URL escape the '+' in gtk+ in the bugzilla URL.
683
684 2005-03-03  Matthias Clasen  <mclasen@redhat.com>
685
686         * gtk/gtksettings.c (gtk_settings_get_property): 
687         * gtk/gtkrc.c (gtk_rc_parse_assignment): Don't leak 
688         the values here.  (#169047, Philip Langdale)
689
690         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render): 
691         Don't warn if a stock icon cannot be found.  (#168830,
692         Sven Neumann)
693
694 2005-03-03  Matthias Clasen  <mclasen@redhat.com>
695
696         * gtk/gtkwidget.c (gtk_widget_reparent_subwindows): 
697         Avoid warnings if gtk_widget_reparent() is called at
698         unusual times.  (#168966, Christian Persch)
699
700 Tue Mar  1 14:04:08 2005  Manish Singh  <yosh@gimp.org>
701
702         * gdk/x11/gdkproperty-x11.c (virtual_atom_check_init): Cast to avoid
703         const warnings on data structure seeding.
704
705 Tue Mar  1 13:53:56 2005  Manish Singh  <yosh@gimp.org>
706
707         * gtk/xdgmime/xdgmime.[ch]: revert previous change, maintain ABI.
708
709 2005-03-01  Matthias Clasen  <mclasen@redhat.com>
710
711         * gtk/gtkmenutoolbutton.c (button_state_changed_cb): 
712         Fix prelighting.  (#157392, Vincent Noel, patch by
713         Christian Persch)
714
715         * gtk/gtkicontheme.c (theme_lookup_icon): Make 
716         icon data caching work again.  (#168851, Alexander Larsson)
717
718         * gdk-pixbuf/gdk-pixbuf.c:
719         * gdk-pixbuf/gdk-pixbuf-features.h.in:
720         Revert the previous change, since it breaks
721         bin compat.
722
723 2005-03-01  Matthias Clasen  <mclasen@redhat.com>
724
725         * gdk/gdkkeyuni.c
726         * gdk/gdkpixbuf-drawable.c
727         * gdk/gdkrgb.c
728         * gdk/x11/gdkdnd-x11.c
729         * gdk/x11/gdkevents-x11.c
730         * gdk/x11/gdkproperty-x11.c
731         * gdk/x11/gdkvisual-x11.c
732         * gdk-pixbuf/gdk-pixbuf.c
733         * gdk-pixbuf/gdk-pixbuf-features.h.in
734         * gtk/gtkaction.c
735         * gtk/gtkbindings.c
736         * gtk/gtkcolorbutton.c
737         * gtk/gtkcombo.c
738         * gtk/gtkcontainer.c
739         * gtk/gtkfilechooserdefault.c
740         * gtk/gtkfilesel.c
741         * gtk/gtkgamma.c
742         * gtk/gtkiconview.c
743         * gtk/gtkinputdialog.c
744         * gtk/gtkitemfactory.c
745         * gtk/gtkmenu.c
746         * gtk/gtktextview.c
747         * gtk/gtktooltips.c
748         * gtk/gtktreedatalist.c
749         * gtk/gtkuimanager.c
750         * gtk/tree_minus.xpm
751         * gtk/tree_plus.xpm
752         * gtk/xdgmime/xdgmime.c
753         * gtk/xdgmime/xdgmime.h: 
754         Move constant data to .rodata.
755
756 2005-02-27  Matthias Clasen  <mclasen@redhat.com>
757
758         * gtk/gtkaction.c (connect_proxy): Improve the handling
759         of buttons as action proxys.  (#165534, Milosz Derezynski)
760
761         * gtk/gtklabel.c (gtk_label_size_request): Fix a typo.
762         (#168646, Vincent Untz)
763
764         * gtk/gtkfilechooserdefault.c (save_folder_combo_create): 
765         Unset "focus-on-click" for the save folder combo.  (#168688,
766         Sven Neumann)
767
768 2005-02-25  Matthias Clasen  <mclasen@redhat.com>
769
770         * demos/testpixbuf.c (main): Remove a C++ comment.  (#168531, 
771         Paul Cornett)
772
773         * gtk/gtkcombobox.c (gtk_combo_box_menu_fill_level): Don't leak a 
774         path here.  (#168443, Morten Welinder)
775
776 2005-02-24  Robert Ögren  <gtk@roboros.com>
777
778         Implement better handling of Wintab tablet context overlap on
779         Win32. (#167298)
780
781         * gdk/win32/gdkinput-win32.c (_gdk_input_set_tablet_active): New
782         function that brings any tablet contexts to the top of the overlap
783         order.
784         * gdk/win32/gdkinput-win32.h: Declare _gdk_input_set_tablet_active ()
785         * gdk/win32/gdkevents-win32.c (gdk_event_translate):
786         Call _gdk_input_set_tablet_active when a window is activated (on
787         WM_ACTIVATE)
788
789 2005-02-24  Matthias Clasen  <mclasen@redhat.com>
790
791         * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_select_path): 
792         Don't leak parent_path.  (#168435, Morten Welinder)
793
794 Thu Feb 24 14:20:16 2005  Søren Sandmann  <sandmann@redhat.com>
795
796         * gtk/gtkstyle.c: Add
797
798         g_return_if_fail (style->depth == gdk_drawable_get_depth(window));
799
800         all over the place.
801
802 2005-02-24  Matthias Clasen  <mclasen@redhat.com>
803
804         * gtk/gtkcombobox.c: Consistently use gtk_tree_row_reference_valid().
805         (gtk_combo_box_model_row_deleted): Update the displayed row in 
806         the cell_view.  (#167842, Gustavo Carneiro)
807
808 2005-02-24  Matthias Clasen  <mclasen@redhat.com>
809
810         Fix #167259, reported by  Christian Persch:
811         
812         * gtk/gtkwidget.c (gtk_widget_unparent): Unmap the reparented 
813         widget, even if we avoid the unrealizing. 
814         (gtk_widget_reparent_subwindows): Make reparenting work for
815         !NO_WINDOW widgets which have other windows which are siblings
816         of widget->window (as e.g. GtkSpinButton).
817
818 2005-02-24  Matthias Clasen  <mclasen@redhat.com>
819
820         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_changed): 
821         Don't emit a warning if a parent node is filtered out. (#164726,
822         Olivier Sessink)
823
824 2005-02-23  Matthias Clasen  <mclasen@redhat.com>
825
826         * gtk/gtklabel.c (gtk_label_style_set): Revert the last 
827         change, since gtk_widget_set_style_internal() already
828         queues a resize.
829
830 2005-02-23  Matthias Clasen  <mclasen@redhat.com>
831
832         * gtk/gtklabel.c (gtk_label_style_set): Queue a resize, since
833         fonts may have changed.  (#164128, Phil Blundell)
834
835         * gtk/gtkaboutdialog.c (gtk_about_dialog_init) 
836         (gtk_about_dialog_new): Move initialization code from _new to 
837         _init.  (#168249, Murray Cumming) 
838
839 Wed Feb 23 17:34:01 2005  Jonathan Blandford  <jrb@redhat.com>
840
841         * gtk/gtktreeview.c (gtk_tree_view_node_queue_redraw): Patch from
842         jorn@nl.linux.org (Jorn Baayen) to notice changes to fixed-height
843         widgets.
844
845 2005-02-23  Tor Lillqvist  <tml@novell.com>
846
847         * gdk/win32/gdkkeys-win32.c (update_keymap): Workaround for bug in
848         MapVirtualKey(VK_DIVIDE, 0) in some Windows versions. (#142998)
849
850 Tue Feb 22 13:49:09 2005  Manish Singh  <yosh@gimp.org>
851
852         * gtk/updateiconcache.c: #include <config.h>
853
854 2005-02-22  Federico Mena Quintero  <federico@ximian.com>
855
856         Merged from gtk-2-6:
857
858         Fix #164940, patch by Ben Maurer and Tommi Komulainen.
859
860         * gdk/gdkrgb.c (gdk_rgb_convert_565_d): Constify the "dmp" variable.
861         (gdk_rgb_convert_565_d): Likewise.
862         (DM_565): Made a static const precomputed array to avoid
863         allocating it at runtime.
864         (gdk_rgb_preprocess_dm_565): #ifdef out.
865
866 2005-02-20  Matthias Clasen  <mclasen@redhat.com>
867
868         * gtk/gtkwindow.c: 
869         * gtk/gtkclipboard.c: Fix links to freedesktop.org specs
870         in the documentation.
871
872         * gdk/x11/gdkdrawable-x11.c (_gdk_x11_have_render_with_trapezoids): 
873         Set have_render_with_trapezoids to GDK_YES when we have 
874         a new enough Render extension.  (#167965,Billy Biggs) 
875
876         * gtk/gtkwindow.c (gtk_window_present): Use the timestamp of
877         the last user interaction when focusing the window.  (#166379, 
878         Elijah Newren)
879
880 Thu Feb 17 14:58:16 2005  Manish Singh  <yosh@gimp.org>
881
882         * gtk/gtkuimanager.c (start_element_handler): make sure expand
883         is initialized, cast to GTK_SEPARATOR_TOOL_ITEM.
884
885 Thu Feb 17 14:52:57 2005  Manish Singh  <yosh@gimp.org>
886
887         * gtk/gtkcombobox.c: Pass gtk_widget_get_toplevel() a GTK_WIDGET.
888
889 2005-02-16  Matthias Clasen  <mclasen@redhat.com>
890
891         * docs/iconcache.txt: Add some information about the
892         icon cache format (since I can't locate it at freedesktop.org)
893
894         Fixes for #143829, Tommi Komulainen, Christian Persch:
895         
896         * gtk/gtktreeview.c (gtk_tree_view_destroy): Remove the
897         typeselect_flush_timeout when destroying the widgets
898         it is operating on.  
899         (gtk_tree_view_ensure_interactive_directory): Add the 
900         popup to the window group of the toplevel it belongs to.
901
902         * gtk/gtkcombobox.c (gtk_combo_box_set_popup_widget) 
903         (gtk_combo_box_popup): Do the same here. 
904
905 2005-02-14  Matthias Clasen  <mclasen@redhat.com>
906
907         * configure.in: Kill --enable-ansi  (#164394)
908
909 2005-02-11  Matthias Clasen  <mclasen@redhat.com>
910
911         * gtk/gtkpathbar.c (gtk_path_bar_finalize): Stop scrolling 
912         when the pathbar goes away.  (#167094, Rodney Dawes)
913         (change_icon_theme): Use GTK_ICON_SIZE_MENU here as 
914         well  (Vincent Noel)
915
916 2005-02-11  Matthias Clasen  <mclasen@redhat.com>
917
918         Support vertical menubars  (#166632): 
919         
920         * gtk/gtkenums.h (GtkPackDirection): New enumeration for pack 
921         directions, with values for left-to-right, right-to-left, 
922         top-to-bottom and bottom-to-top.
923
924         * gtk/gtk.symbols: 
925         * gtk/gtkmenubar.h: 
926         * gtk/gtkmenubar.c: Add two properties, pack-direction and
927         child-pack-direction, which specify how children and 
928         grandchildren of a menubar are packed, with getters and setters. 
929
930         * gtk/gtkmenubar.c (gtk_menu_bar_set_property): 
931         (gtk_menu_bar_get_property): Implement set_property and get_property.
932
933         * gtk/gtkmenubar.c (gtk_menu_bar_size_request): 
934         (gtk_menu_bar_size_allocate): Take pack direction into account.
935
936         * gtk/gtkmenubar.c (gtk_menu_bar_move_current): Implement 
937         move_current here move all the menubar-specific direction 
938         tweaking from the generic menushell implementation here.
939
940         * gtk/gtkmenu.c (gtk_menu_move_current): Move  menu-specific 
941         direction tweaking from the generic menushell implementation here.
942
943         * gtk/gtkmenuitem.c (gtk_menu_item_size_request): 
944         (gtk_menu_bar_size_allocate): Take pack direction into account.
945
946         * gtk/gtkimagemenuitem.c (gtk_image_menu_item_size_request) 
947         (gtk_image_menu_item_size_allocate): 
948         (gtk_image_menu_item_toggle_size_request): Take child pack 
949         direction into account and pack the image vertically if
950         necessary.
951
952         * gtk/gtkmenushell.c (gtk_menu_shell_real_select_item):
953         Set the submenu direction to left-right for menuitems in 
954         vertical menubars.
955         (gtk_real_menu_shell_move_current): Simplify by moving
956         direction tweaking to menu- and menubar-specific 
957         implementations. Take pack direction into account when
958         doing fallbacks.
959
960         * tests/testmenubars.c: Test menubars in various packing
961         direction combinations.
962
963         * tests/Makefile.am (noinst_PROGRAMS): Add testmenubars.
964
965 2005-02-11  Matthias Clasen  <mclasen@redhat.com>
966
967         Complete the fix for #165770, Vincent Noel:
968         
969         * gtk/gtkfilechooserbutton.c (FALLBACK_ICON_SIZE): Make the
970         fallback size be 16, to be equal to the default for
971         GTK_ICON_SIZE_MENU (in gtkiconfactory.c:init_icon_sizes()).
972         (gtk_file_chooser_button_init):
973         (change_icon_theme): Use GTK_ICON_SIZE_MENU instead of
974         GTK_ICON_SIZE_SMALL_TOOLBAR. 
975
976 2005-02-09  Matthias Clasen  <mclasen@redhat.com>
977
978         * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): Fix RTL
979         keynav for going from menubar to menu.
980
981 2005-02-08  Christian Rose  <menthos@menthos.com>
982
983         * configure.in: Added "xh" to ALL_LINGUAS.
984
985 2005-02-08  Matthias Clasen  <mclasen@redhat.com>
986
987         * gtk/gtkuimanager.c (start_element_handler): Accept 
988         the "expand" attribute and set a flag in the node if it
989         is set to "true".
990         (update_node): If the expand flag is set, make separator
991         toolitems non-drawn and expanding.  (#166489, Christian Persch)
992
993 2005-02-05  Hans Breuer  <hans@breuer.org>
994
995         * gdk/makefile.msc gdk/win32/makefile.msc gtk/makefile.msc.in :
996         build with Cairo dependency. The patch to acually use Cairo
997         on win32 will be on gtk-devel-list soon.
998         * tests/makefile.msc : add testcairo building
999
1000         * gtk/stock-icons/makefile.msc : split command line into two to
1001         work with the shells default
1002
1003 Fri Feb  4 14:16:31 2005  Manish Singh  <yosh@gimp.org>
1004
1005         * gtk/gtkaccelgroup.c (substitute_underscores): remove unused
1006         function.
1007
1008         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render):
1009         Add some extra parens for bitop order of operations disambiguiation.
1010
1011         * gtk/gtkstock.c: Fix const confusion, make our own copy of the 
1012         domain when setting a translate function.
1013
1014         * tests/testcombo.c: removed unused variable.
1015
1016 2005-02-04  Matthias Clasen  <mclasen@redhat.com>
1017
1018         * gtk/gtkstock.c (gtk_stock_lookup): Handle item->translation_domain
1019         being NULL.  (#166179, Diego Gonzalez)
1020
1021 2005-02-04  Owen Taylor  <otaylor@redhat.com>
1022
1023         * configure.in: Revert gtk_binary_version to 2.4.0. Fix
1024         up comment to talk only about backwards compat, not
1025         forward/backwards compat. (#166293, reported by Vincent Noel)
1026
1027 2005-02-04  Matthias Clasen  <mclasen@redhat.com>
1028
1029         * gtk/gtkpaned.c (gtk_paned_compute_position): Work better
1030         when there is not enough space. This avoids a nasty size
1031         allocation loop in the file chooser.  (#154007, reported 
1032         by Milosz Derezynski, patch by Robert Ögren)
1033
1034 2005-02-04  Matthias Clasen  <mclasen@redhat.com>
1035
1036         * gtk/gtkentry.c (gtk_entry_create_layout): Avoid spurious
1037         selection of RTL direction if the widget does not have 
1038         focus.  (#164125, Frederic Crozat)
1039
1040 Thu Feb  3 19:15:55 2005  Manish Singh  <yosh@gimp.org>
1041
1042         * gdk/x11/gdkdrawable-x11.c: #include cairo-xlib.h
1043
1044 2005-02-03  Owen Taylor  <otaylor@redhat.com>
1045
1046         * gdk/gdkdrawable.[ch] gdkpixmap.c gdkwindow.c: Add
1047         gdk_drawable_set_cairo_target().
1048
1049         * tests/testtreeflow.c (enum): Use grand not rand as a variable
1050         name because one of the cairo headers is pulling in stdlib.h.
1051
1052         * tests/testcairo.c tests/Makefile.am: Add a simple cairo based
1053         example.
1054
1055         * configure.in: Bump release to 2.7.0, gtk_binary_version to 2.7.0.
1056
1057         * Require libpangocairo for all backends.
1058
1059 2005-02-03  Tor Lillqvist  <tml@novell.com>
1060
1061         * modules/input/gtkimcontextime.c (get_pango_attr_list): Use the
1062         wide character version of ImmGetCompositionString() here,
1063         too. (#165278, Takuro Ashie)
1064
1065 2005-02-03  Matthias Clasen  <mclasen@redhat.com>
1066
1067         * gtk/gtkmenu.c (gtk_menu_handle_scrolling): Don't do
1068         one roundtrip per motion event.  (#166173, pointed out
1069         by Chris Lee, patch by Søren Sandmann)
1070
1071         * gtk/gtk.symbols: 
1072         * gtk/gtkstock.h: 
1073         * gtk/gtkstock.c (gtk_stock_set_translate_func): 
1074         New function which allows to change the function used for
1075         translation stock labels, on a per-domain basis. Use this
1076         functionality to switch the GTK+ stock items to use Q_()
1077         prefixed msgids.  (#166179, Funda Wang)
1078         
1079         * gdk/gdkkeynames.c: Make the gdk_key array const (#166075,
1080         Tommi Komulainen)
1081
1082 2005-02-02  Federico Mena Quintero  <federico@ximian.com>
1083
1084         Merged from gtk-2-6:
1085
1086         * gtk/gtkfilechooserdefault.c (pending_select_paths_process):
1087         Don't select the first row if the chooser is not mapped.  This
1088         happens when it's acting on behalf of GtkFileChooserButton.  Also,
1089         don't select the first row if we are in SAVE or CREATE_FOLDER
1090         modes --- I had missed that (see the ChangeLog entry from
1091         2005-01-18).  Fixes #165264.
1092
1093 2005-02-02  Tor Lillqvist  <tml@novell.com>
1094
1095         Implement lazy extended input initialization on Win32, by Robert
1096         Ögren. Fixes #163163, possibly #162334. Lazy initialization would
1097         be a good idea in any case even if it didn't fix any visible
1098         problems, though.
1099
1100         The Wacom tablet driver seems to get confused if Wintab is
1101         initialized but no window is shown before the process exits. This
1102         is the case for some GIMP plug-ins, for instance. 
1103
1104         * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Made
1105         non-static (and renamed).
1106         (_gdk_input_init): Don't call _gdk_input_wintab_init_check().
1107
1108         * gdk/win32/gdkinput-win32.h: Declare _gdk_input_wintab_init_check().
1109
1110         * gdk/win32/gdkinput.c (gdk_devices_list,
1111         gdk_display_list_devices, gdk_input_set_extension_events): Call
1112         _gdk_input_wintab_init_check() here instead.
1113
1114 2005-02-02  Ivan, Wong Yat Cheung  <email@ivanwong.info>
1115
1116         * gdk/win32/gdkselection.c: Use a FIFO list for storing GdkSelProp
1117         of a single window so that gtk_clipboard_request_contents() can be
1118         called inside a GtkClipboardReceivedFunc(). (#163844)
1119
1120 2005-02-01  Matthias Clasen  <mclasen@redhat.com>
1121
1122         * gtk/gtkicontheme.c (gtk_icon_theme_init): Look for icons
1123         in XDG_DATA_DIRS/pixmaps.  (#165950, Thomas Zajic)
1124
1125         * gtk/gtkwindow.c (gtk_window_set_icon_name): Set info->icon_list
1126         to NULL after freeing it.  (#165800, Damon Chaplin)
1127
1128 2005-02-01  Michael Natterer  <mitch@gimp.org>
1129
1130         * configure.in: depend on stable pango-1.8, not unstable 1.7
1131
1132 2005-02-01  Federico Mena Quintero  <federico@ximian.com>
1133
1134         Merged from gtk-2-6:
1135
1136         * gtk/gtkfilechooserdefault.c
1137         (browse_files_model_finished_loading_cb): Don't
1138         g_assert_not_reached() if we are in any other state.  Another code
1139         path may have triggered a folder reload.  Fixes #165556.
1140
1141 2005-02-01  Federico Mena Quintero  <federico@ximian.com>
1142
1143         Merged from gtk-2-6:
1144
1145         Fix #165770:
1146
1147         * gtk/gtkfilechooserdefault.c (FALLBACK_ICON_SIZE): Make the
1148         fallback size be 16, to be equal to the default for
1149         GTK_ICON_SIZE_MENU (in gtkiconfactory.c:init_icon_sizes()).
1150         (change_icon_theme): Use GTK_ICON_SIZE_MENU instead of
1151         GTK_ICON_SIZE_SMALL_TOOLBAR.
1152
1153 2005-02-01  Matthias Clasen  <mclasen@redhat.com>
1154
1155         * */*.c: Fix many instances of "the the" in docs and
1156         comments.  (#165815, Masao Mutoh)
1157
1158         * gtk/updateiconcache.c (main): Add a --quiet option.
1159
1160 2005-02-01  Tor Lillqvist  <tml@novell.com>
1161
1162         * gdk/win32/gdkkeys-win32.c (handle_special, set_shift_vks,
1163         reset_after_dead, handle_dead): New functions, code blocks
1164         refactored out of update_keymap(). No functionality change.
1165
1166         (update_keymap): Use ToUnicodeEx() when available (on NT-based
1167         Windows) instead of ToAsciiEx(). Makes keyboard input work in
1168         Unicode-only input locales that don't have any ANSI codepage, for
1169         instance Hindi and Bengali. Use _gdk_input_codepage only on
1170         Win9x. (#165723)
1171
1172         * gdk/win32/gdkevents-win32.c (gdk_event_translate): On
1173         WM_INPUTLANGCHANGE, use GetLocaleInfo() instead of
1174         TranslateCharsetInfo() to get the input locale's corresponding
1175         codepage, if any.
1176
1177 2005-01-31  Matthias Clasen  <mclasen@redhat.com>
1178
1179         * modules/input/gtkimcontextxim.c: Use NULL, not 0 to terminate 
1180         NULL-terminated va lists.  (#165683)
1181
1182 2005-01-29  Matthias Clasen  <mclasen@redhat.com>
1183
1184         * gtk/gtkseparatortoolitem.c (gtk_separator_tool_item_set_draw): 
1185         Typo fix.  (#165581, Masao Mutoh)
1186
1187 Thu Jan 27 14:25:45 2005  Manish Singh  <yosh@gimp.org>
1188
1189         * README.cvs-commits: update ancient IRC info.
1190
1191 2005-01-27  Federico Mena Quintero  <federico@ximian.com>
1192
1193         Merged from gtk-2-6:
1194
1195         * gtk/gtkfilechooserdefault.c
1196         (gtk_file_chooser_default_select_path): Oops, don't assert that we
1197         can't reach the end of the function; this happens if we are still
1198         loading but don't need a path change.  Fixes #165213.
1199
1200 2005-01-27  Matthias Clasen  <mclasen@redhat.com>
1201
1202         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render): 
1203         Make wrapping work in RTL mode.  
1204
1205         * gtk/gtkaboutdialog.c: Some visual tweaks to the about dialog,
1206         obey HIG spacing a bit more, add a hand cursor when over the
1207         link button.  (#163979, Jorn Baayen)
1208
1209 2005-01-26  Matthias Clasen  <mclasen@redhat.com>
1210
1211         * gtk/gtkentrycompletion.c (gtk_entry_completion_class_init): 
1212         Don't allow -1 as minimum-key-length.
1213         (gtk_entry_completion_set_model): Add missing notification.
1214         (gtk_entry_completion_set_minimum_key_length): Add missing
1215         notification, allow setting minimum-key-length to 0.  (#165194,
1216         Vincent Ladeuil)
1217
1218 2005-01-26  Matthias Clasen  <mclasen@redhat.com>
1219
1220         * gtk/gtkaboutdialog.c (display_license_dialog): Make sure
1221         the license dialog is initially displayed without a horizontal
1222         scrollbar.  
1223         (gtk_about_dialog_class_init): Document the fact that the 
1224         license text is not wrapped.  (#165012, Christian Rose)
1225
1226 2005-01-25  Matthias Clasen  <mclasen@redhat.com>
1227
1228         * gtk/gtkbutton.c (gtk_button_set_image): Fix docs.  (#165180,
1229         Jeff Franks)
1230
1231         * gdk/x11/gdkwindow-x11.c (gdk_window_configure_finished): Fix 
1232         docs.  (#165163, Jeff Franks)
1233         
1234         * gtk/gtkimage.c (gtk_image_get_property): Use the correct setter
1235         for a string GValue.  (#165203, Damon Chaplin)
1236
1237 2005-01-24  Matthias Clasen  <mclasen@redhat.com>
1238
1239         * gdk/x11/gdkdisplay-x11.c (_gdk_windowing_set_default_display): 
1240         Initialize user_time from DESKTOP_STARTUP_ID.  (#165131,
1241         Elijah Newren)
1242
1243 2005-01-24  Federico Mena Quintero  <federico@ximian.com>
1244
1245         * gtk/gtkfilechooserdefault.c: Removed leftover comments.
1246
1247 2005-01-24  Federico Mena Quintero  <federico@ximian.com>
1248
1249         Merged from gtk-2-6:
1250
1251         Fix #147785 and clean up the loading code:
1252
1253         * gtk/gtkfilechooserdefault.c (LoadState): Make the set of states
1254         be EMPTY, PRELOAD, LOADING, FINISHED.
1255         (gtk_file_chooser_default_init): Start in the LOAD_EMPTY state.
1256         (struct _GtkFileChooserDefault): Added a pending_select_paths
1257         field.
1258         (load_remove_timer): Add the new states.
1259         (load_setup_timer): Likewise.
1260         (load_timeout_cb): Likewise.  Switch to the LOAD_LOADING state.
1261         (browse_files_model_finished_loading_cb): Switch to the
1262         LOAD_FINISHED state.
1263         (enum PendingOp): Removed.
1264         (struct _GtkFileChooserDefault): Removed the pending_op and
1265         pending_select_path fields.
1266         (pending_select_paths_free): New utility function.
1267         (pending_select_paths_add): New utility function.
1268         (gtk_file_chooser_default_finalize): Call
1269         pending_select_paths_free().
1270         (pending_op_queue): Removed.
1271         (pending_op_process): Removed.
1272         (pending_select_paths_process): New function.
1273         (browse_files_model_finished_loading_cb): Call
1274         pending_select_paths_process().
1275         (center_selected_row_foreach_cb): Handle multiple selection by
1276         only centering the first row.
1277         (get_is_file_filtered): Constify.
1278         (gtk_file_chooser_default_select_path): Queue into a list of paths
1279         to select if we are not finished loading.
1280         (show_and_select_paths): New utility function.
1281         (up_folder_handler): Use pending_select_paths_add().
1282         (gtk_file_chooser_default_should_respond): Do not call
1283         pending_op_queue(); free the pending_selected_paths instead.
1284         (gtk_file_chooser_default_initial_focus): Don't queue a pending
1285         operation, and don't select the first row unconditionally --- this
1286         will happen when the folder is done loading.
1287         (shortcuts_row_activated_cb): Free the pending_select_paths.
1288         (pending_select_paths_store_selection): New utility function.
1289         (gtk_file_chooser_default_map): Call
1290         pending_select_paths_store_selection() to save the selection
1291         before reloading the folder.
1292         (select_func): Umm?  Call gtk_tree_selection_select_iter().  Don't
1293         move the cursor here; it will be done when processing the pending paths.
1294
1295         * tests/testfilechooser.c (main): Add a button to the command
1296         window to unmap and remap the file chooser.
1297
1298 2005-01-24  Matthias Clasen  <mclasen@redhat.com>
1299
1300         * docs/tutorial/gtk-tut.sgml:
1301         * docs/tutorial/gtk_tut.sgml:
1302         * docs/reference/gtk/tmpl/gtkliststore.sgml:
1303         * gtk/gtkactiongroup.c:
1304         * gtk/gtksizegroup.c:
1305         * gtk/gtksizegroup.h:
1306         * gtk/gtktogglebutton.c: Replace "effect" by "affect" where
1307         appropriate.  (#165108, Dan Winship)
1308
1309 2005-01-24  Matthias Clasen  <mclasen@redhat.com>
1310
1311         * gtk/gtkwidget.c (gtk_widget_class_init): Document 
1312         GtkWidget::style-set.  (#164222, Alex Graveley)
1313         
1314 2005-01-22  Matthias Clasen  <mclasen@redhat.com>
1315
1316         * gdk/gdkdisplay.h (gdk_display_add_client_message_filter_full): 
1317         Remove the accidentally added prototype for this unimplemented 
1318         function.  (#164893, Jeff Franks)
1319
1320         * gtk/gtktreeview.c (gtk_tree_view_leave_notify): Avoid spurious
1321         drags.  (#164884)
1322
1323 2005-01-23  Tor Lillqvist  <tml@novell.com>
1324
1325         * gdk/win32/gdkkeys-win32.c (update_keymap): Handle Greek tonos
1326         dead accent key. (#164859, reported and fix verified by Daniel
1327         Atallah.)
1328
1329         * gtk/gtkimcontextsimple.c (gtk_compose_seqs): Handle
1330         GDK_Greek_accentdieresis (tonos and dialytika) combining with iota
1331         and upsilon.
1332
1333         * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_volume_get_display_name): 
1334         Don't call GetVolumeInformation() for network drives. They might
1335         be disconnected, and calling GetVolumeInformation() will then
1336         cause long delays. (#164448, reported by Dave Neary.) It seems to
1337         be very hard to reliably find out whether a network drive is
1338         connected or not, so it's easier to just not try getting the
1339         volume name for them. See the bug report for discussion.
1340
1341         Make volume name display formats translatable.
1342
1343         Fix for #163702, from Ivan Wong: 
1344         
1345         * gdk/win32/gdkprivate-win32.h 
1346         * gdk/win32/gdkglobals-win32.c: New flag _ignore_destroy_clipboard.
1347         
1348         * gdk/win32/gdkevents-win32.c (gdk_event_translate): Handle
1349         WM_DESTROYCLIPBOARD. Unless _ignore_destroy_clipboard, generate a
1350         GDK_SELECTION_CLEAR event.
1351
1352         * gdk/win32/gdkselection-win32.c
1353         (gdk_selection_owner_set_for_display): Set _ignore_destroy_clipboard
1354         when emptying the clipboard ourselves.
1355
1356         (gdk_selection_send_notify_for_display): Remove the artifical
1357         GDK_SELECTION_CLEAR event generation.
1358
1359 2005-01-21  Matthias Clasen  <mclasen@redhat.com>
1360
1361         * gtk/gtkwidget.c (gtk_widget_get_accessible): More details
1362         provided by Bill Haneman.
1363
1364 2005-01-20  Matthias Clasen  <mclasen@redhat.com>
1365
1366         * gtk/gtkwidget.c (gtk_widget_get_accessible): Add docs.  (#164725,
1367         George Kraft IV)
1368
1369         * gtk/gtkdialog.c (gtk_dialog_map): Don't loop forever
1370         here, even if the only focusable widgets are labels.
1371
1372 2005-01-20  Matthias Clasen  <mclasen@redhat.com>
1373
1374         Support tinting in GtkCellRendererPixbuf (#162903, Jorn Baayen):
1375         
1376         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_class_init) 
1377         Add a follow-state property which when TRUE causes the pixbuf
1378         to be tinted according to state.
1379
1380         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render): 
1381         Use follow-state and colorize the pixbuf when appropriate.      
1382         
1383 2005-01-20  Matthias Clasen  <mclasen@redhat.com>
1384
1385         Support wrapping in GtkCellRendererText  (#163608):
1386         
1387         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init): 
1388         Add wrap-mode and wrap-width properties which cause a 
1389         text cell to break to a specified width when set.
1390
1391         * gtk/gtkcellrenderertext.c (get_layout): Use wrap-mode
1392         and wrap-width when they are set.
1393
1394 2005-01-20  Matthias Clasen  <mclasen@redhat.com>
1395
1396         * gtk/gtkmodules.c (load_module): Don't reverse the order
1397         of modules when putting them in gtk_modules.  (#162676, Dennis
1398         Cranston, patch by Remus Draica)
1399
1400         * gtk/gtktreeview.c (gtk_tree_view_search_move): Don't crash 
1401         if the tree is empty.  (#164669, Priit Laes)
1402
1403 Wed Jan 19 18:57:02 2005  Manish Singh  <yosh@gimp.org>
1404
1405         * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents): Call
1406         GDK_DISPLAY_XDISPLAY with a display, not a window. Clean up the
1407         function a bit too.
1408
1409 Wed Jan 19 17:17:31 2005  Manish Singh  <yosh@gimp.org>
1410
1411         * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents): Squash
1412         strict aliasing warning in _NET_VIRTUAL_ROOTS code.
1413
1414 2005-01-19  Tor Lillqvist  <tml@novell.com>
1415
1416         * gdk/win32/gdkkeys-win32.c (update_keymap,
1417         gdk_keymap_translate_keyboard_state): Handle keyboards with
1418         ShiftLock (and not CapsLock) correctly. (#161814)
1419
1420 2005-01-19  Matthias Clasen  <mclasen@redhat.com>
1421
1422         * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_should_respond):
1423         In save mode, don't return paths containing nonexisting 
1424         directories.  (#162443, Jean Marie Favreau)
1425
1426         * gtk/gtkobject.c (gtk_object_add_arg_type): Use GLib limit 
1427         macros to avoid sparse warnings. Pointed out by Kjartan Maraas.
1428
1429         * gdk/x11/gdkdisplay-x11.c: Precache the _NET_VIRTUAL_ROOTS
1430         atom.
1431
1432         * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents): 
1433         Support _NET_VIRTUAL_ROOTS.  (#163910, Carsten Haitzler)
1434         
1435         * gdk/gdk.symbols: 
1436         * gdk/x11/gdkx.h: 
1437         * gdk/x11/gdkdisplay-x11.c (gdk_x11_display_get_user_time): 
1438         Add a function to obtain the last user interaction 
1439         time.  (#163119, Elijah Newren)
1440
1441 Tue Jan 18 13:56:09 2005  Manish Singh  <yosh@gimp.org>
1442
1443         * gtk/gtkfilechooserdefault.c (pending_op_queue): Actually assign
1444         PENDING_OP_NONE.
1445
1446 Tue Jan 18 13:46:46 2005  Manish Singh  <yosh@gimp.org>
1447
1448         * gdk/x11/gdkdrawable-x11.c (_gdk_x11_have_render_with_trapezoids):
1449         disambiguate nested if/else.
1450
1451 2005-01-18  Federico Mena Quintero  <federico@ximian.com>
1452
1453         Merged from gtk-2-6:
1454
1455         * gtk/gtkfilechooserdefault.c (pending_op_queue): Don't queue an
1456         operation to select the first file if we are in SAVE or
1457         CREATE_FOLDER modes.  Executing that operation would overwrite the
1458         contents of the save-name entry.
1459
1460 2005-01-18  Matthias Clasen  <mclasen@redhat.com>
1461
1462         * gdk/gdkdisplay.h: 
1463         * gdk/x11/gdkwindow-x11.c (gdk_display_warp_pointer): 
1464         * gdk/win32/gdkwindow-win32.c (gdk_display_warp_pointer): Add
1465         pointer warping to GDK.  (#160437)
1466
1467         * gtk/gtkcolorsel.c (key_press): Use gdk_display_warp_pointer.
1468
1469 2005-01-18  Matthias Clasen  <mclasen@redhat.com>
1470
1471         * gtk/gtkstyle.c (gtk_default_draw_check) 
1472         (gtk_default_draw_option, gtk_default_draw_handle): Add some
1473         more NULL checks, patch by Michael Natterer.
1474
1475 Tue Jan 18 10:55:47 2005  Søren Sandmann  <sandmann@redhat.com>
1476
1477         * gtk/gtkstyle.c (gtk_default_draw_handle): Check for NULL detail
1478         and NULL widget.
1479
1480         * gtk/gtkstyle.c (gtk_default_draw_box): Check for NULL detail and
1481         NULL widget.  (#164477, Michael Natterer)
1482
1483 2005-01-18  Matthias Clasen  <mclasen@redhat.com>
1484
1485         Avoid X errors when running against servers which
1486         implement XRender < 0.4.  (#164427, Albert Chin)
1487         
1488         * gdk/x11/gdkprivate-x11.h:
1489         * gdk/x11/gdkdrawable-x11.c (_gdk_x11_have_render_with_trapezoids): 
1490         New function to check for trapezoid support in XRender.
1491         (gdk_x11_draw_trapezoids, _gdk_x11_drawable_draw_xtrapezoids): 
1492         Use it here.
1493         
1494         * gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add a 
1495         separate have_render_with_trapezoids field.
1496
1497         * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Initialize it.
1498
1499 2005-01-17  Matthias Clasen  <mclasen@redhat.com>
1500
1501         * gtk/gtkiconview.c: Remove debug output. (#164376, Jens Finke)
1502
1503 Mon Jan 17 16:44:36 2005  Jonathan Blandford  <jrb@redhat.com>
1504
1505         * docs/Makefile.am (EXTRA_DIST): add tree-column-sizing.png to
1506         dist.
1507
1508 2005-01-17  Matthias Clasen  <mclasen@redhat.com>
1509
1510         * gtk/gtkfilechooserdefault.c (shortcuts_add_bookmarks): Save
1511         and restore the selected row in the bookmark list and the
1512         save folder combo.  (#164290)
1513
1514 2005-01-16  Matthias Clasen  <mclasen@redhat.com>
1515
1516         * gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_new_with_backend):
1517         Fix argument order in docs.  
1518
1519 2005-01-15  Matthias Clasen  <mclasen@redhat.com>
1520
1521         * gtk/gtktextview.c (gtk_text_view_check_keymap_direction): 
1522         * gtk/gtkentry.c (gtk_entry_create_layout): Prefer LTR over RTL 
1523         if the keymap is neutral.  (#164125, Phil Blundell)
1524
1525 2005-01-14  Matthias Clasen  <mclasen@redhat.com>
1526
1527         * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Allow to
1528         reset the property to its default value -1. 
1529         (gtk_tree_view_get_search_column): Return the default value in
1530         the g_return_val_if_fail() check.  (#163864, Richard Hult)
1531
1532         * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_set_value): 
1533         Add a translator hint.  (#163889)
1534
1535         * configure.in: Check for _NL_TIME_FIRST_WEEKDAY too, since it
1536         is an enum value, not a define. Pointed out by Tommi Komulainen.
1537         * gtk/gtkcalendar.c (gtk_calendar_init): Adapt.
1538
1539 2005-01-13  Matthias Clasen  <mclasen@redhat.com>
1540
1541         * configure.in: Check for nl_langinfo()
1542         * gtk/gtkcalendar.c (gtk_calendar_init): Use nl_langinfo() when it's
1543         available to determine first day of week   (#163842, Vincent Untz)
1544
1545         * gtk/gtkuimanager.c (gtk_ui_manager_get_widget): Add hints about 
1546         the lifecycle of widgets.  (#159503, Christian Persch)
1547
1548         * demos/gtk-demo/main.c (create_text): Use monospace for the 
1549         source code view.  (#163526, Theerud Lawtrakul)
1550
1551         * gtk/gtkaboutdialog.c (gtk_about_dialog_init): Use R as mnemonic
1552         for the Credits button to avoid duplicate.  (#163465, Tim-Philipp 
1553         Müller)
1554         
1555         * configure.in: Add an OS_LINUX conditional.
1556
1557         * gdk/Makefile.am (TESTS):
1558         * gdk-pixbuf/Makefile.am (TESTS):
1559         * gtk/Makefile.am (TESTS): Only run abicheck on Linux.  (#163917,
1560         Roger Leigh)
1561
1562 2005-01-13  Matthias Clasen <mclasen@redhat.com>
1563
1564         * gtk/gtktreeview.c: (gtk_tree_view_class_init),
1565         (gtk_tree_view_set_headers_clickable): Make the headers-visible
1566         property readwrite instead of just writable, and remove the
1567         g_return_if_fail check that there is a model when setting this
1568         property. Also improve the blurb.  (#163851, Richard Hult)
1569
1570 2005-01-12  Owen Taylor <otaylor@redhat.com>
1571
1572         * configure.in: Remove GLIB_DIVERT_BEFORE_HELP() on
1573         initialization of gdktarget, that was causing it to be
1574         evaluated before host was set. Simplify --with-gdktarget help
1575         message.
1576
1577         * gtk/Makefile.am: Use grep | head -n 1 instead of grep -m 1 
1578         which doesn't work with slightly older versions of GNU grep 
1579         in install-libtool-import-lib rule.
1580         
1581 2005-01-12  Tor Lillqvist  <tlillqvist@novell.com>
1582
1583         Fix for #162790, by Iwan Wong:
1584         
1585         * gdk/win32/gdkdrawable-win32.c: Implement dashed lines
1586         correctly. Simplify the interface to render_line_horizontal() and
1587         render_line_vertical(). Need to draw lines "manually" also on
1588         NT-based Windowses if we have a dash offset or are drawing
1589         double-dashed lines.
1590
1591         * gdk/win32/gdkprivate-win32.h: Keep also the dash offset,
1592         double-dash flag, and a brush for the background colour (used by
1593         the odd dashes in the double-dash line style) in the GdkGCWin32
1594         struct.
1595
1596         * gdk/win32/gdkgc-win32.c: Set up above new fields.
1597
1598 2005-01-10  Federico Mena Quintero  <federico@ximian.com>
1599
1600         Fix #162617.
1601
1602         * gtk/gtkfilesystemunix.c (STAT_NEEDED_MASK): Take out
1603         GTK_FILE_INFO_IS_HIDDEN; we don't need to stat() to know this.
1604         (gtk_file_system_unix_get_folder): Make error reporting more
1605         accurate.  Don't bail out if we can't read the directory.
1606         (fill_in_stats): Don't return an error; just assume we don't have
1607         stat info for this folder's files.
1608         (fill_in_names): Don't create the hash table for the names if we
1609         can't open the directory.
1610         (gtk_file_folder_unix_list_children): Don't emit the
1611         "finished-loading" signal --- we don't do asynchronous loads, so
1612         we are always finished loading.
1613         (gtk_file_folder_unix_get_info): Use helper functions; handle the
1614         case where we can't stat '/'.
1615         (get_icon_type_from_path): Don't call fill_in_stats() here; only
1616         use the info we have.
1617         (fill_in_mime_type): Don't return an error.  Don't do anything if
1618         we don't have the stat info.
1619
1620 2005-01-10  Owen Taylor  <otaylor@redhat.com>
1621
1622         * Makefile.am (EXTRA_DIST): Adding missing ChangeLog.pre*
1623         to EXTRA_DIST.
1624
1625 2005-01-10  Matthias Clasen  <mclasen@redhat.com>
1626
1627         * gtk/gtkaccelgroup.c (gtk_accel_group_class_init): Document
1628         signals.  (#163319, Murray Cumming)
1629
1630 2005-01-09  Tor Lillqvist  <tlillqvist@novell.com>
1631
1632         * gdk/win32/gdkwindow-win32.c (gdk_window_set_cursor): Set current
1633         cursor also when changing the cursor of a window that is the first
1634         ancestor of the window containing the pointer that has a cursor
1635         defined. (#163035, Ivan Wong)
1636
1637 2005-01-09  Anders Carlsson <andersca@gnome.org>
1638
1639         * gtk/gtkcellrenderertext.c: (get_size):
1640         * gtk/gtklabel.c: (gtk_label_size_request):
1641         * gtk/gtkprogressbar.c: (gtk_progress_bar_size_request):
1642         Don't pass NULL to pango_context_get_metrics. Use 
1643         pango_context_get_language instead, which is way faster.
1644         
1645 2005-01-08  Matthias Clasen  <mclasen@redhat.com>
1646
1647         * configure.in: Bump version
1648
1649         * === Released 2.6.1 ===
1650         
1651         * gdk-pixbuf-2.0.pc.in: Require gmodule-no-export-2.0
1652
1653 2005-01-07  Tor Lillqvist  <tml@iki.fi>
1654
1655         * gdk/win32/gdkselection-win32.c (_gdk_selection_property_store):
1656         Fix braino. (#163232, Arnaud Charlet)
1657
1658 2005-01-06  Matthias Clasen  <mclasen@redhat.com>
1659
1660         * gtk/gtkiconview.c: Make markup_column work, and fix some
1661         layout issues when either icon or text is missing.  (#163065)
1662
1663 2005-01-06  Federico Mena Quintero  <federico@ximian.com>
1664
1665         * gtk/gtkfilechooserdefault.c (file_list_build_popup_menu): Add an
1666         "Open _Location" item.  Fixes #148839.
1667
1668 2005-01-06  Matthias Clasen  <mclasen@redhat.com>
1669
1670         * README.in: Fix a typo.  (#163128, kentaro fukuchi)
1671
1672 2005-01-06  James M. Cape  <jcape@ignore-your.tv>
1673
1674         * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_new)
1675         (gtk_file_chooser_button_new_with_backend): Use default title if
1676         NULL is passed.
1677
1678         * docs/reference/gtk/tmpl/gtkfilechooserbutton.sgml: Make examples
1679         match API.
1680
1681 2005-01-05  Federico Mena Quintero  <federico@ximian.com>
1682
1683         Fix #161409:
1684
1685         * gtk/gtkfilechooserdefault.c (shortcuts_row_activated_cb): Queue
1686         a pending operation to select the first row.
1687
1688 2005-01-05  Federico Mena Quintero  <federico@ximian.com>
1689
1690         * gtk/gtkpathbar.c (_gtk_path_bar_set_path): Don't call
1691         button_data_free() explicitly; the button is weak-reffed and the
1692         callback will free the button data.  Fixes #163010.
1693         (_gtk_path_bar_set_path): Don't ref/sink the button.  And for the
1694         failure case, call gtk_widget_destroy() on it.
1695
1696         * gtk/gtkfilechooserdefault.c (check_is_folder): Use
1697         gtk_file_system_get_folder() again (see the ChangeLog entry from
1698         2004-08-25).  We can't first get the parent folder and then
1699         request the info for the path in question, as the parent folder
1700         may not be readable.  See bug #162617.
1701         (gtk_file_chooser_default_set_current_folder): Assert that the
1702         passed-in path is not null.
1703         (shortcuts_find_current_folder): Likewise.
1704         (shortcuts_add_current_folder): Likewise.
1705         (set_list_model): Likewise.
1706         (gtk_file_chooser_default_map): Only reload the current folder if
1707         it exists.
1708         (bookmarks_check_add_sensitivity): Check for the current folder
1709         being NULL.
1710         (browse_files_select_first_row): Don't set the cursor if there is
1711         no model loaded.
1712
1713 2005-01-05  Matthias Clasen  <mclasen@redhat.com>
1714
1715         * gtk/gtkfilechooserdefault.c: Don't construct errors from 
1716         the GTK_FILE_SYSTEM_ERROR domain. Partial fix for #162911.
1717         (get_file_info, check_is_folder): Translate errors from
1718         the filesystem into the GTK_FILE_CHOOSER_ERROR domain. Rest
1719         of the fix for #162911, noticed by Murray Cumming.
1720
1721 Wed Jan  5 11:42:49 2005  Søren Sandmann  <sandmann@redhat.com>
1722
1723         * gtk/gtkviewport.c (gtk_viewport_realize):
1724         * gtk/gtktextview.c ((text_window_realize): Set the background of
1725         the windows to None instead of adding EXPOSURE_MASK, as suggested
1726         by Owen in #162112.
1727
1728         * gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter): Update 
1729         the user time when receiving a WM_DELETE message.  (#162980, 
1730         Elijah Newren)
1731         
1732 Tue Jan  4 16:52:14 2005  Jonathan Blandford  <jrb@redhat.com>
1733
1734         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_button_event):
1735         only reorder on button 1, part of #141937
1736
1737 Tue Jan  4 11:36:43 2005  Søren Sandmann  <sandmann@redhat.com>
1738
1739         Bug 162112.
1740         
1741         * gtk/gtktextview.c (text_window_realize): Add GDK_EXPOSURE_MASK
1742         to win->window's event_mask
1743
1744         * gtk/gtkviewport.c (gtk_viewport_realize): Add GDK_EXPOSURE_MASK
1745         to viewport->view_window.
1746
1747 2005-01-04  Matthias Clasen  <mclasen@redhat.com>
1748
1749         * demos/testpixbuf.c (main): Remove the size_prepared callback,
1750         to test incremental display.
1751         (new_testrgb_window): Return the drawing area, not the window,
1752         since we want to queue draws on the drawing area.
1753
1754 2005-01-03  Matthias Clasen  <mclasen@redhat.com>
1755
1756         * examples/*: Re-extract.
1757
1758         * docs/tutorial/gtk-tut.sgml: Small corrections.
1759         
1760         * docs/tutorial/gtk-tut.sgml: Some updates for the drawing
1761         section.  (#161414, Robert Ancell)
1762
1763         * docs/tutorial/gtk-tut.sgml: Make it build.
1764
1765         * gtk/gtkdialog.c (gtk_dialog_run): Some clarification
1766         regarding modality.  (#112903, Dave Bordoley)
1767
1768         * gtk/gtkfixed.c (gtk_fixed_set_has_window): 
1769         Add a little motivation.  (#145556, Tommi Komulainen)
1770
1771         * docs/tutorial/gtk-tut.sgml: Clarify section on 
1772         g_signal_connect_swapped.   (#120543, David Bourguignon)
1773
1774         Make gtk_icon_theme_load_icon() work independent of
1775         icon factory initialization.  (#162791, Tristan Van Berkom)
1776         
1777         * gtk/gtkiconfactory.[hc]: Rename ensure_default_icons to
1778         _gtk_icon_factory_ensure_default_icons, and make it non-static.
1779
1780         * gtk/gtkicontheme.c (find_builtin_icon): ..and call it here.
1781
1782 2005-01-02  Matthias Clasen  <mclasen@redhat.com>
1783
1784         * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_remove_shortcut_folder): 
1785         Don't add a shortcut here.  (#162752, Tor Lillqvist)
1786
1787 2005-01-02  Tor Lillqvist  <tml@iki.fi>
1788
1789         * gtk/Makefile.am (libgtk_target_ldflags): Add -lole32, needed for
1790         CoTaskMemFree in get_special_folder() below.
1791
1792         * gtk/gtkfilesystem.h: Implement case-insensitive path compare on
1793         Win32 using _gtk_file_system_win32_path_compare().
1794
1795         * gtk/gtk.symbols: Add _gtk_file_system_win32_path_compare.
1796
1797         * gtk/gtkfilechooserbutton.c (model_add_special)
1798         * gtk/gtkfilechooserdefault.c (shortcuts_append_desktop): Use
1799         _gtk_file_system_win32_get_desktop() to get correct Desktop folder
1800         on Win32. (#144003)
1801
1802         * gtk/gtkfilesystemwin32.c: Remove unnecessary includes. Do
1803         consider all drives "mounted", including floppies. Trying to
1804         inspect the contents of a nonexistent floppy will cause errors
1805         later that are handled normally, no need to avoid them
1806         completely. Keep the drive type in the GtkFileSystemVolume.
1807         Support UNC paths. (#161797, #137874) Fix error message
1808         capitalizations as in gtkfilesystemunix.c.
1809
1810         (gtk_file_system_win32_init): Start one timeout per
1811         GtkFileSystemWin32.
1812
1813         (gtk_file_system_win32_finalize): Remove the timeout.
1814
1815         (get_special_folder): Copied from GLib.
1816
1817         (_gtk_file_system_win32_get_desktop): New function, uses
1818         get_special_folder().
1819
1820         (gtk_file_system_win32_list_volumes): Don't start a timeout at
1821         each call to this function. Don't assume A: and B: are floppies.
1822
1823         (gtk_file_system_win32_get_volume_for_path): Don't assume all
1824         volumes are drive roots, i.e. support share roots of UNC paths
1825         (\\server\share).
1826
1827         (gtk_file_system_win32_get_folder): Don't assume errno is set
1828         after g_file_test() returns FALSE. It isn't on Win32 (and even on
1829         Unix I don't think one should assume anything about errno after
1830         g_file_test()).
1831
1832         (gtk_file_system_win32_volume_get_is_mounted): Always return TRUE.
1833
1834         (gtk_file_system_win32_volume_get_display_name): Don't call
1835         GetVolumeInformation() on drives A: or B: if they are removable,
1836         as they might then be floppies, causing an unnecessary
1837         delay. (#157820)
1838
1839         (gtk_file_system_win32_volume_render_icon): Use network icon for
1840         unrecognized drive types.
1841
1842         (canonicalize_filename, gtk_file_system_win32_parse): Don't get
1843         confused by UNC paths.
1844
1845         (bookmarks_serialize): Use _gtk_file_system_win32_path_compare()
1846         for case-insensitive UTF-8 path comparison.
1847
1848         (extract_icon): Use SHGetFileInfo() which is faster than
1849         ExtractAssociatedIcon(). Icon extraction is still slow, though,
1850         needs work.
1851
1852         (win32_pseudo_mime_lookup): Don't use the same icon for all
1853         shortcuts or executables. Cache only other file type icons.
1854
1855         (gtk_file_system_win32_render_icon): Use network stock icon for
1856         remote drives and UNC server share roots. Compare home directory
1857         case-insensitively. Do lookup icons also for executable files,
1858         after all, it's these files that can have individual icons in the
1859         first place. Yes, it can be slow. Needs work.
1860
1861         (filename_is_drive_root): Require also the slash after the colon.
1862
1863         (filename_is_server_share): New function.
1864
1865         (_gtk_file_system_win32_path_compare): New function, does
1866         case-folded UTF-8 comparison.
1867
1868         * gtk/gtkfilesystemwin32.h: Declare
1869         _gtk_file_system_win32_path_compare().
1870
1871 2005-01-01  Matthias Clasen  <mclasen@redhat.com>
1872
1873         * gtk/gtkbutton.c (gtk_button_set_image): Allow unsetting the
1874         custom image by passing NULL.
1875         (gtk_button_init): Initialize image_is_stock to TRUE, fixing
1876         a problem with changing stock labels.  (#162273, Marcin 
1877         Krzyzanowski)
1878
1879 2005-01-01  Tor Lillqvist  <tml@iki.fi>
1880
1881         * gtk/gtkmodules.c (get_module_path)
1882         * gtk/gtkrc.c (gtk_rc_make_default_dir, gtk_rc_get_im_module_file,
1883         gtk_rc_get_theme_dir, gtk_rc_add_initial_default_files): With
1884         g_getenv() now returning UTF-8 on Win32, no need to call
1885         g_locale_to_utf8().
1886
1887 2004-12-31  Matthias Clasen  <mclasen@redhat.com>
1888
1889         * gtk/gtkkeyhash.c (_gtk_key_hash_lookup_keyval) 
1890         (_gtk_key_hash_lookup): Don't sort a list of values as if
1891         it was a list of entries. This fixes crashes during mnemonic
1892         activation in the presence of multiple keymaps. (#162488, 
1893         Christian Persch)
1894
1895 2004-12-30  Matthias Clasen  <mclasen@redhat.com>
1896
1897         * gtk/gtkcombobox.c (gtk_combo_box_button_state_changed): Fix
1898         state propagation when making an insensitive combo box sensitive
1899         again.  (#162524, Carlos Garnacho Parro)
1900
1901         * gtk/gtkfilechooserdefault.c: Use secondary text for error 
1902         dialogs.
1903
1904         * gtk/gtkfilesystemunix.c: Clean up some cases of errno handling
1905         (#162496, noted by Tor Lillqvist), and use g_filename_display_name()
1906         for error messages. Also mark some error messages for translation,
1907         fix capitalization of error messages.
1908
1909         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_set_property): 
1910         Use g_value_get_boolean() for ellipsize_set.  (#162447, 
1911         Brian Tarricone)
1912
1913 2004-12-30  Tor Lillqvist  <tml@iki.fi>
1914
1915         * gtk/gtkicontheme.c (gtk_icon_theme_init): Use /usr/share/pixmaps
1916         only on Unix.
1917
1918 2004-12-28  Matthias Clasen  <mclasen@redhat.com>
1919
1920         * gtk/gtkmenuitem.c (gtk_menu_item_position_menu): Inherit
1921         submenu direction from the parent menu.
1922
1923         * gtk/gtkmenushell.c (gtk_menu_shell_select_submenu_first): 
1924         Return a boolean indicating whether an item in the submenu
1925         was selected.
1926         (gtk_real_menu_shell_move_current): When going in child 
1927         direction, don't get stuck at completely insensitive 
1928         submenus.  (#162055, Billy Biggs)       
1929
1930 2004-12-27  Matthias Clasen  <mclasen@redhat.com>
1931
1932         Make the clipboard image API more robust (#162357, 
1933         Torsten Schoenfeld):
1934         
1935         * gtk/gtkclipboard.c (clipboard_image_received_func): Don't
1936         ref the pixbuf if it is NULL.
1937
1938         * gtk/gtkselection.c (gtk_selection_data_set_pixbuf): 
1939         NULL-terminate the varargs in the call to 
1940         gdk_pixbuf_save_to_buffer(). 
1941         (gtk_selection_data_get_pixbuf): Only use a pixbuf loader 
1942         if there is data to load.
1943
1944 2004-12-27  Matthias Clasen  <mclasen@redhat.com>
1945
1946         * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event): 
1947         Set x_root and y_root in button and motion events from 
1948         extended input devices.  (#148715, Robert Ögren)
1949
1950         * gtk/gtktreeview.c (gtk_tree_view_class_init): Fix a 
1951         typo.  (#162339, Alessio Dessi)
1952
1953         * gtk/gtkadjustment.c (gtk_adjustment_class_init): Document
1954         properties as new since 2.4.  (#156101, Billy Biggs)
1955
1956         * configure.in: Add a warning about the linux-fb 
1957         target.  (#155488, Zeeshan Ali)
1958
1959         * gtk/gtkmain.c (gtk_init_with_args): Typo fix.  (#162278,
1960         Torsten Schoenfeld)
1961
1962 2004-12-26  Matthias Clasen  <mclasen@redhat.com>
1963
1964         * gtk/gtkfilechooser.c (gtk_file_chooser_set_action): 
1965         Typo fix.  (#162219, Masao Mutoh)
1966         (gtk_file_chooser_set_preview_widget_active): 
1967         Another typo.  (#162218, Masao Mutoh)
1968
1969 2004-12-23  Matthias Clasen  <mclasen@redhat.com>
1970
1971         * gtk/gtkliststore.c (gtk_list_store_iter_children): 
1972         Return TRUE if there are children.  (#162134, Iñigo Serna,
1973         patch by John Finlay)
1974
1975         * gtk/gtkcombobox.c (gtk_combo_box_button_state_changed): 
1976         Transfer state from the button to the cell view to get
1977         prelighting right.  (#156327, Ricardo Veguilla)
1978
1979 Wed Dec 22 14:22:19 2004  Søren Sandmann  <sandmann@redhat.com>
1980
1981         * tests/testtoolbar.c (timeout_cb): Add sensitivity-changing
1982         timeout. Written by Christian Persch.
1983
1984 Wed Dec 22 14:14:02 2004  Søren Sandmann  <sandmann@redhat.com>
1985
1986         Bug #161561
1987         
1988         * gdk/x11/gdkwindow-x11.c (tmp_{re,un}set_bg): Only set/reset the
1989         background for windows that get expose events. 
1990
1991         * gdk/gdkwindow.c (gdk_window_process_updates_internal): Remove
1992         hack to repaint !expose windows.
1993
1994 Wed Dec 22 11:35:41 2004  Søren Sandmann  <sandmann@redhat.com>
1995
1996         Bug #147497, make menu items activate immediately when you release
1997         the button.
1998         
1999         * gtk/gtkmenu.c (gtk_menu_enter_notify, menu_motion_notify): Make
2000         items activate immediately.
2001
2002         * gtk/gtkmenu.c (definitely_within_item): New function
2003         * gtk/gtkmenu.c (check_threshold): New function
2004
2005 2004-12-22  Matthias Clasen  <mclasen@redhat.com>
2006
2007         * gtk/gtklabel.c (gtk_label_setup_mnemonic): Don't forget to
2008         null the mnemonic_menu when unsetting a mnemonic, reported
2009         by Owen Taylor.
2010
2011 2004-12-21  Matthias Clasen  <mclasen@redhat.com>
2012
2013         * gtk/gtkliststore.c (generate_order): Generate the order the
2014         way it is supposed to be, order[new_pos] == old_pos.
2015         (gtk_list_store_reorder): Invert the order before using it.
2016
2017 2004-12-22  Matthias Clasen  <mclasen@redhat.com>
2018
2019         Fix sorting of list stores.  (#161886, Marcin Krzyzanowski)
2020
2021         * gtk/gtkliststore.c (generate_order): Generate the order the
2022         way it is supposed to be, order[new_pos] == old_pos.
2023         (gtk_list_store_reorder): Invert the order before using it.
2024
2025         * gtk/gtkiconview.c (gtk_icon_view_rows_reordered): Adapt to the
2026         list store fix.
2027
2028 Wed Dec 22 01:24:01 2004  Jonathan Blandford  <jrb@redhat.com>
2029
2030         * gtk/queryimmodules.c (main): print out the version and binary
2031         name in the header comment.  Problem reported by Seth Nickell.
2032
2033 2004-12-20  Matthias Clasen  <mclasen@redhat.com>
2034
2035         * gtk/gtkliststore.c (gtk_list_store_sort_iter_changed): Pass a
2036         root path to gtk_tree_model_rows_reordered().  (#161720,
2037         Marcin Krzyzanowski)
2038
2039         * gtk/gtkactiongroup.c (gtk_action_group_translate_string): Don't 
2040         translate NULL messages.  (#161789, Morten Welinder)
2041
2042         * gtk/gtkmessagedialog.c (setup_primary_label_font): Don't show
2043         the secondary label on show_all().  (#161707, Christian Persch)
2044
2045 2004-12-19  Tor Lillqvist  <tml@iki.fi>
2046
2047         * gdk/win32/gdkdnd-win32.c (resolve_link, gdk_dropfiles_filter):
2048         Use wide character API when available. Use UTF-8 for filenames.
2049
2050         * gdk/win32/gdkselection-win32.c (_gdk_dropfiles_store): Include
2051         the string's trailing zero byte in the property's length, just for
2052         safety.
2053
2054 2004-12-18  Matthias Clasen  <mclasen@redhat.com>
2055
2056         * gtk/gtkfilechooserentry.c (check_completion_callback) 
2057         (load_directory_callback): Add missing GDK_THREADS_ENTER/LEAVE.
2058
2059         * gtk/gtkfilechooserdefault.c (edited_idle_cb) 
2060         (shortcuts_drag_outside_idle_cb): Add missing 
2061         GDK_THREADS_ENTER/LEAVE.  (#161604)
2062         
2063         * gtk/gtkfilechooserdefault.c (selection_check_foreach_cb): 
2064         (list_select_func): Don't call gtk_file_info_get_is_folder()
2065         on NULL. 
2066
2067         * gtk/gtkaboutdialog.c (gtk_about_dialog_get_logo_icon_name): 
2068         (gtk_about_dialog_init): Add missing initializations.  (#161646,
2069         Torsten Schoenfeld)
2070