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