1 2005-03-22 Matthias Clasen <mclasen@redhat.com>
3 Implement bookmark renaming (#136216, Sean Middleditch)
5 * gtk/gtkfilesystem.h (struct _GtkFileSystemIface): Add
6 get_bookmark_label and set_bookmark_label vfuncs.
9 * gtk/gtkfilesystem.c (gtk_file_system_set_bookmark_label):
10 (gtk_file_system_get_bookmark_label): Wrappers for the
13 * gtk/gtk.symbols: Add new exported symbols.
15 * gtk/gtkfilesystemunix.c (gtk_file_system_unix_set_bookmark_label):
16 (gtk_file_system_unix_get_bookmark_label): Implementations
19 * gtk/gtkfilechooserdefault.c: Add a context menu to
20 the bookmarks pane, and allow to rename bookmarks.
22 2005-03-22 Matthias Clasen <mclasen@redhat.com>
24 * gtk/gtkpathbar.c (gtk_path_bar_unmap):
25 * gtk/gtkspinbutton.c (gtk_spin_button_unmap):
26 * gtk/gtknotebook.c (gtk_notebook_unmap):
27 * gtk/gtkrange.c (gtk_range_unmap): Stop scrolling when
28 the widget is unmapped. (#168791, Ryan Lortie)
30 2005-03-21 Matthias Clasen <mclasen@redhat.com>
32 * gtk/gtkprivate.h: Define macros GTK_PARAM_READABLE,
33 GTK_PARAM_WRITABLE, GTK_PARAM_READWRITE which are like
34 their G_ counterparts, but also mark the name, nick
37 * gtk/*.c: Mark param spec strings as static, using
40 * gtk/gtkspinbutton.h: Fix a typo.
42 2005-03-21 Matthias Clasen <mclasen@redhat.com>
44 * gtk/gtkcellrendererprogress.c:
45 * gtk/gtkcellrendererpixbuf.c:
46 * gtk/gtkcellrenderercombo.c:
47 * gtk/gtkcellrenderer.c:
52 * gtk/gtkaspectframe.c:
55 * gtk/gtkactiongroup.c:
57 * gtk/gtkaccellabel.c:
58 * gtk/gtkaboutdialog.c: Mark param spec strings as static.
60 * gdk/gdkpango.c (gdk_pango_renderer_class_init):
61 * gdk/gdkdisplaymanager.c (gdk_display_manager_class_init): Mark
62 param spec strings as static.
64 2005-03-21 Tor Lillqvist <tml@novell.com>
66 * modules/engines/ms-windows/*.c: Silence gcc warnings (unused
67 variables, unhandled enum value in switch). Use g_object_unref()
68 instead of deprecated gdk_gc_unref() and gdk_drawable_unref().
70 * modules/engines/ms-windows/xp_theme.c (xp_theme_map_gtk_state):
71 Add missing "case" keyword.
73 * modules/engines/ms-windows/Makefile.am: Link with -lgdi32
76 2005-03-20 Tor Lillqvist <tml@novell.com>
78 * gdk/win32/gdkdisplay-win32.c (gdk_display_get_name): Return the
79 Terminal Services session number, window station name (always
80 "WinSta0" in interactive processes), and desktop name (typically
81 "Default"), concatenated with backslash separators.
82 (gdk_display_open): Accept only NULL or the string
83 gdk_display_get_name() returns as display name.
85 2005-03-20 Matthias Clasen <mclasen@redhat.com>
87 Make PLT-reduction work with gcc4, and don't include
88 everything in gdkalias.h:
90 * gtk/grk.symbols: Group symbols by header and source file.
91 * gtk/makegtkalias.pl: Protect definitions by the same
92 preprocessor symbols used to guard the headers. Move
93 the alias declarations to a separate file which is
94 produced when calling makegtkalias.pl -def
95 * gdk/Makefile.am (gtkaliasdef.c): Add a rule to generate
97 * gtk/*.c: Include gtkalias.h after the other headers,
98 include gtkaliasdef.c at the bottom.
99 * gtk/*.h: Small cleanups.
101 Fri Mar 18 23:59:49 2005 Soeren Sandmann <sandmann@redhat.com>
103 * gtk/gtkmenutoolbutton.c (arrow_button_button_press_event_cb):
104 Make right-clicks not pop up the menu.
106 2005-03-18 Owen Taylor <otaylor@redhat.com>
108 * gdk/x11/gdkdrawable-x11.c (_gdk_x11_drawable_finish):
109 Call cairo_surface_finish()
111 * gdk/gdkinternals.c gdk/x11/gdkdrawable-x11.c: Remoev
112 _gdk_windowing_set_surface_device_offset().
114 2005-03-18 Tor Lillqvist <tml@novell.com>
116 * gdk/win32/gdkevents-win32.c (gdk_event_translate): On
117 WM_MOUSEMOVE, don't check if this process owns the active
118 window. This makes cross-application widget embedding work better.
119 On WM_MOVE, don't bother checking for window visibility.
121 * gdk/win32/gdkim-win32.c: Remove bogus empty doc comment. Remove
122 unused variables. Add some casts to silence gcc.
124 2005-02-24 Owen Taylor <otaylor@redhat.com>
126 * gdk/gdkwindow.c: Use cairo_set_device_offset().
128 * gdk/win32/gdkdrawable-win32.[ch] gdk/win32/gdkwindow-win32.c
129 gdk/win32/gdkpixmap-win32.c:
130 Add_gdk_win32_drawable_acquire/release_dc() to get a DC for the
131 drawable. Add _gdk_drawable_win32_finish() to clean up resources
132 when a drawable is destroyed.
134 * gdk/win32/gdkgc-win32.c gdk/win32/gdkdrawable-win32.c
135 (blit_from_pixmap) gdk/win32/gdkprivate-win32.h : Use
136 acquire/release_dc when getting a DC to use with a GC or for
137 blitting from a pixmap.
139 * gdk/win32/gdkdrawable-win32.[ch]: Implement ref_cairo_surface()
141 * gdk/win32/gdkpango-win32.c gdk/win32/gdkdrawable-win32.c Makefile.am:
142 Remove gdk_screen_get_pango_context(), draw_glyph[_transformed]
145 * gdk/win32/gdkdrawable-win32.c: Remove
146 gdk_draw_rectangle_alpha_libgtk_only()
148 2005-03-17 Owen Taylor <otaylor@redhat.com>
150 * gdk/gdkpango.c: Fix get_stipple_surface to actually work, set
151 EXTEND_REPEAT on the stipple pattern.
153 2005-03-17 Matthias Clasen <mclasen@redhat.com>
155 * gtk/gtklabel.c (gtk_label_set_markup): Fix formatting
156 in example in the docs. (#170611, Jianfei Wang)
158 * gtk/gtkiconview.c (gtk_icon_view_size_allocate): Clamp
159 adjustment values on resize. (#170567, Tomislav Jonjic)
161 * gtk/gtkicontheme.c (theme_lookup_icon): Don't crash
162 if there is no cache. (#170652, Diego Gonzalez)
164 * gtk/gtkentrycompletion.c (gtk_entry_completion_real_insert_prefix):
165 Make inline completion insert the prefix at the
166 right spot. (#170146, Doug Quale)
168 2005-03-17 Tor Lillqvist <tml@novell.com>
170 * gdk/gdkkeynames.c: gdk_key is a typedef, not a struct tag.
172 2005-03-16 Matthias Clasen <mclasen@redhat.com>
174 * gtk/gtkprogressbar.c (gtk_progress_bar_get_ellipsize):
175 Typo fix in the docs.
177 * gtk/gtkmenutoolbutton.c (gtk_menu_tool_button_set_arrow_tooltip):
178 Typo fix in the docs.
180 * gtk/gtkiconview.c (gtk_icon_view_set_columns)
181 (gtk_icon_view_get_columns, gtk_icon_view_set_item_width)
182 (gtk_icon_view_get_item_width, gtk_icon_view_set_spacing)
183 (gtk_icon_view_get_spacing, gtk_icon_view_set_row_spacing)
184 (gtk_icon_view_set_column_spacing)
185 (gtk_icon_view_get_row_spacing, gtk_icon_view_get_margin)
186 (gtk_icon_view_set_margin): Add docs.
188 * gtk/gtkcellview.c (gtk_cell_view_get_displayed_row):
191 2005-03-15 Owen Taylor <otaylor@redhat.com>
193 * gdk/gdkdrawable.h gdk/gdkdraw.c gdk/gdkpixmap.c gdk/gdkwindow.c
194 gdk/x11/gdkdrawable-x11.c gdk/x11/gdkpixmap-x11.c gdk/x11/gdkwindow-x11.c
195 gdk/gdkinternals.h: Switch set_cairo_target() virtual function to
198 * gdk/gdkdrawable.h gdk/gdkdraw.h: Switch set_cairo_target() virtual
199 function to create_cairo_context()
201 * gdk/gdkwindow.c: Clear double buffer pixmaps with Cairo.
203 * gdk/x11/gdkwindow-x11.c: Keep all components in GdkWindowObject.bg_color,
206 * tests/testcairo.c: Update for create_cairo_context()
208 * gdk/gdkdraw.c (gdk_draw_trapezoids, gdk_draw_glyphs[_transformed]):
209 Reimplement in terms of Cairo, bypass the vtable entries.
211 * gdk/x11/gdkdrawable-x11.[ch] gdk/x11/gdkdisplay-x11.[ch]
212 gdk/x11/gdkgc-x11.c gdk/x11/gdkpango-x11.c
213 gdk/x11/gdkprivate-x11.h gdk/x11/Makefile.am: Remove
214 implementation of draw_trapezoids / draw_glyphs[_transformed].
216 * gdk/gdkpango.c: Switch GdkPangoRenderer to use Cairo
218 * gdk/gdkpango.c gdk/x11/gdkpango-x11.c: Move
219 gdk_pango_context_get_for_screen() into the backend independent code.
221 * gdk/x11/gdkdrawable-x11.[ch]: Remove Xft use, use RENDER directly
224 * gdk/gdkdrawable.h gdk/x11/gdkdrawable-x11.c: Remove
225 gdk_draw_rectangle_alpha_libgtk_only.
227 * gdk/gdkpixbuf.h gdk/gdkpixbuf-render.c: Add
228 gdk_pixbuf_set_as_cairo_source()
230 * gdk/gdk.symbols: Update
232 * gtk/gtkcolorsel.c gtk/gtkhsv.c gtk/gtkiconview.c gtk/gtkruler.[ch]
233 gtk/gtk[hv]ruler.c: Convert to Cairo rendering.
235 * gtk/gtkstyle.c (gtk_default_draw_check, gtk_default_draw_focus,
236 gtk_default_draw_option): Switch to Cairo. Simplify the checkbutton,
237 radio button style for now to get something more scalable.
239 * gtk/gtksettings.c: #if 0 out the code to use PangoXft for hinting/
240 antialiasing/dpi settings.
242 2005-03-16 Matthias Clasen <mclasen@redhat.com>
244 * demos/gtk-demo/editable_cells.c: Also demonstrate
245 GtkCellRenderer::editing-started and separators.
247 Tue Mar 15 20:34:33 2005 Manish Singh <yosh@gimp.org>
249 * gdk/x11/gdkinput-xfree.c: #include gdkaliasdef.c here too.
251 2005-03-15 Matthias Clasen <mclasen@redhat.com>
253 Make PLT-reduction work with gcc4, and don't include
254 everything in gdkalias.h:
256 * gdk/gdk.symbols: Group symbols by header and source file.
257 * gdk/makegdkalias.pl: Protect definitions by the same
258 preprocessor symbols used to guard the headers. Move
259 the alias declarations to a separate file which is
260 produced when calling makegdkalias.pl -def
261 * gdk/Makefile.am (gdkaliasdef.c): Add a rule to generate this
263 * gdk/*.c, gdk/x11/*.c: Include gdkalias.h after the other
264 headers, include gdkaliasdef.c at the bottom.
266 2005-03-16 Tor Lillqvist <tml@novell.com>
268 * gdk/win32/gdkdisplay-win32.c (_win32_on_clipboard_change): Print
269 debugging output only if asked for, not always.
271 * gdk/win32/*.c: Use the %+d%+d format for coordinate pairs in
272 debugging printout instead of +%d+%d. Misc other additions and
273 cosmetic improvements to debugging printouts. Use API_CALL() and
274 GDI_CALL() macros in more places.
276 * gdk/win32/gdkwindow-win32.c (gdk_window_move, gdk_window_resize,
277 gdk_window_move_resize): To detect child windows, check whether
278 the real parent is not the desktop window, instead of relying on
279 the GDK window type being GDK_WINDOW_CHILD. Foreign GtkPlug
280 windows have a GDK window type GDK_WINDOW_FOREIGN, but are still
281 de facto child windows.
283 * gdk/win32/gdkprivate-win32.h
284 * gdk/win32/*.c: Drop global variable _gdk_root_window, just call
285 GetDesktopWindow(). Rename the GdkWindow* _gdk_parent_root to
288 * gdk/win32/gdkwindow-win32.h (GdkWindowImplWin32): Add
289 toplevel_window_type field.
291 * gdk/win32/gdkwindow-win32.c: As there is only one root window in
292 GDK on Win32, we can compare directly to _gdk_root instead of
293 checking the window type.
294 (gdk_window_reparent): When reparenting a child of the desktop
295 clear out the window decorations. Correspondingly, when
296 reparenting to the desktop, add decorations. As in the X11
297 backend, save the window type of a toplevel window when
298 reparenting, in case it is reparented back to toplevel.
300 2005-03-15 Matthias Clasen <mclasen@redhat.com>
302 * gtk/gtkradioaction.c (gtk_radio_action_get_group): Add an
303 example for manually setting up a group of actions.
305 * gtk/gtkentrycompletion.c (gtk_entry_completion_class_init):
306 Document that inline completion requires text-column to be set.
307 (gtk_entry_completion_compute_prefix): Return NULL if text-column
310 * gtk/gtkentry.c (check_completion_callback): Call
311 gtk_entry_completion_complete() before inserting the prefix,
312 otherwise the prefix may depend on (random) state of the
315 2005-03-15 Anders Carlsson <andersca@imendio.com>
317 * docs/iconcache.txt:
320 * gtk/gtkiconcache.c: (find_image_offset),
321 (_gtk_icon_cache_get_icon_flags), (_gtk_icon_cache_add_icons),
322 (_gtk_icon_cache_get_icon), (_gtk_icon_cache_get_icon_data):
323 * gtk/gtkiconcache.h:
324 Update to be able to fetch pixbuf data and icon metadata.
326 * gtk/gtkicontheme.c: (theme_lookup_icon), (gtk_icon_info_free),
327 (icon_info_ensure_scale_and_pixbuf):
328 Use new cache functions.
330 * gtk/updateiconcache.c: (foreach_remove_func), (load_icon_data),
331 (maybe_cache_image_data), (scan_directory), (write_pixdata),
332 (get_image_meta_data_size), (get_image_pixel_data_size),
333 (get_image_data_size), (get_single_node_size), (get_bucket_size),
334 (write_bucket), (main):
335 Update to write pixbuf data as well as information from .icon
338 2005-03-15 Tor Lillqvist <tml@novell.com>
340 * gdk/win32/gdkmain-win32.c (_gdk_win32_key_to_string): New
341 debugging function. As GetKeyNameText() returns a localized key
342 name we need to convert it to UTF-8.
344 * gdk/win32/gdkprivate-win32.h: Declare it.
346 * gdk/win32/gdkevents-win32.c: Use it.
348 * gdk/win32/gdkwindow-win32.c (gdk_window_new_internal): Fix
349 handling of children of foreign windows. They should be child
350 windows from Windows's perspective, even if they are toplevel GDK
353 2005-03-13 Ivan, Wong Yat Cheung <email@ivanwong.info>
355 * gdk/win32/gdkgeometry-win32.c (gdk_window_scroll): A further fix
356 for big window support. Now also the test in testgtk works.
358 2005-03-11 Matthias Clasen <mclasen@redhat.com>
360 * gtk/gtkaboutdialog.c (add_credits_page): Don't crash on
361 style changes. (#169334, Yury Puzis)
363 * gtk/gtkicontheme.c (gtk_icon_theme_set_custom_theme): Fix
364 the doc comments. (#169967, Masao Mutoh)
366 2005-03-12 Ivan, Wong Yat Cheung <email@ivanwong.info>
368 Big window fix for Win32. Big windows are still emulated within
369 16-bit coordinate limits, though. Big windows now work on NT-based
372 * gdk/win32/gdkgc-win32.c (_gdk_win32_gdkregion_to_hrgn): Use
375 * gdk/win32/gdkgeometry-win32.c: Largely rewrite.
377 * gdk/win32/gdkwindow-win32.c: Minor related changes.
379 2005-03-10 Matthias Clasen <mclasen@redhat.com>
381 * gtk/gtkliststore.c (gtk_list_store_insert_with_valuesv):
382 Fix a doc typo. (#169873, Johan Dahlin)
384 * gtk/gtkdialog.c (gtk_dialog_map): Don't
385 try to focus the default_widget if there is
386 none. (#169881, Thomas Leonard)
388 Wed Mar 9 19:20:44 2005 Manish Singh <yosh@gimp.org>
390 * configure.in: Remove inadvertent gail references, require
393 2005-03-09 Matthias Clasen <mclasen@redhat.com>
395 * configure.in: Require GLib 2.7.0
397 2005-03-09 Matthias Clasen <mclasen@redhat.com>
399 * gtk/gtkwidget.h (struct _GtkWidget): Typo fixes in comments.
400 (#169728, Morten Welinder, Owen Taylor)
402 * gtk/gtkwidget.c (gtk_widget_add_mnemonic_label): Fix a typo
403 in the docs. (#169729, Morten Welinder)
405 * gtk/gtkimage.c (gtk_image_class_init): Fix a typo.
407 * gtk/gtkiconview.c (gtk_icon_view_set_model): Queue a resize
408 when the model is unset. (#169528, Tomislav Jonjic)
410 2005-03-09 Matthias Clasen <mclasen@redhat.com>
412 * gtk/gtkviewport.c (gtk_viewport_class_init):
413 * gtk/gtkuimanager.c (gtk_ui_manager_class_init):
414 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_class_init):
415 * gtk/gtktipsquery.c (gtk_tips_query_class_init):
416 * gtk/gtktext.c (gtk_text_class_init):
417 * gtk/gtkstatusbar.c (gtk_statusbar_class_init):
418 * gtk/gtkspinbutton.c (gtk_spin_button_class_init):
419 * gtk/gtktoggleaction.c (gtk_toggle_action_class_init):
420 * gtk/gtkoptionmenu.c (gtk_option_menu_class_init):
421 * gtk/gtkoldeditable.c (gtk_old_editable_class_init):
422 * gtk/gtkmessagedialog.c (gtk_message_dialog_class_init):
423 * gtk/gtktoolbutton.c (gtk_tool_button_class_init):
424 * gtk/gtktoolitem.c (gtk_tool_item_class_init):
425 * gtk/gtkimage.c (gtk_image_class_init):
426 * gtk/gtkruler.c (gtk_ruler_class_init):
427 * gtk/gtkiconview.c (gtk_icon_view_class_init):
428 * gtk/gtkprogressbar.c (gtk_progress_bar_class_init):
429 * gtk/gtkprogress.c (gtk_progress_class_init):
430 * gtk/gtkmenu.c (gtk_menu_class_init):
431 * gtk/gtkscale.c (gtk_scale_class_init):
432 * gtk/gtkpaned.c (gtk_paned_class_init):
433 * gtk/gtkhandlebox.c (gtk_handle_box_class_init):
434 * gtk/gtkfontbutton.c (gtk_font_button_class_init):
435 * gtk/gtkfontsel.c (gtk_font_selection_class_init):
436 * gtk/gtkfilesel.c (gtk_file_selection_class_init):
437 * gtk/gtkentrycompletion.c (gtk_entry_completion_class_init):
438 * gtk/gtkcurve.c (gtk_curve_class_init):
439 * gtk/gtkcombo.c (gtk_combo_class_init):
440 * gtk/gtkcombobox.c (gtk_combo_box_class_init):
441 * gtk/gtkcolorbutton.c (gtk_color_button_class_init):
442 * gtk/gtkcheckmenuitem.c (gtk_check_menu_item_class_init):
443 * gtk/gtkmenuitem.c (gtk_menu_item_class_init):
444 * gtk/gtkcheckbutton.c (gtk_check_button_class_init):
445 * gtk/gtktogglebutton.c (gtk_toggle_button_class_init):
446 * gtk/gtkcellview.c (gtk_cell_view_class_init):
447 * gtk/gtktoolbar.c (gtk_toolbar_class_init):
448 * gtk/gtkmenubar.c (gtk_menu_bar_class_init):
449 * gtk/gtkclist.c (gtk_clist_class_init):
450 * gtk/gtkctree.c (gtk_ctree_class_init):
451 * gtk/gtkcolorsel.c (gtk_color_selection_class_init):
452 * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_class_init):
453 * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init):
454 * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_class_init):
455 * gtk/gtkcalendar.c (gtk_calendar_class_init):
456 * gtk/gtkbbox.c (gtk_button_box_class_init):
457 * gtk/gtktable.c (gtk_table_class_init):
458 * gtk/gtkaspectframe.c (gtk_aspect_frame_class_init):
459 * gtk/gtkframe.c (gtk_frame_class_init):
460 * gtk/gtkaction.c (gtk_action_class_init):
461 * gtk/gtkaccellabel.c (gtk_accel_label_class_init):
462 * gtk/gtkaboutdialog.c (gtk_about_dialog_class_init):
463 * gtk/gtkdialog.c (gtk_dialog_class_init): More of the same.
465 2005-03-08 Matthias Clasen <mclasen@redhat.com>
467 * gtk/gtktextbuffer.c (gtk_text_buffer_class_init):
468 * gtk/gtkrange.c (gtk_range_class_init):
469 * gtk/gtkscrolledwindow.c (gtk_scrolled_window_class_init):
470 * gtk/gtktexttag.c (gtk_text_tag_class_init):
471 * gtk/gtktextview.c (gtk_text_view_class_init):
472 * gtk/gtkscrollbar.c (gtk_scrollbar_class_init):
473 * gtk/gtknotebook.c (gtk_notebook_class_init):
474 * gtk/gtkentry.c (gtk_entry_class_init):
475 * gtk/gtkexpander.c (gtk_expander_class_init):
476 * gtk/gtkarrow.c (gtk_arrow_class_init):
477 * gtk/gtkalignment.c (gtk_alignment_class_init):
478 * gtk/gtkbutton.c (gtk_button_class_init):
479 * gtk/gtklabel.c (gtk_label_class_init):
480 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_class_init):
481 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
482 * gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init):
483 * gtk/gtktreeview.c (gtk_tree_view_class_init):
484 * gtk/gtkbox.c (gtk_box_class_init):
485 * gtk/gtkwindow.c (gtk_window_class_init, gtk_window_class_init):
486 * gtk/gtkcontainer.c (gtk_container_class_init):
487 * gtk/gtkwidget.c (gtk_widget_class_init):
488 * gtk/gtkobject.c (gtk_object_class_init): Use canonical names
489 when registering param specs.
491 * demos/gtk-demo/editable_cells.c: Use GtkCellRendererCombo
492 (#169607, Mark McLoughlin)
494 * gtk/gtk.symbols: Add the new attributes here, too.
498 * gtk/gtktreeviewcolumn.h:
499 * gtk/gtktextbuffer.h:
501 * gtk/gtkfilechooserdialog.h:
503 * gtk/gtkcontainer.h:
504 * gtk/gtkcelllayout.h:
505 * gtk/gtkaboutdialog.h: Use G_GNUC_NULL_TERMINATED where
506 appropriate. (#165682, Marc Meissner)
508 2005-03-07 Matthias Clasen <mclasen@redhat.com>
510 Convert the gdk keyval-keyname tables to a big string
513 * gdk/gen-keyname-table.pl: Perl script inspired by
514 pango/tools/gen-color-table.pl to create the
515 gdk_keys_by_keyval and gdk_keys_by_name tables as lists
516 of offsets pointing into a big const string.
518 * gdk/keynames.txt: List of keyval-keyname pairs.
519 * gdk/keyname-table.h: Generated tables.
521 * gdk/gdkkeynames.c: Include keyname-table.h and don't
522 generate the inverse table at runtime.
524 2005-03-07 Matthias Clasen <mclasen@redhat.com>
526 * gtk/gtkstyle.c: Document which parameters may be NULL.
527 (#166855, Frank Naumann)
529 2005-03-07 Matthias Clasen <mclasen@redhat.com>
531 * AUTHORS: Add original authors of incorporated software.
533 Thu Mar 3 16:59:44 2005 Manish Singh <yosh@gimp.org>
535 * configure.in: URL escape the '+' in gtk+ in the bugzilla URL.
537 2005-03-03 Matthias Clasen <mclasen@redhat.com>
539 * gtk/gtksettings.c (gtk_settings_get_property):
540 * gtk/gtkrc.c (gtk_rc_parse_assignment): Don't leak
541 the values here. (#169047, Philip Langdale)
543 * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render):
544 Don't warn if a stock icon cannot be found. (#168830,
547 2005-03-03 Matthias Clasen <mclasen@redhat.com>
549 * gtk/gtkwidget.c (gtk_widget_reparent_subwindows):
550 Avoid warnings if gtk_widget_reparent() is called at
551 unusual times. (#168966, Christian Persch)
553 Tue Mar 1 14:04:08 2005 Manish Singh <yosh@gimp.org>
555 * gdk/x11/gdkproperty-x11.c (virtual_atom_check_init): Cast to avoid
556 const warnings on data structure seeding.
558 Tue Mar 1 13:53:56 2005 Manish Singh <yosh@gimp.org>
560 * gtk/xdgmime/xdgmime.[ch]: revert previous change, maintain ABI.
562 2005-03-01 Matthias Clasen <mclasen@redhat.com>
564 * gtk/gtkmenutoolbutton.c (button_state_changed_cb):
565 Fix prelighting. (#157392, Vincent Noel, patch by
568 * gtk/gtkicontheme.c (theme_lookup_icon): Make
569 icon data caching work again. (#168851, Alexander Larsson)
571 * gdk-pixbuf/gdk-pixbuf.c:
572 * gdk-pixbuf/gdk-pixbuf-features.h.in:
573 Revert the previous change, since it breaks
576 2005-03-01 Matthias Clasen <mclasen@redhat.com>
579 * gdk/gdkpixbuf-drawable.c
581 * gdk/x11/gdkdnd-x11.c
582 * gdk/x11/gdkevents-x11.c
583 * gdk/x11/gdkproperty-x11.c
584 * gdk/x11/gdkvisual-x11.c
585 * gdk-pixbuf/gdk-pixbuf.c
586 * gdk-pixbuf/gdk-pixbuf-features.h.in
589 * gtk/gtkcolorbutton.c
592 * gtk/gtkfilechooserdefault.c
596 * gtk/gtkinputdialog.c
597 * gtk/gtkitemfactory.c
601 * gtk/gtktreedatalist.c
605 * gtk/xdgmime/xdgmime.c
606 * gtk/xdgmime/xdgmime.h:
607 Move constant data to .rodata.
609 2005-02-27 Matthias Clasen <mclasen@redhat.com>
611 * gtk/gtkaction.c (connect_proxy): Improve the handling
612 of buttons as action proxys. (#165534, Milosz Derezynski)
614 * gtk/gtklabel.c (gtk_label_size_request): Fix a typo.
615 (#168646, Vincent Untz)
617 * gtk/gtkfilechooserdefault.c (save_folder_combo_create):
618 Unset "focus-on-click" for the save folder combo. (#168688,
621 2005-02-25 Matthias Clasen <mclasen@redhat.com>
623 * demos/testpixbuf.c (main): Remove a C++ comment. (#168531,
626 * gtk/gtkcombobox.c (gtk_combo_box_menu_fill_level): Don't leak a
627 path here. (#168443, Morten Welinder)
629 2005-02-24 Robert Ögren <gtk@roboros.com>
631 Implement better handling of Wintab tablet context overlap on
634 * gdk/win32/gdkinput-win32.c (_gdk_input_set_tablet_active): New
635 function that brings any tablet contexts to the top of the overlap
637 * gdk/win32/gdkinput-win32.h: Declare _gdk_input_set_tablet_active ()
638 * gdk/win32/gdkevents-win32.c (gdk_event_translate):
639 Call _gdk_input_set_tablet_active when a window is activated (on
642 2005-02-24 Matthias Clasen <mclasen@redhat.com>
644 * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_select_path):
645 Don't leak parent_path. (#168435, Morten Welinder)
647 Thu Feb 24 14:20:16 2005 Søren Sandmann <sandmann@redhat.com>
649 * gtk/gtkstyle.c: Add
651 g_return_if_fail (style->depth == gdk_drawable_get_depth(window));
655 2005-02-24 Matthias Clasen <mclasen@redhat.com>
657 * gtk/gtkcombobox.c: Consistently use gtk_tree_row_reference_valid().
658 (gtk_combo_box_model_row_deleted): Update the displayed row in
659 the cell_view. (#167842, Gustavo Carneiro)
661 2005-02-24 Matthias Clasen <mclasen@redhat.com>
663 Fix #167259, reported by Christian Persch:
665 * gtk/gtkwidget.c (gtk_widget_unparent): Unmap the reparented
666 widget, even if we avoid the unrealizing.
667 (gtk_widget_reparent_subwindows): Make reparenting work for
668 !NO_WINDOW widgets which have other windows which are siblings
669 of widget->window (as e.g. GtkSpinButton).
671 2005-02-24 Matthias Clasen <mclasen@redhat.com>
673 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_changed):
674 Don't emit a warning if a parent node is filtered out. (#164726,
677 2005-02-23 Matthias Clasen <mclasen@redhat.com>
679 * gtk/gtklabel.c (gtk_label_style_set): Revert the last
680 change, since gtk_widget_set_style_internal() already
683 2005-02-23 Matthias Clasen <mclasen@redhat.com>
685 * gtk/gtklabel.c (gtk_label_style_set): Queue a resize, since
686 fonts may have changed. (#164128, Phil Blundell)
688 * gtk/gtkaboutdialog.c (gtk_about_dialog_init)
689 (gtk_about_dialog_new): Move initialization code from _new to
690 _init. (#168249, Murray Cumming)
692 Wed Feb 23 17:34:01 2005 Jonathan Blandford <jrb@redhat.com>
694 * gtk/gtktreeview.c (gtk_tree_view_node_queue_redraw): Patch from
695 jorn@nl.linux.org (Jorn Baayen) to notice changes to fixed-height
698 2005-02-23 Tor Lillqvist <tml@novell.com>
700 * gdk/win32/gdkkeys-win32.c (update_keymap): Workaround for bug in
701 MapVirtualKey(VK_DIVIDE, 0) in some Windows versions. (#142998)
703 Tue Feb 22 13:49:09 2005 Manish Singh <yosh@gimp.org>
705 * gtk/updateiconcache.c: #include <config.h>
707 2005-02-22 Federico Mena Quintero <federico@ximian.com>
711 Fix #164940, patch by Ben Maurer and Tommi Komulainen.
713 * gdk/gdkrgb.c (gdk_rgb_convert_565_d): Constify the "dmp" variable.
714 (gdk_rgb_convert_565_d): Likewise.
715 (DM_565): Made a static const precomputed array to avoid
716 allocating it at runtime.
717 (gdk_rgb_preprocess_dm_565): #ifdef out.
719 2005-02-20 Matthias Clasen <mclasen@redhat.com>
722 * gtk/gtkclipboard.c: Fix links to freedesktop.org specs
723 in the documentation.
725 * gdk/x11/gdkdrawable-x11.c (_gdk_x11_have_render_with_trapezoids):
726 Set have_render_with_trapezoids to GDK_YES when we have
727 a new enough Render extension. (#167965,Billy Biggs)
729 * gtk/gtkwindow.c (gtk_window_present): Use the timestamp of
730 the last user interaction when focusing the window. (#166379,
733 Thu Feb 17 14:58:16 2005 Manish Singh <yosh@gimp.org>
735 * gtk/gtkuimanager.c (start_element_handler): make sure expand
736 is initialized, cast to GTK_SEPARATOR_TOOL_ITEM.
738 Thu Feb 17 14:52:57 2005 Manish Singh <yosh@gimp.org>
740 * gtk/gtkcombobox.c: Pass gtk_widget_get_toplevel() a GTK_WIDGET.
742 2005-02-16 Matthias Clasen <mclasen@redhat.com>
744 * docs/iconcache.txt: Add some information about the
745 icon cache format (since I can't locate it at freedesktop.org)
747 Fixes for #143829, Tommi Komulainen, Christian Persch:
749 * gtk/gtktreeview.c (gtk_tree_view_destroy): Remove the
750 typeselect_flush_timeout when destroying the widgets
752 (gtk_tree_view_ensure_interactive_directory): Add the
753 popup to the window group of the toplevel it belongs to.
755 * gtk/gtkcombobox.c (gtk_combo_box_set_popup_widget)
756 (gtk_combo_box_popup): Do the same here.
758 2005-02-14 Matthias Clasen <mclasen@redhat.com>
760 * configure.in: Kill --enable-ansi (#164394)
762 2005-02-11 Matthias Clasen <mclasen@redhat.com>
764 * gtk/gtkpathbar.c (gtk_path_bar_finalize): Stop scrolling
765 when the pathbar goes away. (#167094, Rodney Dawes)
766 (change_icon_theme): Use GTK_ICON_SIZE_MENU here as
769 2005-02-11 Matthias Clasen <mclasen@redhat.com>
771 Support vertical menubars (#166632):
773 * gtk/gtkenums.h (GtkPackDirection): New enumeration for pack
774 directions, with values for left-to-right, right-to-left,
775 top-to-bottom and bottom-to-top.
779 * gtk/gtkmenubar.c: Add two properties, pack-direction and
780 child-pack-direction, which specify how children and
781 grandchildren of a menubar are packed, with getters and setters.
783 * gtk/gtkmenubar.c (gtk_menu_bar_set_property):
784 (gtk_menu_bar_get_property): Implement set_property and get_property.
786 * gtk/gtkmenubar.c (gtk_menu_bar_size_request):
787 (gtk_menu_bar_size_allocate): Take pack direction into account.
789 * gtk/gtkmenubar.c (gtk_menu_bar_move_current): Implement
790 move_current here move all the menubar-specific direction
791 tweaking from the generic menushell implementation here.
793 * gtk/gtkmenu.c (gtk_menu_move_current): Move menu-specific
794 direction tweaking from the generic menushell implementation here.
796 * gtk/gtkmenuitem.c (gtk_menu_item_size_request):
797 (gtk_menu_bar_size_allocate): Take pack direction into account.
799 * gtk/gtkimagemenuitem.c (gtk_image_menu_item_size_request)
800 (gtk_image_menu_item_size_allocate):
801 (gtk_image_menu_item_toggle_size_request): Take child pack
802 direction into account and pack the image vertically if
805 * gtk/gtkmenushell.c (gtk_menu_shell_real_select_item):
806 Set the submenu direction to left-right for menuitems in
808 (gtk_real_menu_shell_move_current): Simplify by moving
809 direction tweaking to menu- and menubar-specific
810 implementations. Take pack direction into account when
813 * tests/testmenubars.c: Test menubars in various packing
814 direction combinations.
816 * tests/Makefile.am (noinst_PROGRAMS): Add testmenubars.
818 2005-02-11 Matthias Clasen <mclasen@redhat.com>
820 Complete the fix for #165770, Vincent Noel:
822 * gtk/gtkfilechooserbutton.c (FALLBACK_ICON_SIZE): Make the
823 fallback size be 16, to be equal to the default for
824 GTK_ICON_SIZE_MENU (in gtkiconfactory.c:init_icon_sizes()).
825 (gtk_file_chooser_button_init):
826 (change_icon_theme): Use GTK_ICON_SIZE_MENU instead of
827 GTK_ICON_SIZE_SMALL_TOOLBAR.
829 2005-02-09 Matthias Clasen <mclasen@redhat.com>
831 * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): Fix RTL
832 keynav for going from menubar to menu.
834 2005-02-08 Christian Rose <menthos@menthos.com>
836 * configure.in: Added "xh" to ALL_LINGUAS.
838 2005-02-08 Matthias Clasen <mclasen@redhat.com>
840 * gtk/gtkuimanager.c (start_element_handler): Accept
841 the "expand" attribute and set a flag in the node if it
843 (update_node): If the expand flag is set, make separator
844 toolitems non-drawn and expanding. (#166489, Christian Persch)
846 2005-02-05 Hans Breuer <hans@breuer.org>
848 * gdk/makefile.msc gdk/win32/makefile.msc gtk/makefile.msc.in :
849 build with Cairo dependency. The patch to acually use Cairo
850 on win32 will be on gtk-devel-list soon.
851 * tests/makefile.msc : add testcairo building
853 * gtk/stock-icons/makefile.msc : split command line into two to
854 work with the shells default
856 Fri Feb 4 14:16:31 2005 Manish Singh <yosh@gimp.org>
858 * gtk/gtkaccelgroup.c (substitute_underscores): remove unused
861 * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render):
862 Add some extra parens for bitop order of operations disambiguiation.
864 * gtk/gtkstock.c: Fix const confusion, make our own copy of the
865 domain when setting a translate function.
867 * tests/testcombo.c: removed unused variable.
869 2005-02-04 Matthias Clasen <mclasen@redhat.com>
871 * gtk/gtkstock.c (gtk_stock_lookup): Handle item->translation_domain
872 being NULL. (#166179, Diego Gonzalez)
874 2005-02-04 Owen Taylor <otaylor@redhat.com>
876 * configure.in: Revert gtk_binary_version to 2.4.0. Fix
877 up comment to talk only about backwards compat, not
878 forward/backwards compat. (#166293, reported by Vincent Noel)
880 2005-02-04 Matthias Clasen <mclasen@redhat.com>
882 * gtk/gtkpaned.c (gtk_paned_compute_position): Work better
883 when there is not enough space. This avoids a nasty size
884 allocation loop in the file chooser. (#154007, reported
885 by Milosz Derezynski, patch by Robert Ögren)
887 2005-02-04 Matthias Clasen <mclasen@redhat.com>
889 * gtk/gtkentry.c (gtk_entry_create_layout): Avoid spurious
890 selection of RTL direction if the widget does not have
891 focus. (#164125, Frederic Crozat)
893 Thu Feb 3 19:15:55 2005 Manish Singh <yosh@gimp.org>
895 * gdk/x11/gdkdrawable-x11.c: #include cairo-xlib.h
897 2005-02-03 Owen Taylor <otaylor@redhat.com>
899 * gdk/gdkdrawable.[ch] gdkpixmap.c gdkwindow.c: Add
900 gdk_drawable_set_cairo_target().
902 * tests/testtreeflow.c (enum): Use grand not rand as a variable
903 name because one of the cairo headers is pulling in stdlib.h.
905 * tests/testcairo.c tests/Makefile.am: Add a simple cairo based
908 * configure.in: Bump release to 2.7.0, gtk_binary_version to 2.7.0.
910 * Require libpangocairo for all backends.
912 2005-02-03 Tor Lillqvist <tml@novell.com>
914 * modules/input/gtkimcontextime.c (get_pango_attr_list): Use the
915 wide character version of ImmGetCompositionString() here,
916 too. (#165278, Takuro Ashie)
918 2005-02-03 Matthias Clasen <mclasen@redhat.com>
920 * gtk/gtkmenu.c (gtk_menu_handle_scrolling): Don't do
921 one roundtrip per motion event. (#166173, pointed out
922 by Chris Lee, patch by Søren Sandmann)
926 * gtk/gtkstock.c (gtk_stock_set_translate_func):
927 New function which allows to change the function used for
928 translation stock labels, on a per-domain basis. Use this
929 functionality to switch the GTK+ stock items to use Q_()
930 prefixed msgids. (#166179, Funda Wang)
932 * gdk/gdkkeynames.c: Make the gdk_key array const (#166075,
935 2005-02-02 Federico Mena Quintero <federico@ximian.com>
939 * gtk/gtkfilechooserdefault.c (pending_select_paths_process):
940 Don't select the first row if the chooser is not mapped. This
941 happens when it's acting on behalf of GtkFileChooserButton. Also,
942 don't select the first row if we are in SAVE or CREATE_FOLDER
943 modes --- I had missed that (see the ChangeLog entry from
944 2005-01-18). Fixes #165264.
946 2005-02-02 Tor Lillqvist <tml@novell.com>
948 Implement lazy extended input initialization on Win32, by Robert
949 Ögren. Fixes #163163, possibly #162334. Lazy initialization would
950 be a good idea in any case even if it didn't fix any visible
953 The Wacom tablet driver seems to get confused if Wintab is
954 initialized but no window is shown before the process exits. This
955 is the case for some GIMP plug-ins, for instance.
957 * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Made
958 non-static (and renamed).
959 (_gdk_input_init): Don't call _gdk_input_wintab_init_check().
961 * gdk/win32/gdkinput-win32.h: Declare _gdk_input_wintab_init_check().
963 * gdk/win32/gdkinput.c (gdk_devices_list,
964 gdk_display_list_devices, gdk_input_set_extension_events): Call
965 _gdk_input_wintab_init_check() here instead.
967 2005-02-02 Ivan, Wong Yat Cheung <email@ivanwong.info>
969 * gdk/win32/gdkselection.c: Use a FIFO list for storing GdkSelProp
970 of a single window so that gtk_clipboard_request_contents() can be
971 called inside a GtkClipboardReceivedFunc(). (#163844)
973 2005-02-01 Matthias Clasen <mclasen@redhat.com>
975 * gtk/gtkicontheme.c (gtk_icon_theme_init): Look for icons
976 in XDG_DATA_DIRS/pixmaps. (#165950, Thomas Zajic)
978 * gtk/gtkwindow.c (gtk_window_set_icon_name): Set info->icon_list
979 to NULL after freeing it. (#165800, Damon Chaplin)
981 2005-02-01 Michael Natterer <mitch@gimp.org>
983 * configure.in: depend on stable pango-1.8, not unstable 1.7
985 2005-02-01 Federico Mena Quintero <federico@ximian.com>
989 * gtk/gtkfilechooserdefault.c
990 (browse_files_model_finished_loading_cb): Don't
991 g_assert_not_reached() if we are in any other state. Another code
992 path may have triggered a folder reload. Fixes #165556.
994 2005-02-01 Federico Mena Quintero <federico@ximian.com>
1000 * gtk/gtkfilechooserdefault.c (FALLBACK_ICON_SIZE): Make the
1001 fallback size be 16, to be equal to the default for
1002 GTK_ICON_SIZE_MENU (in gtkiconfactory.c:init_icon_sizes()).
1003 (change_icon_theme): Use GTK_ICON_SIZE_MENU instead of
1004 GTK_ICON_SIZE_SMALL_TOOLBAR.
1006 2005-02-01 Matthias Clasen <mclasen@redhat.com>
1008 * */*.c: Fix many instances of "the the" in docs and
1009 comments. (#165815, Masao Mutoh)
1011 * gtk/updateiconcache.c (main): Add a --quiet option.
1013 2005-02-01 Tor Lillqvist <tml@novell.com>
1015 * gdk/win32/gdkkeys-win32.c (handle_special, set_shift_vks,
1016 reset_after_dead, handle_dead): New functions, code blocks
1017 refactored out of update_keymap(). No functionality change.
1019 (update_keymap): Use ToUnicodeEx() when available (on NT-based
1020 Windows) instead of ToAsciiEx(). Makes keyboard input work in
1021 Unicode-only input locales that don't have any ANSI codepage, for
1022 instance Hindi and Bengali. Use _gdk_input_codepage only on
1025 * gdk/win32/gdkevents-win32.c (gdk_event_translate): On
1026 WM_INPUTLANGCHANGE, use GetLocaleInfo() instead of
1027 TranslateCharsetInfo() to get the input locale's corresponding
1030 2005-01-31 Matthias Clasen <mclasen@redhat.com>
1032 * modules/input/gtkimcontextxim.c: Use NULL, not 0 to terminate
1033 NULL-terminated va lists. (#165683)
1035 2005-01-29 Matthias Clasen <mclasen@redhat.com>
1037 * gtk/gtkseparatortoolitem.c (gtk_separator_tool_item_set_draw):
1038 Typo fix. (#165581, Masao Mutoh)
1040 Thu Jan 27 14:25:45 2005 Manish Singh <yosh@gimp.org>
1042 * README.cvs-commits: update ancient IRC info.
1044 2005-01-27 Federico Mena Quintero <federico@ximian.com>
1046 Merged from gtk-2-6:
1048 * gtk/gtkfilechooserdefault.c
1049 (gtk_file_chooser_default_select_path): Oops, don't assert that we
1050 can't reach the end of the function; this happens if we are still
1051 loading but don't need a path change. Fixes #165213.
1053 2005-01-27 Matthias Clasen <mclasen@redhat.com>
1055 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render):
1056 Make wrapping work in RTL mode.
1058 * gtk/gtkaboutdialog.c: Some visual tweaks to the about dialog,
1059 obey HIG spacing a bit more, add a hand cursor when over the
1060 link button. (#163979, Jorn Baayen)
1062 2005-01-26 Matthias Clasen <mclasen@redhat.com>
1064 * gtk/gtkentrycompletion.c (gtk_entry_completion_class_init):
1065 Don't allow -1 as minimum-key-length.
1066 (gtk_entry_completion_set_model): Add missing notification.
1067 (gtk_entry_completion_set_minimum_key_length): Add missing
1068 notification, allow setting minimum-key-length to 0. (#165194,
1071 2005-01-26 Matthias Clasen <mclasen@redhat.com>
1073 * gtk/gtkaboutdialog.c (display_license_dialog): Make sure
1074 the license dialog is initially displayed without a horizontal
1076 (gtk_about_dialog_class_init): Document the fact that the
1077 license text is not wrapped. (#165012, Christian Rose)
1079 2005-01-25 Matthias Clasen <mclasen@redhat.com>
1081 * gtk/gtkbutton.c (gtk_button_set_image): Fix docs. (#165180,
1084 * gdk/x11/gdkwindow-x11.c (gdk_window_configure_finished): Fix
1085 docs. (#165163, Jeff Franks)
1087 * gtk/gtkimage.c (gtk_image_get_property): Use the correct setter
1088 for a string GValue. (#165203, Damon Chaplin)
1090 2005-01-24 Matthias Clasen <mclasen@redhat.com>
1092 * gdk/x11/gdkdisplay-x11.c (_gdk_windowing_set_default_display):
1093 Initialize user_time from DESKTOP_STARTUP_ID. (#165131,
1096 2005-01-24 Federico Mena Quintero <federico@ximian.com>
1098 * gtk/gtkfilechooserdefault.c: Removed leftover comments.
1100 2005-01-24 Federico Mena Quintero <federico@ximian.com>
1102 Merged from gtk-2-6:
1104 Fix #147785 and clean up the loading code:
1106 * gtk/gtkfilechooserdefault.c (LoadState): Make the set of states
1107 be EMPTY, PRELOAD, LOADING, FINISHED.
1108 (gtk_file_chooser_default_init): Start in the LOAD_EMPTY state.
1109 (struct _GtkFileChooserDefault): Added a pending_select_paths
1111 (load_remove_timer): Add the new states.
1112 (load_setup_timer): Likewise.
1113 (load_timeout_cb): Likewise. Switch to the LOAD_LOADING state.
1114 (browse_files_model_finished_loading_cb): Switch to the
1115 LOAD_FINISHED state.
1116 (enum PendingOp): Removed.
1117 (struct _GtkFileChooserDefault): Removed the pending_op and
1118 pending_select_path fields.
1119 (pending_select_paths_free): New utility function.
1120 (pending_select_paths_add): New utility function.
1121 (gtk_file_chooser_default_finalize): Call
1122 pending_select_paths_free().
1123 (pending_op_queue): Removed.
1124 (pending_op_process): Removed.
1125 (pending_select_paths_process): New function.
1126 (browse_files_model_finished_loading_cb): Call
1127 pending_select_paths_process().
1128 (center_selected_row_foreach_cb): Handle multiple selection by
1129 only centering the first row.
1130 (get_is_file_filtered): Constify.
1131 (gtk_file_chooser_default_select_path): Queue into a list of paths
1132 to select if we are not finished loading.
1133 (show_and_select_paths): New utility function.
1134 (up_folder_handler): Use pending_select_paths_add().
1135 (gtk_file_chooser_default_should_respond): Do not call
1136 pending_op_queue(); free the pending_selected_paths instead.
1137 (gtk_file_chooser_default_initial_focus): Don't queue a pending
1138 operation, and don't select the first row unconditionally --- this
1139 will happen when the folder is done loading.
1140 (shortcuts_row_activated_cb): Free the pending_select_paths.
1141 (pending_select_paths_store_selection): New utility function.
1142 (gtk_file_chooser_default_map): Call
1143 pending_select_paths_store_selection() to save the selection
1144 before reloading the folder.
1145 (select_func): Umm? Call gtk_tree_selection_select_iter(). Don't
1146 move the cursor here; it will be done when processing the pending paths.
1148 * tests/testfilechooser.c (main): Add a button to the command
1149 window to unmap and remap the file chooser.
1151 2005-01-24 Matthias Clasen <mclasen@redhat.com>
1153 * docs/tutorial/gtk-tut.sgml:
1154 * docs/tutorial/gtk_tut.sgml:
1155 * docs/reference/gtk/tmpl/gtkliststore.sgml:
1156 * gtk/gtkactiongroup.c:
1157 * gtk/gtksizegroup.c:
1158 * gtk/gtksizegroup.h:
1159 * gtk/gtktogglebutton.c: Replace "effect" by "affect" where
1160 appropriate. (#165108, Dan Winship)
1162 2005-01-24 Matthias Clasen <mclasen@redhat.com>
1164 * gtk/gtkwidget.c (gtk_widget_class_init): Document
1165 GtkWidget::style-set. (#164222, Alex Graveley)
1167 2005-01-22 Matthias Clasen <mclasen@redhat.com>
1169 * gdk/gdkdisplay.h (gdk_display_add_client_message_filter_full):
1170 Remove the accidentally added prototype for this unimplemented
1171 function. (#164893, Jeff Franks)
1173 * gtk/gtktreeview.c (gtk_tree_view_leave_notify): Avoid spurious
1176 2005-01-23 Tor Lillqvist <tml@novell.com>
1178 * gdk/win32/gdkkeys-win32.c (update_keymap): Handle Greek tonos
1179 dead accent key. (#164859, reported and fix verified by Daniel
1182 * gtk/gtkimcontextsimple.c (gtk_compose_seqs): Handle
1183 GDK_Greek_accentdieresis (tonos and dialytika) combining with iota
1186 * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_volume_get_display_name):
1187 Don't call GetVolumeInformation() for network drives. They might
1188 be disconnected, and calling GetVolumeInformation() will then
1189 cause long delays. (#164448, reported by Dave Neary.) It seems to
1190 be very hard to reliably find out whether a network drive is
1191 connected or not, so it's easier to just not try getting the
1192 volume name for them. See the bug report for discussion.
1194 Make volume name display formats translatable.
1196 Fix for #163702, from Ivan Wong:
1198 * gdk/win32/gdkprivate-win32.h
1199 * gdk/win32/gdkglobals-win32.c: New flag _ignore_destroy_clipboard.
1201 * gdk/win32/gdkevents-win32.c (gdk_event_translate): Handle
1202 WM_DESTROYCLIPBOARD. Unless _ignore_destroy_clipboard, generate a
1203 GDK_SELECTION_CLEAR event.
1205 * gdk/win32/gdkselection-win32.c
1206 (gdk_selection_owner_set_for_display): Set _ignore_destroy_clipboard
1207 when emptying the clipboard ourselves.
1209 (gdk_selection_send_notify_for_display): Remove the artifical
1210 GDK_SELECTION_CLEAR event generation.
1212 2005-01-21 Matthias Clasen <mclasen@redhat.com>
1214 * gtk/gtkwidget.c (gtk_widget_get_accessible): More details
1215 provided by Bill Haneman.
1217 2005-01-20 Matthias Clasen <mclasen@redhat.com>
1219 * gtk/gtkwidget.c (gtk_widget_get_accessible): Add docs. (#164725,
1222 * gtk/gtkdialog.c (gtk_dialog_map): Don't loop forever
1223 here, even if the only focusable widgets are labels.
1225 2005-01-20 Matthias Clasen <mclasen@redhat.com>
1227 Support tinting in GtkCellRendererPixbuf (#162903, Jorn Baayen):
1229 * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_class_init)
1230 Add a follow-state property which when TRUE causes the pixbuf
1231 to be tinted according to state.
1233 * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render):
1234 Use follow-state and colorize the pixbuf when appropriate.
1236 2005-01-20 Matthias Clasen <mclasen@redhat.com>
1238 Support wrapping in GtkCellRendererText (#163608):
1240 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
1241 Add wrap-mode and wrap-width properties which cause a
1242 text cell to break to a specified width when set.
1244 * gtk/gtkcellrenderertext.c (get_layout): Use wrap-mode
1245 and wrap-width when they are set.
1247 2005-01-20 Matthias Clasen <mclasen@redhat.com>
1249 * gtk/gtkmodules.c (load_module): Don't reverse the order
1250 of modules when putting them in gtk_modules. (#162676, Dennis
1251 Cranston, patch by Remus Draica)
1253 * gtk/gtktreeview.c (gtk_tree_view_search_move): Don't crash
1254 if the tree is empty. (#164669, Priit Laes)
1256 Wed Jan 19 18:57:02 2005 Manish Singh <yosh@gimp.org>
1258 * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents): Call
1259 GDK_DISPLAY_XDISPLAY with a display, not a window. Clean up the
1262 Wed Jan 19 17:17:31 2005 Manish Singh <yosh@gimp.org>
1264 * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents): Squash
1265 strict aliasing warning in _NET_VIRTUAL_ROOTS code.
1267 2005-01-19 Tor Lillqvist <tml@novell.com>
1269 * gdk/win32/gdkkeys-win32.c (update_keymap,
1270 gdk_keymap_translate_keyboard_state): Handle keyboards with
1271 ShiftLock (and not CapsLock) correctly. (#161814)
1273 2005-01-19 Matthias Clasen <mclasen@redhat.com>
1275 * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_should_respond):
1276 In save mode, don't return paths containing nonexisting
1277 directories. (#162443, Jean Marie Favreau)
1279 * gtk/gtkobject.c (gtk_object_add_arg_type): Use GLib limit
1280 macros to avoid sparse warnings. Pointed out by Kjartan Maraas.
1282 * gdk/x11/gdkdisplay-x11.c: Precache the _NET_VIRTUAL_ROOTS
1285 * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents):
1286 Support _NET_VIRTUAL_ROOTS. (#163910, Carsten Haitzler)
1290 * gdk/x11/gdkdisplay-x11.c (gdk_x11_display_get_user_time):
1291 Add a function to obtain the last user interaction
1292 time. (#163119, Elijah Newren)
1294 Tue Jan 18 13:56:09 2005 Manish Singh <yosh@gimp.org>
1296 * gtk/gtkfilechooserdefault.c (pending_op_queue): Actually assign
1299 Tue Jan 18 13:46:46 2005 Manish Singh <yosh@gimp.org>
1301 * gdk/x11/gdkdrawable-x11.c (_gdk_x11_have_render_with_trapezoids):
1302 disambiguate nested if/else.
1304 2005-01-18 Federico Mena Quintero <federico@ximian.com>
1306 Merged from gtk-2-6:
1308 * gtk/gtkfilechooserdefault.c (pending_op_queue): Don't queue an
1309 operation to select the first file if we are in SAVE or
1310 CREATE_FOLDER modes. Executing that operation would overwrite the
1311 contents of the save-name entry.
1313 2005-01-18 Matthias Clasen <mclasen@redhat.com>
1316 * gdk/x11/gdkwindow-x11.c (gdk_display_warp_pointer):
1317 * gdk/win32/gdkwindow-win32.c (gdk_display_warp_pointer): Add
1318 pointer warping to GDK. (#160437)
1320 * gtk/gtkcolorsel.c (key_press): Use gdk_display_warp_pointer.
1322 2005-01-18 Matthias Clasen <mclasen@redhat.com>
1324 * gtk/gtkstyle.c (gtk_default_draw_check)
1325 (gtk_default_draw_option, gtk_default_draw_handle): Add some
1326 more NULL checks, patch by Michael Natterer.
1328 Tue Jan 18 10:55:47 2005 Søren Sandmann <sandmann@redhat.com>
1330 * gtk/gtkstyle.c (gtk_default_draw_handle): Check for NULL detail
1333 * gtk/gtkstyle.c (gtk_default_draw_box): Check for NULL detail and
1334 NULL widget. (#164477, Michael Natterer)
1336 2005-01-18 Matthias Clasen <mclasen@redhat.com>
1338 Avoid X errors when running against servers which
1339 implement XRender < 0.4. (#164427, Albert Chin)
1341 * gdk/x11/gdkprivate-x11.h:
1342 * gdk/x11/gdkdrawable-x11.c (_gdk_x11_have_render_with_trapezoids):
1343 New function to check for trapezoid support in XRender.
1344 (gdk_x11_draw_trapezoids, _gdk_x11_drawable_draw_xtrapezoids):
1347 * gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add a
1348 separate have_render_with_trapezoids field.
1350 * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Initialize it.
1352 2005-01-17 Matthias Clasen <mclasen@redhat.com>
1354 * gtk/gtkiconview.c: Remove debug output. (#164376, Jens Finke)
1356 Mon Jan 17 16:44:36 2005 Jonathan Blandford <jrb@redhat.com>
1358 * docs/Makefile.am (EXTRA_DIST): add tree-column-sizing.png to
1361 2005-01-17 Matthias Clasen <mclasen@redhat.com>
1363 * gtk/gtkfilechooserdefault.c (shortcuts_add_bookmarks): Save
1364 and restore the selected row in the bookmark list and the
1365 save folder combo. (#164290)
1367 2005-01-16 Matthias Clasen <mclasen@redhat.com>
1369 * gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_new_with_backend):
1370 Fix argument order in docs.
1372 2005-01-15 Matthias Clasen <mclasen@redhat.com>
1374 * gtk/gtktextview.c (gtk_text_view_check_keymap_direction):
1375 * gtk/gtkentry.c (gtk_entry_create_layout): Prefer LTR over RTL
1376 if the keymap is neutral. (#164125, Phil Blundell)
1378 2005-01-14 Matthias Clasen <mclasen@redhat.com>
1380 * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Allow to
1381 reset the property to its default value -1.
1382 (gtk_tree_view_get_search_column): Return the default value in
1383 the g_return_val_if_fail() check. (#163864, Richard Hult)
1385 * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_set_value):
1386 Add a translator hint. (#163889)
1388 * configure.in: Check for _NL_TIME_FIRST_WEEKDAY too, since it
1389 is an enum value, not a define. Pointed out by Tommi Komulainen.
1390 * gtk/gtkcalendar.c (gtk_calendar_init): Adapt.
1392 2005-01-13 Matthias Clasen <mclasen@redhat.com>
1394 * configure.in: Check for nl_langinfo()
1395 * gtk/gtkcalendar.c (gtk_calendar_init): Use nl_langinfo() when it's
1396 available to determine first day of week (#163842, Vincent Untz)
1398 * gtk/gtkuimanager.c (gtk_ui_manager_get_widget): Add hints about
1399 the lifecycle of widgets. (#159503, Christian Persch)
1401 * demos/gtk-demo/main.c (create_text): Use monospace for the
1402 source code view. (#163526, Theerud Lawtrakul)
1404 * gtk/gtkaboutdialog.c (gtk_about_dialog_init): Use R as mnemonic
1405 for the Credits button to avoid duplicate. (#163465, Tim-Philipp
1408 * configure.in: Add an OS_LINUX conditional.
1410 * gdk/Makefile.am (TESTS):
1411 * gdk-pixbuf/Makefile.am (TESTS):
1412 * gtk/Makefile.am (TESTS): Only run abicheck on Linux. (#163917,
1415 2005-01-13 Matthias Clasen <mclasen@redhat.com>
1417 * gtk/gtktreeview.c: (gtk_tree_view_class_init),
1418 (gtk_tree_view_set_headers_clickable): Make the headers-visible
1419 property readwrite instead of just writable, and remove the
1420 g_return_if_fail check that there is a model when setting this
1421 property. Also improve the blurb. (#163851, Richard Hult)
1423 2005-01-12 Owen Taylor <otaylor@redhat.com>
1425 * configure.in: Remove GLIB_DIVERT_BEFORE_HELP() on
1426 initialization of gdktarget, that was causing it to be
1427 evaluated before host was set. Simplify --with-gdktarget help
1430 * gtk/Makefile.am: Use grep | head -n 1 instead of grep -m 1
1431 which doesn't work with slightly older versions of GNU grep
1432 in install-libtool-import-lib rule.
1434 2005-01-12 Tor Lillqvist <tlillqvist@novell.com>
1436 Fix for #162790, by Iwan Wong:
1438 * gdk/win32/gdkdrawable-win32.c: Implement dashed lines
1439 correctly. Simplify the interface to render_line_horizontal() and
1440 render_line_vertical(). Need to draw lines "manually" also on
1441 NT-based Windowses if we have a dash offset or are drawing
1442 double-dashed lines.
1444 * gdk/win32/gdkprivate-win32.h: Keep also the dash offset,
1445 double-dash flag, and a brush for the background colour (used by
1446 the odd dashes in the double-dash line style) in the GdkGCWin32
1449 * gdk/win32/gdkgc-win32.c: Set up above new fields.
1451 2005-01-10 Federico Mena Quintero <federico@ximian.com>
1455 * gtk/gtkfilesystemunix.c (STAT_NEEDED_MASK): Take out
1456 GTK_FILE_INFO_IS_HIDDEN; we don't need to stat() to know this.
1457 (gtk_file_system_unix_get_folder): Make error reporting more
1458 accurate. Don't bail out if we can't read the directory.
1459 (fill_in_stats): Don't return an error; just assume we don't have
1460 stat info for this folder's files.
1461 (fill_in_names): Don't create the hash table for the names if we
1462 can't open the directory.
1463 (gtk_file_folder_unix_list_children): Don't emit the
1464 "finished-loading" signal --- we don't do asynchronous loads, so
1465 we are always finished loading.
1466 (gtk_file_folder_unix_get_info): Use helper functions; handle the
1467 case where we can't stat '/'.
1468 (get_icon_type_from_path): Don't call fill_in_stats() here; only
1469 use the info we have.
1470 (fill_in_mime_type): Don't return an error. Don't do anything if
1471 we don't have the stat info.
1473 2005-01-10 Owen Taylor <otaylor@redhat.com>
1475 * Makefile.am (EXTRA_DIST): Adding missing ChangeLog.pre*
1478 2005-01-10 Matthias Clasen <mclasen@redhat.com>
1480 * gtk/gtkaccelgroup.c (gtk_accel_group_class_init): Document
1481 signals. (#163319, Murray Cumming)
1483 2005-01-09 Tor Lillqvist <tlillqvist@novell.com>
1485 * gdk/win32/gdkwindow-win32.c (gdk_window_set_cursor): Set current
1486 cursor also when changing the cursor of a window that is the first
1487 ancestor of the window containing the pointer that has a cursor
1488 defined. (#163035, Ivan Wong)
1490 2005-01-09 Anders Carlsson <andersca@gnome.org>
1492 * gtk/gtkcellrenderertext.c: (get_size):
1493 * gtk/gtklabel.c: (gtk_label_size_request):
1494 * gtk/gtkprogressbar.c: (gtk_progress_bar_size_request):
1495 Don't pass NULL to pango_context_get_metrics. Use
1496 pango_context_get_language instead, which is way faster.
1498 2005-01-08 Matthias Clasen <mclasen@redhat.com>
1500 * configure.in: Bump version
1502 * === Released 2.6.1 ===
1504 * gdk-pixbuf-2.0.pc.in: Require gmodule-no-export-2.0
1506 2005-01-07 Tor Lillqvist <tml@iki.fi>
1508 * gdk/win32/gdkselection-win32.c (_gdk_selection_property_store):
1509 Fix braino. (#163232, Arnaud Charlet)
1511 2005-01-06 Matthias Clasen <mclasen@redhat.com>
1513 * gtk/gtkiconview.c: Make markup_column work, and fix some
1514 layout issues when either icon or text is missing. (#163065)
1516 2005-01-06 Federico Mena Quintero <federico@ximian.com>
1518 * gtk/gtkfilechooserdefault.c (file_list_build_popup_menu): Add an
1519 "Open _Location" item. Fixes #148839.
1521 2005-01-06 Matthias Clasen <mclasen@redhat.com>
1523 * README.in: Fix a typo. (#163128, kentaro fukuchi)
1525 2005-01-06 James M. Cape <jcape@ignore-your.tv>
1527 * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_new)
1528 (gtk_file_chooser_button_new_with_backend): Use default title if
1531 * docs/reference/gtk/tmpl/gtkfilechooserbutton.sgml: Make examples
1534 2005-01-05 Federico Mena Quintero <federico@ximian.com>
1538 * gtk/gtkfilechooserdefault.c (shortcuts_row_activated_cb): Queue
1539 a pending operation to select the first row.
1541 2005-01-05 Federico Mena Quintero <federico@ximian.com>
1543 * gtk/gtkpathbar.c (_gtk_path_bar_set_path): Don't call
1544 button_data_free() explicitly; the button is weak-reffed and the
1545 callback will free the button data. Fixes #163010.
1546 (_gtk_path_bar_set_path): Don't ref/sink the button. And for the
1547 failure case, call gtk_widget_destroy() on it.
1549 * gtk/gtkfilechooserdefault.c (check_is_folder): Use
1550 gtk_file_system_get_folder() again (see the ChangeLog entry from
1551 2004-08-25). We can't first get the parent folder and then
1552 request the info for the path in question, as the parent folder
1553 may not be readable. See bug #162617.
1554 (gtk_file_chooser_default_set_current_folder): Assert that the
1555 passed-in path is not null.
1556 (shortcuts_find_current_folder): Likewise.
1557 (shortcuts_add_current_folder): Likewise.
1558 (set_list_model): Likewise.
1559 (gtk_file_chooser_default_map): Only reload the current folder if
1561 (bookmarks_check_add_sensitivity): Check for the current folder
1563 (browse_files_select_first_row): Don't set the cursor if there is
1566 2005-01-05 Matthias Clasen <mclasen@redhat.com>
1568 * gtk/gtkfilechooserdefault.c: Don't construct errors from
1569 the GTK_FILE_SYSTEM_ERROR domain. Partial fix for #162911.
1570 (get_file_info, check_is_folder): Translate errors from
1571 the filesystem into the GTK_FILE_CHOOSER_ERROR domain. Rest
1572 of the fix for #162911, noticed by Murray Cumming.
1574 Wed Jan 5 11:42:49 2005 Søren Sandmann <sandmann@redhat.com>
1576 * gtk/gtkviewport.c (gtk_viewport_realize):
1577 * gtk/gtktextview.c ((text_window_realize): Set the background of
1578 the windows to None instead of adding EXPOSURE_MASK, as suggested
1581 * gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter): Update
1582 the user time when receiving a WM_DELETE message. (#162980,
1585 Tue Jan 4 16:52:14 2005 Jonathan Blandford <jrb@redhat.com>
1587 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_button_event):
1588 only reorder on button 1, part of #141937
1590 Tue Jan 4 11:36:43 2005 Søren Sandmann <sandmann@redhat.com>
1594 * gtk/gtktextview.c (text_window_realize): Add GDK_EXPOSURE_MASK
1595 to win->window's event_mask
1597 * gtk/gtkviewport.c (gtk_viewport_realize): Add GDK_EXPOSURE_MASK
1598 to viewport->view_window.
1600 2005-01-04 Matthias Clasen <mclasen@redhat.com>
1602 * demos/testpixbuf.c (main): Remove the size_prepared callback,
1603 to test incremental display.
1604 (new_testrgb_window): Return the drawing area, not the window,
1605 since we want to queue draws on the drawing area.
1607 2005-01-03 Matthias Clasen <mclasen@redhat.com>
1609 * examples/*: Re-extract.
1611 * docs/tutorial/gtk-tut.sgml: Small corrections.
1613 * docs/tutorial/gtk-tut.sgml: Some updates for the drawing
1614 section. (#161414, Robert Ancell)
1616 * docs/tutorial/gtk-tut.sgml: Make it build.
1618 * gtk/gtkdialog.c (gtk_dialog_run): Some clarification
1619 regarding modality. (#112903, Dave Bordoley)
1621 * gtk/gtkfixed.c (gtk_fixed_set_has_window):
1622 Add a little motivation. (#145556, Tommi Komulainen)
1624 * docs/tutorial/gtk-tut.sgml: Clarify section on
1625 g_signal_connect_swapped. (#120543, David Bourguignon)
1627 Make gtk_icon_theme_load_icon() work independent of
1628 icon factory initialization. (#162791, Tristan Van Berkom)
1630 * gtk/gtkiconfactory.[hc]: Rename ensure_default_icons to
1631 _gtk_icon_factory_ensure_default_icons, and make it non-static.
1633 * gtk/gtkicontheme.c (find_builtin_icon): ..and call it here.
1635 2005-01-02 Matthias Clasen <mclasen@redhat.com>
1637 * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_remove_shortcut_folder):
1638 Don't add a shortcut here. (#162752, Tor Lillqvist)
1640 2005-01-02 Tor Lillqvist <tml@iki.fi>
1642 * gtk/Makefile.am (libgtk_target_ldflags): Add -lole32, needed for
1643 CoTaskMemFree in get_special_folder() below.
1645 * gtk/gtkfilesystem.h: Implement case-insensitive path compare on
1646 Win32 using _gtk_file_system_win32_path_compare().
1648 * gtk/gtk.symbols: Add _gtk_file_system_win32_path_compare.
1650 * gtk/gtkfilechooserbutton.c (model_add_special)
1651 * gtk/gtkfilechooserdefault.c (shortcuts_append_desktop): Use
1652 _gtk_file_system_win32_get_desktop() to get correct Desktop folder
1655 * gtk/gtkfilesystemwin32.c: Remove unnecessary includes. Do
1656 consider all drives "mounted", including floppies. Trying to
1657 inspect the contents of a nonexistent floppy will cause errors
1658 later that are handled normally, no need to avoid them
1659 completely. Keep the drive type in the GtkFileSystemVolume.
1660 Support UNC paths. (#161797, #137874) Fix error message
1661 capitalizations as in gtkfilesystemunix.c.
1663 (gtk_file_system_win32_init): Start one timeout per
1666 (gtk_file_system_win32_finalize): Remove the timeout.
1668 (get_special_folder): Copied from GLib.
1670 (_gtk_file_system_win32_get_desktop): New function, uses
1671 get_special_folder().
1673 (gtk_file_system_win32_list_volumes): Don't start a timeout at
1674 each call to this function. Don't assume A: and B: are floppies.
1676 (gtk_file_system_win32_get_volume_for_path): Don't assume all
1677 volumes are drive roots, i.e. support share roots of UNC paths
1680 (gtk_file_system_win32_get_folder): Don't assume errno is set
1681 after g_file_test() returns FALSE. It isn't on Win32 (and even on
1682 Unix I don't think one should assume anything about errno after
1685 (gtk_file_system_win32_volume_get_is_mounted): Always return TRUE.
1687 (gtk_file_system_win32_volume_get_display_name): Don't call
1688 GetVolumeInformation() on drives A: or B: if they are removable,
1689 as they might then be floppies, causing an unnecessary
1692 (gtk_file_system_win32_volume_render_icon): Use network icon for
1693 unrecognized drive types.
1695 (canonicalize_filename, gtk_file_system_win32_parse): Don't get
1696 confused by UNC paths.
1698 (bookmarks_serialize): Use _gtk_file_system_win32_path_compare()
1699 for case-insensitive UTF-8 path comparison.
1701 (extract_icon): Use SHGetFileInfo() which is faster than
1702 ExtractAssociatedIcon(). Icon extraction is still slow, though,
1705 (win32_pseudo_mime_lookup): Don't use the same icon for all
1706 shortcuts or executables. Cache only other file type icons.
1708 (gtk_file_system_win32_render_icon): Use network stock icon for
1709 remote drives and UNC server share roots. Compare home directory
1710 case-insensitively. Do lookup icons also for executable files,
1711 after all, it's these files that can have individual icons in the
1712 first place. Yes, it can be slow. Needs work.
1714 (filename_is_drive_root): Require also the slash after the colon.
1716 (filename_is_server_share): New function.
1718 (_gtk_file_system_win32_path_compare): New function, does
1719 case-folded UTF-8 comparison.
1721 * gtk/gtkfilesystemwin32.h: Declare
1722 _gtk_file_system_win32_path_compare().
1724 2005-01-01 Matthias Clasen <mclasen@redhat.com>
1726 * gtk/gtkbutton.c (gtk_button_set_image): Allow unsetting the
1727 custom image by passing NULL.
1728 (gtk_button_init): Initialize image_is_stock to TRUE, fixing
1729 a problem with changing stock labels. (#162273, Marcin
1732 2005-01-01 Tor Lillqvist <tml@iki.fi>
1734 * gtk/gtkmodules.c (get_module_path)
1735 * gtk/gtkrc.c (gtk_rc_make_default_dir, gtk_rc_get_im_module_file,
1736 gtk_rc_get_theme_dir, gtk_rc_add_initial_default_files): With
1737 g_getenv() now returning UTF-8 on Win32, no need to call
1740 2004-12-31 Matthias Clasen <mclasen@redhat.com>
1742 * gtk/gtkkeyhash.c (_gtk_key_hash_lookup_keyval)
1743 (_gtk_key_hash_lookup): Don't sort a list of values as if
1744 it was a list of entries. This fixes crashes during mnemonic
1745 activation in the presence of multiple keymaps. (#162488,
1748 2004-12-30 Matthias Clasen <mclasen@redhat.com>
1750 * gtk/gtkcombobox.c (gtk_combo_box_button_state_changed): Fix
1751 state propagation when making an insensitive combo box sensitive
1752 again. (#162524, Carlos Garnacho Parro)
1754 * gtk/gtkfilechooserdefault.c: Use secondary text for error
1757 * gtk/gtkfilesystemunix.c: Clean up some cases of errno handling
1758 (#162496, noted by Tor Lillqvist), and use g_filename_display_name()
1759 for error messages. Also mark some error messages for translation,
1760 fix capitalization of error messages.
1762 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_set_property):
1763 Use g_value_get_boolean() for ellipsize_set. (#162447,
1766 2004-12-30 Tor Lillqvist <tml@iki.fi>
1768 * gtk/gtkicontheme.c (gtk_icon_theme_init): Use /usr/share/pixmaps
1771 2004-12-28 Matthias Clasen <mclasen@redhat.com>
1773 * gtk/gtkmenuitem.c (gtk_menu_item_position_menu): Inherit
1774 submenu direction from the parent menu.
1776 * gtk/gtkmenushell.c (gtk_menu_shell_select_submenu_first):
1777 Return a boolean indicating whether an item in the submenu
1779 (gtk_real_menu_shell_move_current): When going in child
1780 direction, don't get stuck at completely insensitive
1781 submenus. (#162055, Billy Biggs)
1783 2004-12-27 Matthias Clasen <mclasen@redhat.com>
1785 Make the clipboard image API more robust (#162357,
1786 Torsten Schoenfeld):
1788 * gtk/gtkclipboard.c (clipboard_image_received_func): Don't
1789 ref the pixbuf if it is NULL.
1791 * gtk/gtkselection.c (gtk_selection_data_set_pixbuf):
1792 NULL-terminate the varargs in the call to
1793 gdk_pixbuf_save_to_buffer().
1794 (gtk_selection_data_get_pixbuf): Only use a pixbuf loader
1795 if there is data to load.
1797 2004-12-27 Matthias Clasen <mclasen@redhat.com>
1799 * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event):
1800 Set x_root and y_root in button and motion events from
1801 extended input devices. (#148715, Robert Ögren)
1803 * gtk/gtktreeview.c (gtk_tree_view_class_init): Fix a
1804 typo. (#162339, Alessio Dessi)
1806 * gtk/gtkadjustment.c (gtk_adjustment_class_init): Document
1807 properties as new since 2.4. (#156101, Billy Biggs)
1809 * configure.in: Add a warning about the linux-fb
1810 target. (#155488, Zeeshan Ali)
1812 * gtk/gtkmain.c (gtk_init_with_args): Typo fix. (#162278,
1815 2004-12-26 Matthias Clasen <mclasen@redhat.com>
1817 * gtk/gtkfilechooser.c (gtk_file_chooser_set_action):
1818 Typo fix. (#162219, Masao Mutoh)
1819 (gtk_file_chooser_set_preview_widget_active):
1820 Another typo. (#162218, Masao Mutoh)
1822 2004-12-23 Matthias Clasen <mclasen@redhat.com>
1824 * gtk/gtkliststore.c (gtk_list_store_iter_children):
1825 Return TRUE if there are children. (#162134, Iñigo Serna,
1826 patch by John Finlay)
1828 * gtk/gtkcombobox.c (gtk_combo_box_button_state_changed):
1829 Transfer state from the button to the cell view to get
1830 prelighting right. (#156327, Ricardo Veguilla)
1832 Wed Dec 22 14:22:19 2004 Søren Sandmann <sandmann@redhat.com>
1834 * tests/testtoolbar.c (timeout_cb): Add sensitivity-changing
1835 timeout. Written by Christian Persch.
1837 Wed Dec 22 14:14:02 2004 Søren Sandmann <sandmann@redhat.com>
1841 * gdk/x11/gdkwindow-x11.c (tmp_{re,un}set_bg): Only set/reset the
1842 background for windows that get expose events.
1844 * gdk/gdkwindow.c (gdk_window_process_updates_internal): Remove
1845 hack to repaint !expose windows.
1847 Wed Dec 22 11:35:41 2004 Søren Sandmann <sandmann@redhat.com>
1849 Bug #147497, make menu items activate immediately when you release
1852 * gtk/gtkmenu.c (gtk_menu_enter_notify, menu_motion_notify): Make
1853 items activate immediately.
1855 * gtk/gtkmenu.c (definitely_within_item): New function
1856 * gtk/gtkmenu.c (check_threshold): New function
1858 2004-12-22 Matthias Clasen <mclasen@redhat.com>
1860 * gtk/gtklabel.c (gtk_label_setup_mnemonic): Don't forget to
1861 null the mnemonic_menu when unsetting a mnemonic, reported
1864 2004-12-21 Matthias Clasen <mclasen@redhat.com>
1866 * gtk/gtkliststore.c (generate_order): Generate the order the
1867 way it is supposed to be, order[new_pos] == old_pos.
1868 (gtk_list_store_reorder): Invert the order before using it.
1870 2004-12-22 Matthias Clasen <mclasen@redhat.com>
1872 Fix sorting of list stores. (#161886, Marcin Krzyzanowski)
1874 * gtk/gtkliststore.c (generate_order): Generate the order the
1875 way it is supposed to be, order[new_pos] == old_pos.
1876 (gtk_list_store_reorder): Invert the order before using it.
1878 * gtk/gtkiconview.c (gtk_icon_view_rows_reordered): Adapt to the
1881 Wed Dec 22 01:24:01 2004 Jonathan Blandford <jrb@redhat.com>
1883 * gtk/queryimmodules.c (main): print out the version and binary
1884 name in the header comment. Problem reported by Seth Nickell.
1886 2004-12-20 Matthias Clasen <mclasen@redhat.com>
1888 * gtk/gtkliststore.c (gtk_list_store_sort_iter_changed): Pass a
1889 root path to gtk_tree_model_rows_reordered(). (#161720,
1890 Marcin Krzyzanowski)
1892 * gtk/gtkactiongroup.c (gtk_action_group_translate_string): Don't
1893 translate NULL messages. (#161789, Morten Welinder)
1895 * gtk/gtkmessagedialog.c (setup_primary_label_font): Don't show
1896 the secondary label on show_all(). (#161707, Christian Persch)
1898 2004-12-19 Tor Lillqvist <tml@iki.fi>
1900 * gdk/win32/gdkdnd-win32.c (resolve_link, gdk_dropfiles_filter):
1901 Use wide character API when available. Use UTF-8 for filenames.
1903 * gdk/win32/gdkselection-win32.c (_gdk_dropfiles_store): Include
1904 the string's trailing zero byte in the property's length, just for
1907 2004-12-18 Matthias Clasen <mclasen@redhat.com>
1909 * gtk/gtkfilechooserentry.c (check_completion_callback)
1910 (load_directory_callback): Add missing GDK_THREADS_ENTER/LEAVE.
1912 * gtk/gtkfilechooserdefault.c (edited_idle_cb)
1913 (shortcuts_drag_outside_idle_cb): Add missing
1914 GDK_THREADS_ENTER/LEAVE. (#161604)
1916 * gtk/gtkfilechooserdefault.c (selection_check_foreach_cb):
1917 (list_select_func): Don't call gtk_file_info_get_is_folder()
1920 * gtk/gtkaboutdialog.c (gtk_about_dialog_get_logo_icon_name):
1921 (gtk_about_dialog_init): Add missing initializations. (#161646,