1 2005-01-19 Tor Lillqvist <tml@novell.com>
3 * gdk/win32/gdkkeys-win32.c (update_keymap,
4 gdk_keymap_translate_keyboard_state): Handle keyboards with
5 ShiftLock (and not CapsLock) correctly. (#161814)
7 2005-01-19 Matthias Clasen <mclasen@redhat.com>
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)
13 * gtk/gtkobject.c (gtk_object_add_arg_type): Use GLib limit
14 macros to avoid sparse warnings. Pointed out by Kjartan Maraas.
16 * gdk/x11/gdkdisplay-x11.c: Precache the _NET_VIRTUAL_ROOTS
19 * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents):
20 Support _NET_VIRTUAL_ROOTS. (#163910, Carsten Haitzler)
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)
28 Tue Jan 18 13:56:09 2005 Manish Singh <yosh@gimp.org>
30 * gtk/gtkfilechooserdefault.c (pending_op_queue): Actually assign
33 Tue Jan 18 13:46:46 2005 Manish Singh <yosh@gimp.org>
35 * gdk/x11/gdkdrawable-x11.c (_gdk_x11_have_render_with_trapezoids):
36 disambiguate nested if/else.
38 2005-01-18 Federico Mena Quintero <federico@ximian.com>
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.
47 2005-01-18 Matthias Clasen <mclasen@redhat.com>
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)
54 * gtk/gtkcolorsel.c (key_press): Use gdk_display_warp_pointer.
56 2005-01-18 Matthias Clasen <mclasen@redhat.com>
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.
62 Tue Jan 18 10:55:47 2005 Søren Sandmann <sandmann@redhat.com>
64 * gtk/gtkstyle.c (gtk_default_draw_handle): Check for NULL detail
67 * gtk/gtkstyle.c (gtk_default_draw_box): Check for NULL detail and
68 NULL widget. (#164477, Michael Natterer)
70 2005-01-18 Matthias Clasen <mclasen@redhat.com>
72 Avoid X errors when running against servers which
73 implement XRender < 0.4. (#164427, Albert Chin)
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):
81 * gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add a
82 separate have_render_with_trapezoids field.
84 * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Initialize it.
86 2005-01-17 Matthias Clasen <mclasen@redhat.com>
88 * gtk/gtkiconview.c: Remove debug output. (#164376, Jens Finke)
90 Mon Jan 17 16:44:36 2005 Jonathan Blandford <jrb@redhat.com>
92 * docs/Makefile.am (EXTRA_DIST): add tree-column-sizing.png to
95 2005-01-17 Matthias Clasen <mclasen@redhat.com>
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)
101 2005-01-16 Matthias Clasen <mclasen@redhat.com>
103 * gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_new_with_backend):
104 Fix argument order in docs.
106 2005-01-15 Matthias Clasen <mclasen@redhat.com>
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)
112 2005-01-14 Matthias Clasen <mclasen@redhat.com>
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)
119 * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_set_value):
120 Add a translator hint. (#163889)
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.
126 2005-01-13 Matthias Clasen <mclasen@redhat.com>
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)
132 * gtk/gtkuimanager.c (gtk_ui_manager_get_widget): Add hints about
133 the lifecycle of widgets. (#159503, Christian Persch)
135 * demos/gtk-demo/main.c (create_text): Use monospace for the
136 source code view. (#163526, Theerud Lawtrakul)
138 * gtk/gtkaboutdialog.c (gtk_about_dialog_init): Use R as mnemonic
139 for the Credits button to avoid duplicate. (#163465, Tim-Philipp
142 * configure.in: Add an OS_LINUX conditional.
144 * gdk/Makefile.am (TESTS):
145 * gdk-pixbuf/Makefile.am (TESTS):
146 * gtk/Makefile.am (TESTS): Only run abicheck on Linux. (#163917,
149 2005-01-13 Matthias Clasen <mclasen@redhat.com>
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)
157 2005-01-12 Owen Taylor <otaylor@redhat.com>
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
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.
168 2005-01-12 Tor Lillqvist <tlillqvist@novell.com>
170 Fix for #162790, by Iwan Wong:
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
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
183 * gdk/win32/gdkgc-win32.c: Set up above new fields.
185 2005-01-10 Federico Mena Quintero <federico@ximian.com>
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.
207 2005-01-10 Owen Taylor <otaylor@redhat.com>
209 * Makefile.am (EXTRA_DIST): Adding missing ChangeLog.pre*
212 2005-01-10 Matthias Clasen <mclasen@redhat.com>
214 * gtk/gtkaccelgroup.c (gtk_accel_group_class_init): Document
215 signals. (#163319, Murray Cumming)
217 2005-01-09 Tor Lillqvist <tlillqvist@novell.com>
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)
224 2005-01-09 Anders Carlsson <andersca@gnome.org>
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.
232 2005-01-08 Matthias Clasen <mclasen@redhat.com>
234 * configure.in: Bump version
236 * === Released 2.6.1 ===
238 * gdk-pixbuf-2.0.pc.in: Require gmodule-no-export-2.0
240 2005-01-07 Tor Lillqvist <tml@iki.fi>
242 * gdk/win32/gdkselection-win32.c (_gdk_selection_property_store):
243 Fix braino. (#163232, Arnaud Charlet)
245 2005-01-06 Matthias Clasen <mclasen@redhat.com>
247 * gtk/gtkiconview.c: Make markup_column work, and fix some
248 layout issues when either icon or text is missing. (#163065)
250 2005-01-06 Federico Mena Quintero <federico@ximian.com>
252 * gtk/gtkfilechooserdefault.c (file_list_build_popup_menu): Add an
253 "Open _Location" item. Fixes #148839.
255 2005-01-06 Matthias Clasen <mclasen@redhat.com>
257 * README.in: Fix a typo. (#163128, kentaro fukuchi)
259 2005-01-06 James M. Cape <jcape@ignore-your.tv>
261 * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_new)
262 (gtk_file_chooser_button_new_with_backend): Use default title if
265 * docs/reference/gtk/tmpl/gtkfilechooserbutton.sgml: Make examples
268 2005-01-05 Federico Mena Quintero <federico@ximian.com>
272 * gtk/gtkfilechooserdefault.c (shortcuts_row_activated_cb): Queue
273 a pending operation to select the first row.
275 2005-01-05 Federico Mena Quintero <federico@ximian.com>
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.
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
295 (bookmarks_check_add_sensitivity): Check for the current folder
297 (browse_files_select_first_row): Don't set the cursor if there is
300 2005-01-05 Matthias Clasen <mclasen@redhat.com>
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.
308 Wed Jan 5 11:42:49 2005 Søren Sandmann <sandmann@redhat.com>
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
315 * gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter): Update
316 the user time when receiving a WM_DELETE message. (#162980,
319 Tue Jan 4 16:52:14 2005 Jonathan Blandford <jrb@redhat.com>
321 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_button_event):
322 only reorder on button 1, part of #141937
324 Tue Jan 4 11:36:43 2005 Søren Sandmann <sandmann@redhat.com>
328 * gtk/gtktextview.c (text_window_realize): Add GDK_EXPOSURE_MASK
329 to win->window's event_mask
331 * gtk/gtkviewport.c (gtk_viewport_realize): Add GDK_EXPOSURE_MASK
332 to viewport->view_window.
334 2005-01-04 Matthias Clasen <mclasen@redhat.com>
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.
341 2005-01-03 Matthias Clasen <mclasen@redhat.com>
343 * examples/*: Re-extract.
345 * docs/tutorial/gtk-tut.sgml: Small corrections.
347 * docs/tutorial/gtk-tut.sgml: Some updates for the drawing
348 section. (#161414, Robert Ancell)
350 * docs/tutorial/gtk-tut.sgml: Make it build.
352 * gtk/gtkdialog.c (gtk_dialog_run): Some clarification
353 regarding modality. (#112903, Dave Bordoley)
355 * gtk/gtkfixed.c (gtk_fixed_set_has_window):
356 Add a little motivation. (#145556, Tommi Komulainen)
358 * docs/tutorial/gtk-tut.sgml: Clarify section on
359 g_signal_connect_swapped. (#120543, David Bourguignon)
361 Make gtk_icon_theme_load_icon() work independent of
362 icon factory initialization. (#162791, Tristan Van Berkom)
364 * gtk/gtkiconfactory.[hc]: Rename ensure_default_icons to
365 _gtk_icon_factory_ensure_default_icons, and make it non-static.
367 * gtk/gtkicontheme.c (find_builtin_icon): ..and call it here.
369 2005-01-02 Matthias Clasen <mclasen@redhat.com>
371 * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_remove_shortcut_folder):
372 Don't add a shortcut here. (#162752, Tor Lillqvist)
374 2005-01-02 Tor Lillqvist <tml@iki.fi>
376 * gtk/Makefile.am (libgtk_target_ldflags): Add -lole32, needed for
377 CoTaskMemFree in get_special_folder() below.
379 * gtk/gtkfilesystem.h: Implement case-insensitive path compare on
380 Win32 using _gtk_file_system_win32_path_compare().
382 * gtk/gtk.symbols: Add _gtk_file_system_win32_path_compare.
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
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.
397 (gtk_file_system_win32_init): Start one timeout per
400 (gtk_file_system_win32_finalize): Remove the timeout.
402 (get_special_folder): Copied from GLib.
404 (_gtk_file_system_win32_get_desktop): New function, uses
405 get_special_folder().
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.
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
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
419 (gtk_file_system_win32_volume_get_is_mounted): Always return TRUE.
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
426 (gtk_file_system_win32_volume_render_icon): Use network icon for
427 unrecognized drive types.
429 (canonicalize_filename, gtk_file_system_win32_parse): Don't get
430 confused by UNC paths.
432 (bookmarks_serialize): Use _gtk_file_system_win32_path_compare()
433 for case-insensitive UTF-8 path comparison.
435 (extract_icon): Use SHGetFileInfo() which is faster than
436 ExtractAssociatedIcon(). Icon extraction is still slow, though,
439 (win32_pseudo_mime_lookup): Don't use the same icon for all
440 shortcuts or executables. Cache only other file type icons.
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.
448 (filename_is_drive_root): Require also the slash after the colon.
450 (filename_is_server_share): New function.
452 (_gtk_file_system_win32_path_compare): New function, does
453 case-folded UTF-8 comparison.
455 * gtk/gtkfilesystemwin32.h: Declare
456 _gtk_file_system_win32_path_compare().
458 2005-01-01 Matthias Clasen <mclasen@redhat.com>
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
466 2005-01-01 Tor Lillqvist <tml@iki.fi>
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
474 2004-12-31 Matthias Clasen <mclasen@redhat.com>
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,
482 2004-12-30 Matthias Clasen <mclasen@redhat.com>
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)
488 * gtk/gtkfilechooserdefault.c: Use secondary text for error
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.
496 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_set_property):
497 Use g_value_get_boolean() for ellipsize_set. (#162447,
500 2004-12-30 Tor Lillqvist <tml@iki.fi>
502 * gtk/gtkicontheme.c (gtk_icon_theme_init): Use /usr/share/pixmaps
505 2004-12-28 Matthias Clasen <mclasen@redhat.com>
507 * gtk/gtkmenuitem.c (gtk_menu_item_position_menu): Inherit
508 submenu direction from the parent menu.
510 * gtk/gtkmenushell.c (gtk_menu_shell_select_submenu_first):
511 Return a boolean indicating whether an item in the submenu
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)
517 2004-12-27 Matthias Clasen <mclasen@redhat.com>
519 Make the clipboard image API more robust (#162357,
522 * gtk/gtkclipboard.c (clipboard_image_received_func): Don't
523 ref the pixbuf if it is NULL.
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.
531 2004-12-27 Matthias Clasen <mclasen@redhat.com>
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)
537 * gtk/gtktreeview.c (gtk_tree_view_class_init): Fix a
538 typo. (#162339, Alessio Dessi)
540 * gtk/gtkadjustment.c (gtk_adjustment_class_init): Document
541 properties as new since 2.4. (#156101, Billy Biggs)
543 * configure.in: Add a warning about the linux-fb
544 target. (#155488, Zeeshan Ali)
546 * gtk/gtkmain.c (gtk_init_with_args): Typo fix. (#162278,
549 2004-12-26 Matthias Clasen <mclasen@redhat.com>
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)
556 2004-12-23 Matthias Clasen <mclasen@redhat.com>
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)
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)
566 Wed Dec 22 14:22:19 2004 Søren Sandmann <sandmann@redhat.com>
568 * tests/testtoolbar.c (timeout_cb): Add sensitivity-changing
569 timeout. Written by Christian Persch.
571 Wed Dec 22 14:14:02 2004 Søren Sandmann <sandmann@redhat.com>
575 * gdk/x11/gdkwindow-x11.c (tmp_{re,un}set_bg): Only set/reset the
576 background for windows that get expose events.
578 * gdk/gdkwindow.c (gdk_window_process_updates_internal): Remove
579 hack to repaint !expose windows.
581 Wed Dec 22 11:35:41 2004 Søren Sandmann <sandmann@redhat.com>
583 Bug #147497, make menu items activate immediately when you release
586 * gtk/gtkmenu.c (gtk_menu_enter_notify, menu_motion_notify): Make
587 items activate immediately.
589 * gtk/gtkmenu.c (definitely_within_item): New function
590 * gtk/gtkmenu.c (check_threshold): New function
592 2004-12-22 Matthias Clasen <mclasen@redhat.com>
594 * gtk/gtklabel.c (gtk_label_setup_mnemonic): Don't forget to
595 null the mnemonic_menu when unsetting a mnemonic, reported
598 2004-12-21 Matthias Clasen <mclasen@redhat.com>
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.
604 2004-12-22 Matthias Clasen <mclasen@redhat.com>
606 Fix sorting of list stores. (#161886, Marcin Krzyzanowski)
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.
612 * gtk/gtkiconview.c (gtk_icon_view_rows_reordered): Adapt to the
615 Wed Dec 22 01:24:01 2004 Jonathan Blandford <jrb@redhat.com>
617 * gtk/queryimmodules.c (main): print out the version and binary
618 name in the header comment. Problem reported by Seth Nickell.
620 2004-12-20 Matthias Clasen <mclasen@redhat.com>
622 * gtk/gtkliststore.c (gtk_list_store_sort_iter_changed): Pass a
623 root path to gtk_tree_model_rows_reordered(). (#161720,
626 * gtk/gtkactiongroup.c (gtk_action_group_translate_string): Don't
627 translate NULL messages. (#161789, Morten Welinder)
629 * gtk/gtkmessagedialog.c (setup_primary_label_font): Don't show
630 the secondary label on show_all(). (#161707, Christian Persch)
632 2004-12-19 Tor Lillqvist <tml@iki.fi>
634 * gdk/win32/gdkdnd-win32.c (resolve_link, gdk_dropfiles_filter):
635 Use wide character API when available. Use UTF-8 for filenames.
637 * gdk/win32/gdkselection-win32.c (_gdk_dropfiles_store): Include
638 the string's trailing zero byte in the property's length, just for
641 2004-12-18 Matthias Clasen <mclasen@redhat.com>
643 * gtk/gtkfilechooserentry.c (check_completion_callback)
644 (load_directory_callback): Add missing GDK_THREADS_ENTER/LEAVE.
646 * gtk/gtkfilechooserdefault.c (edited_idle_cb)
647 (shortcuts_drag_outside_idle_cb): Add missing
648 GDK_THREADS_ENTER/LEAVE. (#161604)
650 * gtk/gtkfilechooserdefault.c (selection_check_foreach_cb):
651 (list_select_func): Don't call gtk_file_info_get_is_folder()
654 * gtk/gtkaboutdialog.c (gtk_about_dialog_get_logo_icon_name):
655 (gtk_about_dialog_init): Add missing initializations. (#161646,