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