1 2005-03-08 Matthias Clasen <mclasen@redhat.com>
5 * gtk/gtktreeviewcolumn.h:
8 * gtk/gtkfilechooserdialog.h:
11 * gtk/gtkcelllayout.h:
12 * gtk/gtkaboutdialog.h: Use G_GNUC_NULL_TERMINATED where
13 appropriate. (#165682, Marc Meissner)
15 2005-03-07 Matthias Clasen <mclasen@redhat.com>
17 Convert the gdk keyval-keyname tables to a big string
20 * gdk/gen-keyname-table.pl: Perl script inspired by
21 pango/tools/gen-color-table.pl to create the
22 gdk_keys_by_keyval and gdk_keys_by_name tables as lists
23 of offsets pointing into a big const string.
25 * gdk/keynames.txt: List of keyval-keyname pairs.
26 * gdk/keyname-table.h: Generated tables.
28 * gdk/gdkkeynames.c: Include keyname-table.h and don't
29 generate the inverse table at runtime.
31 2005-03-07 Matthias Clasen <mclasen@redhat.com>
33 * gtk/gtkstyle.c: Document which parameters may be NULL.
34 (#166855, Frank Naumann)
36 2005-03-07 Matthias Clasen <mclasen@redhat.com>
38 * AUTHORS: Add original authors of incorporated software.
40 Thu Mar 3 16:59:44 2005 Manish Singh <yosh@gimp.org>
42 * configure.in: URL escape the '+' in gtk+ in the bugzilla URL.
44 2005-03-03 Matthias Clasen <mclasen@redhat.com>
46 * gtk/gtksettings.c (gtk_settings_get_property):
47 * gtk/gtkrc.c (gtk_rc_parse_assignment): Don't leak
48 the values here. (#169047, Philip Langdale)
50 * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render):
51 Don't warn if a stock icon cannot be found. (#168830,
54 2005-03-03 Matthias Clasen <mclasen@redhat.com>
56 * gtk/gtkwidget.c (gtk_widget_reparent_subwindows):
57 Avoid warnings if gtk_widget_reparent() is called at
58 unusual times. (#168966, Christian Persch)
60 Tue Mar 1 14:04:08 2005 Manish Singh <yosh@gimp.org>
62 * gdk/x11/gdkproperty-x11.c (virtual_atom_check_init): Cast to avoid
63 const warnings on data structure seeding.
65 Tue Mar 1 13:53:56 2005 Manish Singh <yosh@gimp.org>
67 * gtk/xdgmime/xdgmime.[ch]: revert previous change, maintain ABI.
69 2005-03-01 Matthias Clasen <mclasen@redhat.com>
71 * gtk/gtkmenutoolbutton.c (button_state_changed_cb):
72 Fix prelighting. (#157392, Vincent Noel, patch by
75 * gtk/gtkicontheme.c (theme_lookup_icon): Make
76 icon data caching work again. (#168851, Alexander Larsson)
78 * gdk-pixbuf/gdk-pixbuf.c:
79 * gdk-pixbuf/gdk-pixbuf-features.h.in:
80 Revert the previous change, since it breaks
83 2005-03-01 Matthias Clasen <mclasen@redhat.com>
86 * gdk/gdkpixbuf-drawable.c
88 * gdk/x11/gdkdnd-x11.c
89 * gdk/x11/gdkevents-x11.c
90 * gdk/x11/gdkproperty-x11.c
91 * gdk/x11/gdkvisual-x11.c
92 * gdk-pixbuf/gdk-pixbuf.c
93 * gdk-pixbuf/gdk-pixbuf-features.h.in
96 * gtk/gtkcolorbutton.c
99 * gtk/gtkfilechooserdefault.c
103 * gtk/gtkinputdialog.c
104 * gtk/gtkitemfactory.c
108 * gtk/gtktreedatalist.c
112 * gtk/xdgmime/xdgmime.c
113 * gtk/xdgmime/xdgmime.h:
114 Move constant data to .rodata.
116 2005-02-27 Matthias Clasen <mclasen@redhat.com>
118 * gtk/gtkaction.c (connect_proxy): Improve the handling
119 of buttons as action proxys. (#165534, Milosz Derezynski)
121 * gtk/gtklabel.c (gtk_label_size_request): Fix a typo.
122 (#168646, Vincent Untz)
124 * gtk/gtkfilechooserdefault.c (save_folder_combo_create):
125 Unset "focus-on-click" for the save folder combo. (#168688,
128 2005-02-25 Matthias Clasen <mclasen@redhat.com>
130 * demos/testpixbuf.c (main): Remove a C++ comment. (#168531,
133 * gtk/gtkcombobox.c (gtk_combo_box_menu_fill_level): Don't leak a
134 path here. (#168443, Morten Welinder)
136 2005-02-24 Robert Ögren <gtk@roboros.com>
138 Implement better handling of Wintab tablet context overlap on
141 * gdk/win32/gdkinput-win32.c (_gdk_input_set_tablet_active): New
142 function that brings any tablet contexts to the top of the overlap
144 * gdk/win32/gdkinput-win32.h: Declare _gdk_input_set_tablet_active ()
145 * gdk/win32/gdkevents-win32.c (gdk_event_translate):
146 Call _gdk_input_set_tablet_active when a window is activated (on
149 2005-02-24 Matthias Clasen <mclasen@redhat.com>
151 * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_select_path):
152 Don't leak parent_path. (#168435, Morten Welinder)
154 Thu Feb 24 14:20:16 2005 Søren Sandmann <sandmann@redhat.com>
156 * gtk/gtkstyle.c: Add
158 g_return_if_fail (style->depth == gdk_drawable_get_depth(window));
162 2005-02-24 Matthias Clasen <mclasen@redhat.com>
164 * gtk/gtkcombobox.c: Consistently use gtk_tree_row_reference_valid().
165 (gtk_combo_box_model_row_deleted): Update the displayed row in
166 the cell_view. (#167842, Gustavo Carneiro)
168 2005-02-24 Matthias Clasen <mclasen@redhat.com>
170 Fix #167259, reported by Christian Persch:
172 * gtk/gtkwidget.c (gtk_widget_unparent): Unmap the reparented
173 widget, even if we avoid the unrealizing.
174 (gtk_widget_reparent_subwindows): Make reparenting work for
175 !NO_WINDOW widgets which have other windows which are siblings
176 of widget->window (as e.g. GtkSpinButton).
178 2005-02-24 Matthias Clasen <mclasen@redhat.com>
180 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_changed):
181 Don't emit a warning if a parent node is filtered out. (#164726,
184 2005-02-23 Matthias Clasen <mclasen@redhat.com>
186 * gtk/gtklabel.c (gtk_label_style_set): Revert the last
187 change, since gtk_widget_set_style_internal() already
190 2005-02-23 Matthias Clasen <mclasen@redhat.com>
192 * gtk/gtklabel.c (gtk_label_style_set): Queue a resize, since
193 fonts may have changed. (#164128, Phil Blundell)
195 * gtk/gtkaboutdialog.c (gtk_about_dialog_init)
196 (gtk_about_dialog_new): Move initialization code from _new to
197 _init. (#168249, Murray Cumming)
199 Wed Feb 23 17:34:01 2005 Jonathan Blandford <jrb@redhat.com>
201 * gtk/gtktreeview.c (gtk_tree_view_node_queue_redraw): Patch from
202 jorn@nl.linux.org (Jorn Baayen) to notice changes to fixed-height
205 2005-02-23 Tor Lillqvist <tml@novell.com>
207 * gdk/win32/gdkkeys-win32.c (update_keymap): Workaround for bug in
208 MapVirtualKey(VK_DIVIDE, 0) in some Windows versions. (#142998)
210 Tue Feb 22 13:49:09 2005 Manish Singh <yosh@gimp.org>
212 * gtk/updateiconcache.c: #include <config.h>
214 2005-02-22 Federico Mena Quintero <federico@ximian.com>
218 Fix #164940, patch by Ben Maurer and Tommi Komulainen.
220 * gdk/gdkrgb.c (gdk_rgb_convert_565_d): Constify the "dmp" variable.
221 (gdk_rgb_convert_565_d): Likewise.
222 (DM_565): Made a static const precomputed array to avoid
223 allocating it at runtime.
224 (gdk_rgb_preprocess_dm_565): #ifdef out.
226 2005-02-20 Matthias Clasen <mclasen@redhat.com>
229 * gtk/gtkclipboard.c: Fix links to freedesktop.org specs
230 in the documentation.
232 * gdk/x11/gdkdrawable-x11.c (_gdk_x11_have_render_with_trapezoids):
233 Set have_render_with_trapezoids to GDK_YES when we have
234 a new enough Render extension. (#167965,Billy Biggs)
236 * gtk/gtkwindow.c (gtk_window_present): Use the timestamp of
237 the last user interaction when focusing the window. (#166379,
240 Thu Feb 17 14:58:16 2005 Manish Singh <yosh@gimp.org>
242 * gtk/gtkuimanager.c (start_element_handler): make sure expand
243 is initialized, cast to GTK_SEPARATOR_TOOL_ITEM.
245 Thu Feb 17 14:52:57 2005 Manish Singh <yosh@gimp.org>
247 * gtk/gtkcombobox.c: Pass gtk_widget_get_toplevel() a GTK_WIDGET.
249 2005-02-16 Matthias Clasen <mclasen@redhat.com>
251 * docs/iconcache.txt: Add some information about the
252 icon cache format (since I can't locate it at freedesktop.org)
254 Fixes for #143829, Tommi Komulainen, Christian Persch:
256 * gtk/gtktreeview.c (gtk_tree_view_destroy): Remove the
257 typeselect_flush_timeout when destroying the widgets
259 (gtk_tree_view_ensure_interactive_directory): Add the
260 popup to the window group of the toplevel it belongs to.
262 * gtk/gtkcombobox.c (gtk_combo_box_set_popup_widget)
263 (gtk_combo_box_popup): Do the same here.
265 2005-02-14 Matthias Clasen <mclasen@redhat.com>
267 * configure.in: Kill --enable-ansi (#164394)
269 2005-02-11 Matthias Clasen <mclasen@redhat.com>
271 * gtk/gtkpathbar.c (gtk_path_bar_finalize): Stop scrolling
272 when the pathbar goes away. (#167094, Rodney Dawes)
273 (change_icon_theme): Use GTK_ICON_SIZE_MENU here as
276 2005-02-11 Matthias Clasen <mclasen@redhat.com>
278 Support vertical menubars (#166632):
280 * gtk/gtkenums.h (GtkPackDirection): New enumeration for pack
281 directions, with values for left-to-right, right-to-left,
282 top-to-bottom and bottom-to-top.
286 * gtk/gtkmenubar.c: Add two properties, pack-direction and
287 child-pack-direction, which specify how children and
288 grandchildren of a menubar are packed, with getters and setters.
290 * gtk/gtkmenubar.c (gtk_menu_bar_set_property):
291 (gtk_menu_bar_get_property): Implement set_property and get_property.
293 * gtk/gtkmenubar.c (gtk_menu_bar_size_request):
294 (gtk_menu_bar_size_allocate): Take pack direction into account.
296 * gtk/gtkmenubar.c (gtk_menu_bar_move_current): Implement
297 move_current here move all the menubar-specific direction
298 tweaking from the generic menushell implementation here.
300 * gtk/gtkmenu.c (gtk_menu_move_current): Move menu-specific
301 direction tweaking from the generic menushell implementation here.
303 * gtk/gtkmenuitem.c (gtk_menu_item_size_request):
304 (gtk_menu_bar_size_allocate): Take pack direction into account.
306 * gtk/gtkimagemenuitem.c (gtk_image_menu_item_size_request)
307 (gtk_image_menu_item_size_allocate):
308 (gtk_image_menu_item_toggle_size_request): Take child pack
309 direction into account and pack the image vertically if
312 * gtk/gtkmenushell.c (gtk_menu_shell_real_select_item):
313 Set the submenu direction to left-right for menuitems in
315 (gtk_real_menu_shell_move_current): Simplify by moving
316 direction tweaking to menu- and menubar-specific
317 implementations. Take pack direction into account when
320 * tests/testmenubars.c: Test menubars in various packing
321 direction combinations.
323 * tests/Makefile.am (noinst_PROGRAMS): Add testmenubars.
325 2005-02-11 Matthias Clasen <mclasen@redhat.com>
327 Complete the fix for #165770, Vincent Noel:
329 * gtk/gtkfilechooserbutton.c (FALLBACK_ICON_SIZE): Make the
330 fallback size be 16, to be equal to the default for
331 GTK_ICON_SIZE_MENU (in gtkiconfactory.c:init_icon_sizes()).
332 (gtk_file_chooser_button_init):
333 (change_icon_theme): Use GTK_ICON_SIZE_MENU instead of
334 GTK_ICON_SIZE_SMALL_TOOLBAR.
336 2005-02-09 Matthias Clasen <mclasen@redhat.com>
338 * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): Fix RTL
339 keynav for going from menubar to menu.
341 2005-02-08 Christian Rose <menthos@menthos.com>
343 * configure.in: Added "xh" to ALL_LINGUAS.
345 2005-02-08 Matthias Clasen <mclasen@redhat.com>
347 * gtk/gtkuimanager.c (start_element_handler): Accept
348 the "expand" attribute and set a flag in the node if it
350 (update_node): If the expand flag is set, make separator
351 toolitems non-drawn and expanding. (#166489, Christian Persch)
353 2005-02-05 Hans Breuer <hans@breuer.org>
355 * gdk/makefile.msc gdk/win32/makefile.msc gtk/makefile.msc.in :
356 build with Cairo dependency. The patch to acually use Cairo
357 on win32 will be on gtk-devel-list soon.
358 * tests/makefile.msc : add testcairo building
360 * gtk/stock-icons/makefile.msc : split command line into two to
361 work with the shells default
363 Fri Feb 4 14:16:31 2005 Manish Singh <yosh@gimp.org>
365 * gtk/gtkaccelgroup.c (substitute_underscores): remove unused
368 * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render):
369 Add some extra parens for bitop order of operations disambiguiation.
371 * gtk/gtkstock.c: Fix const confusion, make our own copy of the
372 domain when setting a translate function.
374 * tests/testcombo.c: removed unused variable.
376 2005-02-04 Matthias Clasen <mclasen@redhat.com>
378 * gtk/gtkstock.c (gtk_stock_lookup): Handle item->translation_domain
379 being NULL. (#166179, Diego Gonzalez)
381 2005-02-04 Owen Taylor <otaylor@redhat.com>
383 * configure.in: Revert gtk_binary_version to 2.4.0. Fix
384 up comment to talk only about backwards compat, not
385 forward/backwards compat. (#166293, reported by Vincent Noel)
387 2005-02-04 Matthias Clasen <mclasen@redhat.com>
389 * gtk/gtkpaned.c (gtk_paned_compute_position): Work better
390 when there is not enough space. This avoids a nasty size
391 allocation loop in the file chooser. (#154007, reported
392 by Milosz Derezynski, patch by Robert Ögren)
394 2005-02-04 Matthias Clasen <mclasen@redhat.com>
396 * gtk/gtkentry.c (gtk_entry_create_layout): Avoid spurious
397 selection of RTL direction if the widget does not have
398 focus. (#164125, Frederic Crozat)
400 Thu Feb 3 19:15:55 2005 Manish Singh <yosh@gimp.org>
402 * gdk/x11/gdkdrawable-x11.c: #include cairo-xlib.h
404 2005-02-03 Owen Taylor <otaylor@redhat.com>
406 * gdk/gdkdrawable.[ch] gdkpixmap.c gdkwindow.c: Add
407 gdk_drawable_set_cairo_target().
409 * tests/testtreeflow.c (enum): Use grand not rand as a variable
410 name because one of the cairo headers is pulling in stdlib.h.
412 * tests/testcairo.c tests/Makefile.am: Add a simple cairo based
415 * configure.in: Bump release to 2.7.0, gtk_binary_version to 2.7.0.
417 * Require libpangocairo for all backends.
419 2005-02-03 Tor Lillqvist <tml@novell.com>
421 * modules/input/gtkimcontextime.c (get_pango_attr_list): Use the
422 wide character version of ImmGetCompositionString() here,
423 too. (#165278, Takuro Ashie)
425 2005-02-03 Matthias Clasen <mclasen@redhat.com>
427 * gtk/gtkmenu.c (gtk_menu_handle_scrolling): Don't do
428 one roundtrip per motion event. (#166173, pointed out
429 by Chris Lee, patch by Søren Sandmann)
433 * gtk/gtkstock.c (gtk_stock_set_translate_func):
434 New function which allows to change the function used for
435 translation stock labels, on a per-domain basis. Use this
436 functionality to switch the GTK+ stock items to use Q_()
437 prefixed msgids. (#166179, Funda Wang)
439 * gdk/gdkkeynames.c: Make the gdk_key array const (#166075,
442 2005-02-02 Federico Mena Quintero <federico@ximian.com>
446 * gtk/gtkfilechooserdefault.c (pending_select_paths_process):
447 Don't select the first row if the chooser is not mapped. This
448 happens when it's acting on behalf of GtkFileChooserButton. Also,
449 don't select the first row if we are in SAVE or CREATE_FOLDER
450 modes --- I had missed that (see the ChangeLog entry from
451 2005-01-18). Fixes #165264.
453 2005-02-02 Tor Lillqvist <tml@novell.com>
455 Implement lazy extended input initialization on Win32, by Robert
456 Ögren. Fixes #163163, possibly #162334. Lazy initialization would
457 be a good idea in any case even if it didn't fix any visible
460 The Wacom tablet driver seems to get confused if Wintab is
461 initialized but no window is shown before the process exits. This
462 is the case for some GIMP plug-ins, for instance.
464 * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Made
465 non-static (and renamed).
466 (_gdk_input_init): Don't call _gdk_input_wintab_init_check().
468 * gdk/win32/gdkinput-win32.h: Declare _gdk_input_wintab_init_check().
470 * gdk/win32/gdkinput.c (gdk_devices_list,
471 gdk_display_list_devices, gdk_input_set_extension_events): Call
472 _gdk_input_wintab_init_check() here instead.
474 2005-02-02 Ivan, Wong Yat Cheung <email@ivanwong.info>
476 * gdk/win32/gdkselection.c: Use a FIFO list for storing GdkSelProp
477 of a single window so that gtk_clipboard_request_contents() can be
478 called inside a GtkClipboardReceivedFunc(). (#163844)
480 2005-02-01 Matthias Clasen <mclasen@redhat.com>
482 * gtk/gtkicontheme.c (gtk_icon_theme_init): Look for icons
483 in XDG_DATA_DIRS/pixmaps. (#165950, Thomas Zajic)
485 * gtk/gtkwindow.c (gtk_window_set_icon_name): Set info->icon_list
486 to NULL after freeing it. (#165800, Damon Chaplin)
488 2005-02-01 Michael Natterer <mitch@gimp.org>
490 * configure.in: depend on stable pango-1.8, not unstable 1.7
492 2005-02-01 Federico Mena Quintero <federico@ximian.com>
496 * gtk/gtkfilechooserdefault.c
497 (browse_files_model_finished_loading_cb): Don't
498 g_assert_not_reached() if we are in any other state. Another code
499 path may have triggered a folder reload. Fixes #165556.
501 2005-02-01 Federico Mena Quintero <federico@ximian.com>
507 * gtk/gtkfilechooserdefault.c (FALLBACK_ICON_SIZE): Make the
508 fallback size be 16, to be equal to the default for
509 GTK_ICON_SIZE_MENU (in gtkiconfactory.c:init_icon_sizes()).
510 (change_icon_theme): Use GTK_ICON_SIZE_MENU instead of
511 GTK_ICON_SIZE_SMALL_TOOLBAR.
513 2005-02-01 Matthias Clasen <mclasen@redhat.com>
515 * */*.c: Fix many instances of "the the" in docs and
516 comments. (#165815, Masao Mutoh)
518 * gtk/updateiconcache.c (main): Add a --quiet option.
520 2005-02-01 Tor Lillqvist <tml@novell.com>
522 * gdk/win32/gdkkeys-win32.c (handle_special, set_shift_vks,
523 reset_after_dead, handle_dead): New functions, code blocks
524 refactored out of update_keymap(). No functionality change.
526 (update_keymap): Use ToUnicodeEx() when available (on NT-based
527 Windows) instead of ToAsciiEx(). Makes keyboard input work in
528 Unicode-only input locales that don't have any ANSI codepage, for
529 instance Hindi and Bengali. Use _gdk_input_codepage only on
532 * gdk/win32/gdkevents-win32.c (gdk_event_translate): On
533 WM_INPUTLANGCHANGE, use GetLocaleInfo() instead of
534 TranslateCharsetInfo() to get the input locale's corresponding
537 2005-01-31 Matthias Clasen <mclasen@redhat.com>
539 * modules/input/gtkimcontextxim.c: Use NULL, not 0 to terminate
540 NULL-terminated va lists. (#165683)
542 2005-01-29 Matthias Clasen <mclasen@redhat.com>
544 * gtk/gtkseparatortoolitem.c (gtk_separator_tool_item_set_draw):
545 Typo fix. (#165581, Masao Mutoh)
547 Thu Jan 27 14:25:45 2005 Manish Singh <yosh@gimp.org>
549 * README.cvs-commits: update ancient IRC info.
551 2005-01-27 Federico Mena Quintero <federico@ximian.com>
555 * gtk/gtkfilechooserdefault.c
556 (gtk_file_chooser_default_select_path): Oops, don't assert that we
557 can't reach the end of the function; this happens if we are still
558 loading but don't need a path change. Fixes #165213.
560 2005-01-27 Matthias Clasen <mclasen@redhat.com>
562 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render):
563 Make wrapping work in RTL mode.
565 * gtk/gtkaboutdialog.c: Some visual tweaks to the about dialog,
566 obey HIG spacing a bit more, add a hand cursor when over the
567 link button. (#163979, Jorn Baayen)
569 2005-01-26 Matthias Clasen <mclasen@redhat.com>
571 * gtk/gtkentrycompletion.c (gtk_entry_completion_class_init):
572 Don't allow -1 as minimum-key-length.
573 (gtk_entry_completion_set_model): Add missing notification.
574 (gtk_entry_completion_set_minimum_key_length): Add missing
575 notification, allow setting minimum-key-length to 0. (#165194,
578 2005-01-26 Matthias Clasen <mclasen@redhat.com>
580 * gtk/gtkaboutdialog.c (display_license_dialog): Make sure
581 the license dialog is initially displayed without a horizontal
583 (gtk_about_dialog_class_init): Document the fact that the
584 license text is not wrapped. (#165012, Christian Rose)
586 2005-01-25 Matthias Clasen <mclasen@redhat.com>
588 * gtk/gtkbutton.c (gtk_button_set_image): Fix docs. (#165180,
591 * gdk/x11/gdkwindow-x11.c (gdk_window_configure_finished): Fix
592 docs. (#165163, Jeff Franks)
594 * gtk/gtkimage.c (gtk_image_get_property): Use the correct setter
595 for a string GValue. (#165203, Damon Chaplin)
597 2005-01-24 Matthias Clasen <mclasen@redhat.com>
599 * gdk/x11/gdkdisplay-x11.c (_gdk_windowing_set_default_display):
600 Initialize user_time from DESKTOP_STARTUP_ID. (#165131,
603 2005-01-24 Federico Mena Quintero <federico@ximian.com>
605 * gtk/gtkfilechooserdefault.c: Removed leftover comments.
607 2005-01-24 Federico Mena Quintero <federico@ximian.com>
611 Fix #147785 and clean up the loading code:
613 * gtk/gtkfilechooserdefault.c (LoadState): Make the set of states
614 be EMPTY, PRELOAD, LOADING, FINISHED.
615 (gtk_file_chooser_default_init): Start in the LOAD_EMPTY state.
616 (struct _GtkFileChooserDefault): Added a pending_select_paths
618 (load_remove_timer): Add the new states.
619 (load_setup_timer): Likewise.
620 (load_timeout_cb): Likewise. Switch to the LOAD_LOADING state.
621 (browse_files_model_finished_loading_cb): Switch to the
623 (enum PendingOp): Removed.
624 (struct _GtkFileChooserDefault): Removed the pending_op and
625 pending_select_path fields.
626 (pending_select_paths_free): New utility function.
627 (pending_select_paths_add): New utility function.
628 (gtk_file_chooser_default_finalize): Call
629 pending_select_paths_free().
630 (pending_op_queue): Removed.
631 (pending_op_process): Removed.
632 (pending_select_paths_process): New function.
633 (browse_files_model_finished_loading_cb): Call
634 pending_select_paths_process().
635 (center_selected_row_foreach_cb): Handle multiple selection by
636 only centering the first row.
637 (get_is_file_filtered): Constify.
638 (gtk_file_chooser_default_select_path): Queue into a list of paths
639 to select if we are not finished loading.
640 (show_and_select_paths): New utility function.
641 (up_folder_handler): Use pending_select_paths_add().
642 (gtk_file_chooser_default_should_respond): Do not call
643 pending_op_queue(); free the pending_selected_paths instead.
644 (gtk_file_chooser_default_initial_focus): Don't queue a pending
645 operation, and don't select the first row unconditionally --- this
646 will happen when the folder is done loading.
647 (shortcuts_row_activated_cb): Free the pending_select_paths.
648 (pending_select_paths_store_selection): New utility function.
649 (gtk_file_chooser_default_map): Call
650 pending_select_paths_store_selection() to save the selection
651 before reloading the folder.
652 (select_func): Umm? Call gtk_tree_selection_select_iter(). Don't
653 move the cursor here; it will be done when processing the pending paths.
655 * tests/testfilechooser.c (main): Add a button to the command
656 window to unmap and remap the file chooser.
658 2005-01-24 Matthias Clasen <mclasen@redhat.com>
660 * docs/tutorial/gtk-tut.sgml:
661 * docs/tutorial/gtk_tut.sgml:
662 * docs/reference/gtk/tmpl/gtkliststore.sgml:
663 * gtk/gtkactiongroup.c:
664 * gtk/gtksizegroup.c:
665 * gtk/gtksizegroup.h:
666 * gtk/gtktogglebutton.c: Replace "effect" by "affect" where
667 appropriate. (#165108, Dan Winship)
669 2005-01-24 Matthias Clasen <mclasen@redhat.com>
671 * gtk/gtkwidget.c (gtk_widget_class_init): Document
672 GtkWidget::style-set. (#164222, Alex Graveley)
674 2005-01-22 Matthias Clasen <mclasen@redhat.com>
676 * gdk/gdkdisplay.h (gdk_display_add_client_message_filter_full):
677 Remove the accidentally added prototype for this unimplemented
678 function. (#164893, Jeff Franks)
680 * gtk/gtktreeview.c (gtk_tree_view_leave_notify): Avoid spurious
683 2005-01-23 Tor Lillqvist <tml@novell.com>
685 * gdk/win32/gdkkeys-win32.c (update_keymap): Handle Greek tonos
686 dead accent key. (#164859, reported and fix verified by Daniel
689 * gtk/gtkimcontextsimple.c (gtk_compose_seqs): Handle
690 GDK_Greek_accentdieresis (tonos and dialytika) combining with iota
693 * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_volume_get_display_name):
694 Don't call GetVolumeInformation() for network drives. They might
695 be disconnected, and calling GetVolumeInformation() will then
696 cause long delays. (#164448, reported by Dave Neary.) It seems to
697 be very hard to reliably find out whether a network drive is
698 connected or not, so it's easier to just not try getting the
699 volume name for them. See the bug report for discussion.
701 Make volume name display formats translatable.
703 Fix for #163702, from Ivan Wong:
705 * gdk/win32/gdkprivate-win32.h
706 * gdk/win32/gdkglobals-win32.c: New flag _ignore_destroy_clipboard.
708 * gdk/win32/gdkevents-win32.c (gdk_event_translate): Handle
709 WM_DESTROYCLIPBOARD. Unless _ignore_destroy_clipboard, generate a
710 GDK_SELECTION_CLEAR event.
712 * gdk/win32/gdkselection-win32.c
713 (gdk_selection_owner_set_for_display): Set _ignore_destroy_clipboard
714 when emptying the clipboard ourselves.
716 (gdk_selection_send_notify_for_display): Remove the artifical
717 GDK_SELECTION_CLEAR event generation.
719 2005-01-21 Matthias Clasen <mclasen@redhat.com>
721 * gtk/gtkwidget.c (gtk_widget_get_accessible): More details
722 provided by Bill Haneman.
724 2005-01-20 Matthias Clasen <mclasen@redhat.com>
726 * gtk/gtkwidget.c (gtk_widget_get_accessible): Add docs. (#164725,
729 * gtk/gtkdialog.c (gtk_dialog_map): Don't loop forever
730 here, even if the only focusable widgets are labels.
732 2005-01-20 Matthias Clasen <mclasen@redhat.com>
734 Support tinting in GtkCellRendererPixbuf (#162903, Jorn Baayen):
736 * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_class_init)
737 Add a follow-state property which when TRUE causes the pixbuf
738 to be tinted according to state.
740 * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render):
741 Use follow-state and colorize the pixbuf when appropriate.
743 2005-01-20 Matthias Clasen <mclasen@redhat.com>
745 Support wrapping in GtkCellRendererText (#163608):
747 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
748 Add wrap-mode and wrap-width properties which cause a
749 text cell to break to a specified width when set.
751 * gtk/gtkcellrenderertext.c (get_layout): Use wrap-mode
752 and wrap-width when they are set.
754 2005-01-20 Matthias Clasen <mclasen@redhat.com>
756 * gtk/gtkmodules.c (load_module): Don't reverse the order
757 of modules when putting them in gtk_modules. (#162676, Dennis
758 Cranston, patch by Remus Draica)
760 * gtk/gtktreeview.c (gtk_tree_view_search_move): Don't crash
761 if the tree is empty. (#164669, Priit Laes)
763 Wed Jan 19 18:57:02 2005 Manish Singh <yosh@gimp.org>
765 * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents): Call
766 GDK_DISPLAY_XDISPLAY with a display, not a window. Clean up the
769 Wed Jan 19 17:17:31 2005 Manish Singh <yosh@gimp.org>
771 * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents): Squash
772 strict aliasing warning in _NET_VIRTUAL_ROOTS code.
774 2005-01-19 Tor Lillqvist <tml@novell.com>
776 * gdk/win32/gdkkeys-win32.c (update_keymap,
777 gdk_keymap_translate_keyboard_state): Handle keyboards with
778 ShiftLock (and not CapsLock) correctly. (#161814)
780 2005-01-19 Matthias Clasen <mclasen@redhat.com>
782 * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_should_respond):
783 In save mode, don't return paths containing nonexisting
784 directories. (#162443, Jean Marie Favreau)
786 * gtk/gtkobject.c (gtk_object_add_arg_type): Use GLib limit
787 macros to avoid sparse warnings. Pointed out by Kjartan Maraas.
789 * gdk/x11/gdkdisplay-x11.c: Precache the _NET_VIRTUAL_ROOTS
792 * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents):
793 Support _NET_VIRTUAL_ROOTS. (#163910, Carsten Haitzler)
797 * gdk/x11/gdkdisplay-x11.c (gdk_x11_display_get_user_time):
798 Add a function to obtain the last user interaction
799 time. (#163119, Elijah Newren)
801 Tue Jan 18 13:56:09 2005 Manish Singh <yosh@gimp.org>
803 * gtk/gtkfilechooserdefault.c (pending_op_queue): Actually assign
806 Tue Jan 18 13:46:46 2005 Manish Singh <yosh@gimp.org>
808 * gdk/x11/gdkdrawable-x11.c (_gdk_x11_have_render_with_trapezoids):
809 disambiguate nested if/else.
811 2005-01-18 Federico Mena Quintero <federico@ximian.com>
815 * gtk/gtkfilechooserdefault.c (pending_op_queue): Don't queue an
816 operation to select the first file if we are in SAVE or
817 CREATE_FOLDER modes. Executing that operation would overwrite the
818 contents of the save-name entry.
820 2005-01-18 Matthias Clasen <mclasen@redhat.com>
823 * gdk/x11/gdkwindow-x11.c (gdk_display_warp_pointer):
824 * gdk/win32/gdkwindow-win32.c (gdk_display_warp_pointer): Add
825 pointer warping to GDK. (#160437)
827 * gtk/gtkcolorsel.c (key_press): Use gdk_display_warp_pointer.
829 2005-01-18 Matthias Clasen <mclasen@redhat.com>
831 * gtk/gtkstyle.c (gtk_default_draw_check)
832 (gtk_default_draw_option, gtk_default_draw_handle): Add some
833 more NULL checks, patch by Michael Natterer.
835 Tue Jan 18 10:55:47 2005 Søren Sandmann <sandmann@redhat.com>
837 * gtk/gtkstyle.c (gtk_default_draw_handle): Check for NULL detail
840 * gtk/gtkstyle.c (gtk_default_draw_box): Check for NULL detail and
841 NULL widget. (#164477, Michael Natterer)
843 2005-01-18 Matthias Clasen <mclasen@redhat.com>
845 Avoid X errors when running against servers which
846 implement XRender < 0.4. (#164427, Albert Chin)
848 * gdk/x11/gdkprivate-x11.h:
849 * gdk/x11/gdkdrawable-x11.c (_gdk_x11_have_render_with_trapezoids):
850 New function to check for trapezoid support in XRender.
851 (gdk_x11_draw_trapezoids, _gdk_x11_drawable_draw_xtrapezoids):
854 * gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add a
855 separate have_render_with_trapezoids field.
857 * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Initialize it.
859 2005-01-17 Matthias Clasen <mclasen@redhat.com>
861 * gtk/gtkiconview.c: Remove debug output. (#164376, Jens Finke)
863 Mon Jan 17 16:44:36 2005 Jonathan Blandford <jrb@redhat.com>
865 * docs/Makefile.am (EXTRA_DIST): add tree-column-sizing.png to
868 2005-01-17 Matthias Clasen <mclasen@redhat.com>
870 * gtk/gtkfilechooserdefault.c (shortcuts_add_bookmarks): Save
871 and restore the selected row in the bookmark list and the
872 save folder combo. (#164290)
874 2005-01-16 Matthias Clasen <mclasen@redhat.com>
876 * gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_new_with_backend):
877 Fix argument order in docs.
879 2005-01-15 Matthias Clasen <mclasen@redhat.com>
881 * gtk/gtktextview.c (gtk_text_view_check_keymap_direction):
882 * gtk/gtkentry.c (gtk_entry_create_layout): Prefer LTR over RTL
883 if the keymap is neutral. (#164125, Phil Blundell)
885 2005-01-14 Matthias Clasen <mclasen@redhat.com>
887 * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Allow to
888 reset the property to its default value -1.
889 (gtk_tree_view_get_search_column): Return the default value in
890 the g_return_val_if_fail() check. (#163864, Richard Hult)
892 * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_set_value):
893 Add a translator hint. (#163889)
895 * configure.in: Check for _NL_TIME_FIRST_WEEKDAY too, since it
896 is an enum value, not a define. Pointed out by Tommi Komulainen.
897 * gtk/gtkcalendar.c (gtk_calendar_init): Adapt.
899 2005-01-13 Matthias Clasen <mclasen@redhat.com>
901 * configure.in: Check for nl_langinfo()
902 * gtk/gtkcalendar.c (gtk_calendar_init): Use nl_langinfo() when it's
903 available to determine first day of week (#163842, Vincent Untz)
905 * gtk/gtkuimanager.c (gtk_ui_manager_get_widget): Add hints about
906 the lifecycle of widgets. (#159503, Christian Persch)
908 * demos/gtk-demo/main.c (create_text): Use monospace for the
909 source code view. (#163526, Theerud Lawtrakul)
911 * gtk/gtkaboutdialog.c (gtk_about_dialog_init): Use R as mnemonic
912 for the Credits button to avoid duplicate. (#163465, Tim-Philipp
915 * configure.in: Add an OS_LINUX conditional.
917 * gdk/Makefile.am (TESTS):
918 * gdk-pixbuf/Makefile.am (TESTS):
919 * gtk/Makefile.am (TESTS): Only run abicheck on Linux. (#163917,
922 2005-01-13 Matthias Clasen <mclasen@redhat.com>
924 * gtk/gtktreeview.c: (gtk_tree_view_class_init),
925 (gtk_tree_view_set_headers_clickable): Make the headers-visible
926 property readwrite instead of just writable, and remove the
927 g_return_if_fail check that there is a model when setting this
928 property. Also improve the blurb. (#163851, Richard Hult)
930 2005-01-12 Owen Taylor <otaylor@redhat.com>
932 * configure.in: Remove GLIB_DIVERT_BEFORE_HELP() on
933 initialization of gdktarget, that was causing it to be
934 evaluated before host was set. Simplify --with-gdktarget help
937 * gtk/Makefile.am: Use grep | head -n 1 instead of grep -m 1
938 which doesn't work with slightly older versions of GNU grep
939 in install-libtool-import-lib rule.
941 2005-01-12 Tor Lillqvist <tlillqvist@novell.com>
943 Fix for #162790, by Iwan Wong:
945 * gdk/win32/gdkdrawable-win32.c: Implement dashed lines
946 correctly. Simplify the interface to render_line_horizontal() and
947 render_line_vertical(). Need to draw lines "manually" also on
948 NT-based Windowses if we have a dash offset or are drawing
951 * gdk/win32/gdkprivate-win32.h: Keep also the dash offset,
952 double-dash flag, and a brush for the background colour (used by
953 the odd dashes in the double-dash line style) in the GdkGCWin32
956 * gdk/win32/gdkgc-win32.c: Set up above new fields.
958 2005-01-10 Federico Mena Quintero <federico@ximian.com>
962 * gtk/gtkfilesystemunix.c (STAT_NEEDED_MASK): Take out
963 GTK_FILE_INFO_IS_HIDDEN; we don't need to stat() to know this.
964 (gtk_file_system_unix_get_folder): Make error reporting more
965 accurate. Don't bail out if we can't read the directory.
966 (fill_in_stats): Don't return an error; just assume we don't have
967 stat info for this folder's files.
968 (fill_in_names): Don't create the hash table for the names if we
969 can't open the directory.
970 (gtk_file_folder_unix_list_children): Don't emit the
971 "finished-loading" signal --- we don't do asynchronous loads, so
972 we are always finished loading.
973 (gtk_file_folder_unix_get_info): Use helper functions; handle the
974 case where we can't stat '/'.
975 (get_icon_type_from_path): Don't call fill_in_stats() here; only
976 use the info we have.
977 (fill_in_mime_type): Don't return an error. Don't do anything if
978 we don't have the stat info.
980 2005-01-10 Owen Taylor <otaylor@redhat.com>
982 * Makefile.am (EXTRA_DIST): Adding missing ChangeLog.pre*
985 2005-01-10 Matthias Clasen <mclasen@redhat.com>
987 * gtk/gtkaccelgroup.c (gtk_accel_group_class_init): Document
988 signals. (#163319, Murray Cumming)
990 2005-01-09 Tor Lillqvist <tlillqvist@novell.com>
992 * gdk/win32/gdkwindow-win32.c (gdk_window_set_cursor): Set current
993 cursor also when changing the cursor of a window that is the first
994 ancestor of the window containing the pointer that has a cursor
995 defined. (#163035, Ivan Wong)
997 2005-01-09 Anders Carlsson <andersca@gnome.org>
999 * gtk/gtkcellrenderertext.c: (get_size):
1000 * gtk/gtklabel.c: (gtk_label_size_request):
1001 * gtk/gtkprogressbar.c: (gtk_progress_bar_size_request):
1002 Don't pass NULL to pango_context_get_metrics. Use
1003 pango_context_get_language instead, which is way faster.
1005 2005-01-08 Matthias Clasen <mclasen@redhat.com>
1007 * configure.in: Bump version
1009 * === Released 2.6.1 ===
1011 * gdk-pixbuf-2.0.pc.in: Require gmodule-no-export-2.0
1013 2005-01-07 Tor Lillqvist <tml@iki.fi>
1015 * gdk/win32/gdkselection-win32.c (_gdk_selection_property_store):
1016 Fix braino. (#163232, Arnaud Charlet)
1018 2005-01-06 Matthias Clasen <mclasen@redhat.com>
1020 * gtk/gtkiconview.c: Make markup_column work, and fix some
1021 layout issues when either icon or text is missing. (#163065)
1023 2005-01-06 Federico Mena Quintero <federico@ximian.com>
1025 * gtk/gtkfilechooserdefault.c (file_list_build_popup_menu): Add an
1026 "Open _Location" item. Fixes #148839.
1028 2005-01-06 Matthias Clasen <mclasen@redhat.com>
1030 * README.in: Fix a typo. (#163128, kentaro fukuchi)
1032 2005-01-06 James M. Cape <jcape@ignore-your.tv>
1034 * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_new)
1035 (gtk_file_chooser_button_new_with_backend): Use default title if
1038 * docs/reference/gtk/tmpl/gtkfilechooserbutton.sgml: Make examples
1041 2005-01-05 Federico Mena Quintero <federico@ximian.com>
1045 * gtk/gtkfilechooserdefault.c (shortcuts_row_activated_cb): Queue
1046 a pending operation to select the first row.
1048 2005-01-05 Federico Mena Quintero <federico@ximian.com>
1050 * gtk/gtkpathbar.c (_gtk_path_bar_set_path): Don't call
1051 button_data_free() explicitly; the button is weak-reffed and the
1052 callback will free the button data. Fixes #163010.
1053 (_gtk_path_bar_set_path): Don't ref/sink the button. And for the
1054 failure case, call gtk_widget_destroy() on it.
1056 * gtk/gtkfilechooserdefault.c (check_is_folder): Use
1057 gtk_file_system_get_folder() again (see the ChangeLog entry from
1058 2004-08-25). We can't first get the parent folder and then
1059 request the info for the path in question, as the parent folder
1060 may not be readable. See bug #162617.
1061 (gtk_file_chooser_default_set_current_folder): Assert that the
1062 passed-in path is not null.
1063 (shortcuts_find_current_folder): Likewise.
1064 (shortcuts_add_current_folder): Likewise.
1065 (set_list_model): Likewise.
1066 (gtk_file_chooser_default_map): Only reload the current folder if
1068 (bookmarks_check_add_sensitivity): Check for the current folder
1070 (browse_files_select_first_row): Don't set the cursor if there is
1073 2005-01-05 Matthias Clasen <mclasen@redhat.com>
1075 * gtk/gtkfilechooserdefault.c: Don't construct errors from
1076 the GTK_FILE_SYSTEM_ERROR domain. Partial fix for #162911.
1077 (get_file_info, check_is_folder): Translate errors from
1078 the filesystem into the GTK_FILE_CHOOSER_ERROR domain. Rest
1079 of the fix for #162911, noticed by Murray Cumming.
1081 Wed Jan 5 11:42:49 2005 Søren Sandmann <sandmann@redhat.com>
1083 * gtk/gtkviewport.c (gtk_viewport_realize):
1084 * gtk/gtktextview.c ((text_window_realize): Set the background of
1085 the windows to None instead of adding EXPOSURE_MASK, as suggested
1088 * gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter): Update
1089 the user time when receiving a WM_DELETE message. (#162980,
1092 Tue Jan 4 16:52:14 2005 Jonathan Blandford <jrb@redhat.com>
1094 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_button_event):
1095 only reorder on button 1, part of #141937
1097 Tue Jan 4 11:36:43 2005 Søren Sandmann <sandmann@redhat.com>
1101 * gtk/gtktextview.c (text_window_realize): Add GDK_EXPOSURE_MASK
1102 to win->window's event_mask
1104 * gtk/gtkviewport.c (gtk_viewport_realize): Add GDK_EXPOSURE_MASK
1105 to viewport->view_window.
1107 2005-01-04 Matthias Clasen <mclasen@redhat.com>
1109 * demos/testpixbuf.c (main): Remove the size_prepared callback,
1110 to test incremental display.
1111 (new_testrgb_window): Return the drawing area, not the window,
1112 since we want to queue draws on the drawing area.
1114 2005-01-03 Matthias Clasen <mclasen@redhat.com>
1116 * examples/*: Re-extract.
1118 * docs/tutorial/gtk-tut.sgml: Small corrections.
1120 * docs/tutorial/gtk-tut.sgml: Some updates for the drawing
1121 section. (#161414, Robert Ancell)
1123 * docs/tutorial/gtk-tut.sgml: Make it build.
1125 * gtk/gtkdialog.c (gtk_dialog_run): Some clarification
1126 regarding modality. (#112903, Dave Bordoley)
1128 * gtk/gtkfixed.c (gtk_fixed_set_has_window):
1129 Add a little motivation. (#145556, Tommi Komulainen)
1131 * docs/tutorial/gtk-tut.sgml: Clarify section on
1132 g_signal_connect_swapped. (#120543, David Bourguignon)
1134 Make gtk_icon_theme_load_icon() work independent of
1135 icon factory initialization. (#162791, Tristan Van Berkom)
1137 * gtk/gtkiconfactory.[hc]: Rename ensure_default_icons to
1138 _gtk_icon_factory_ensure_default_icons, and make it non-static.
1140 * gtk/gtkicontheme.c (find_builtin_icon): ..and call it here.
1142 2005-01-02 Matthias Clasen <mclasen@redhat.com>
1144 * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_remove_shortcut_folder):
1145 Don't add a shortcut here. (#162752, Tor Lillqvist)
1147 2005-01-02 Tor Lillqvist <tml@iki.fi>
1149 * gtk/Makefile.am (libgtk_target_ldflags): Add -lole32, needed for
1150 CoTaskMemFree in get_special_folder() below.
1152 * gtk/gtkfilesystem.h: Implement case-insensitive path compare on
1153 Win32 using _gtk_file_system_win32_path_compare().
1155 * gtk/gtk.symbols: Add _gtk_file_system_win32_path_compare.
1157 * gtk/gtkfilechooserbutton.c (model_add_special)
1158 * gtk/gtkfilechooserdefault.c (shortcuts_append_desktop): Use
1159 _gtk_file_system_win32_get_desktop() to get correct Desktop folder
1162 * gtk/gtkfilesystemwin32.c: Remove unnecessary includes. Do
1163 consider all drives "mounted", including floppies. Trying to
1164 inspect the contents of a nonexistent floppy will cause errors
1165 later that are handled normally, no need to avoid them
1166 completely. Keep the drive type in the GtkFileSystemVolume.
1167 Support UNC paths. (#161797, #137874) Fix error message
1168 capitalizations as in gtkfilesystemunix.c.
1170 (gtk_file_system_win32_init): Start one timeout per
1173 (gtk_file_system_win32_finalize): Remove the timeout.
1175 (get_special_folder): Copied from GLib.
1177 (_gtk_file_system_win32_get_desktop): New function, uses
1178 get_special_folder().
1180 (gtk_file_system_win32_list_volumes): Don't start a timeout at
1181 each call to this function. Don't assume A: and B: are floppies.
1183 (gtk_file_system_win32_get_volume_for_path): Don't assume all
1184 volumes are drive roots, i.e. support share roots of UNC paths
1187 (gtk_file_system_win32_get_folder): Don't assume errno is set
1188 after g_file_test() returns FALSE. It isn't on Win32 (and even on
1189 Unix I don't think one should assume anything about errno after
1192 (gtk_file_system_win32_volume_get_is_mounted): Always return TRUE.
1194 (gtk_file_system_win32_volume_get_display_name): Don't call
1195 GetVolumeInformation() on drives A: or B: if they are removable,
1196 as they might then be floppies, causing an unnecessary
1199 (gtk_file_system_win32_volume_render_icon): Use network icon for
1200 unrecognized drive types.
1202 (canonicalize_filename, gtk_file_system_win32_parse): Don't get
1203 confused by UNC paths.
1205 (bookmarks_serialize): Use _gtk_file_system_win32_path_compare()
1206 for case-insensitive UTF-8 path comparison.
1208 (extract_icon): Use SHGetFileInfo() which is faster than
1209 ExtractAssociatedIcon(). Icon extraction is still slow, though,
1212 (win32_pseudo_mime_lookup): Don't use the same icon for all
1213 shortcuts or executables. Cache only other file type icons.
1215 (gtk_file_system_win32_render_icon): Use network stock icon for
1216 remote drives and UNC server share roots. Compare home directory
1217 case-insensitively. Do lookup icons also for executable files,
1218 after all, it's these files that can have individual icons in the
1219 first place. Yes, it can be slow. Needs work.
1221 (filename_is_drive_root): Require also the slash after the colon.
1223 (filename_is_server_share): New function.
1225 (_gtk_file_system_win32_path_compare): New function, does
1226 case-folded UTF-8 comparison.
1228 * gtk/gtkfilesystemwin32.h: Declare
1229 _gtk_file_system_win32_path_compare().
1231 2005-01-01 Matthias Clasen <mclasen@redhat.com>
1233 * gtk/gtkbutton.c (gtk_button_set_image): Allow unsetting the
1234 custom image by passing NULL.
1235 (gtk_button_init): Initialize image_is_stock to TRUE, fixing
1236 a problem with changing stock labels. (#162273, Marcin
1239 2005-01-01 Tor Lillqvist <tml@iki.fi>
1241 * gtk/gtkmodules.c (get_module_path)
1242 * gtk/gtkrc.c (gtk_rc_make_default_dir, gtk_rc_get_im_module_file,
1243 gtk_rc_get_theme_dir, gtk_rc_add_initial_default_files): With
1244 g_getenv() now returning UTF-8 on Win32, no need to call
1247 2004-12-31 Matthias Clasen <mclasen@redhat.com>
1249 * gtk/gtkkeyhash.c (_gtk_key_hash_lookup_keyval)
1250 (_gtk_key_hash_lookup): Don't sort a list of values as if
1251 it was a list of entries. This fixes crashes during mnemonic
1252 activation in the presence of multiple keymaps. (#162488,
1255 2004-12-30 Matthias Clasen <mclasen@redhat.com>
1257 * gtk/gtkcombobox.c (gtk_combo_box_button_state_changed): Fix
1258 state propagation when making an insensitive combo box sensitive
1259 again. (#162524, Carlos Garnacho Parro)
1261 * gtk/gtkfilechooserdefault.c: Use secondary text for error
1264 * gtk/gtkfilesystemunix.c: Clean up some cases of errno handling
1265 (#162496, noted by Tor Lillqvist), and use g_filename_display_name()
1266 for error messages. Also mark some error messages for translation,
1267 fix capitalization of error messages.
1269 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_set_property):
1270 Use g_value_get_boolean() for ellipsize_set. (#162447,
1273 2004-12-30 Tor Lillqvist <tml@iki.fi>
1275 * gtk/gtkicontheme.c (gtk_icon_theme_init): Use /usr/share/pixmaps
1278 2004-12-28 Matthias Clasen <mclasen@redhat.com>
1280 * gtk/gtkmenuitem.c (gtk_menu_item_position_menu): Inherit
1281 submenu direction from the parent menu.
1283 * gtk/gtkmenushell.c (gtk_menu_shell_select_submenu_first):
1284 Return a boolean indicating whether an item in the submenu
1286 (gtk_real_menu_shell_move_current): When going in child
1287 direction, don't get stuck at completely insensitive
1288 submenus. (#162055, Billy Biggs)
1290 2004-12-27 Matthias Clasen <mclasen@redhat.com>
1292 Make the clipboard image API more robust (#162357,
1293 Torsten Schoenfeld):
1295 * gtk/gtkclipboard.c (clipboard_image_received_func): Don't
1296 ref the pixbuf if it is NULL.
1298 * gtk/gtkselection.c (gtk_selection_data_set_pixbuf):
1299 NULL-terminate the varargs in the call to
1300 gdk_pixbuf_save_to_buffer().
1301 (gtk_selection_data_get_pixbuf): Only use a pixbuf loader
1302 if there is data to load.
1304 2004-12-27 Matthias Clasen <mclasen@redhat.com>
1306 * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event):
1307 Set x_root and y_root in button and motion events from
1308 extended input devices. (#148715, Robert Ögren)
1310 * gtk/gtktreeview.c (gtk_tree_view_class_init): Fix a
1311 typo. (#162339, Alessio Dessi)
1313 * gtk/gtkadjustment.c (gtk_adjustment_class_init): Document
1314 properties as new since 2.4. (#156101, Billy Biggs)
1316 * configure.in: Add a warning about the linux-fb
1317 target. (#155488, Zeeshan Ali)
1319 * gtk/gtkmain.c (gtk_init_with_args): Typo fix. (#162278,
1322 2004-12-26 Matthias Clasen <mclasen@redhat.com>
1324 * gtk/gtkfilechooser.c (gtk_file_chooser_set_action):
1325 Typo fix. (#162219, Masao Mutoh)
1326 (gtk_file_chooser_set_preview_widget_active):
1327 Another typo. (#162218, Masao Mutoh)
1329 2004-12-23 Matthias Clasen <mclasen@redhat.com>
1331 * gtk/gtkliststore.c (gtk_list_store_iter_children):
1332 Return TRUE if there are children. (#162134, Iñigo Serna,
1333 patch by John Finlay)
1335 * gtk/gtkcombobox.c (gtk_combo_box_button_state_changed):
1336 Transfer state from the button to the cell view to get
1337 prelighting right. (#156327, Ricardo Veguilla)
1339 Wed Dec 22 14:22:19 2004 Søren Sandmann <sandmann@redhat.com>
1341 * tests/testtoolbar.c (timeout_cb): Add sensitivity-changing
1342 timeout. Written by Christian Persch.
1344 Wed Dec 22 14:14:02 2004 Søren Sandmann <sandmann@redhat.com>
1348 * gdk/x11/gdkwindow-x11.c (tmp_{re,un}set_bg): Only set/reset the
1349 background for windows that get expose events.
1351 * gdk/gdkwindow.c (gdk_window_process_updates_internal): Remove
1352 hack to repaint !expose windows.
1354 Wed Dec 22 11:35:41 2004 Søren Sandmann <sandmann@redhat.com>
1356 Bug #147497, make menu items activate immediately when you release
1359 * gtk/gtkmenu.c (gtk_menu_enter_notify, menu_motion_notify): Make
1360 items activate immediately.
1362 * gtk/gtkmenu.c (definitely_within_item): New function
1363 * gtk/gtkmenu.c (check_threshold): New function
1365 2004-12-22 Matthias Clasen <mclasen@redhat.com>
1367 * gtk/gtklabel.c (gtk_label_setup_mnemonic): Don't forget to
1368 null the mnemonic_menu when unsetting a mnemonic, reported
1371 2004-12-21 Matthias Clasen <mclasen@redhat.com>
1373 * gtk/gtkliststore.c (generate_order): Generate the order the
1374 way it is supposed to be, order[new_pos] == old_pos.
1375 (gtk_list_store_reorder): Invert the order before using it.
1377 2004-12-22 Matthias Clasen <mclasen@redhat.com>
1379 Fix sorting of list stores. (#161886, Marcin Krzyzanowski)
1381 * gtk/gtkliststore.c (generate_order): Generate the order the
1382 way it is supposed to be, order[new_pos] == old_pos.
1383 (gtk_list_store_reorder): Invert the order before using it.
1385 * gtk/gtkiconview.c (gtk_icon_view_rows_reordered): Adapt to the
1388 Wed Dec 22 01:24:01 2004 Jonathan Blandford <jrb@redhat.com>
1390 * gtk/queryimmodules.c (main): print out the version and binary
1391 name in the header comment. Problem reported by Seth Nickell.
1393 2004-12-20 Matthias Clasen <mclasen@redhat.com>
1395 * gtk/gtkliststore.c (gtk_list_store_sort_iter_changed): Pass a
1396 root path to gtk_tree_model_rows_reordered(). (#161720,
1397 Marcin Krzyzanowski)
1399 * gtk/gtkactiongroup.c (gtk_action_group_translate_string): Don't
1400 translate NULL messages. (#161789, Morten Welinder)
1402 * gtk/gtkmessagedialog.c (setup_primary_label_font): Don't show
1403 the secondary label on show_all(). (#161707, Christian Persch)
1405 2004-12-19 Tor Lillqvist <tml@iki.fi>
1407 * gdk/win32/gdkdnd-win32.c (resolve_link, gdk_dropfiles_filter):
1408 Use wide character API when available. Use UTF-8 for filenames.
1410 * gdk/win32/gdkselection-win32.c (_gdk_dropfiles_store): Include
1411 the string's trailing zero byte in the property's length, just for
1414 2004-12-18 Matthias Clasen <mclasen@redhat.com>
1416 * gtk/gtkfilechooserentry.c (check_completion_callback)
1417 (load_directory_callback): Add missing GDK_THREADS_ENTER/LEAVE.
1419 * gtk/gtkfilechooserdefault.c (edited_idle_cb)
1420 (shortcuts_drag_outside_idle_cb): Add missing
1421 GDK_THREADS_ENTER/LEAVE. (#161604)
1423 * gtk/gtkfilechooserdefault.c (selection_check_foreach_cb):
1424 (list_select_func): Don't call gtk_file_info_get_is_folder()
1427 * gtk/gtkaboutdialog.c (gtk_about_dialog_get_logo_icon_name):
1428 (gtk_about_dialog_init): Add missing initializations. (#161646,