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