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