]> Pileus Git - ~andy/gtk/blob - ChangeLog.pre-2-8
Tue Jan 18 13:46:46 2005 Manish Singh <yosh@gimp.org
[~andy/gtk] / ChangeLog.pre-2-8
1 Tue Jan 18 13:46:46 2005  Manish Singh  <yosh@gimp.org
2
3         * gdk/x11/gdkdrawable-x11.c (_gdk_x11_have_render_with_trapezoids):
4         disambiguate nested if/else.
5
6 2005-01-18  Federico Mena Quintero  <federico@ximian.com>
7
8         Merged from gtk-2-6:
9
10         * gtk/gtkfilechooserdefault.c (pending_op_queue): Don't queue an
11         operation to select the first file if we are in SAVE or
12         CREATE_FOLDER modes.  Executing that operation would overwrite the
13         contents of the save-name entry.
14
15 2005-01-18  Matthias Clasen  <mclasen@redhat.com>
16
17         * gdk/gdkdisplay.h: 
18         * gdk/x11/gdkwindow-x11.c (gdk_display_warp_pointer): 
19         * gdk/win32/gdkwindow-win32.c (gdk_display_warp_pointer): Add
20         pointer warping to GDK.  (#160437)
21         
22         * gtk/gtkcolorsel.c (key_press): Use gdk_display_warp_pointer.
23         
24 2005-01-18  Matthias Clasen  <mclasen@redhat.com>
25
26         * gtk/gtkstyle.c (gtk_default_draw_check) 
27         (gtk_default_draw_option, gtk_default_draw_handle): Add some
28         more NULL checks, patch by Michael Natterer.
29
30 Tue Jan 18 10:55:47 2005  Søren Sandmann  <sandmann@redhat.com>
31
32         * gtk/gtkstyle.c (gtk_default_draw_handle): Check for NULL detail
33         and NULL widget.
34
35         * gtk/gtkstyle.c (gtk_default_draw_box): Check for NULL detail and
36         NULL widget.  (#164477, Michael Natterer)
37
38 2005-01-18  Matthias Clasen  <mclasen@redhat.com>
39
40         Avoid X errors when running against servers which
41         implement XRender < 0.4.  (#164427, Albert Chin)
42         
43         * gdk/x11/gdkprivate-x11.h:
44         * gdk/x11/gdkdrawable-x11.c (_gdk_x11_have_render_with_trapezoids): 
45         New function to check for trapezoid support in XRender.
46         (gdk_x11_draw_trapezoids, _gdk_x11_drawable_draw_xtrapezoids): 
47         Use it here.
48         
49         * gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add a 
50         separate have_render_with_trapezoids field.
51
52         * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Initialize it.
53
54 2005-01-17  Matthias Clasen  <mclasen@redhat.com>
55
56         * gtk/gtkiconview.c: Remove debug output. (#164376, Jens Finke)
57
58 Mon Jan 17 16:44:36 2005  Jonathan Blandford  <jrb@redhat.com>
59
60         * docs/Makefile.am (EXTRA_DIST): add tree-column-sizing.png to
61         dist.
62
63 2005-01-17  Matthias Clasen  <mclasen@redhat.com>
64
65         * gtk/gtkfilechooserdefault.c (shortcuts_add_bookmarks): Save
66         and restore the selected row in the bookmark list and the
67         save folder combo.  (#164290)
68
69 2005-01-16  Matthias Clasen  <mclasen@redhat.com>
70
71         * gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_new_with_backend):
72         Fix argument order in docs.  
73
74 2005-01-15  Matthias Clasen  <mclasen@redhat.com>
75
76         * gtk/gtktextview.c (gtk_text_view_check_keymap_direction): 
77         * gtk/gtkentry.c (gtk_entry_create_layout): Prefer LTR over RTL 
78         if the keymap is neutral.  (#164125, Phil Blundell)
79
80 2005-01-14  Matthias Clasen  <mclasen@redhat.com>
81
82         * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Allow to
83         reset the property to its default value -1. 
84         (gtk_tree_view_get_search_column): Return the default value in
85         the g_return_val_if_fail() check.  (#163864, Richard Hult)
86
87         * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_set_value): 
88         Add a translator hint.  (#163889)
89
90         * configure.in: Check for _NL_TIME_FIRST_WEEKDAY too, since it
91         is an enum value, not a define. Pointed out by Tommi Komulainen.
92         * gtk/gtkcalendar.c (gtk_calendar_init): Adapt.
93
94 2005-01-13  Matthias Clasen  <mclasen@redhat.com>
95
96         * configure.in: Check for nl_langinfo()
97         * gtk/gtkcalendar.c (gtk_calendar_init): Use nl_langinfo() when it's
98         available to determine first day of week   (#163842, Vincent Untz)
99
100         * gtk/gtkuimanager.c (gtk_ui_manager_get_widget): Add hints about 
101         the lifecycle of widgets.  (#159503, Christian Persch)
102
103         * demos/gtk-demo/main.c (create_text): Use monospace for the 
104         source code view.  (#163526, Theerud Lawtrakul)
105
106         * gtk/gtkaboutdialog.c (gtk_about_dialog_init): Use R as mnemonic
107         for the Credits button to avoid duplicate.  (#163465, Tim-Philipp 
108         Müller)
109         
110         * configure.in: Add an OS_LINUX conditional.
111
112         * gdk/Makefile.am (TESTS):
113         * gdk-pixbuf/Makefile.am (TESTS):
114         * gtk/Makefile.am (TESTS): Only run abicheck on Linux.  (#163917,
115         Roger Leigh)
116
117 2005-01-13  Matthias Clasen <mclasen@redhat.com>
118
119         * gtk/gtktreeview.c: (gtk_tree_view_class_init),
120         (gtk_tree_view_set_headers_clickable): Make the headers-visible
121         property readwrite instead of just writable, and remove the
122         g_return_if_fail check that there is a model when setting this
123         property. Also improve the blurb.  (#163851, Richard Hult)
124
125 2005-01-12  Owen Taylor <otaylor@redhat.com>
126
127         * configure.in: Remove GLIB_DIVERT_BEFORE_HELP() on
128         initialization of gdktarget, that was causing it to be
129         evaluated before host was set. Simplify --with-gdktarget help
130         message.
131
132         * gtk/Makefile.am: Use grep | head -n 1 instead of grep -m 1 
133         which doesn't work with slightly older versions of GNU grep 
134         in install-libtool-import-lib rule.
135         
136 2005-01-12  Tor Lillqvist  <tlillqvist@novell.com>
137
138         Fix for #162790, by Iwan Wong:
139         
140         * gdk/win32/gdkdrawable-win32.c: Implement dashed lines
141         correctly. Simplify the interface to render_line_horizontal() and
142         render_line_vertical(). Need to draw lines "manually" also on
143         NT-based Windowses if we have a dash offset or are drawing
144         double-dashed lines.
145
146         * gdk/win32/gdkprivate-win32.h: Keep also the dash offset,
147         double-dash flag, and a brush for the background colour (used by
148         the odd dashes in the double-dash line style) in the GdkGCWin32
149         struct.
150
151         * gdk/win32/gdkgc-win32.c: Set up above new fields.
152
153 2005-01-10  Federico Mena Quintero  <federico@ximian.com>
154
155         Fix #162617.
156
157         * gtk/gtkfilesystemunix.c (STAT_NEEDED_MASK): Take out
158         GTK_FILE_INFO_IS_HIDDEN; we don't need to stat() to know this.
159         (gtk_file_system_unix_get_folder): Make error reporting more
160         accurate.  Don't bail out if we can't read the directory.
161         (fill_in_stats): Don't return an error; just assume we don't have
162         stat info for this folder's files.
163         (fill_in_names): Don't create the hash table for the names if we
164         can't open the directory.
165         (gtk_file_folder_unix_list_children): Don't emit the
166         "finished-loading" signal --- we don't do asynchronous loads, so
167         we are always finished loading.
168         (gtk_file_folder_unix_get_info): Use helper functions; handle the
169         case where we can't stat '/'.
170         (get_icon_type_from_path): Don't call fill_in_stats() here; only
171         use the info we have.
172         (fill_in_mime_type): Don't return an error.  Don't do anything if
173         we don't have the stat info.
174
175 2005-01-10  Owen Taylor  <otaylor@redhat.com>
176
177         * Makefile.am (EXTRA_DIST): Adding missing ChangeLog.pre*
178         to EXTRA_DIST.
179
180 2005-01-10  Matthias Clasen  <mclasen@redhat.com>
181
182         * gtk/gtkaccelgroup.c (gtk_accel_group_class_init): Document
183         signals.  (#163319, Murray Cumming)
184
185 2005-01-09  Tor Lillqvist  <tlillqvist@novell.com>
186
187         * gdk/win32/gdkwindow-win32.c (gdk_window_set_cursor): Set current
188         cursor also when changing the cursor of a window that is the first
189         ancestor of the window containing the pointer that has a cursor
190         defined. (#163035, Ivan Wong)
191
192 2005-01-09  Anders Carlsson <andersca@gnome.org>
193
194         * gtk/gtkcellrenderertext.c: (get_size):
195         * gtk/gtklabel.c: (gtk_label_size_request):
196         * gtk/gtkprogressbar.c: (gtk_progress_bar_size_request):
197         Don't pass NULL to pango_context_get_metrics. Use 
198         pango_context_get_language instead, which is way faster.
199         
200 2005-01-08  Matthias Clasen  <mclasen@redhat.com>
201
202         * configure.in: Bump version
203
204         * === Released 2.6.1 ===
205         
206         * gdk-pixbuf-2.0.pc.in: Require gmodule-no-export-2.0
207
208 2005-01-07  Tor Lillqvist  <tml@iki.fi>
209
210         * gdk/win32/gdkselection-win32.c (_gdk_selection_property_store):
211         Fix braino. (#163232, Arnaud Charlet)
212
213 2005-01-06  Matthias Clasen  <mclasen@redhat.com>
214
215         * gtk/gtkiconview.c: Make markup_column work, and fix some
216         layout issues when either icon or text is missing.  (#163065)
217
218 2005-01-06  Federico Mena Quintero  <federico@ximian.com>
219
220         * gtk/gtkfilechooserdefault.c (file_list_build_popup_menu): Add an
221         "Open _Location" item.  Fixes #148839.
222
223 2005-01-06  Matthias Clasen  <mclasen@redhat.com>
224
225         * README.in: Fix a typo.  (#163128, kentaro fukuchi)
226
227 2005-01-06  James M. Cape  <jcape@ignore-your.tv>
228
229         * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_new)
230         (gtk_file_chooser_button_new_with_backend): Use default title if
231         NULL is passed.
232
233         * docs/reference/gtk/tmpl/gtkfilechooserbutton.sgml: Make examples
234         match API.
235
236 2005-01-05  Federico Mena Quintero  <federico@ximian.com>
237
238         Fix #161409:
239
240         * gtk/gtkfilechooserdefault.c (shortcuts_row_activated_cb): Queue
241         a pending operation to select the first row.
242
243 2005-01-05  Federico Mena Quintero  <federico@ximian.com>
244
245         * gtk/gtkpathbar.c (_gtk_path_bar_set_path): Don't call
246         button_data_free() explicitly; the button is weak-reffed and the
247         callback will free the button data.  Fixes #163010.
248         (_gtk_path_bar_set_path): Don't ref/sink the button.  And for the
249         failure case, call gtk_widget_destroy() on it.
250
251         * gtk/gtkfilechooserdefault.c (check_is_folder): Use
252         gtk_file_system_get_folder() again (see the ChangeLog entry from
253         2004-08-25).  We can't first get the parent folder and then
254         request the info for the path in question, as the parent folder
255         may not be readable.  See bug #162617.
256         (gtk_file_chooser_default_set_current_folder): Assert that the
257         passed-in path is not null.
258         (shortcuts_find_current_folder): Likewise.
259         (shortcuts_add_current_folder): Likewise.
260         (set_list_model): Likewise.
261         (gtk_file_chooser_default_map): Only reload the current folder if
262         it exists.
263         (bookmarks_check_add_sensitivity): Check for the current folder
264         being NULL.
265         (browse_files_select_first_row): Don't set the cursor if there is
266         no model loaded.
267
268 2005-01-05  Matthias Clasen  <mclasen@redhat.com>
269
270         * gtk/gtkfilechooserdefault.c: Don't construct errors from 
271         the GTK_FILE_SYSTEM_ERROR domain. Partial fix for #162911.
272         (get_file_info, check_is_folder): Translate errors from
273         the filesystem into the GTK_FILE_CHOOSER_ERROR domain. Rest
274         of the fix for #162911, noticed by Murray Cumming.
275
276 Wed Jan  5 11:42:49 2005  Søren Sandmann  <sandmann@redhat.com>
277
278         * gtk/gtkviewport.c (gtk_viewport_realize):
279         * gtk/gtktextview.c ((text_window_realize): Set the background of
280         the windows to None instead of adding EXPOSURE_MASK, as suggested
281         by Owen in #162112.
282
283         * gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter): Update 
284         the user time when receiving a WM_DELETE message.  (#162980, 
285         Elijah Newren)
286         
287 Tue Jan  4 16:52:14 2005  Jonathan Blandford  <jrb@redhat.com>
288
289         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_button_event):
290         only reorder on button 1, part of #141937
291
292 Tue Jan  4 11:36:43 2005  Søren Sandmann  <sandmann@redhat.com>
293
294         Bug 162112.
295         
296         * gtk/gtktextview.c (text_window_realize): Add GDK_EXPOSURE_MASK
297         to win->window's event_mask
298
299         * gtk/gtkviewport.c (gtk_viewport_realize): Add GDK_EXPOSURE_MASK
300         to viewport->view_window.
301
302 2005-01-04  Matthias Clasen  <mclasen@redhat.com>
303
304         * demos/testpixbuf.c (main): Remove the size_prepared callback,
305         to test incremental display.
306         (new_testrgb_window): Return the drawing area, not the window,
307         since we want to queue draws on the drawing area.
308
309 2005-01-03  Matthias Clasen  <mclasen@redhat.com>
310
311         * examples/*: Re-extract.
312
313         * docs/tutorial/gtk-tut.sgml: Small corrections.
314         
315         * docs/tutorial/gtk-tut.sgml: Some updates for the drawing
316         section.  (#161414, Robert Ancell)
317
318         * docs/tutorial/gtk-tut.sgml: Make it build.
319
320         * gtk/gtkdialog.c (gtk_dialog_run): Some clarification
321         regarding modality.  (#112903, Dave Bordoley)
322
323         * gtk/gtkfixed.c (gtk_fixed_set_has_window): 
324         Add a little motivation.  (#145556, Tommi Komulainen)
325
326         * docs/tutorial/gtk-tut.sgml: Clarify section on 
327         g_signal_connect_swapped.   (#120543, David Bourguignon)
328
329         Make gtk_icon_theme_load_icon() work independent of
330         icon factory initialization.  (#162791, Tristan Van Berkom)
331         
332         * gtk/gtkiconfactory.[hc]: Rename ensure_default_icons to
333         _gtk_icon_factory_ensure_default_icons, and make it non-static.
334
335         * gtk/gtkicontheme.c (find_builtin_icon): ..and call it here.
336
337 2005-01-02  Matthias Clasen  <mclasen@redhat.com>
338
339         * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_remove_shortcut_folder): 
340         Don't add a shortcut here.  (#162752, Tor Lillqvist)
341
342 2005-01-02  Tor Lillqvist  <tml@iki.fi>
343
344         * gtk/Makefile.am (libgtk_target_ldflags): Add -lole32, needed for
345         CoTaskMemFree in get_special_folder() below.
346
347         * gtk/gtkfilesystem.h: Implement case-insensitive path compare on
348         Win32 using _gtk_file_system_win32_path_compare().
349
350         * gtk/gtk.symbols: Add _gtk_file_system_win32_path_compare.
351
352         * gtk/gtkfilechooserbutton.c (model_add_special)
353         * gtk/gtkfilechooserdefault.c (shortcuts_append_desktop): Use
354         _gtk_file_system_win32_get_desktop() to get correct Desktop folder
355         on Win32. (#144003)
356
357         * gtk/gtkfilesystemwin32.c: Remove unnecessary includes. Do
358         consider all drives "mounted", including floppies. Trying to
359         inspect the contents of a nonexistent floppy will cause errors
360         later that are handled normally, no need to avoid them
361         completely. Keep the drive type in the GtkFileSystemVolume.
362         Support UNC paths. (#161797, #137874) Fix error message
363         capitalizations as in gtkfilesystemunix.c.
364
365         (gtk_file_system_win32_init): Start one timeout per
366         GtkFileSystemWin32.
367
368         (gtk_file_system_win32_finalize): Remove the timeout.
369
370         (get_special_folder): Copied from GLib.
371
372         (_gtk_file_system_win32_get_desktop): New function, uses
373         get_special_folder().
374
375         (gtk_file_system_win32_list_volumes): Don't start a timeout at
376         each call to this function. Don't assume A: and B: are floppies.
377
378         (gtk_file_system_win32_get_volume_for_path): Don't assume all
379         volumes are drive roots, i.e. support share roots of UNC paths
380         (\\server\share).
381
382         (gtk_file_system_win32_get_folder): Don't assume errno is set
383         after g_file_test() returns FALSE. It isn't on Win32 (and even on
384         Unix I don't think one should assume anything about errno after
385         g_file_test()).
386
387         (gtk_file_system_win32_volume_get_is_mounted): Always return TRUE.
388
389         (gtk_file_system_win32_volume_get_display_name): Don't call
390         GetVolumeInformation() on drives A: or B: if they are removable,
391         as they might then be floppies, causing an unnecessary
392         delay. (#157820)
393
394         (gtk_file_system_win32_volume_render_icon): Use network icon for
395         unrecognized drive types.
396
397         (canonicalize_filename, gtk_file_system_win32_parse): Don't get
398         confused by UNC paths.
399
400         (bookmarks_serialize): Use _gtk_file_system_win32_path_compare()
401         for case-insensitive UTF-8 path comparison.
402
403         (extract_icon): Use SHGetFileInfo() which is faster than
404         ExtractAssociatedIcon(). Icon extraction is still slow, though,
405         needs work.
406
407         (win32_pseudo_mime_lookup): Don't use the same icon for all
408         shortcuts or executables. Cache only other file type icons.
409
410         (gtk_file_system_win32_render_icon): Use network stock icon for
411         remote drives and UNC server share roots. Compare home directory
412         case-insensitively. Do lookup icons also for executable files,
413         after all, it's these files that can have individual icons in the
414         first place. Yes, it can be slow. Needs work.
415
416         (filename_is_drive_root): Require also the slash after the colon.
417
418         (filename_is_server_share): New function.
419
420         (_gtk_file_system_win32_path_compare): New function, does
421         case-folded UTF-8 comparison.
422
423         * gtk/gtkfilesystemwin32.h: Declare
424         _gtk_file_system_win32_path_compare().
425
426 2005-01-01  Matthias Clasen  <mclasen@redhat.com>
427
428         * gtk/gtkbutton.c (gtk_button_set_image): Allow unsetting the
429         custom image by passing NULL.
430         (gtk_button_init): Initialize image_is_stock to TRUE, fixing
431         a problem with changing stock labels.  (#162273, Marcin 
432         Krzyzanowski)
433
434 2005-01-01  Tor Lillqvist  <tml@iki.fi>
435
436         * gtk/gtkmodules.c (get_module_path)
437         * gtk/gtkrc.c (gtk_rc_make_default_dir, gtk_rc_get_im_module_file,
438         gtk_rc_get_theme_dir, gtk_rc_add_initial_default_files): With
439         g_getenv() now returning UTF-8 on Win32, no need to call
440         g_locale_to_utf8().
441
442 2004-12-31  Matthias Clasen  <mclasen@redhat.com>
443
444         * gtk/gtkkeyhash.c (_gtk_key_hash_lookup_keyval) 
445         (_gtk_key_hash_lookup): Don't sort a list of values as if
446         it was a list of entries. This fixes crashes during mnemonic
447         activation in the presence of multiple keymaps. (#162488, 
448         Christian Persch)
449
450 2004-12-30  Matthias Clasen  <mclasen@redhat.com>
451
452         * gtk/gtkcombobox.c (gtk_combo_box_button_state_changed): Fix
453         state propagation when making an insensitive combo box sensitive
454         again.  (#162524, Carlos Garnacho Parro)
455
456         * gtk/gtkfilechooserdefault.c: Use secondary text for error 
457         dialogs.
458
459         * gtk/gtkfilesystemunix.c: Clean up some cases of errno handling
460         (#162496, noted by Tor Lillqvist), and use g_filename_display_name()
461         for error messages. Also mark some error messages for translation,
462         fix capitalization of error messages.
463
464         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_set_property): 
465         Use g_value_get_boolean() for ellipsize_set.  (#162447, 
466         Brian Tarricone)
467
468 2004-12-30  Tor Lillqvist  <tml@iki.fi>
469
470         * gtk/gtkicontheme.c (gtk_icon_theme_init): Use /usr/share/pixmaps
471         only on Unix.
472
473 2004-12-28  Matthias Clasen  <mclasen@redhat.com>
474
475         * gtk/gtkmenuitem.c (gtk_menu_item_position_menu): Inherit
476         submenu direction from the parent menu.
477
478         * gtk/gtkmenushell.c (gtk_menu_shell_select_submenu_first): 
479         Return a boolean indicating whether an item in the submenu
480         was selected.
481         (gtk_real_menu_shell_move_current): When going in child 
482         direction, don't get stuck at completely insensitive 
483         submenus.  (#162055, Billy Biggs)       
484
485 2004-12-27  Matthias Clasen  <mclasen@redhat.com>
486
487         Make the clipboard image API more robust (#162357, 
488         Torsten Schoenfeld):
489         
490         * gtk/gtkclipboard.c (clipboard_image_received_func): Don't
491         ref the pixbuf if it is NULL.
492
493         * gtk/gtkselection.c (gtk_selection_data_set_pixbuf): 
494         NULL-terminate the varargs in the call to 
495         gdk_pixbuf_save_to_buffer(). 
496         (gtk_selection_data_get_pixbuf): Only use a pixbuf loader 
497         if there is data to load.
498
499 2004-12-27  Matthias Clasen  <mclasen@redhat.com>
500
501         * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event): 
502         Set x_root and y_root in button and motion events from 
503         extended input devices.  (#148715, Robert Ögren)
504
505         * gtk/gtktreeview.c (gtk_tree_view_class_init): Fix a 
506         typo.  (#162339, Alessio Dessi)
507
508         * gtk/gtkadjustment.c (gtk_adjustment_class_init): Document
509         properties as new since 2.4.  (#156101, Billy Biggs)
510
511         * configure.in: Add a warning about the linux-fb 
512         target.  (#155488, Zeeshan Ali)
513
514         * gtk/gtkmain.c (gtk_init_with_args): Typo fix.  (#162278,
515         Torsten Schoenfeld)
516
517 2004-12-26  Matthias Clasen  <mclasen@redhat.com>
518
519         * gtk/gtkfilechooser.c (gtk_file_chooser_set_action): 
520         Typo fix.  (#162219, Masao Mutoh)
521         (gtk_file_chooser_set_preview_widget_active): 
522         Another typo.  (#162218, Masao Mutoh)
523
524 2004-12-23  Matthias Clasen  <mclasen@redhat.com>
525
526         * gtk/gtkliststore.c (gtk_list_store_iter_children): 
527         Return TRUE if there are children.  (#162134, Iñigo Serna,
528         patch by John Finlay)
529
530         * gtk/gtkcombobox.c (gtk_combo_box_button_state_changed): 
531         Transfer state from the button to the cell view to get
532         prelighting right.  (#156327, Ricardo Veguilla)
533
534 Wed Dec 22 14:22:19 2004  Søren Sandmann  <sandmann@redhat.com>
535
536         * tests/testtoolbar.c (timeout_cb): Add sensitivity-changing
537         timeout. Written by Christian Persch.
538
539 Wed Dec 22 14:14:02 2004  Søren Sandmann  <sandmann@redhat.com>
540
541         Bug #161561
542         
543         * gdk/x11/gdkwindow-x11.c (tmp_{re,un}set_bg): Only set/reset the
544         background for windows that get expose events. 
545
546         * gdk/gdkwindow.c (gdk_window_process_updates_internal): Remove
547         hack to repaint !expose windows.
548
549 Wed Dec 22 11:35:41 2004  Søren Sandmann  <sandmann@redhat.com>
550
551         Bug #147497, make menu items activate immediately when you release
552         the button.
553         
554         * gtk/gtkmenu.c (gtk_menu_enter_notify, menu_motion_notify): Make
555         items activate immediately.
556
557         * gtk/gtkmenu.c (definitely_within_item): New function
558         * gtk/gtkmenu.c (check_threshold): New function
559
560 2004-12-22  Matthias Clasen  <mclasen@redhat.com>
561
562         * gtk/gtklabel.c (gtk_label_setup_mnemonic): Don't forget to
563         null the mnemonic_menu when unsetting a mnemonic, reported
564         by Owen Taylor.
565
566 2004-12-21  Matthias Clasen  <mclasen@redhat.com>
567
568         * gtk/gtkliststore.c (generate_order): Generate the order the
569         way it is supposed to be, order[new_pos] == old_pos.
570         (gtk_list_store_reorder): Invert the order before using it.
571
572 2004-12-22  Matthias Clasen  <mclasen@redhat.com>
573
574         Fix sorting of list stores.  (#161886, Marcin Krzyzanowski)
575
576         * gtk/gtkliststore.c (generate_order): Generate the order the
577         way it is supposed to be, order[new_pos] == old_pos.
578         (gtk_list_store_reorder): Invert the order before using it.
579
580         * gtk/gtkiconview.c (gtk_icon_view_rows_reordered): Adapt to the
581         list store fix.
582
583 Wed Dec 22 01:24:01 2004  Jonathan Blandford  <jrb@redhat.com>
584
585         * gtk/queryimmodules.c (main): print out the version and binary
586         name in the header comment.  Problem reported by Seth Nickell.
587
588 2004-12-20  Matthias Clasen  <mclasen@redhat.com>
589
590         * gtk/gtkliststore.c (gtk_list_store_sort_iter_changed): Pass a
591         root path to gtk_tree_model_rows_reordered().  (#161720,
592         Marcin Krzyzanowski)
593
594         * gtk/gtkactiongroup.c (gtk_action_group_translate_string): Don't 
595         translate NULL messages.  (#161789, Morten Welinder)
596
597         * gtk/gtkmessagedialog.c (setup_primary_label_font): Don't show
598         the secondary label on show_all().  (#161707, Christian Persch)
599
600 2004-12-19  Tor Lillqvist  <tml@iki.fi>
601
602         * gdk/win32/gdkdnd-win32.c (resolve_link, gdk_dropfiles_filter):
603         Use wide character API when available. Use UTF-8 for filenames.
604
605         * gdk/win32/gdkselection-win32.c (_gdk_dropfiles_store): Include
606         the string's trailing zero byte in the property's length, just for
607         safety.
608
609 2004-12-18  Matthias Clasen  <mclasen@redhat.com>
610
611         * gtk/gtkfilechooserentry.c (check_completion_callback) 
612         (load_directory_callback): Add missing GDK_THREADS_ENTER/LEAVE.
613
614         * gtk/gtkfilechooserdefault.c (edited_idle_cb) 
615         (shortcuts_drag_outside_idle_cb): Add missing 
616         GDK_THREADS_ENTER/LEAVE.  (#161604)
617         
618         * gtk/gtkfilechooserdefault.c (selection_check_foreach_cb): 
619         (list_select_func): Don't call gtk_file_info_get_is_folder()
620         on NULL. 
621
622         * gtk/gtkaboutdialog.c (gtk_about_dialog_get_logo_icon_name): 
623         (gtk_about_dialog_init): Add missing initializations.  (#161646,
624         Torsten Schoenfeld)
625