1 2007-04-26 Matthias Clasen <mclasen@redhat.com>
4 * gtk/Makefile.am: Don't install UNIX-printing headers and
5 support files on non-UNIX platforms. (#425655, Vincent Geddes)
7 2007-04-26 Matthias Clasen <mclasen@redhat.com>
9 * gtk/gtkuimanager.c (gtk_ui_manager_add_ui): Accept
10 unnamed separators. (#369112, Christian Persch)
12 2007-04-26 Matthias Clasen <mclasen@redhat.com>
14 * gtk/gtkaccelgroup.c (gtk_accel_group_finalize): Don't access
15 invalid memory. (#429732, Armin Burgmeier)
17 2007-04-26 Cody Russell <bratsche@gnome.org>
19 * gdk/win32/xcursors.h:
20 * gdk/win32/gdkcursor-win32.c:
22 Use Win32 native cursors instead of the ones built into GTK
23 where it makes sense. (#128852, Tim Evans)
25 2007-04-25 Cody Russell <bratsche@gnome.org>
30 * gdk/directfb/gdkwindow-directfb.c:
31 * gdk/linux-fb/gdkwindow-fb.c:
32 * gdk/quartz/gdkwindow-quartz.c:
33 * gdk/win32/gdkwindow-win32.c:
34 * gdk/x11/gdkwindow-x11.c:
35 Added window type hint and implement drop shadows on Win32
36 for menus, tooltips, etc. (#148535, Tim Evans, Dom Lachowicz)
38 2007-04-25 Jakub Steiner <jimmac@ximian.com>
40 * gtk/stock-icons/16/gtk-close.{png,svg}: added 16x16 version of
41 gtk-close as per discussion in bug #431740.
43 2007-04-25 Matthias Clasen <mclasen@redhat.com>
45 * gtk/gtktreeview.c (gtk_tree_view_style_set): Set the background
46 of the header window again. (#431067, Benjamin Berg)
48 2007-04-25 Matthias Clasen <mclasen@redhat.com>
50 * gtk/gtkicontheme.c (theme_lookup_icon): Set the filename to
51 NULL for builtin icons, sinc gtk_icon_info_get_builtin_pixbuf()
54 * tests/testicontheme.c: Report builtin icons.
56 2007-04-25 Matthias Clasen <mclasen@redhat.com>
58 * gtk/gtkprintoperation.c (preview_iface_end_preview): Don't
59 crash if end_run is not set. (#424168, Matthias Hasselmann)
61 2007-04-25 Michael Natterer <mitch@imendio.com>
63 * gtk/gtkmenu.c (gtk_menu_handle_scrolling): fix ACTIVE state of
64 scroll buttons (we were setting the state to ACTIVE but
65 immediately overwriting it with NORMAL or PRELIGHT). Also got rid
66 of many separate calls to gdk_window_invalidate_rect() by
67 remembering the old button state and only invalidating the area if
68 the state has changed (addresses parts of bug #433242, Tommi
71 (gtk_menu_scroll_to): change the arrow states only if changing
72 from or to INSENSITIVE state, so we don't overwrite the ACTIVE
73 state set by above function.
75 2007-04-25 Michael Natterer <mitch@imendio.com>
77 * gtk/gtkprintoperation.c (preview_iface_is_selected): fix the
78 build. Dunno if the fix is right, but I think it is.
80 2007-04-25 Kristian Rietveld <kris@imendio.com>
82 * gtk/gtktooltip.c (find_topmost_widget_coords_from_event):
83 cleanup/refactor some leftover code.
85 2007-04-24 Matthias Clasen <mclasen@redhat.com>
87 * gtk/gtkprintunixdialog.c (dialog_get_page_ranges): Parse
88 half-open ranges like -2 or 3-, and be a bit more liberal
90 (dialog_set_page_ranges): Support half-open ranges.
92 * gtk/gtkprintoperation.c (print_pages_idle): Substitute the
93 number of pages in half-open ranges.
94 (preview_iface_is_selected): Support half-open ranges here, too.
96 2007-04-24 Chris Wilson <chris@chris-wilson.co.uk>
98 * gtk/gtkicontheme.c (scan_directory): Ensure the
99 icon_theme->all_icons and dir->icons hash tables use the same string
100 as their keys. (#418531)
102 2007-04-23 Cody Russell <bratsche@gnome.org>
103 * modules/engines/ms-windows/msw_style.c: Fixed one-pixel drawing error on
104 left-most tab when notebooks are top-oriented. Also general cleanup of
105 notebook tab related code. (Lieven van der Heide, Cody Russell)
107 2007-04-23 Matthias Clasen <mclasen@redhat.com>
109 * modules/printbackends/cups/gtkprintbackendcups.c: Reduce
110 the amount of debug spew if we are not debugging.
112 2007-04-23 Michael Natterer <mitch@imendio.com>
114 * tests/Makefile.am (testtooltips_SOURCES): fix typo:
115 testtoooltips_SOURCES -> testtooltips_SOURCES.
117 2007-04-19 Cody Russell <bratsche@gnome.org>
119 * modules/engines/ms-windows/msw_style.c: Fix menuitem rendering
120 for Windows Vista. (#392015, Hiroyuki Yamamoto)
122 2007-04-19 Dominic Lachowicz <domlachowicz@gmail.com>
124 * modules/engines/ms-windows/msw_style.c: Fix pixbuf leaks in
125 non-WinXP rendering paths. From Daniel Atallah (#403470)
127 2007-04-19 Matthias Clasen <mclasen@redhat.com>
129 * gtk/gtkicontheme.h:
130 * gtk/gtkicontheme.c: Add GTK_ICON_LOOKUP_GENERIC_FALLBACK
131 icon lookup flag and implement it. (#396901, Luca Ferreti)
133 2007-04-18 Richard Hult <richard@imendio.com>
135 * gdk/quartz/gdkwindow-quartz.c:
136 (gdk_window_quartz_process_updates_internal),
137 (gdk_window_quartz_process_all_updates),
138 (gdk_window_impl_quartz_process_updates): Refactor the process
139 updates functions to share code between them. Also fixes bug
140 #427660 by not updating larger regions than necessary.
142 2007-04-18 Matthias Clasen <mclasen@redhat.com>
144 * gdk/gdkregion-generic.h (GROWREGION): Handle the case
145 of nRects == 0 correctly.
147 2007-04-18 Emmanuele Bassi <ebassi@gnome.org>
149 * gtk/gtkrecentmanager.c (gtk_recent_manager_lookup_item): Fix
150 a leak by not increasing the refcount of the GtkRecentInfo
151 object when returning it (thanks to Matthias Clasen).
153 2007-04-16 Alexander Larsson <alexl@redhat.com>
155 * gtk/gtkprintoperation.c (gtk_print_operation_run):
156 Make async print preview work by actually starting
157 the print process in that case (#424168)
159 2007-04-14 Yevgen Muntyan <muntyan@tamu.edu>
161 * gtk/gtkselection.c (selection_get_text_plain): fixed
162 wrong g_convert_with_fallback() call which caused
163 gtk_selection_data_get_text() return invalid UTF-8 for
164 non-ASCII text in text/plain selection (#382824).
166 2007-04-12 Jakub Steiner <jimmac@ximian.com>
168 * gtk/stock-icons/*: update the stock icons to follow the Tango
171 2007-04-11 Chris Wilson <chris@chris-wilson.co.uk>
173 * gtk/gtkiconfactory.c (_gtk_icon_factory_list_ids):
174 * gtk/gtkstock.c (gtk_stock_list_ids):
175 Switch over to use glib's new g_hash_table_get_keys() rather
176 than our own static implementation.
178 * gtk/gtkiconfactory.h: Update to return a GList.
180 * configure.in: Bump required version to 2.13.1
182 2007-04-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
184 * gdk/quartz/gdkeventloop-quartz.c: Protect the polling thread
185 setup and shutdown function by mutexes and read the wakeup
186 pipe unconditionally and unblocking. This should make the main
187 loop always be woken up when using g_idle_add() from another
188 thread in the Quartz backend (#425271).
190 2007-04-10 Matthias Clasen <mclasen@redhat.com>
192 * gdk/x11/xsettings-client.[hc]: Change the XSettingsWatchFunc
193 to return a Bool to indicate success. Update callers and
194 implementors. Based on a patch by Owen Taylor.
196 * gdk/x11/gdkevents-x11.c (gdk_xsettings_watch_cb): Don't
197 leak a reference to gdkwin.
199 2007-04-07 Xan Lopez <xan@gnome.org>
201 * gtk/gtknotebook.c (gtk_notebook_class_init):
202 s/arrow-size/arrow-spacing in the arrow-spacing
205 2007-04-06 Richard Hult <richard@imendio.com>
207 * gdk/quartz/: Clean up namespaces to make the code more
210 * gdk/quartz/gdkdrawable-quartz.c:
211 * gdk/quartz/gdkgc-quartz.c: Fix bug #418384, alignment of tiled
212 images, by setting the pattern phase for the CG pattern.
214 2007-04-04 Kristian Rietveld <kris@imendio.com>
216 * gtk/gtktooltip.c (tooltip_browse_mode_expired),
217 (gtk_tooltip_hide_tooltip), (tooltip_popup_timeout),
218 (gtk_tooltip_start_delay): use new gdk_threads API.
220 2007-04-03 Behdad Esfahbod <behdad@gnome.org>
222 * gtk/gtksettings.c (settings_update_font_options): Don't set
223 metrics-hinting font option. Rely on the default value which is
224 on for all raster cairo surfaces. (#425985)
226 2007-04-03 Loïc Minier <lool@dooz.org>
228 * gdk/x11/gdkscreen-x11.c: (check_xfree_xinerama): Revert to
229 non-xinerama mode when XineramaQueryScreens returns NULL; patch from
230 Simon McVittie; #425786.
232 2007-04-02 Michael Natterer <mitch@imendio.com>
234 * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): remove
235 artifact from the time when type checking casts warned on NULL,
236 some whitespace cleanup.
238 2007-04-01 Cody Russell <bratsche@gnome.org>
240 * modules/engines/ms-windows/msw_style.c: Fix rendering of
241 notebook tabs when they are bottom-oriented. Fixes #399253.
243 2007-03-31 Elijah Newren <newren gmail com>
245 * gdk/x11/gdkwindow-x11.c (setup_toplevel_window,
246 gdk_x11_window_set_user_time):
247 Patch from Matthias to add support for the
248 _NET_WM_USER_TIME_WINDOW EWMH protocol; see #354213.
250 WARNING: This patch will make metacity <= 2.18.0 freeze on
251 workspace switch. This is due to a weird problem that should only
252 affect window managers using gdk in-process for decoration drawing
253 and which make an unsafe assumption relating to doing so (i.e. it
254 should only affect metacity). Upgrade your version of metacity if
257 2007-03-29 Michael Natterer <mitch@imendio.com>
259 Don't close menus on clicks on their border area (bug #423761).
260 (modified patch from maemo-gtk).
262 * gtk/gtkmenu.c (gtk_menu_button_press)
263 (gtk_menu_button_release): bail out early if the click was on the
264 menu's border (not on any item and not outside the window).
266 (pointer_in_menu_window): new utility function which checks if
267 passed root coords are inside the menu_shell or one of its
270 2007-03-29 Michael Natterer <mitch@imendio.com>
272 * gtk/gtkmenu.c: get rid of local GtkSettings variables by moving
273 gtk_widget_get_settings() into the g_object_get() call. Some small
276 2007-03-28 Matthias Clasen <mclasen@redhat.com>
278 * modules/printbackends/cups/gtkcupsutils.[hc]:
279 * modules/printbackends/cups/gtkprintbackendcups.c: Apply
280 a patch by John Palmieri to make the cups print backend support
283 2007-03-28 Kristian Rietveld <kris@imendio.com>
285 * gtk/gtkwidget.c (gtk_widget_set_tooltip_window): don't unref
286 tooltip_window, since this is handled by set_qdata_full() already.
287 (#412001, Torsten Schoenfeld).
289 2007-03-27 Tor Lillqvist <tml@novell.com>
291 * modules/input/Makefile.am: Use LDADDS for im-multipress.la, too:
293 2007-03-26 Christian Persch <chpe@gnome.org>
295 * gtk/gtkrc.c: (gtk_rc_context_get): Initialise variable. Bug #423064.
297 2007-03-24 Kristian Rietveld <kris@gtk.org>
299 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
300 calculate the depth with the corrected real_cell_area and don't
301 subtract horizontal_separator/2.
303 2007-03-24 Andreas Nilsson <andreas@andreasn.se>
306 * gtk-no: More Tango love.
308 2007-03-23 Jakub Steiner <jimmac@ximian.com>
310 * gtk-dialog-authentication.svg
311 * gtk-dialog-error.svg
312 * gtk-dialog-info.svg
313 * gtk-dialog-question.svg
314 * gtk-dialog-warning.svg: Start with a Tango face-lift.
316 2007-03-23 Rodney Dawes <dobey@novell.com>
318 * gtk/gtkicontheme.c: Fix a couple of comment typos (#421627)
320 2007-03-23 Matthias Clasen <mclasen@redhat.com>
322 * gtk/gtkfilechooserdefault.c: Add a keybinding (C-h) to
323 toggle whether to show hidden files. (#344657,
324 Wouter Bolsterlee, Priit Laes, et al)
326 2007-03-23 Matthias Clasen <mclasen@redhat.com>
328 * gtk/gtkfilechooserdefault.c: Add a keybinding (C-l) to
329 toggle the visibility of the location entry. (#383354,
330 John Pye, patch by Carlos Garnacho)
332 2007-03-22 Matthias Clasen <mclasen@redhat.com>
334 * gtk/gtksettings.c (merge_color_scheme): Freeze property
336 * gtk/gtksettings.c (_gtk_settings_handle_event): Handle
337 the gtk-color-scheme xsetting being unset.
339 * gtk/gtkrc.c (gtk_rc_reparse_all_for_settings): Handle
342 2007-03-21 Matthias Clasen <mclasen@redhat.com>
344 * gtk/gtkprintoperation-unix.c: Remove leftover debug spew.
346 2007-03-21 Rodney Dawes <dobey@novell.com>
349 * gtk/gtkicontheme.[ch]:
350 * docs/reference/gtk/gtk-sections.txt:
351 * tests/testicontheme.c:
352 Add a new API call gtk_icon_theme_list_contexts so that one can
353 choose icons from a theme by context (#420719)
355 2007-03-21 Ross Burton <ross@burtonini.com>
358 Document the ::event signal (#420703).
360 2007-03-20 Kristian Rietveld <kris@gtk.org>
362 * gtk/gtktreeviewcolumn.c:
363 * gtk/gtktreeprivate.h: add _gtk_tree_view_column_get_focus_area().
365 * gtk/gtktreeview.c (gtk_tree_view_clamp_column_visible): add
366 focus_to_cell parameter, rework to handle clamping columns which
367 are bigger than the available page size better,
368 (gtk_tree_view_key_press): remove code handling moving the focus
369 to other column headers,
370 (gtk_tree_view_header_focus): add clamp_column_visible parameter,
371 fix RTL support, don't wrap around when moving focus to other
372 column headers, call gtk_tree_view_clamp_column_visible() instead
374 (gtk_tree_view_focus): only clamp the column visible when we are
375 explicitly moving to another column header (fixes #399555, Charles
377 (gtk_tree_view_move_cursor_left_right): update call to
378 gtk_tree_view_clamp_column_visible().
380 2007-03-19 Matthias Clasen <mclasen@redhat.com>
382 * demos/gtk-demo/appwindow.c: Explicitly set the title on the
385 2007-03-18 Matthias Clasen <mclasen@redhat.com>
387 * gtk/gtkentrycompletion.c (gtk_entry_completion_compute_prefix):
388 Ensure that the prefix is valid UTF-8. (#419568, Nickolay V. Shmyrev)
390 2007-03-18 Matthias Clasen <mclasen@redhat.com>
392 * modules/input/gtkimcontextmultipress.[hc]:
393 * modules/input/im-multipress.conf:
394 * modules/input/immultipress.c:
395 * modules/input/README.multipress: Add the multipress input
396 method. (#417446, Johannes Schmid, Murray Cumming)
398 * modules/input/Makefile.am: Glue
400 2007-03-17 Chris Wilson <chris@chris-wilson.co.uk>
402 * gdk/x11/gdkvisual-x11.c (_gdk_visual_init):
403 Initialise nxvisuals to 0 in order to handle XGetVisualInfo()
404 failures gracefully. (#419171)
406 2007-03-17 Emmanuele Bassi <ebassi@gnome.org>
408 * gtk/gtkrecentaction.c (recent_chooser_set_property),
409 (gtk_recent_action_set_property): Remove useless inlined
410 function and propagate the properties to the GtkRecentChooser
411 objects we create, instead of all the proxies.
413 (set_current_filter): Remove 'inline' marker.
415 2007-03-16 Emmanuele Bassi <ebassi@gnome.org>
417 Apply changes suggested by Michael Natterer. (#338843)
420 * gtk/gtkaction.c: Rename get_submenu() to create_menu();
421 rename gtk_action_get_submenu() to gtk_action_create_menu().
423 * gtk/gtkrecentaction.c: Update for GtkAction change.
425 * gtk/gtkuimanager.c (update_node): Update for GtkAction change;
426 also, use the menu from the GtkAction for both menuitem and
429 2007-03-16 Xan Lopez <xan@gnome.org>
431 * gtk/gtkwidget.c: Fix documentation error in
432 gtk_widget_set_redraw_on_allocate.
434 2007-03-16 Matthias Clasen <mclasen@redhat.com>
436 * gtk/gtkprintunixdialog.c (printer_added_cb): Scroll to
437 make the selected printer visible. (#418403, Nickolay V. Shmyrev,
438 patch by Christian Persch)
440 2007-03-15 Federico Mena Quintero <federico@novell.com>
442 Merged from gtk-2-10:
444 * gtk/gtkfilechooserdefault.c (find_good_size_from_style):
445 PANGO_PIXELS() gives us device units, which are *points* in
446 pangocairo's parlance, but we want actual pixels. So, get the
447 screen's resolution to compute the actual number of pixels.
450 2007-03-15 Emmanuele Bassi <ebassi@gnome.org>
452 * gtk/gtkrecentmanager.c (gtk_recent_manager_add_item): Remove
453 unused GError; do not allocate GtkRecentData and use a variable
454 on the stack. (#418673, Morten Welinder)
456 2007-03-15 Emmanuele Bassi <ebassi@gnome.org>
458 * gtk/gtkaction.[ch]: Add GtkActionClass::get_submenu() vfunc:
459 actions providing a menu item or a menu tool button with already
460 a submenu should return the GtkMenu widget.
462 * gtk/gtkuimanager.c (update_node): If an action provides its
463 own submenu, use it instead of adding an empty one
465 * gtk/gtkrecentaction.[ch]: Add GtkRecentAction, an action
466 implementing the GtkRecentChooser interface for displaying the
467 list of recently used files into menus and toolbars generated
468 using GtkUIManager. (#338843)
472 * gtk/gtk.symbols: Add GtkRecentAction API to the build.
474 * tests/testactions.c: Exercise the GtkRecentAction API.
476 2007-03-15 Chris Wilson <chris@chris-wilson.co.uk>
478 * gtk/gtkicontheme.c (ensure_valid_themes), (rescan_themes),
479 (gtk_icon_theme_rescan_if_needed): Protect ensure_valid_themes()
480 from recursion, which can happen for example if the app tries to
481 reload an icon from within a theme-changed handler. (#418531)
483 2007-03-15 Richard Hult <richard@imendio.com>
485 * gdk/quartz/gdkmain-quartz.c: Add stubs for
486 gdk_notify_startup_complete_with_id and gdk_window_set_startup_id
489 2007-03-15 Emmanuele Bassi <ebassi@gnome.org>
491 * gtk/gtkrecentmanager.c: Fix documentation errors. (Morten
494 2007-03-15 Tor Lillqvist <tml@novell.com>
496 * gdk/gdk.symbols: Add gdk_notify_startup_complete_with_id and
497 gdk_window_set_startup_id.
499 * gdk/win32/gdkmain-win32.c: Add dummy implementations of the above.
501 2007-03-15 Emmanuele Bassi <ebassi@gnome.org>
503 * gtk/gtkrecentchooserprivate.h:
504 * gtk/gtkrecentchooserutils.c: Move filtering of the recent
505 files list into the shared implementation; do the filtering
506 before the sorting, so that we always clamp on the desired
509 * gtk/gtkrecentchoosermenu.c: Remove the filtering of the
510 list, as it's already been done.
512 * gtk/gtkrecentchooserdefault.c: Ditto; also remove the
513 GtkTreeModelFilter: just reload the view if the sorting and
514 filtering properties change.
516 * gtk/testrecentchoosermenu.c: Exercise the limit property.
518 2007-03-14 Michael Natterer <mitch@imendio.com>
520 Make gtk_widget_set_extension_events() work on already realized
521 widgets (bug #379550, Tommi Komulainen)
523 * gdk/x11/gdkinput.c (gdk_input_set_extension_events): allow to be
524 called multiple times without leaking and work correctly when
525 already realized (don't rely on a configure event following).
527 * gtk/gtkwidget.c (gtk_widget_set_extension_events_internal): new
528 internal function which walks the GdkWindow tree and sets the
529 extension events on all windows that belong to the widget.
532 (gtk_widget_set_extension_events): use the new function.
534 2007-03-14 Emmanuele Bassi <ebassi@gnome.org>
536 Various clean ups in the GtkRecent code. (see #338843)
538 * gtk/gtkrecentchooserdefault.c:
539 * gtk/gtkrecentchoosermenu.c:
540 * gtk/gtkrecentchooserprivate.h:
541 * gtk/gtkrecentchooserutils.c: Move the recent chooser function
542 for getting the sorted and clamped list of recent files from the
543 manager outside the implementations.
545 * gtk/gtkrecentchooserdefault.c (chooser_set_sort_type): Repopulate
546 the list when the sorting order changes.
548 (gtk_recent_chooser_default_dispose),
549 (gtk_recent_chooser_default_finalize): Move object unref and
550 source removal from finalize to dispose.
552 * gtk/gtkrecentchooser.c (gtk_recent_chooser_type_init): Relax the
553 prerequisite for the GtkRecentChooser interface implementations,
554 from GtkObject to GObject.
556 (gtk_recent_chooser_class_init): Use GTK_PARAM_* instead of
559 2007-03-13 Emmanuele Bassi <ebassi@gnome.org>
561 Apply patch by Vytautas Liuolia for changing the startup
562 notification id on a window in the X11 backend. (#347375)
566 * gdk/x11/gdkdisplay-x11.c: Add gdk_notify_startup_complete_with_id()
567 and gdk_x11_display_get_startup_notification_id().
570 * gdk/x11/gdkwindow-x11.c: Add gdk_window_set_startup_id().
573 * gtk/gtkwindow.c: Add gtk_window_set_startup_id(), used to
574 change the startup notification id.
576 (gtk_window_class_init), (gtk_window_init),
577 (gtk_window_set_property): Add write-only "startup-id" property
580 (gtk_window_realize): Set the startup notification id
581 on a GtkWindow if it's valid.
583 (gtk_window_map): If we have another valid startup notification
584 id then finish the notification process.
586 2007-03-13 Matthias Clasen <mclasen@redhat.com>
588 * gtk/gtknotebook.c (gtk_notebook_real_insert_page):
589 Fix tabbed browsing in epiphany. (#413664, Christian Persch)
591 2007-03-12 Matthias Clasen <mclasen@redhat.com>
593 * gtk/gtksizegroup.c (gtk_size_group_add_widget): Clarify
594 docs. (#345844, Torsten Schoenfeld)
596 * gdk/x11/gdkevents-x11.c (gdk_display_add_client_message_filter):
597 * gdk/gdkwindow.c (gdk_window_add_filter): Add
598 cross-references. (#351252, Vincent Untz)
600 * gtk/gtkprintoperation.c: Fix an oversight in an
601 example. (#381083, Ian Puleston)
603 * gtk/gtkcombobox.c: Clean up and clarify docs. (#412484)
605 2007-03-12 Matthias Clasen <mclasen@redhat.com>
607 * gtk/gtkspinbutton.c (gtk_spin_button_style_set): Set
608 the background of the panel window on style changes. (#402144,
611 2007-03-12 Matthias Clasen <mclasen@redhat.com>
613 * gtk/gtkbindings.c (gtk_binding_entry_add_signal): Remove
614 an obsolete comment. (#402169, Xan Lopez)
616 2007-03-12 Matthias Clasen <mclasen@redhat.com>
618 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_property):
619 Don't copy PangoLanguage. (#340031, Morten Welinder)
621 2007-03-12 Matthias Clasen <mclasen@redhat.com>
623 * gtk/gtkfilechooserbutton.c (change_icon_theme_get_info_cb):
624 Handle the row reference path being NULL. (#410565, Joe Markus
625 Clarke, patch by Chris Wilson)
627 2007-03-11 Matthias Clasen <mclasen@redhat.com>
629 * tests/testiconview.c: Handle Menu key presses without
630 crash. (#385637, Christian Persch)
632 2007-03-11 Matthias Clasen <mclasen@redhat.com>
634 * gtk/gtktooltips.c (gtk_tooltips_get_info_from_tip_window):
635 Don't crash if active_tips_data is NULL. (#382904, Li Yuan)
637 2007-03-11 Matthias Clasen <mclasen@redhat.com>
639 * gtk/gtktextview.c (gtk_text_view_set_buffer): Set first_para_mark
640 to NULL. (#396805, Colin Leroy, patch by Mariano Suárez-Alvarez)
642 2007-03-12 Kristian Rietveld <kris@gtk.org>
644 * gtk/gtkfilechooserdefault.c (check_save_entry): immediately
645 bail out if current_folder is NULL. (#350988, lots of reporters,
646 modified patch by Jan Darmochwal).
648 2007-03-10 Kristian Rietveld <kris@gtk.org>
650 * gtk/gtktreeview.c (gtk_tree_view_search_dialog_hide): only
651 hide the search dialog and send focus events if the search dialog
652 is currently visible.
654 2007-03-10 Richard Hult <richard@imendio.com>
656 * gdk/quartz/gdkdrawable-quartz.c:
657 (gdk_quartz_ref_cairo_surface): Reuse the surface during its lifetime.
658 (gdk_quartz_drawable_get_context): Update for the new quartz cairo
659 surface API (#410442). Don't lock focus unless called outside of an
661 (gdk_quartz_drawable_release_context): Only flush the CG context and
662 unlock focus if called outside of expose.
663 (_gdk_quartz_drawable_finish): New function, used to free the cached
666 * gdk/quartz/gdkwindow-quartz.c:
667 (gdk_window_impl_quartz_begin_paint_region): A few small style changes.
668 (_gdk_window_impl_quartz_get_type): No need to make the type info
670 (gdk_window_quartz_process_all_updates): Move the autorelease pool
671 allocation and freeing outside the loop.
672 (_gdk_windowing_window_destroy): Finish the drawable.
673 (move_resize_window_internal): Small cleanup and remove comment.
675 * gdk/quartz/gdkpixmap-quartz.c: Finish the drawable.
677 2007-03-10 Richard Hult <richard@imendio.com>
679 * gdk/quartz/gdkprivate-quartz.h: Add missing function signature to fix
682 2007-03-10 Richard Hult <richard@imendio.com>
684 * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_get_name): Plug a leak.
686 2007-03-10 Richard Hult <richard@imendio.com>
688 * gdk/quartz/GdkQuartzView.c: Remove unneccesary exposure mask check.
690 2007-03-10 Richard Hult <richard@imendio.com>
692 * gdk/quartz/gdkevents-quartz.c: (gdk_screen_get_setting): Don't set
693 the font name here, leave that to themes, fixes #387508.
695 2007-03-10 Kristian Rietveld <kris@gtk.org>
697 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_ref_node),
698 (gtk_tree_model_sort_real_unref_node): when (un)reffing an
699 element, also (un)ref its parent elements. (Fixes #364946,
700 reported by many, testcase by Andreas Koehler).
702 2007-03-10 Matthias Clasen <mclasen@redhat.com>
704 * gtk/gtkprintoperation-unix.c: Initialize the do_preview
705 field of PrintResponseData. (#396703, Christian Persch)
707 * tests/print-editor.c: Plug some leaks.
709 2007-03-09 Matthias Clasen <mclasen@redhat.com>
711 * gtk/gtktextview.c (gtk_text_view_end_selection_drag):
712 Get rid of the unused event argument. Update all callers.
714 * gtk/gtktextview.c (gtk_text_view_focus_out): Call
715 gtk_text_view_end_selection_drag. (#351671, Boyd Timothy)
717 2007-03-09 Matthias Clasen <mclasen@redhat.com>
719 * modules/input/gtkimcontextxim.c
720 (gtk_im_context_xim_filter_keypress): Don't commit
721 modifier-adorned characters. (#331369, #335796, Lin Ma
724 2007-03-09 Matthias Clasen <mclasen@redhat.com>
726 * Everywhere: Remove unnecessary NULL checks before
727 g_free(). (#369666, Morten Welinder, Djihed Afifi)
729 * configure.in: Check for ftw.h
731 2007-03-09 Matthias Clasen <mclasen@redhat.com>
733 * gtk/gtkfilesystemwin32.c (get_icon_path): Remove
734 C99isms. (#416525, Kazuki Iwamoto)
736 2007-03-09 Tor Lillqvist <tml@novell.com>
738 * README.win32: Update.
740 2007-03-08 Matthias Clasen <mclasen@redhat.com>
742 * gdk/x11/gdkasync.c (send_event_handler): Defer the callbacks
743 to an idle to avoid deadlock with xcb-ified libX11. (#413032,
746 2007-03-08 Matthias Clasen <mclasen@redhat.com>
748 * gtk/gtknotebook.c (gtk_notebook_real_insert_page):
749 Set child visibility to FALSE here; it will be turned
750 back on in switch_page. (#413664, Carlos Garnacho)
752 2007-03-08 Mathias Hasselmann <mathias.hasselmann@gmx.de>
754 * modules/engines/ms-windows/msw_style.c: Use proper border style
755 when drawing shadow of scrolled windows on Windows XP (#168326)
756 * modules/engines/ms-windows/xp_theme.c: Explicitly set size of
757 element_part_map array to ensure it always is large enough.
759 2007-03-08 Mathias Hasselmann <mathias.hasselmann@gmx.de>
761 * gtk/gtkcombobox.c: Add shadow-type style property, set shadow-type
762 property of GtkEntry accordingly, unify size-allocation of toggle
763 button (#411123, patch from Mathias Hasselmann).
764 * gtk/gtkentry.c: Add shadow-type property. Query style properties
765 on style changes only (#411123, patch from Mathias Hasselmann).
766 * modules/engines/ms-windows/msw_style.c: Drop combo_box_draw_box
767 hack as GtkComboBox emits drawing requests now (#411123, patch
768 from Mathias Hasselmann).
770 2007-03-08 Mathias Hasselmann <mathias.hasselmann@gmx.de>
772 * gtk/gtkscrolledindow.c: Improve look of GtkScrolledWindow on Windows
773 by implementing a scrollbars-within-bevel style property. (#168326)
775 2007-03-08 Mathias Hasselmann <mathias.hasselmann@gmx.de>
777 * gtk/gtkfilesystemwin32.c: Use Windows shell icons. Icons are
778 stored in the current theme with the name
779 "gtk-win32-shell-icon;PATH;INDEX". PATH and INDEX reference shell
780 icons as reported by SHGetFileInfoW. (#412221)
782 2007-03-07 Matthias Clasen <mclasen@redhat.com>
784 * gtk/gtkexpander.c (gtk_expander_paint_focus): Draw the
785 focus around the arrow if there is no label widget.
786 (#124045, Cody Russell)
788 2007-03-07 Matthias Clasen <mclasen@redhat.com>
790 * gtk/gtkcombo.c: (gtk_combo_init):
791 * gtk/gtkcombobox.c: (gtk_combo_box_set_popup_widget),
792 (gtk_combo_box_menu_setup):
793 Set names on the popup widgets to make them themable. (#414975,
796 2007-03-07 Michael Natterer <mitch@imendio.com>
798 * gtk/gtkcellrendereraccel.c: use multihead safe ungrab functions
799 instead of gdk_keyboard_ungrab() and gdk_pointer_ungrab(), remove
800 empty finalize() implementation, some cosmetic cleanup
803 2007-03-06 Chris Wilson <chris@chris-wilson.co.uk>
805 * gtk/gtkicontheme.c (update_current_theme), (gtk_icon_theme_init),
806 (do_theme_change), (gtk_icon_theme_set_custom_theme),
808 Be careful not to trigger a style reset before we have loaded
809 the icon theme. (#414875).
811 2007-03-06 Tor Lillqvist <tml@novell.com>
814 * gtk/Makefile.am: Further fixes for building on Win32 outside
815 srcdir. (#413492, Mathias Hasselmann)
817 2007-03-04 Ihar Hrachyshka <iharh@gnome.org>
819 * configure.in: Added be@latin to ALL_LINGUAS. Problems seems to be
822 2007-03-04 Claudio Saavedra <csaavedra@alumnos.utalca.cl>
824 * configure.in: Removed be@latin from ALL_LINGUAS, as it's currently
827 2007-03-04 Ihar Hrachyshka <iharh@gnome.org>
829 * configure.in: Added be@latin to ALL_LINGUAS
831 2007-03-03 Guillaume Savaton <llumeao@gmail.com>
833 * configure.in: Added Esperanto (eo) to ALL_LINGUAS
835 2007-03-01 Matthias Clasen <mclasen@redhat.com>
837 * gtk/gtksettings.c: Always store gtk-color-scheme
838 values from all sources in the ColorSchemeData struct
839 and ignore the property_value for gtk-color-scheme.
840 This fixes #412596, reported by Thomas Wood.
842 2007-02-28 Matthias Clasen <mclasen@redhat.com>
844 * gtk/gtksettings.c: Make color scheme update properly
845 when changing themes. (#402131, Benjamin Berg)
847 2007-02-28 Matthias Clasen <mclasen@redhat.com>
849 * gtk/gtkrc.c: Don't leak references to the color-hash
850 gotten from GtkSettings. (#409357, Benjamin Berg)
852 2007-02-28 Tristan Van Berkom <tvb@gnome.org>
854 * gtk/gtkradiobutton.c: Fixed a warning from
855 g_object_set (radiobutton, "group", NULL, NULL).
857 2007-02-26 Matthias Clasen <mclasen@redhat.com>
859 Apply a patch by Carlos Garnacho to fix several problems
860 with filechooser size handling (#325477, #151169, 143213,
863 * gtk/gtkfilechooserdefault.c: Increase NUM_LINES slightly.
864 (browse_widgets_create): Don't force the paned position to 200.
865 (find_good_size_from_style): Take the size of the extra widget
868 * gtk/gtkfilechooserdialog.c (file_chooser_widget_update_hints):
869 Accept a minimal width parameter. Update all callers.
871 2007-02-26 Matthias Clasen <mclasen@redhat.com>
873 * gtk/gtkprintunixdialog.c: Change the label to "Pages per side",
874 which is more accurate, suggested by Tim Waugh. String change!
876 2007-02-26 Matthias Clasen <mclasen@redhat.com>
878 * gtk/gtkprinteroptionwidget.c: Make the folder selection for
879 print-to-file work. Reported by Ian Collier.
881 2007-02-26 Chris Wilson <chris@chris-wilson.co.uk>
883 Bug 409101 – invalid read to gtkicontheme.c insert_theme(), might cause gnome-panel crash
885 * gtk/gtkicontheme.c: (scan_directory):
886 Reorder the replacement of the shared base_name key, so that we
887 avoid dereferencing the string in the icon_theme->all_icon
888 hash table after freeing it from the dir->icons hash table.
890 2007-02-26 Tor Lillqvist <tml@novell.com>
892 * gdk/win32/gdkwindow-win32.c (gdk_window_set_icon_name): Add
893 comment clarifying that "icon name" here is not related to the
894 freedesktop.org icon naming stuff.
896 2007-02-23 Dom Lachowicz <domlachowicz@gmail.com>
898 * modules/engines/ms-windows/msw_style.c: Bug 411118 - bad bevel for
899 progress bar on windows classic. Match from Mathias Hasselmann.
901 2007-02-19 Tor Lillqvist <tml@novell.com>
903 * gdk/win32/gdkinput.c
904 (gdk_device_finalize, gdk_device_class_init): Remove.
905 (gdk_device_get_type): Drop class init function. The X11 version
906 doesn't have one either.
907 (gdk_devices_list): Call gdk_display_list_devices() on _gdk_display.
908 (gdk_display_list_devices): Check that the argument is
911 * gdk/win32/gdkinput-win32.h (GdkAxisInfo, GdkDevicePrivate):
912 Cleanup: remove unused fields.
913 * gdk/win32/gdkinput-win32.c: Corresponding changes. Fix function
914 names in a few debugging printouts.
916 2007-02-18 Matthias Clasen <mclasen@redhat.com>
918 * gtk/gtktextlayout.c (gtk_text_layout_move_iter_visually):
919 Ignore invisible text when going to end of the previous line.
922 2007-02-18 Richard Hult <richard@imendio.com>
924 * gdk/quartz/gdkwindow-quartz.c:
925 (gdk_window_quartz_process_all_updates),
926 (_gdk_windowing_window_destroy): Setup release pools to plug two leaks,
927 patch from Erik van Pienbroek, fixes bug #396649.
929 2007-02-18 Richard Hult <richard@imendio.com>
931 * gdk/quartz/gdkevents-quartz.c: Add stub for
932 gdk_display_add_client_message_filter, patch from Taybin Rutkin. Fixes
935 * gdk/quartz/gdkprivate-quartz.h: Add prototypes to fix build warnings.
937 2007-02-18 Richard Hult <richard@imendio.com>
939 * gdk/quartz/GdkQuartzView.h:
940 * gdk/quartz/GdkQuartzWindow.h:
941 * gdk/quartz/gdkquartz.h: Import AppKit.h instead of Quartz.h.
942 * gdk/quartz/gdkscreen-quartz.c: (get_mm_from_pixels): Don't use
943 userSpaceScaleFactor for 10.3. Those changes bring us closer to working
944 on panther, patch from Mathias Hasselmann.
946 * gdk/quartz/gdkeventloop-quartz.c: Add includes to fix build warnings.
948 2007-02-16 Behdad Esfahbod <behdad@gnome.org>
950 * gdk/gdkpango.c (gdk_pango_layout_get_clip_region): Use PANGO_PIXELS
951 instead of division. (#334617)
953 2007-02-16 Kristian Rietveld <kris@gtk.org>
955 * gtk/gtktreeprivate.h: add cursor_offset field.
957 * gtk/gtktreeview.c (gtk_tree_view_init),
958 (gtk_tree_view_move_cursor_page_up_down): fix off by one error
959 in page up/down handling by memorizing the offset into the cursor
960 row. (Fixes #399809, reported by Bruce Bowler).
962 2007-02-16 Kristian Rietveld <kris@gtk.org>
964 * gtk/gtktreeview.c (gtk_tree_view_search_dialog_hide): send
965 a focus-in event to the tree view after hiding the search dialog.
966 (#356515, Rich Burridge, Peter Parente).
968 2007-02-16 Kristian Rietveld <kris@imendio.com>
970 * tests/testtooltips.c (query_tooltip_text_view_cb): also handle
971 keyboard tooltips. (#408325, Matthias Clasen).
973 2007-02-16 Xan Lopez <xan@gnome.org>
975 * gtk/gtkcombobox.c (gtk_combo_box_expose_event): Cleanup the logic
976 in expose event handler. Reviewed by Matthias Clasen, #406112
978 2007-02-16 Matthias Clasen <mclasen@redhat.com>
980 * gtk/gtkmain.c: Run pre_parse_hook only once. (#403139, Kjartan
983 2007-02-15 Matthias Clasen <mclasen@redhat.com>
985 * gdk/x11/gdmain-x11.c (_gdk_xgrab_check_button_event): Be more
986 careful when checking for ButtonRelease events that end implicit
987 grabs. (#386618, Christof Krüger)
989 2007-02-15 Matthias Clasen <mclasen@redhat.com>
991 * gtk/gtktextbtree.c (_gtk_text_btree_delete): Free the lines
992 even if there are no views. (#408018, Albert Huang)
994 2007-02-15 Cody Russell <bratsche@gnome.org>
996 * gdk/win32/gdkevents-win32.c: Make sure we get enough main context
997 iterations while we're resizing so that the window contents are resized
998 more smoothly (#389765).
1000 * gdk/win32/gdkevents-win32.c: Fix flickering widgets when window contents
1001 are resized (#310522).
1003 2007-02-15 Matthias Clasen <mclasen@redhat.com>
1005 * gtk/updateiconcache.c: Handle symlinked .icon files
1006 intelligently; also avoid storing duplicate strings.
1008 2007-02-15 Michael Natterer <mitch@imendio.com>
1010 * gtk/gtkmenushell.c: remove two antique function typedefs that
1011 are probably obsolete for ages.
1013 2007-02-14 Stefan Kost <ensonic@users.sf.net>
1015 reviewed by: Matthias Clasen <mclasen@redhat.com>
1017 * configure.in: determine installation prefixes of dependent libs to
1018 crossreference docs (#407146).
1020 2007-02-14 Kristian Rietveld <kris@imendio.com>
1022 * gtk/gtktooltip.c (child_location_foreach): check return value
1023 of gtk_widget_translate_coordinates() so we cannot end up
1024 using uninitialized x, y values. (#407863, patch from Carlos
1027 2007-02-14 Kristian Rietveld <kris@imendio.com>
1029 * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_realize_button):
1030 use TREE_VIEW_DRAG_WIDTH/2 when calculating the drag window
1031 position instead of a hardcoded value. (Taken from maemo-gtk).
1033 2007-02-14 Michael Natterer <mitch@imendio.com>
1035 * gtk/gtkmenu.c (gtk_menu_motion_notify): don't forget to set the
1036 state of the synthesized GDK_ENTER_NOTIFY event. Fix taken from
1039 2007-02-13 Kristian Rietveld <kris@imendio.com>
1041 * gtk/gtktooltip.c (gtk_tooltip_hide_tooltip): stop any
1042 pending tooltip timeout. (Fixes #406110, Carlos Garnacho).
1044 2007-02-10 Emmanuele Bassi <ebassi@gnome.org>
1046 * gtk/gtkrecentchoosermenu.c: Fix the english of the comment;
1047 remove some type checking; use better variable naming for the
1048 internal menu item markers.
1050 2007-02-09 Emmanuele Bassi <ebassi@gnome.org>
1052 * gtk/gtkrecentchoosermenu.c: Add support for both prepending
1053 and appending custom menu items.
1055 (gtk_recent_chooser_menu_constructor): Add a placeholder menu
1056 item for the empty menu case, and for giving us a starting
1057 point for the recent items populating process.
1059 (gtk_recent_chooser_menu_insert_item),
1060 (gtk_recent_chooser_menu_dispose_items): Insert an item at
1061 the position following the placeholder (and find that position
1064 (idle_populate_func), (idle_populate_clean_up): Show the
1065 placeholder menu item, instead of creating one each time.
1067 (gtk_recent_chooser_menu_populate): Kill some indirections
1068 and hide the placeholder before populating the menu.
1070 (set_recent_manager): Remember to remove the idle population
1071 source if the manager changes.
1073 * tests/testrecentchoosermenu.c: Test the appending and
1074 prepending of the menu items to the recent chooser menu
1077 2007-02-08 Emmanuele Bassi <ebassi@gnome.org>
1079 * gtk/gtkrecentchoosermenu.c (idle_populate_func): Keep count
1080 of the displayed items to build the menu items mnemonic instead
1081 of the overall item count. (#377164)
1083 (idle_populate_clean_up): Append a menu item if all the items
1084 got filtered in the idle populate function. (#405696)
1086 * tests/Makefile.am:
1087 * tests/testrecentchoosermenu.c: Add a test for the
1088 GtkRecentChooserMenu widget.
1090 Thu Feb 8 13:07:08 2007 Tim Janik <timj@imendio.com>
1092 * applied patch from Xan Lopez which adds GTK_BUTTONBOX_CENTER to
1093 GtkButtonBox (bug #336159).
1096 * gtk/gtkvbbox.c, gtk/gtkhbbox.c, gtk/gtkbbox.c:
1097 support GTK_BUTTONBOX_CENTER.
1099 * tests/testbbox.c: new button box test, which allows testing of
1100 the various button box properties.
1102 * tests/testgtk.c: added GTK_BUTTONBOX_CENTER. to button box test.
1104 2007-02-07 Cody Russell <bratsche@gnome.org>
1106 * gdk/gdk.symbols: Add gdk_event_request_motions
1108 Wed Feb 7 19:03:28 2007 Tim Janik <timj@gtk.org>
1110 * gtk/gtkentry.c (gtk_entry_motion_notify): fixed motion request
1111 condition which was wrongly ported with my last commit.
1113 Tue Feb 6 15:53:59 2007 Tim Janik <timj@imendio.com>
1115 * gtk/gtktextview.c (gtk_text_view_motion_event):
1116 * gtk/gtkspinbutton.c (gtk_spin_button_motion_notify):
1117 * gtk/gtkaboutdialog.c (credits_motion_notify_event):
1118 * gtk/gtkhruler.c (gtk_hruler_motion_notify):
1119 * gtk/gtkvruler.c (gtk_vruler_motion_notify):
1120 * gtk/gtkentry.c (gtk_entry_motion_notify):
1121 * gtk/gtktooltip.c (_gtk_tooltip_handle_event):
1122 * gtk/gtkhsv.c (gtk_hsv_motion): call gdk_event_request_motions()
1123 for new motion events after receiving motion hints.
1125 * gdk/gdkevents.[hc]: added gdk_event_request_motions().
1127 2007-02-06 Kristian Rietveld <kris@imendio.com>
1129 * gtk/gtktooltip.c (find_topmost_widget_coords_from_event):
1130 remove unused get of has_tooltip.
1132 * tests/testtooltips.c (query_tooltip_tree_view_cb): use the
1133 portable g_snprintf instead of snprintf.
1135 2007-02-06 Michael Natterer <mitch@imendio.com>
1137 * gtk/gtktooltip.c (gtk_tooltip_finalize): chain up.
1139 (gtk_tooltip_show_tooltip): move variables and code to local
1140 scope. Fixes warnings about maybe uninitialized variables.
1142 2007-02-06 Kristian Rietveld <kris@imendio.com>
1148 * gtk/gtk.symbols: build system foo.
1150 * gtk/gtkmain.c (gtk_main_do_event): call tooltip event handler
1151 hook for appropriate events.
1153 * gtk/gtkmarshalers.list: add BOOLEAN:INT,INT,BOOLEAN,OBJECT.
1155 * gtk/gtkrc.c: add style for gtk-tooltip.
1157 * gtk/gtksettings.c (gtk_settings_class_init): make the
1158 different tooltip timeouts configurable.
1160 * gtk/gtkwidget.[ch]: add new properties, signals, make sure
1161 tooltips are hidden on unmap, destroy, update window event
1162 mask on realize, hook into focus change and show help
1165 * gtk/gtkwindow.h: move GtkWindow typdef to gtkwidget.h ...
1167 * gtk/gtktooltip.[ch]: new files.
1170 * tests/testtooltips.c: add test application.
1172 2007-02-05 Dom Lachowicz <domlachowicz@gmail.com>
1174 * modules/engines/ms-windows/msw_style.c: Fix bug 404506, caused
1175 by prematurely releasing a DC. By Hiroyuki Yamamoto
1176 * modules/engines/ms-windows/msw_style.c: Fix bug 403470 - leaking
1177 pixbufs when drawing rotated tabs. By Daniel Atallah
1179 2007-02-05 Michael Natterer <mitch@imendio.com>
1181 * gtk/gtksettings.c: add new boolean settings gtk-enable-accels
1182 and gtk-enable-mnemonics which enable/disable accelerators and
1183 mnemonics (bug #72375, based on a patch from Tommi Komulainen).
1185 * gtk/gtkwindow.c (gtk_window_activate_key)
1186 * gtk/gtkmenushell.c (gtk_menu_shell_key_press): don't invoke them
1187 if the resp. setting is FALSE.
1189 * gtk/gtkaccellabel.c (gtk_accel_label_refetch)
1190 * gtk/gtklabel.c (gtk_label_set_pattern_internal): don't display
1191 them if the setting is FALSE.
1193 * gtk/gtklabel.c: added signal connection to the screen's settings
1194 object and traverse all widgets on the screen when the setting
1195 changes. It's slightly ugly to also update GtkAccelLabels here,
1196 but less ugly than connecting and traversing all widgets twice.
1198 2007-02-05 Michael Natterer <mitch@imendio.com>
1200 * gtk/gtktextbuffer.h (enum GtkTextBufferTargetInfo): changed
1201 values from G_MAXUINT-0, -1, -2 to -1, -2, -3 so we stay within
1202 ansi C enum value limits. Fixes bug #46757.
1204 2007-02-03 Soren Sandmann <sandmann@daimi.au.dk>
1206 * gtk/gtksequence.[ch]: Remove these files since GSequence has
1207 been moved into GLib.
1209 * gtk/gtkliststore.c: Port to GSequence instead of GtkSequence.
1211 * configure.in: Require glib-2.13.0
1213 2007-02-04 Tor Lillqvist <tml@novell.com>
1215 * gdk/win32/gdkcursor-win32.c: Don't define BITMAPV5HEADER on
1216 mingw with w32api >= 3.8, which has it in wingdi.h. (#403896)
1218 2007-02-02 Kristian Rietveld <kris@gtk.org>
1220 * gtk/gtktreeview.c (gtk_tree_view_row_changed): remove unused
1221 style_get of vertical-separator. (#403165, Chris Wilson).
1223 2007-02-02 Christian Persch <chpe@svn.gnome.org>
1225 * gtk/gtkfilechoosersettings.c: (get_config_filename),
1226 (ensure_settings_read), (_gtk_file_chooser_settings_init),
1227 (_gtk_file_chooser_settings_set_show_hidden),
1228 (_gtk_file_chooser_settings_set_expand_folders),
1229 (_gtk_file_chooser_settings_save): Use a simple key file instead of a
1230 markup file. Bug #399592.
1232 2007-02-02 Mariano Suárez-Alvarez <mariano@gnome.org>
1234 * gtk/gtkcellrenderertext.c(gtk_cell_renderer_text_class_init):
1235 be a little more helpful with the docs on GtkCellRendererText:alignment.
1238 2007-02-01 Michael Natterer <mitch@imendio.com>
1240 * gtk/gtkmenu.c (gtk_menu_paint): pass &event->area to
1241 gtk_paint_box() calls.
1243 2007-02-01 Michael Natterer <mitch@imendio.com>
1245 * gtk/gtkmenu.c (gtk_menu_button_press)
1246 (gtk_menu_button_release)
1247 (gtk_menu_button_scroll): remove redundant and confusing
1248 if (GTK_IS_MENU (widget)) checks because "widget" is always a
1251 Thu Feb 1 12:22:06 2007 Tim Janik <timj@imendio.com>
1253 * gtk/gtkcombobox.c (gtk_combo_box_list_destroy): remove extra reference
1254 that gtkcombobox keeps on priv->popup_widget if it's a tree view.
1256 2007-01-31 Christian Persch <chpe@svn.gnome.org>
1258 * gtk/gtkaboutdialog.c: (update_credits_button_visibility),
1259 (gtk_about_dialog_set_authors), (gtk_about_dialog_set_documenters),
1260 (gtk_about_dialog_set_artists),
1261 (gtk_about_dialog_set_translator_credits): Hide the Credits button iff
1262 there are no credits to show. Bug #402806.
1264 2007-01-31 Tor Lillqvist <tml@novell.com>
1266 * gdk/win32/gdkinput-win32.c (print_cursor): New debugging
1268 (_gdk_input_wintab_init_check): Call it when debugging output is
1270 (_gdk_input_wintab_init_check): Skip duplicated cursors for Wacom
1271 tablets. The Wacom driver reports duplicated cursors with
1272 physid==0. Fix verified by Robert Ögren.
1274 2007-01-30 Felix Riemann <friemann@svn.gnome.org>
1276 * modules/printbackends/file/gtkprintbackendfile.c:
1277 (file_printer_get_options): Fix leaked string. Fixes bug #402565.
1279 2007-01-30 Matthias Clasen <mclasen@redhat.com>
1281 * gdk/x11/gdkwindow-x11.c (gdk_x11_window_move_to_current_desktop):
1282 (gdk_x11_window_set_user_time): Be more careful about toplevel
1283 possibly being NULL. (#402453, Sebastian Bacher)
1285 Tue Jan 30 12:09:56 2007 Tim Janik <timj@gtk.org>
1287 * gtk/gtksettings.c: cleaned up ::color-hash registration to not abuse
1288 class_n_properties and leave an uninitialized value array behind.
1290 2007-01-29 Michael Natterer <mitch@imendio.com>
1292 * gtk/gtkmenuitem.c (gtk_menu_item_select)
1293 (gtk_menu_item_deselect): queue a draw on the parent_menu_item of
1294 this menu item's menu, to enable themeing menu items depending on
1295 whether something is selected in their submenu (patch taken from
1298 2007-01-28 Matthias Clasen <mclasen@redhat.com>
1300 * gtk/gtktoolbar.c: Reinstate gtk_toolbar_content_new_compatibility()
1301 that was mistakenly "cleaned up" a while ago. Also
1302 revert a problematic change to the screen_changed
1303 handler. (#401598, Søren Sandmann)
1305 2007-01-28 Matthias Clasen <mclasen@redhat.com>
1307 * gtk/gtkframe.c (gtk_frame_size_allocation): Fix a
1308 problem with large y thickness. (#136592, Xan Lopez)
1310 2007-01-28 Matthias Clasen <mclasen@redhat.com>
1312 * gtk/gtkaction.c (gtk_action_new): Use canonical
1315 2007-01-27 Matthias Clasen <mclasen@redhat.com>
1317 * gtk/gtknotebook.c (gtk_notebook_draw_arrow):
1318 (gtk_notebook_draw_focus): Avoid some unnecessary
1319 gtk_widget_get_style() calls.
1321 2007-01-27 Matthias Clasen <mclasen@redhat.com>
1324 * gtk/gtktoolitem.c:
1325 * gtk/gtktoolbutton.c: Rearrange things so that setting
1326 multiple properties causes not more than a single
1327 reconstruction of the contents.
1329 * gtk/gtkaction.c (connect_proxy): Set all tool button
1330 properties in one go.
1332 2007-01-27 Matthias Clasen <mclasen@redhat.com>
1334 * gtk/gtkstatusicon.c:
1335 * gtk/gtktrayicon-x11.c: Fix GtkStatusIcon to not
1336 take up space on the panel if it is invisible. (340110, Christian
1339 * tests/teststatusicon.c:
1340 * tests/Makefile.am: Updates
1342 2007-01-27 Matthias Clasen <mclasen@redhat.com>
1346 * gtk/gtk.symbols: Add deprecation guards for gtk_rc_style_ref/unref
1347 and the old file selector. (#348256)
1349 2007-01-26 Matthias Clasen <mclasen@redhat.com>
1351 * gtk/gtkiconview.c: Documentation fixes (#400530, Anders Brander)
1353 2007-01-26 Matthias Clasen <mclasen@redhat.com>
1355 * gtk/updateiconcache.c: Check the mtime of all directories,
1356 not just the toplevel, if ftw() is available. (#331671, Behdad
1359 * configure.in: Check for ftw.h.
1361 2007-01-26 Michael Natterer <mitch@imendio.com>
1363 * modules/input/gtkimcontextxim.c (gtk_im_context_xim_finalize):
1364 destroy the XIM only if it exists. While the code does look safe
1365 in general, there can be corner cases where the "reconnecting"
1366 boolean being FALSE does not correspond to the XIM being
1367 allocated (fixes #329450, fix taken from maemo-gtk).
1369 Fri Jan 26 13:07:07 2007 Tim Janik <timj@imendio.com>
1371 * gtk/gtkstyle.c (draw_insertion_cursor): clamp cursor coordinates to
1372 window bounds (fix from Maemo Gtk).
1374 2007-01-26 Michael Natterer <mitch@imendio.com>
1376 * gtk/gtkentrycompletion.c (gtk_entry_completion_insert_prefix):
1377 only block/unblock completion->priv->insert_text_id if it is
1378 actually connected. While this can't happen the way GtkEntry
1379 itself uses the completion, it's still public API and should not
1380 blindly call functions that will spit warnings (fix taken from
1383 2007-01-25 Matthias Clasen <mclasen@redhat.com>
1385 * gdk/gdkwindow.c: Reduce locking overhead by not repeatedly getting
1386 the paintable iface.
1388 2007-01-24 Michael Natterer <mitch@imendio.com>
1390 * gtk/gtkwidget.c (gtk_widget_set_state): revert generic disabling
1391 of PRELIGHT state for the reasons given in bug #135666. Widget
1392 states are sometimes abused or otherwise used wrongly for historic
1393 reasons, causing this part of the patch to break e.g. menu items.
1395 2007-01-24 Roozbeh Pournader <roozbeh@farsiweb.info>
1397 * README: Remove mention of no-longer-existing PATCH
1398 keyword in bugzilla. (#396899)
1400 2007-01-23 Carlos Garcia Campos <carlosgc@gnome.org>
1402 * gtk/gtkpagesetup.c
1403 (gtk_page_setup_set_paper_size_and_default_margins): Fix memory leak.
1406 2007-01-22 Chris Wilson <chris@chris-wilson.co.uk>
1408 Bug 399314 – Add G_GNUC_WARN_UNUSED_RESULT to gtk_style_attach
1411 Cause gcc to issue a warning if the style returned from
1412 gtk_style_attach is not used. Failure to update
1413 widget->style causes some very difficult to reproduce bugs,
1414 eg Bug 353498 – crash in Terminal: changing icon theme.
1416 2007-01-19 Michael Emmel <mike.emmel@gmail.com>
1418 * gdk/directfb/gdkevents-directfb.c: added fixes for window
1419 crossing events frm Attilio Fiandrotti<attilio.fiandrotti@gmail.com>
1421 2007-01-19 Matthias Clasen <mclasen@redhat.com>
1423 * gtk/gtkcalendar.c: Fix build breakage.
1425 2007-01-19 Kristian Rietveld <kris@imendio.com>
1427 * gtk/gtktreeview.c (gtk_tree_view_motion_bin_window),
1428 (add_scroll_timeout), (gtk_tree_view_drag_motion): factor out
1429 add_scroll_timeout(). (taken from maemo-gtk).
1431 2007-01-18 Matthias Clasen <mclasen@redhat.com>
1433 * gtk/gtkcalendar.c: Fix problems with the initial
1434 focus in GtkCalendar. (#397783, Vincent Untz)
1436 2007-01-19 Robert Ögren <gtk@roboros.com>
1438 Fix for bug #143460 - missed tablet clicks on Windows
1440 * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check):
1441 Request absolute reporting of tablet button state, and cut down
1442 the packet queue size a bit.
1443 (_gdk_input_other_event): Change button state handling
1444 accordingly. Also drop the no longer necessary code that detects
1445 missed clicks/releases for button 1. The switch to absolute button
1446 state should prevent missed events for all buttons. Additionally,
1447 swap button 2 and 3.
1448 (_gdk_input_grab_pointer): Don't reset button_state, that will only
1449 cause a new press event as soon as the next tablet packet arrives.
1451 2007-01-19 Tor Lillqvist <tml@novell.com>
1453 Build Wintab support always on Windows. Don't require the Wintab
1456 * configure.in: Drop the --with-wintab option. Drop the
1457 HAVE_WINTAB feature test macro and Automake variable.
1460 * config.h.win32.in: Drop HAVE_WINTAB.
1462 * gdk/win32/gdkevents-win32.c
1463 * gdk/win32/gdkinput.c
1464 * gdk/win32/gdkinput-win32.h
1465 * gdk/win32/gdkinput-win32.c
1466 * gdk/win32/gdkmain-win32.c: Make HAVE_WINTAB ifdef blocks
1469 * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Try
1470 to load wintab32.dll dynamically here. If it is found look up the
1471 handful Wintab functions we use.
1472 (rest of file): Use these function pointers instead of calling the
1473 functions from wntab32x.lib. The code in wntab32x.lib did the same
1474 thing anyway: tried to load wintab32.dll, and looked up the
1475 addresses of the actual functions from it.
1478 * gdk/win32/Makefile.am: Drop the libwntab32x hacks.
1480 * gdk/win32/wintab.h
1481 * gdk/win32/pktdef.h: New files. Copied from the Wintab
1482 SDK. Copyright blurb says: "The text and information contained in
1483 this file may be freely used, copied, or distributed without
1484 compensation or licensing restrictions."
1486 * README.win32: Update a bit. Remove the text about the Wintab
1489 2007-01-18 Tor Lillqvist <tml@novell.com>
1491 * gdk-pixbuf/Makefile.am
1493 * gdk/win32/Makefile.am
1494 * gtk/Makefile.am: Fixes for building outside srcdir on
1495 Win32. (#336819, #340013) Drop distributing the handmade .la
1496 libtool wrapper for the wntab32x library. It's too much trouble
1497 making it work when building outside srcdir. Just link to the
1498 library direcly using -Wl,win32/libwntab32x.a.
1500 2007-01-18 Michael Natterer <mitch@imendio.com>
1502 * gtk/gtkcheckbutton.c
1507 * gtk/gtkviewport.c: pass more clip rectangles to gtk_paint_foo()
1508 functions. Based on a patch from maemo-gtk (bug #398023).
1510 2007-01-17 Tor Lillqvist <tml@novell.com>
1512 * gtk-zip.sh.in: Include also the COPYING file.
1514 2007-01-17 Matthias Clasen <mclasen@redhat.com>
1516 * modules/printbackends/cups/gtkprintbackendcups.c: Don't use
1517 httpGetFd() when building against cups 1.1
1519 2007-01-17 Tor Lillqvist <tml@novell.com>
1521 Proper fix for #396175:
1523 * gtk/gtkimmulticontext.c: Revert change by Hans Breuer below: Do
1524 include gtkprivate.h. On Win32 we do want to use the redefinition
1525 of GTK_LOCALEDIR as a call to the function _gtk_get_localedir().
1527 * gtk/gtkimmodule.c: Instead, correct the prefix also on
1528 simple_context_info.domain_dirname. Do the prefix corrections
1529 always on Win32, not just when GTK_LIBDIR is defined. i.e., until
1530 now they were done only in the autoconfiscated gcc builds. Hans
1531 needs to make sure GTK_LIBDIR and GTK_LOCALEDIR are defined also
1533 (correct_localedir_prefix): New function, like
1534 correct_libdir_prefix(), but for GTK_LOCALEDIR, in case
1535 GTK_LOCALEDIR is not a descendant of GTK_LIBDIR.
1536 (gtk_im_module_initialize): Thus call correct_localedir_prefix()
1537 on the domain_dirname instead of correct_libdir_prefix().
1538 (_gtk_im_module_list): Call correct_localedir_prefix() on
1539 simple_context_info.domain_dirname.
1541 2007-01-16 Matthias Clasen <mclasen@redhat.com>
1543 * gtk/gtkrange.c (range_grab_remove): Queue a redraw when the
1544 grab changes. (#396470, Benjamin Berg)
1546 2007-01-15 Emmanuele Bassi <ebassi@gnome.org>
1548 * gtk/gtkrecentchoosermenu.c: Ellipsize the menu items label
1549 if they grow too much. (#357303)
1551 2007-01-14 Matthias Clasen <mclasen@redhat.com>
1553 * gtk/gtkicontheme.c (theme_lookup_icon): When finding a matching
1554 non-scalable dir, keep going and look for a closer match.
1555 (#395830, Luca Ferretti)
1557 2007-01-14 Christian Persch <chpe@svn.gnome.org>
1559 * gtk/gtkclipboard.c: (gtk_clipboard_set_text),
1560 (gtk_clipboard_set_image): Use gtk_target_table_new_from_list and
1561 gtk_target_table_free instead of duplicating the code. Bug #396493.
1563 2007-01-13 Matthias Clasen <mclasen@redhat.com>
1565 * gtk/gtkuimanager.c: Don't crash if menu or toolbar
1566 positions can't be found. (#396161, Hans Breuer)
1568 2007-01-13 Matthias Clasen <mclasen@redhat.com>
1570 * gtk/gtkselection.c (_gtk_selection_request): Plug
1571 memory leaks. (#396160, Carlos Garcia Campos)
1573 2007-01-13 Matthias Clasen <mclasen@redhat.com>
1575 * configure.in: Link libgtk against Xfixes. (#396074,
1578 2007-01-13 Matthias Clasen <mclasen@redhat.com>
1580 * gtk/gtkradiobutton.c (gtk_radio_button_focus): Avoid
1581 a compiler warning. (#395045, Chris Wilson)
1583 2007-01-13 Hans Breuer <hans@breuer.org>
1585 * gtk/gtkprintoperation-win32.c : take the custom tab label from
1586 gtk_print_operation_set_custom_tab_label() into account (bug #390746).
1588 * gtk/gtkimmulticontext.c : don't include "gtkprivate.h" to avoid
1589 differing definitions of GTK_LOCALEDIR (bug #396175).
1591 * gtk/gtktreeview.c : use g_snprintf instead of snprintf, which is
1592 not available everywhere
1594 * gtk/makefile.msc.in : updated
1596 2007-01-12 Michael Natterer <mitch@imendio.com>
1598 * gtk/gtkentry.c (gtk_entry_button_press): don't add
1599 entry->scroll_offset to entry->drag_start_y. Fixes the entry
1600 starting drags after ridiculously small mouse movements.
1602 2007-01-11 Richard Hult <richard@imendio.com>
1604 * demos/gtk-demo/main.c: (load_file): Close the file after it's
1605 loaded (bug #395316).
1607 2007-01-11 Kjartan Maraas <kmaraas@gnome.org>
1609 * gtk/gtkfilesystemunix.c: (expand_tilde):
1610 Make a single tilde go to $HOME in the location entry.
1611 Patch from Yevgen Muntyan. Closes the gtk+ part of
1614 2007-01-10 Behdad Esfahbod <behdad@gnome.org>
1616 * gdk/gdkpango.c (gdk_draw_layout_with_colors):
1617 * gtk/gtklabel.c (gtk_label_size_request):
1618 Use pango_matrix_transform_rectangle(). (#340141)
1620 * configure.in: Bump pango requirement to 1.15.3.
1622 2007-01-10 Kristian Rietveld <kris@imendio.com>
1624 * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_init):
1625 refactor to initialize indicator_size to TOGGLE_WIDTH instead
1626 of the hardcoded value of 12.
1628 2007-01-09 Matthias Clasen <mclasen@redhat.com>
1630 * configure.in: Fix the directfb cairo test. (#394855,
1633 2007-01-09 Behdad Esfahbod <behdad@gnome.org>
1635 * configure.in: Fix comment for --with-included-loaders. That option
1636 affects builds with module loading enabled too.
1638 2006-01-08 Peter Teichman <peter@novell.com>
1640 * gtk/gtkfilechooserdefault.c:
1641 * gtk/gtkfilechooserprivate.h:
1642 * gtk/gtkfilechoosersettings.c:
1643 * gtk/gtkfilechoosersettings.h:
1644 Save the expanded state of the folder browser with the file
1645 chooser settings. Resolves the expander portions of (#153828,
1648 2007-01-08 Emmanuele Bassi <ebassi@gnome.org>
1650 * gtk/gtkrecentchoosermenu.c (gtk_recent_chooser_menu_create_item):
1651 Don't leak the icon pixbuf after setting it to the image menu
1652 item. Found by Paolo Borelli.
1654 2007-01-08 Matthias Clasen <mclasen@redhat.com>
1656 * gtk/gtktreemodel.c (gtk_tree_path_to_string): Don't
1657 corrupt memory when faced with paths with ridiculously
1658 large indices. Found by the GTKVTS test suite.
1660 2007-01-08 Matthias Clasen <mclasen@redhat.com>
1662 * gtk/gtkmodules.c (_gtk_modules_init): Set
1663 default_display_opened before loading modules. (#393102,
1666 2007-01-07 Matthias Clasen <mclasen@redhat.com>
1668 * gtk/gtktextview.c (gtk_text_view_set_border_window_size):
1669 Call text_window_realize() with the correct parameters.
1670 (#393813, Yevgen Muntyan)
1672 2007-01-07 Matthias Clasen <mclasen@redhat.com>
1674 * gtk/gtkstatusbar.c: Move docs inline, and expand them
1677 2007-01-06 Matthias Clasen <mclasen@redhat.com>
1679 * gtk/gtklabel.c: Make line wrapping work with width-chars
1680 and max-width-chars, and simplify the storage of wrap-width.
1681 (#322580, Itai Bar-Haim)
1683 2007-01-06 Tor Lillqvist <tml@novell.com>
1685 * gdk/win32/cursor.bdf: New file. Downloaded from
1686 freedesktop.org's webcvs. Slighly edited cursors "crosshair",
1687 "diamond_cross", "draft_large", "gobbler" and "target" to fix
1688 #392504. It is possible that the same end result could have been
1689 achieved by tweaking bdfcursor.c instead.
1691 * gdk/win32/bdfcursor.c: Add optional debugging output.
1693 * gdk/win32/xcursors.h: Regenerated.
1695 2007-01-05 Matthias Clasen <mclasen@redhat.com>
1697 * gtk/gtknotebook.c (gtk_notebook_set_menu_label_text): Left-align
1698 menu labels. (#393255, Michail Crayson)
1700 2007-01-05 Kristian Rietveld <kris@gtk.org>
1702 * gtk/gtktreeview.c (gtk_tree_view_dy_to_top_row): handle tree
1703 == NULL. (Fixes #392685, reported by Yevgen Muntyan).
1705 2007-01-05 Kristian Rietveld <kris@gtk.org>
1707 * gtk/gtktreeview.c (gtk_tree_view_row_changed): do allow to
1708 invalidate nodes if the tree view is not realized. (#363147,
1709 Carlos Garnacho, Miguel Cabrera).
1711 2007-01-05 Matthias Clasen <mclasen@redhat.com>
1713 * gtk/gtkmenu.c (gtk_menu_paint): Take the scroll arrow into
1714 account when drawing the background. (#393166, Benjamin Berg)
1716 2007-01-05 Behdad Esfahbod <behdad@gnome.org>
1718 * gtk/gtklabel.c (get_layout_location): Fix broken width computation,
1721 2007-01-05 Carlos Garnacho <carlosg@gnome.org>
1723 * gtk/gtknotebook.c (gtk_notebook_size_request): take into account
1724 both scroll arrows when calculating size request in GTK_POS_LEFT or
1725 GTK_POS_RIGHT notebooks. (#393124, reported by Christian Persch)
1727 2007-01-05 Michael Natterer <mitch@imendio.com>
1729 * gtk/gtkwindow.c (gtk_window_key_release_event): chain up to
1730 the right function (fix taken from maemo-gtk).
1732 2007-01-05 Behdad Esfahbod <behdad@gnome.org>
1735 * gdk/gdkpango.c (gdk_draw_layout_line_with_colors),
1736 (gdk_draw_layout_with_colors):
1737 * gdk/gdkwindow.c (gdk_window_draw_glyphs_transformed):
1738 Avoid overflow when converting coordinates to Pango units. (#332266,
1741 2007-01-04 Matthias Clasen <mclasen@redhat.com>
1743 * gtk/gtkcombobox.c (gtk_combo_box_popup): move set_cursor
1744 after realization of the popup window, so clamp node doesn't fail.
1745 (#346616, Tommi Komulainen, patch by Kristian Rietveld).
1747 2007-01-04 Behdad Esfahbod <behdad@gnome.org>
1749 * gtk/gtklabel.c (get_layout_location): Fix uninitialized width
1752 2007-01-04 Matthias Clasen <mclasen@redhat.com>
1755 * gdk-pixbuf/Makefile.am:
1757 * gdk/win32/rc/gdk.rc.in: Cross-compilation fixes.
1758 (#392646, Yevgen Muntyan)
1760 2007-01-04 Matthias Clasen <mclasen@redhat.com>
1762 * demos/gtk-demo/textscroll.c:
1763 * gtk/gtkhandlebox.c:
1764 * gtk/gtkcolorsel.c: Fix some compiler warnings.
1766 2007-01-03 Matthias Clasen <mclasen@redhat.com>
1768 * gtk/gtktextview.c: Rework the beep-on-uninserted-text
1769 by calling the input method regardless of editability,
1770 and beeping from the commit/preedit-changed handlers.
1771 (#390514, Yevgen Muntyan)
1773 2007-01-03 Matthias Clasen <mclasen@redhat.com>
1775 Fix #332604, reported by Joe Wreschnig, patch
1776 by Jan Arne Petersen and Behdad Esfahbod.
1778 * gtk/gtklabel.c (gtk_label_size_allocate): Only
1779 set the width of the layout when necessary.
1780 (get_layout_location): Use pango_layout_get_pixel_extents()
1781 instead of pango_layout_get_width().
1783 2007-01-03 Matthias Clasen <mclasen@redhat.com>
1785 * modules/printbackends/cups/gtkprintbackendcups.c
1786 (available_choices): Don't leak conflicts.
1788 * gtk/gtkprintoperation.c (gtk_print_operation_finalize):
1789 Don't leak the status string.
1791 2007-01-03 Matthias Clasen <mclasen@redhat.com>
1793 * gtk/gtkfilechooserdefault.c (update_chooser_entry):
1794 Exit early if we can't get file info - this happens
1795 if the iter points to the row where we are editing
1796 the name for a newly created folder. (#392191, Michael
1797 Partridge, patch by Kristian Rietveld)
1799 2007-01-03 Matthias Clasen <mclasen@redhat.com>
1802 * gdk/x11/*.c: Apply a patch by Chris Wilson to
1803 avoid spurious valgrind warnings from XSendEvent()
1806 * modules/printbackends/cups/gtkprintbackendcups.c: Close
1807 the http connection after getting the PPD.
1809 * gtk/gtkprinteroptionwidget.c (filesave_changed_cb):
1812 2007-01-03 Matthias Clasen <mclasen@redhat.com>
1814 * gtk/gtkassistant.c (remove_page): If the current page
1815 is removed, always pick a different one. (#392457,
1818 2007-01-03 Matthias Clasen <mclasen@redhat.com>
1820 * modules/printbackend/cups/*.c: Coding style cleanups.
1822 2007-01-03 Matthias Clasen <mclasen@redhat.com>
1824 * configure.in: Export SED to make sourcing of
1825 libtool work. Tighten up the directfb pkgconfig check.
1827 2007-01-03 Michael Natterer <mitch@imendio.com>
1829 * gtk/gtkstyle.c (option_menu_get_props)
1830 * gtk/gtkoptionmenu.c (gtk_option_menu_get_props): Use
1831 gtk_border_free when freeing borders.
1833 2007-01-03 Matthias Clasen <mclasen@redhat.com>
1835 * gtk/gtkentry.c (get_text_area_size): Work when the
1836 entry is not realized. (#392315, Yevgen Muntyan)
1838 * gtk/gtkentry.c (gtk_entry_queue_draw): Use
1839 GTK_WIDGET_DRAWABLE() here. (#392227, Chris Wilson)
1841 * gtk/gtkentry.c (cursor_blinks): Don't get settings
1842 unnecessarily. (#392227)
1844 2007-01-02 Matthias Clasen <mclasen@redhat.com>
1846 * gtk/gtkwindow.c (gtk_window_move_resize): Only process
1847 updates on the window at hand, not on all windows, to
1848 avoid violating resize/redraw ordering constraints.
1849 (#362406, Owen Taylor)
1851 2007-01-03 Kristian Rietveld <kris@gtk.org>
1853 * gtk/gtkcellrendererprogress.c
1854 (gtk_cell_renderer_progress_class_init): fix docs.
1856 2007-01-02 Matthias Clasen <mclasen@redhat.com>
1858 * gtk/updateiconcache.c: Include locale.h
1860 2007-01-02 Matthias Clasen <mclasen@redhat.com>
1862 * gtk/updateiconcache.c (main): Call setlocale().
1865 * gtk/gtkfilesystemunix.c:
1866 * gtk/gtkfilesystemwin32.c:
1867 * gtk/gtkfilechoosersettings.c:
1868 * gtk/updateiconcache.c: Consistently use folder instead of
1869 directory in translated messages. (#344584, Javier F. Serrador)
1871 2007-01-02 Matthias Clasen <mclasen@redhat.com>
1873 Try to fix #315732, reported by Luke Hutchinson:
1875 * gdk/x11/xsettings-client.[hc]:
1876 * gdk/x11/gdkdevents-x11.c: Don't assume that ref'ing a GdkWindow
1877 will guarantee that it can be looked up in the xid hash later.
1878 Also, use the nesting server grab function during the xsettings
1879 client initialization. Finally, make xsettings client not
1880 eat DestroyNotifys so that GDK can do its regular cleanup.
1882 2007-01-02 Michael Natterer <mitch@imendio.com>
1884 * gtk/gtkrange.c (gtk_range_scroll) (gtk_range_move_slider): beep
1885 when a keybinding didn't change adjustment->value.
1887 2007-01-02 Matthias Clasen <mclasen@redhat.com>
1889 * gtk/gtktextbuffer.c (gtk_text_view_key_press_event):
1890 Try harder not to beep on events which are not meant to
1891 insert stuff in the buffer. (#390514, Yevgen Muntyan)
1893 2007-01-02 Matthias Clasen <mclasen@redhat.com>
1895 * gtk/gtktextbufferrichtext.c: Small documentation fixes.
1897 2007-01-02 Matthias Clasen <mclasen@redhat.com>
1899 * gtk/gtkentry.c (get_text_area_size): Center in the frame.
1900 (#304482, Rob Staudinger, patch by Richard Stellingwerff)
1902 2007-01-02 Michael Emmel <mike.emmel@gmail.com>
1904 * gdkwindow-directfb.c: fixed leak of dfb resource on destroy
1906 2007-01-01 Matthias Clasen <mclasen@redhat.com>
1908 * gtk/gtkscrolledwindow.h:
1909 * gtk/gtkscrolledwindow.c: Only handle key bindings
1910 for scrolling if the scrollbars are visible.
1911 (#340135, Christian Persch)
1913 2007-01-01 Matthias Clasen <mclasen@redhat.com>
1915 * gtk/gtktextview.c (gtk_text_view_scroll_hpages):
1916 Don't segfault on horizontal scrolling.
1918 2007-01-01 Matthias Clasen <mclasen@redhat.com>
1920 * gtk/gtknotebook.h:
1921 * gtk/gtknotebook.c: Only handle key bindings for
1922 tab reordering if the tabs are shown and reorderable.
1923 (#390468, Yevgen Muntyan)
1925 * gtk/gtkmarshalers.list: Add required marshaler
1927 2007-01-01 Matthias Clasen <mclasen@redhat.com>
1929 * gtk/gtkcontainer.c (gtk_container_class_list_child_properties):
1930 Mention in the docs that the return value is
1931 NULL-terminated. (#383373, Christian Neumair)
1933 2007-01-01 Matthias Clasen <mclasen@redhat.com>
1935 * gtk/gtkicontheme.c (load_themes): Waste less time
1936 with non-directories. (#391725, Chris Wilson)
1938 2007-01-01 Matthias Clasen <mclasen@redhat.com>
1940 * gtk/gtkcellrendererprogress.c: Implement activity mode
1941 for GtkCellRendererProgress. (#377851, Brad Taylor)
1943 2007-01-01 Matthias Clasen <mclasen@redhat.com>
1945 Fix some IPP compliance issues. (#391523, Albrecht Dress)
1947 * modules/printbackends/cups/gtkcupsutils.c
1948 (gtk_cups_request_encode_option): Use IPP_TAG_JOB, not
1950 * modules/printbackends/cups/gtkprintbackendcups.c
1951 (gtk_print_backend_cups_print_stream): Don't add the
1952 requesting-user-name attribute a second time.
1954 2007-01-01 Matthias Clasen <mclasen@redhat.com>
1956 * gtk/gtkimcontextsimple.c: Fix en/em dash confusion. (#378462)
1958 2006-12-31 Emmanuele Bassi <ebassi@gnome.org>
1960 * gtk/gtkrecentchoosermenu.c (set_recent_manager): Use the
1961 right object when disconnecting from the GtkRecentManager::changed
1962 signal; save us a few indirections using a variable.
1964 2006-12-31 Emmanuele Bassi <ebassi@gnome.org>
1966 * gtk/gtkrecentchoosermenu.c: Move the signal and idle
1967 disconnections into the dispose function, as well as the
1968 object unrefs; reset every handler id and the
1969 pointers. (suggested by Paolo Borelli, #390873)
1971 2006-12-31 Matthias Clasen <mclasen@redhat.com>
1973 * gtk/gtkprintoperation-win32.c: Include windows.h (#391229,
1976 2006-12-30 Matthias Clasen <mclasen@redhat.com>
1978 * gtk/gtktextview.c (gtk_text_view_destroy): Remove the
1979 scroll timeout. (#390872, Yevgen Muntyan)
1981 2006-12-30 Matthias Clasen <mclasen@redhat.com>
1983 * gtk/gtkprintoperation-unix.c:
1984 * gtk/gtkprintbackend.c:
1985 * gtk/gtkfilechooserdefault.c:
1986 * gtk/gtksettings.c: Move a few settings to gtksettings.c
1987 to make sure they show up in the docs. (#365364, Christian
1990 2006-12-30 Matthias Clasen <mclasen@redhat.com>
1992 * gtk/gtkassistant.c: Redraw assistant on reallocate
1993 to avoid rendering glitches. (#343956, Christian
1994 Persch, Carlos Garnacho)
1996 2006-12-30 Matthias Clasen <mclasen@redhat.com>
1998 * gtk/gtkrange.c: Typo fix. (#352121, Clytie Siddall)
2000 2006-12-30 Matthias Clasen <mclasen@redhat.com>
2002 * gtk/gtkaction.c: Improve the docs of the "label"
2003 property. (#341730, Kristof Vansant)
2005 2006-12-30 Matthias Clasen <mclasen@redhat.com>
2007 * gtk/gtkwindow.c (gtk_window_compute_configure_request_size):
2008 Correctly handle min size. (#320465, Philipp Langdale)
2010 2006-12-30 Matthias Clasen <mclasen@redhat.com>
2012 * gtk/prop-editor.c: Implement editing of flags.
2014 2006-12-30 Matthias Clasen <mclasen@redhat.com>
2019 * gtk/gtkstatusbar.c:
2020 * gtk/gtktextview.c: Don't install cursors on insensitive
2021 widgets. (#358864, Jan Schampera)
2023 2006-12-29 Matthias Clasen <mclasen@redhat.com>
2025 * gtk/gtkrecentmanager.h:
2026 * gtk/gtkprintoperation.c: Fix doc typos. (#370909,
2029 * gtk/gtkstyle.c (gtk_style_attach): Clarify docs. (#353423,
2032 * gtk/gtkentry.c (blink_cb):
2033 * gtk/gtktextview.c (blink_cb): Don't die in an assertion
2034 if focus went missing. Just warn, clean up and continue.
2037 2006-12-29 Carlos Garnacho <carlosg@gnome.org>
2039 * gtk/gtknotebook.c (gtk_notebook_scroll): return if the widget that
2040 originally received the event is a notebook page. (#315440, reported
2043 2006-12-29 Matthias Clasen <mclasen@redhat.com>
2045 * gdk/gdkcolor.c (gdk_color_hash): Fix a typo. (#390613,
2048 2006-12-29 Matthias Clasen <mclasen@redhat.com>
2050 * tests/prop-editor.c: Display children of containers
2051 and cell renderers of cell layouts.
2054 * gtk/gtkcelllayout.[hc] (gtk_cell_layout_get_cells):
2055 New function to get the cell renderers of a cell layout.
2057 * gtk/gtktreeviewcolumn.c:
2058 * gtk/gtkcellview.c:
2059 * gtk/gtkiconview.c: Implement get_cells.
2061 2006-12-28 Matthias Clasen <mclasen@redhat.com>
2063 * gtk/gtkiconview.c: Use word wrapping by default, and
2064 center multiline labels. (#318763, Ross Burton)
2066 * gtk/gtkcellrenderertext.c (get_layout): Remove a special
2067 case for single-line layouts.
2069 2006-12-28 Matthias Clasen <mclasen@redhat.com>
2071 * gtk/gtkarrow.c: Fix a typo in the docs. (#390423,
2074 * gtk/gtkuimanager.c (update_node): Only use the results
2075 of find_menu/toolbar_position() if they succeed. May fix
2078 2006-12-28 Matthias Clasen <mclasen@redhat.com>
2080 * gdk/gdk.c: Fix some formatting errors in docs.
2082 2006-12-28 Tor Lillqvist <tml@novell.com>
2084 * gtk/gtkstatusicon.c (gtk_status_icon_finalize)
2085 (gtk_status_icon_update_image): Don't leak HICONs on
2086 Win32. (#364868, Hiroyuki Yamamoto)
2088 2006-12-28 Carlos Garnacho <carlosg@gnome.org>
2090 Make GtkNotebook able to drop detached tabs anywhere. Bug #360225.
2092 * gtk/gtkwidget.c (gtk_widget_class_init): add "drag-failed" signal.
2093 * gtk/gtkmarshalers.list: add new marshaler definition.
2094 * gtk/gtkenums.h: add GtkDragResult enum.
2096 * gtk/gtkdnd.c (gtk_drag_drop_finished): emit "drag-failed" if DND
2097 operation wasn't successful.
2098 (_gtk_drag_source_handle_event) (gtk_drag_drop)
2099 (gtk_drag_selection_get) (gtk_drag_cancel) (gtk_drag_key_cb)
2100 (gtk_drag_grab_broken_event_cb) (gtk_drag_grab_notify_cb)
2101 (gtk_drag_button_release_cb) (gtk_drag_abort_timeout): tell
2102 gtk_drag_drop_finished() the operation result.
2104 * gtk/gtknotebook.c (gtk_notebook_drag_failed): new function.
2105 (gtk_notebook_drag_data_get): do not call window creation hook here.
2106 (gtk_notebook_init): do not set "application/x-rootwindow-drop"
2107 target, instead connect to "drag-failed".
2108 (gtk_notebook_draw_focus): fix potential crasher if cur_page is NULL.
2110 2006-12-28 Mikael Hallendal <micke@imendio.com>
2112 * gdk/quartz/gdkevents-quartz.c: Factored out the event loop
2113 integration into gdkeventloop-quartz.c.
2115 * gdk/quartz/Makefile.am: Added gdkeventloop-quartz.c
2117 * gdk/quartz/gdkeventloop-quartz.c: New file containing the event loop
2120 2006-12-27 Matthias Clasen <mclasen@redhat.com>
2122 * modules/printbackends/lpr/gtkprintbackendlpr.c
2123 (gtk_print_backend_lpr_print_stream): Close the io channel
2124 on unref. (#390159, Joe Markus Clarke)
2126 2006-12-27 Matthias Clasen <mclasen@redhat.com>
2128 * gdk/gdk.h: Remove redundant declarations (#390097,
2131 2006-12-27 Kristian Rietveld <kris@gtk.org>
2133 Support inverting arrows via XSetting. (#377979, Yevgen Muntyan).
2135 * gtk/gtksettings.c (gtk_settings_class_init): add new setting
2136 gtk-alternative-sort-arrows.
2138 * gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting): add
2141 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: set new
2142 gtk-alternative-sort-arrows setting to true.
2144 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
2145 invert direction if gtk-alternative-sort-arrows is TRUE.
2147 2006-12-27 Tor Lillqvist <tml@novell.com>
2149 * gtk/gtk.symbols: Add gtk_status_icon_get_screen and
2150 gtk_status_icon_set_screen.
2152 * gtk/gtkstatusicon.c: Implement gtk_status_icon_position_menu()
2153 on Windows. Keep track of where the last button click on the
2154 taskbar icon took place, and return that. Obviously not correct if
2155 no button has ever been clicked on the icon, or if the geometry of
2156 the taskbar has changed since. But for most use cases where a menu
2157 is going to be displayed as a direct result of a button click on
2158 the status icon, works fine. (#377349)
2160 Implement getting the orientation property on Windows.
2162 (gtk_status_icon_embedded_changed)
2163 (gtk_status_icon_orientation_changed): Ifdefify these functions
2164 that are used only on X11.
2166 2006-12-27 Tor Lillqvist <tml@novell.com>
2168 * gtk/gtkfilesystemwin32.c (execute_callbacks): Fix
2169 typo. (#390035, Kazuki Iwamoto)
2171 2006-12-27 Matthias Clasen <mclasen@redhat.com>
2173 * gtk/gtkcellview.c (gtk_cell_view_set_model): Accept NULL.
2175 * gtk/gtkcombobox.c (gtk_combo_box_set_model):
2176 (gtk_combo_box_unset_model): Handle repeated unsetting
2177 of models without warnings. (#367529, Robert Ancell)
2179 2006-12-27 Matthias Clasen <mclasen@redhat.com>
2181 * modules/printbackends/cups/gtkcupsutils.c:
2182 * modules/printbackends/cups/gtkprintbackendcups.c: Use
2183 getters for http fields where available. (#364866,
2186 2006-12-27 Matthias Clasen <mclasen@redhat.com>
2188 * gtk/gtkwidget.c (gtk_widget_show): Add a g_return_if_fail.
2189 (#362614, Xan Lopez)
2191 2006-12-27 Matthias Clasen <mclasen@redhat.com>
2193 * gtk/gtkuimanager.c (update_node): If a required action
2194 is missing, don't recurse over the children. (#349119,
2197 2006-12-27 Matthias Clasen <mclasen@redhat.com>
2199 Fix a few problems with nested menus in comboboxes
2200 (#386694, Yevgen Muntyan)
2202 * gtk/gtkcombobox.c (gtk_combo_box_menu_fill_level): Always
2203 connect the activate callback.
2204 (gtk_combo_box_menu_item_activate): Do nothing if called on
2205 an item with a submenu.
2206 (gtk_combo_box_menu_row_deleted): Remove a submenu when it
2209 2006-12-26 Mariano Suárez-Alvarez <mariano@gnome.org>
2211 * gtk/gtkfilechooserbuuton.[hc]: Add a file-set signal to the
2212 filechooser button. Bug 353196.
2214 2006-12-26 Kristian Rietveld <kris@gtk.org>
2216 * gtk/gtktreeview.c (gtk_tree_view_search_init): fix typo causing
2217 the search dialog timeout never to be refreshed. (#389581,
2218 Andrzej Szombierski).
2220 2006-12-26 Kristian Rietveld <kris@gtk.org>
2222 Lots of scrolling fixes. Made scrolling work properly in not fully
2223 validated tree views; fixed a bunch of corner cases.
2225 * gtk/gtktreeview.c (validate_visible_area): if a row's dy is past
2226 upper - page_size, we know it is located at the end so the test for
2227 dy + height has been dropped.
2228 In the same case if area_below < 0, we know this is the last node
2229 in the tree view so area_above is page_size - height of this row.
2230 (validate_visible_area): got rid of subtracting new_height -
2231 old_height from area_{below,above}, it didn't make any sense at
2232 all and the full height of the row should be subtracted instead.
2233 (validate_visible_area): when scrolling to a given path, set the
2234 top row directly together with the dy offset, then sync that top_row
2236 (gtk_tree_view_set_top_row): new function to directly set a top_row.
2237 (gtk_tree_view_dy_to_top_row): refactored to use
2238 gtk_tree_view_set_top_row().
2239 (gtk_tree_view_top_row_to_dy): make sure dy >= 0 when done.
2240 (gtk_tree_view_adjustment_changed): only update our dy and
2241 top_row if the adjustment's dy actually changed.
2243 2006-12-26 Christian Persch <chpe@cvs.gnome.org>
2245 * gtk/gtknotebook.c: (gtk_notebook_real_insert_page):
2246 Return the correct value from gtk_notebook_insert_page if the
2247 page-added handler reorders the tabs. Bug #345094.
2249 2006-12-26 Carlos Garnacho <carlosg@gnome.org>
2251 Fix small regressions in GtkNotebook tab detaching. Bug #378852.
2253 * gtk/gtknotebook.c (gtk_notebook_do_arrow): grab focus to allow tabs
2254 scrolling when hovering with a detached tab.
2255 (gtk_notebook_stop_reorder): Do not deparent the wrong tab if the
2256 focus tab has changed during a tab DND operation.
2257 (gtk_notebook_drag_end): ensure that the dropped tab gets focused.
2258 (gtk_notebook_paint): do not take cur_page as a reference to paint the
2259 box if it's detached.
2260 (gtk_notebook_calculate_tabs_allocation): focus_tab may be different
2261 to the detached tab if we hover the arrows during a tabs detaching
2262 operation, do not allocate it unconditionally in 0,0.
2264 2006-12-26 Carlos Garnacho <carlosg@gnome.org>
2266 Expose improvements for GtkNotebook. Bug #383435
2268 * gtk/gtknotebook.c (gtk_notebook_expose): propagate the event to tab
2270 (gtk_notebook_draw_focus): do not repaint the whole focused tab again.
2271 (gtk_notebook_draw_tab): do not send handmade expose events to tab
2274 2006-12-26 Matthias Clasen <mclasen@redhat.com>
2276 * gtk/gtkfilesystemunix.c (execute_callbacks): Return
2277 FALSE. (#389623, Carlos Garnacho Parro)
2279 * gtk/gtkrange.c (stop_scrolling): Avoid spurious
2282 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
2284 * gtk/gtkplug.c: (gtk_plug_construct_for_display),
2285 (gtk_plug_unrealize): Notify the "embedded" property also on
2286 normal construction and when destroying the socket window.
2289 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
2291 * gtk/gtkaboutdialog.c: (gtk_about_dialog_class_init),
2292 (gtk_about_dialog_init), (display_credits_dialog),
2293 (display_license_dialog):
2294 * gtk/gtkfilechooserdialog.c: (gtk_file_chooser_dialog_class_init),
2295 (gtk_file_chooser_dialog_init),
2296 (gtk_file_chooser_dialog_constructor),
2297 (gtk_file_chooser_dialog_unmap):
2298 * gtk/gtkrecentchooserdefault.c:
2299 (_gtk_recent_chooser_default_init):
2300 * gtk/gtkrecentchooserdialog.c:
2301 (gtk_recent_chooser_dialog_class_init),
2302 (gtk_recent_chooser_dialog_init),
2303 (gtk_recent_chooser_dialog_constructor),
2304 (gtk_recent_chooser_dialog_unmap): Set the HIG spacings directly
2305 instead of using style-set handlers. Fix the filechooser's spacing
2306 between content and action area to 12px. Bug #372447.
2308 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
2310 * gtk/gtkstatusbar.c: (gtk_statusbar_size_allocate):
2311 Don't assume statusbar->label is the statusbar's frame's child when
2312 shrinking the size allocation when the grip is shown. Bug #372452.
2314 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
2316 * gtk/gtkpagesetupunixdialog.c: (printer_status_cb),
2317 (add_custom_paper): Fix mem leaks. Bug #389194.
2319 2006-12-24 Matthias Clasen <mclasen@redhat.com>
2321 * gtk/gtktextutil.c: Remove debug output.
2323 * gtk/gtktextview.c: Improve the DND scrolling
2324 behaviour. (#92387, Carlos Garnacho Parro)
2326 * gtk/gtkaccellabel.c: Improve translators comments.
2327 (#389298, Christian Persch)
2329 2006-12-24 Bastien Nocera <hadess@hadess.net>
2331 * gtk/gtkrecentmanager.c: Fix typo (s/expansive/expensive)
2334 2006-12-24 Christian Persch <chpe@cvs.gnome.org>
2336 * docs/reference/gtk/gtk-sections.txt:
2338 * gtk/gtkpagesetupunixdialog.c: (fill_paper_sizes_from_printer):
2339 * gtk/gtkprinter-private.h:
2340 * gtk/gtkprinter.c: (gtk_printer_list_papers):
2341 * gtk/gtkprinter.h: Make gtk_printer_list_papers public. Bug #345587.
2343 2006-12-24 Carlos Garcia Campos <carlosgc@gnome.org>
2345 * gtk/gtkpagesetupunixdialog.c: Don't ignore reverse portrait option
2346 when is selected in page setup dialog. Fixes bug #365047.
2348 2006-12-24 Behdad Esfahbod <behdad@gnome.org>
2350 * gtk/gtkentry.c (_gtk_entry_effective_inner_border):
2351 Use gtk_border_free when freeing border.
2353 2006-12-24 Matthias Clasen <mclasen@redhat.com>
2355 * gtk/gtkentry.c (gtk_entry_button_press): When
2356 shift-clicking, keep the larger part of the selection
2357 selected. (#353709, Benjamin Otte)
2359 * gtk/gtkbutton.c (gtk_button_get_props): Use
2360 gtk_border_free when freeing borders.
2362 * gtk/gtkbutton.c (gtk_button_grab_notify): Be more
2363 careful when faking a button release. (#323146,
2366 * gtk/gtkhandlebox.c (draw_textured_frame): Draw the
2367 handle with the right orientation, depending on the
2368 position of the handlebox. (#159764, Benjamin Berg)
2370 2006-12-24 Behdad Esfahbod <behdad@gnome.org>
2372 * gtk/gtkstyle.c (gtk_border_copy), (gtk_border_free): Use gslice for
2373 GtkBorder (#383557).
2375 2006-12-24 Behdad Esfahbod <behdad@gnome.org>
2377 Bug 340141 – Update to Pango 1.16 API
2379 * gdk/gdkpango.c (layout_iter_get_line_clip_region),
2380 (gdk_pango_layout_line_get_clip_region):
2381 * gtk/gtkcalendar.c (gtk_calendar_size_request):
2382 * gtk/gtkentry.c (gtk_entry_get_pixel_ranges),
2383 (get_layout_position), (gtk_entry_find_position),
2384 (gtk_entry_adjust_scroll):
2385 * gtk/gtkiconview.c (get_pango_text_offsets):
2386 * gtk/gtklabel.c (get_cursor_direction):
2387 * gtk/gtkstyle.c (get_insensitive_layout):
2388 * gtk/gtktextdisplay.c (render_para):
2389 * gtk/gtktextlayout.c (allocate_child_widgets),
2390 (find_display_line_below), (find_display_line_above),
2391 (gtk_text_layout_move_iter_to_previous_line),
2392 (gtk_text_layout_move_iter_to_next_line),
2393 (gtk_text_layout_move_iter_to_line_end),
2394 (gtk_text_layout_iter_starts_line),
2395 (gtk_text_layout_move_iter_to_x):
2396 * gtk/gtktextutil.c (limit_layout_lines):
2397 Use the _readonly version of pango_layout_iter_get_line(),
2398 pango_layout_iter_get_run(), pango_layout_get_line(), and
2399 pango_layout_get_lines().
2401 * gtk/gtkmain.c (gtk_get_default_language): Use
2402 pango_get_default_language().
2404 2006-12-24 Matthias Clasen <mclasen@redhat.com>
2406 * gtk/gtkentry.c (gtk_entry_set_text): Emit changed
2407 and notify:text only once. The same fix was applied
2408 for replacing the selection via DND or copy-and-paste.
2409 (#64998, Damon Chaplin, Sven Herzberg)
2411 2006-12-23 Matthias Clasen <mclasen@redhat.com>
2413 * gtk/gtkimmulticontext.c: Be careful to not override
2414 GTK+ translations with the translations of the input
2415 method. (#317080, Tor Lillqvist)
2417 * modules/input/imcedilla.c: Use standard macros
2418 for translation domain and locale dir.
2420 * gtk/gtkimcontextsimple.c: Allow composing l with
2421 stroke. (#349638, Daniel Lublin)
2423 * gtk/gen-paper-names.c: Fix a thinko in the suffix
2424 calculation. (#382369, Christian Persch)
2426 * gtk/paper_names_offsets.c: Regenerated.
2428 2006-12-22 Matthias Clasen <mclasen@redhat.com>
2430 * modules/engines/pixbuf/pixbuf.h:
2431 * modules/engines/pixbuf/pixbuf-rc-style.h:
2432 * modules/engines/pixbuf/pixbuf-style.h: Move
2433 G_GNUC_INTERNAL before function declarations. (#352276,
2436 2006-12-22 Matthias Clasen <mclasen@redhat.com>
2438 * demos/gtk-demo/*.c: Fix some leaks. (#348108, Chris
2441 2006-12-22 Matthias Clasen <mclasen@redhat.com>
2443 * *.c: Replace a lot of idle and timeout calls by
2444 the new gdk_threads api.
2448 * gdk/gdk.c: Add functions to allow threadsafe handling
2449 of idles and timeouts wrt. to the GDK lock. (#321886,
2452 2006-12-22 Matthias Clasen <mclasen@redhat.com>
2454 * gdk/gdkpango.c: Use pango_cairo_show_error_underline.
2455 (#340141, Behdad Esfahbod)
2457 * configure.in: Check for getc_unlocked.
2459 * gtk/xdgmime/xdgmimemagic.c: Use getc if getc_unlocked is
2460 unavailable. (#381499)
2462 * tests/teststatusicon.c: Fix a typo
2464 2006-12-22 Matthias Clasen <mclasen@redhat.com>
2466 Make it possible to track the embeddedness of
2467 statusicon (#387215, Martyn Russell, patch by Christian
2470 * gtk/gtkstatusicon.c: Add orientation and embedded properties.
2472 * gtk/gtkplug-x11.c: Add an embedded property.
2473 * tests/teststatusicon.c: Test the new properties.
2475 * gtk/gtkwidget.c (gtk_widget_get_draw_rectangle): Don't
2476 leak draw_border. (#387170, Kjartan Maraas)
2478 2006-12-21 Matthias Clasen <mclasen@redhat.com>
2480 * gtk/gtkfilechooserembed.c (_gtk_file_chooser_embed_set_delegate()):
2481 Typo fix. (#388123, Murray Cumming)
2483 * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event):
2484 Generate double-click events. (#380421, Tommi Komulainen)
2486 * gdk/x1/gdkinput-xfree.c (_gdk_input_configure_event):
2487 (_gdk_input_enter_event): Correct return_if_fail checks.
2488 (#379803, Tommi Komulainen)
2490 * gdk/gdkdisplay.c: Improve the docs of some functions operating
2491 on the default display. (##353438, Mariano Suárez-Alvarez)
2493 2006-12-21 Matthew Barnes <mbarnes@redhat.com>
2495 * docs/reference/gdk/gdk-sections.txt:
2496 * gdk/gdkcolor.[ch] (gdk_color_to_string): Add a function for
2497 converting a GdkColor to a string (#373856).
2499 * configure.in: Bump pango requirement to 1.15.2.
2501 2006-12-20 Matthias Clasen <mclasen@redhat.com>
2503 * gdk/keynames.txt: Mark arrow keys as translatable. (#369506,
2506 * gdk/keyname-table.h: Regenerated
2508 * gtk/gtktextbuffer.c: Add signal documentation. (#317064,
2509 Søren Wedel Nielsen)
2511 * gtk/gtktextview.c (gtk_text_view_start_selection_drag):
2512 Silently return if a drag is already in progress, rather
2513 than asserting. (#335622, Li Yuan, testcase by Erwann Chenede)
2515 * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_new_with_dialog):
2516 Allow any GtkDialog that implements GtkFileChooser as
2517 dialog. (#335473, Tommi Komulainen)
2519 2006-12-20 Mikael Hallendal <micke@imendio.com>
2521 * gtk/gtkstatusicon.c: (gtk_status_icon_init): Fixed a last minute
2522 change in the quartz backend.
2524 2006-12-20 Mikael Hallendal <micke@imendio.com>
2526 * gtk/Makefile.am: Added gtkstatusicon-quartz.c
2527 * gtk/gtkstatusicon-quartz.c: Implements the quartz backend for the
2529 * gtk/gtkstatusicon.c: Hooked in the new quartz backend. Bug #387874.
2531 2006-12-19 Matthias Clasen <mclasen@redhat.com>
2533 * gtk/gtkprintunixdialog.c: Add a tooltip explaining the
2534 format of page ranges, and improve the page sequence icon
2535 for the case of n_copies == 1.
2537 2006-12-19 Mikael Hallendal <micke@imendio.com>
2539 * gdk/quartz/gdkcursor-quartz.c: Splitted out the GdkPixbuf to NSImage
2540 routine so that it can be used from libgtk as well (needed for
2541 upcoming GtkStatusIcon support in the Quartz port).
2542 * gdk/quartz/gdkevents-quartz.c: Don't assume that all NSWindows are
2543 created from GDK, this is not true for the status icon.
2544 * gdk/quartz/gdkprivate-quartz.h:
2545 * gdk/quartz/gdkquartz.h: Added
2546 gdk_quartz_pixbuf_to_ns_image_libgtk_only so that it is available to
2547 the status icon code.
2549 2006-12-16 Tristan Van Berkom <tvb@gnome.org>
2551 * gtk/gtkmessagedialog.c: Added return_if_fail (image) to
2552 gtk_message_dialog_set_image ()
2554 * gtk/gtkscrolledwindow.c: Fixed a bug in set_property()
2555 (setting "window-placement-set" could result in a crash because
2556 of boolean/enum mixup)
2558 2006-12-15 Federico Mena Quintero <federico@novell.com>
2560 Merged from gtk-2-10:
2562 * gtk/gtkmenu.c (gtk_menu_set_title): Don't try to optimize for
2563 the case where the new title is the same as the old title, to
2564 preserve the behavior from GTK+ 2.8 (NULL and "" titles are not
2565 equivalent). Handle the case where title == priv->title. This
2566 was found by the LSB compatibility tests:
2567 https://bugzilla.novell.com/show_bug.cgi?id=223882
2569 2006-12-15 Dom Lachowicz <domlachowicz@gmail.com>
2571 * gtk/gtkcombobox.c: Make GtkComboBox in "appears-as-list" mode
2572 more closely resemble its Win32 counterpart. Bug #340204.
2574 2006-12-14 Carlos Garnacho <carlosg@gnome.org>
2576 * gtk/gtkcalendar.c: draw arrows pointing to the right correctly
2577 placed inside their GdkWindow. Bug #385672.
2579 2006-12-14 Christian Persch <chpe@cvs.gnome.org>
2581 * gtk/gtkiconview.c: Fix docs typo. Bug #385642.
2583 2006-12-13 Dom Lachowicz <domlachowicz@gmail.com>
2585 * src/modules/engines/ms-windows/msw_style.c: Bug 351679 - Notebooks
2586 drawn with extra line below tab in MS-Windows theme. Patch by
2589 2006-12-13 Matthias Clasen <mclasen@redhat.com>
2591 * gtk/Makefile.am: Add --unlink-tempfile to the evince call
2592 for print preview. (#370041, Ghee Teo)
2594 2006-12-11 Matthias Clasen <mclasen@redhat.com>
2596 * gtk/gtkprogressbar.c (gtk_progress_bar_paint_text): Be more
2597 careful when overdrawing antialiased text. (#352435, Alex Jones,
2598 patch by Benjamin Otte)
2600 * gtk/gtksettings.c: Change the way in which color scheme information
2601 is merged to correctly handle vanishing colors. (#374420,
2602 Benjamin Berg, patch by Callum McKenzie)
2603 Also allow to separate entries in color schemes by ';'
2606 2006-12-10 Matthias Clasen <mclasen@redhat.com>
2608 * modules/printbackends/cups/gtkcupsutils.c (gtk_cups_request_encode_option):
2609 Properly pass multi-value options to cups. (#355350, Jürg Billeter)
2611 2006-12-10 Kristian Rietveld <kris@gtk.org>
2613 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_focus_out_event):
2614 cancel editing (ie. don't accept changes) when the entry loses
2615 focus. (Fixes #164494, reported by Chris Rouch).
2617 2006-12-10 Matthias Clasen <mclasen@redhat.com>
2619 * configure.in: Correct a misapplied patch.
2621 2006-12-10 Tor Lillqvist <tml@novell.com>
2623 * gtk-zip.sh.in: Put gdk-pixbuf-query-loaders.exe and
2624 gtk-query-immodules-2.0.exe in the runtime zipfile instead of
2625 developer zipfile. Users might add pixbuf loaders or immodules
2626 even if they are not interested in developing gtk+-using software.
2628 2006-12-10 Matthias Clasen <mclasen@redhat.com>
2630 * configure.in: Check for crt_extern.h and _NSGetEnviron.
2631 * gdk/x11/gdkspawn-x11.c: Fix compilation on Darwin where
2632 environ is not available. (#384168, Min Sik Kim)
2634 2006-12-07 Paolo Maggi <paolo@gnome.org>
2638 * gtk/gtkentry.c (gtk_entry_set_text): check for
2639 completion->priv->changed_id > 0 before calling
2640 g_signal_handler_[un]block.
2641 (gtk_entry_completion_key_press): does not block/unblock the "changed"
2642 signal before calling gtk_entry_set_text.
2644 2006-12-07 Carlos Garnacho <carlosg@gnome.org>
2646 * gtk/gtkcellrendererprogress (compute_dimensions): do not use
2647 xthickness/ythickness, they aren't used any longer for drawing.
2649 2006-12-07 Matthias Clasen <mclasen@redhat.com>
2651 * gtk/gtkrc.c (_gtk_rc_init): Fix clipping of accelerator
2652 underlines by giving labels a small draw-border.
2654 2006-12-06 Kristian Rietveld <kris@gtk.org>
2656 * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_render):
2657 draw progress bar through theme engine instead of using our own
2658 custom cairo drawing code (#377244, patch from Carlos Garnacho).
2660 2006-12-06 Matthias Clasen <mclasen@redhat.com>
2662 * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities):
2663 Update the sensitivity of the collate checkbutton more frequently,
2664 proposed by Tim Waugh.
2666 2006-12-04 Matthias Clasen <mclasen@redhat.com>
2668 * gtk/gtkmessagedialog.c (setup_type): Set a11y name and role
2669 since we no longer set window titles.
2671 2006-12-04 Christian Persch <chpe@cvs.gnome.org>
2673 * gtk/gtkpagesetup.c: (gtk_page_setup_get_paper_size),
2674 (gtk_page_setup_set_paper_size): Don't leak the old page size when
2675 setting a new one. Bug #382314.
2677 2006-12-03 Michael Natterer <mitch@gimp.org>
2679 * gtk/gtktextview.c: remove FIXME #include that is no longer needed.
2681 2006-12-03 Kristian Rietveld <kris@gtk.org>
2683 Make sure [xy]_offset are always being initialized, fix pixbuf
2684 renderer padding. (#108235, Sven Neumann).
2686 * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_get_size),
2687 (gtk_cell_renderer_pixbuf_render): add padding in _render instead
2690 * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_get_size):
2691 always initialize [xy]_offset.
2692 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): ditto.
2693 * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_size):
2696 2006-12-03 Kristian Rietveld <kris@gtk.org>
2698 * gtk/gtktreeview.c (validate_visible_area): when not using an
2699 explicit alignment, use the full area of the row (not just dy)
2700 to determine how to implicitly align it. (Fixes #363191, reported
2701 by Federico Mena Quintero).
2703 2006-12-02 Matthias Clasen <mclasen@redhat.com>
2705 * gtk/gtkicontheme.c (insert_theme): Properly clean up
2706 if an icon theme index file has no directories. (#381236)
2708 2006-12-02 Dom Lachowicz <domlachowicz@gmail.com>
2710 * src/modules/engines/ms-windows/msw_style.c: Bug 351678 - Notebooks
2711 not with PositionType.Top drawn incorrectly. Patch by Cody Russell
2713 2006-11-28 Behdad Esfahbod <behdad@gnome.org>
2715 Remove the broken Thai input method and add a functional Thai and Lao
2716 input method by Theppitak Karoonboonyanan. (#81031)
2718 * modules/input/imthai.c:
2719 * modules/input/gtkimcontextthai.c:
2720 * modules/input/gtkimcontextthai.h:
2721 * modules/input/thai-charprop.c:
2722 * modules/input/thai-charprop.h:
2725 * modules/input/imthai-broken.c:
2728 * modules/input/Makefile.am:
2731 2006-11-27 Christian Persch <chpe@cvs.gnome.org>
2733 * gtk/gtkstatusicon.c: Notify when the screen changes. Bug #379793.
2735 Mon Nov 27 12:27:06 2006 Tim Janik <timj@imendio.com>
2737 * gtk/gtktextview.c: applied patch by Colin Leroy for
2738 Control+GDK_KP_Left to move one word to the left, #356255.
2740 2006-11-26 Benjamin Berg <benjamin@sipsolutions.net>
2742 * gtk/gtkstyle.c: (gtk_default_draw_flat_box): Protect against NULL
2745 2006-11-25 Matthias Clasen <mclasen@redhat.com>
2747 * modules/printbackends/cups/gtkprintbackendcups.c: Make
2748 print dialog work when 'BrowseShortNames Off' is specified
2749 in cups configuration. Patch by Tim Waugh.
2751 2006-11-24 Michael Natterer <mitch@imendio.com>
2753 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): if we
2754 can't go up/down, consult gtk_widget_keynav_failed() and leave the
2755 widget if it returns FALSE (bug #322640).
2757 2006-11-23 Behdad Esfahbod <behdad@gnome.org>
2759 * gtk/gtkmain.c: Fix minor typo in docs. (#378632, Hannes Mueller)
2761 2006-11-22 Emmanuele Bassi <ebassi@gnome.org>
2763 * gtk/gtkrecentmanager.c:
2764 (get_uri_shortname_for_display): g_filename_from_uri() might
2765 fail; catch the failure and fall back to the non-local URI
2768 2006-11-19 Mark McLoughlin <mark@skynet.ie>
2770 Fixes bug #376502 - multi-screen support for GtkStatusIcon
2772 * gtk/gtkstatusicon.[ch]:
2773 (gtk_status_icon_set_screen),
2774 (gtk_status_icon_get_screen): add multi-screen API. Allows
2775 an app to display an icon on a non-default screen
2776 (gtk_status_icon_class_init),
2777 (gtk_status_icon_set_property),
2778 (gtk_status_icon_get_property): add a "screen" property
2780 * tests/teststatusicon.c: update to test on multiple screens
2782 2006-11-17 Matthias Clasen <mclasen@redhat.com>
2784 Fix problems with drag cancellation. (#376535, Michael Natterer)
2786 * gtk/gtkdnd.c (gtk_drag_source_info_destroy): Disconnect signal
2787 handlers before emitting drag-end.
2788 (gtk_drag_end): Disconnect signal handlers before removing
2791 2006-11-16 Mariano Suárez-Alvarez <mariano@gnome.org>
2793 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
2794 add gtk-doc blurb on GtkCellRendererText::edited (#376094)
2796 2006-11-16 Michael Natterer <mitch@imendio.com>
2798 * gtk/gtkradiobutton.c (gtk_radio_button_focus): don't use
2799 gtk_widget_keynav_failed(). Instead, look at gtk-keynav-cursor-only
2800 and gtk-keynav-wrap-around and wrap around, beep or continue outside
2801 the group manually (bug #322640).
2803 2006-11-16 Michael Natterer <mitch@imendio.com>
2805 Add new infrastructure for notifications of failed keyboard
2806 navigation and navigation with restricted set of keys.
2808 The patch handles configurable beeping, navigating the GUI with
2809 cursor keys only (as in phone environments), and configurable
2810 wrap-around. Fixes bugs #322640, #70986, #318827, #334726, #334742
2813 * gtk/gtksettings.c: added properties gtk-keynav-cursor-only,
2814 gtk-keynav-wrap-around and gtk-error-bell.
2816 * gtk/gtkwidget.[ch]: added new signal "keynav-failed" and public
2817 API to emit it. Added New function gtk_widget_error_bell() which
2818 looks at the gtk-error-bell setting and calls gdk_window_beep()
2821 * gtk/gtk.symbols: add the new widget symbols.
2823 * gtk/gtkcellrendereraccel.c
2824 * gtk/gtkimcontextsimple.c
2826 * gtk/gtknotebook.c: use gtk_widget_error_bell() or look at the
2827 gtk-error-bell setting instead of calling gdk_display_beep()
2834 * gtk/gtkmenushell.c
2835 * gtk/gtkspinbutton.c
2837 * gtk/gtktreeview.c: call gtk_widget_error_bell() on failed keynav.
2842 * gtk/gtktextview.c: consult gtk_widget_keynav_failed() on failed
2843 cursor navigation and leave the widget if it returns FALSE.
2845 * gtk/gtkmenushell.c
2846 * gtk/gtknotebook.c: only wrap around if gtk-keynav-wrap-around
2849 * gtk/gtkradiobutton.c: ask gtk_widget_keynav_failed() to decide
2850 whether to to wrap-around, and don't select active items on cursor
2851 navigation if gtk-keynav-cursor-only is TRUE. Should look at
2852 gtk-keynav-wrap-around too, will look into that.
2854 2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
2856 * gtk/gtkrecentmanager.c:
2857 (gtk_recent_info_get_uri_display): Return the URI
2858 of the GtkRecentInfo object (upgraded to UTF-8 if
2859 needed) in case of non-local file. (#351945)
2861 2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
2863 * gtk/gtkrecentchoosermenu.c:
2864 (gtk_recent_chooser_menu_add_tip): Apply the tip only
2865 if we have a displayable name for the item. (#365031,
2866 patch by padraig.obriain(at)sun.com)
2868 2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
2870 * gtk/gtkrecentmanager.c: Provide a fast path returning
2871 NULL when the limit is set to 0.
2873 * gtk/gtkrecentchooserdefault.c:
2874 * gtk/gtkrecentchoosermenu.c: Add the same fast path
2875 inside the RecentChooser implementation; add a check
2876 in the list clamping code. (#373466 and duplicates)
2878 2006-11-15 Matthias Clasen <mclasen@redhat.com>
2880 * modules/printbackends/cups/gtkprintbackendcups.c (cups_printer_get_options):
2881 Don't pass NULL to strncpy. (#359537, patch by Carlos Garcia Campos)
2883 2006-11-15 Michael Natterer <mitch@imendio.com>
2885 * gtk/gtkrange.[ch]: added properties "fill-level",
2886 "show-fill-level" and "restrict-to-fill-level" and getters/setters
2887 for them. The "fill level" is an additional marker on the range's
2888 trough than can be e.g. used to indicate the amount of
2889 pre-buffering in a range showing the play position of streamed
2890 media. See the embedded API docs for details. Made GtkRangeLayout
2891 a GTypeInstance private struct and removed finalize()
2892 implementation. Fixes bug #349808
2894 * gtk/gtk.symbols: added the new symbols.
2896 2006-11-14 Behdad Esfahbod <behdad@gnome.org>
2898 * configure.in: Make libtool magic robust. (#352795)
2900 2006-11-13 Paolo Borelli <pborelli@katamail.com>
2902 * gtk/gtkrc.c (gtk_rc_parse_icon_source): plug small memory
2905 2006-11-09 Kristian Rietveld <kris@imendio.com>
2907 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): disable
2908 don't move cursor case for SELECTION_NONE. (#371756, John Ellis).
2910 2006-11-09 Carlos Garnacho <carlosg@gnome.org>
2912 * gtk/gtkpathbar.c (on_slider_unmap): Fix parenthesis confusion.
2914 2006-11-08 Carlos Garnacho <carlosg@gnome.org>
2916 * gtk/gtkpathbar.c (on_slider_unmap): added, do not leave the scroll
2917 timeout running if the slider buttons are hidden. (#372527)
2919 2006-11-08 Christian Persch <chpe@cvs.gnome.org>
2921 * gtk/gtkfilechooserdefault.c (browse_widgets_create): Don't make
2922 the "Location" label bold. Bug #372449.
2924 2006-11-07 Carlos Garnacho <carlosg@gnome.org>
2926 * gtk/gtknotebook.c (gtk_notebook_calculate_tabs_allocation): make
2927 non-focused tabs xthickness/ythickness thinner. (#353962)
2929 2006-11-07 Paolo Borelli <pborelli@katamail.com>
2931 * gtk/gtktextbtree.c (_gtk_text_btree_delete): avoid memory
2932 corruption (#357050).
2934 2006-11-06 Alexander Larsson <alexl@redhat.com>
2936 * gtk/gtkdnd.c: (gtk_drag_begin_internal),
2937 (gtk_drag_source_info_destroy), (gtk_drag_end),
2938 (gtk_drag_grab_notify_cb):
2939 Cancel drag when the grab is shadowed. (#122688)
2941 2006-11-01 Kristian Rietveld <kris@imendio.com>
2943 * gtk/gtkcombobox.c (gtk_combo_box_class_init),
2944 (gtk_combo_box_size_request): add arrow-size property to control
2945 the minimum size of the arrow, have the arrow scale up with the
2946 font by default. (#357950).
2948 2006-10-30 Kristian Rietveld <kris@gtk.org>
2950 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): don't
2951 forget to queue a draw for the new cursor node. (Fixes #366548,
2952 reported by Sven Herzberg).
2954 2006-10-30 Michael Natterer <mitch@imendio.com>
2956 * gtk/gtkrange.c (gtk_range_key_press): consume the Escape key
2957 only if we actually cancel a drag. Fixes bug #58389.
2959 2006-10-30 Kristian Rietveld <kris@gtk.org>
2961 * gtk/gtktreeview.c (gtk_tree_view_class_init): change left/right
2962 keybindings to collapse/expand rows instead of moving the focus
2963 cursor. (#105895, Brian Bober and others).
2965 2006-10-29 Kristian Rietveld <kris@gtk.org>
2967 * gtk/gtktreeview.c (gtk_tree_view_real_expand_row): guard against
2968 child removal in row-expanded callback. (#366782, John Ellis).
2970 2006-10-29 Tor Lillqvist <tml@novell.com>
2972 * gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Improve handling
2973 of the small icon of the window class. (#152620, Kazuki Iwamoto)
2975 2006-10-29 Tor Lillqvist <tml@novell.com>
2977 * gdk/win32/gdkcursor-win32.c
2978 (gdk_win32_icon_to_pixbuf_libgtk_only): Implement for B&W cursors,
2979 for instance the built-in GDK ones.
2981 2006-10-27 Kristian Rietveld <kris@gtk.org>
2983 * gtk/gtktreeview.c (validate_visible_area): rework the area_above == 0
2984 case to not overwrite the variables in the lower scope (which are
2985 used later on ...), get the path correctly and bail out when there
2986 isn't a node above us. (#359231).
2988 2006-10-26 Christian Persch <chpe@cvs.gnome.org>
2990 * gtk/gtkaboutdialog.c: Put initial focus on Close button (#337261).
2992 2006-10-25 Johan Dahlin <jdahlin@async.com.br>
2994 * gtk/gtk.symbols: Add missing symbols to so make check can pass
2996 2006-10-23 Dom Lachowicz <domlachowicz@gmail.com>
2998 * src/modules/engines/ms-windows/msw_style.c (draw_expander): Remember
2999 to free GDI Pen resources, introduced by bug 340201.(#364514)
3001 2006-10-18 Kristian Rietveld <kris@imendio.com>
3003 * tests/testcombo.c (main): connect to notify::popup-shown instead of
3004 popup-show (the latter does not exist).
3006 2006-10-15 Paolo Borelli <pborelli@katamail.com>
3008 * gtk/gtkicontheme.c (pixbuf_supports_svg): plug memory leak.
3011 2006-10-12 Michael Natterer <mitch@imendio.com>
3013 * gtk/gtkcombobox.c (gtk_combo_box_class_init): fix commit below
3014 (committed the wrong patch).
3016 2006-10-12 Michael Natterer <mitch@imendio.com>
3018 * gtk/gtkcombobox.c: added "move-active" and "popup" signals and
3019 bindings to trigger them. Removed gtk_combo_box_key_press(), it's
3020 obsolete now. Fixes bug #358293.
3022 2006-10-11 Michael Emmel <mike.emmel@gmail.com>
3024 * gdkpixmap-directfb.c: add missing RGB24 case (#361176)
3026 2006-10-11 Tor Lillqvist <tml@novell.com>
3028 * configure.in: Enable having some gdk-pixbuf loaders built-in
3029 even if loading the others dynamically. Define Automake
3030 conditional INCLUDE_FOO for each loader as TRUE if that loader is
3031 built-in. See also gdk-pixbuf/ChangeLog.
3033 Wed Oct 11 14:31:30 2006 Tim Janik <timj@imendio.com>
3035 * docs/reference/gtk/gtk-sections.txt:
3036 * gtk/gtkbindings.c: document gtk_binding_entry_skip().
3038 2006-10-11 Tor Lillqvist <tml@novell.com>
3040 * gtk/gtk.symbols: Remove gtk_combo_string_key, which is a static
3043 2006-10-11 Tor Lillqvist <tml@novell.com>
3045 Merge from 2.10 branch:
3047 * gtk/gtkmain.c (do_pre_parse_initialization): On Win32, if
3048 environment variable LC_ALL or LANG is set, set the Win32 thread
3049 locale to the corresponding locale. Then call the C library
3050 setlocale() to set the C library locale accordingly. The
3051 inconsistency mentioned below is gone. (#339756) Do some special
3052 casing for Serbia and Montenegro. Handle the Latin and Cyrillic
3053 scripts for Azeri, Uzbek and Serbian.
3054 (enum_locale_proc): Helper function for the above functionality.
3056 * gtk/gtkcalendar.c (gtk_calendar_init): No longer need to check
3057 if the environment variables are set here, as they have already
3058 been taken into account and the Win32 thread locale has been
3061 Tue Oct 10 16:38:23 2006 Tim Janik <timj@imendio.com>
3063 * gtk/tmpl/gtkbindings.sgml:
3064 * gtk/gtkbindings.c: applied patch from Michael Natterer to move to
3065 inline docs. applied wording fixes suggested by Martyn Russell.
3067 2006-10-09 Matthias Clasen <mclasen@redhat.com>
3069 * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
3070 Update the docs to state which out parameters may be NULL.
3071 (#360870, Attilio Fiandrotti)
3073 2006-10-08 Matthias Clasen <mclasen@redhat.com>
3075 * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities): Fix
3076 a typo. (#359542, Ghee Teo)
3078 2006-10-08 Matthias Clasen <mclasen@redhat.com>
3080 * gtk/gtknotebook.c (gtk_notebook_reorder_tab): Only
3081 reorder tabs if the focus is in the tab. (#350342, Carlos
3084 2006-10-08 Michael Emmel <mike.emmel@gmail.com>
3086 * gdk/directfb/gdkproperty-directfb.c strdup atom name (#357611)
3088 2006-10-08 Kristian Rietveld <kris@gtk.org>
3090 * gtk/gtktreeview.[ch] (gtk_tree_view_set_property),
3091 (gtk_tree_view_set_show_expanders),
3092 (gtk_tree_view_get_show_expanders): add getter/setter for
3093 show-expanders property, queue a redraw when this property
3094 is toggled (#351167, Martin Ejdestig),
3095 (gtk_tree_view_set_level_indentation),
3096 (gtk_tree_view_get_level_indentation): also add getter/setter
3097 and docs for level-indentation property.
3099 2006-10-08 Matthias Clasen <mclasen@redhat.com>
3101 * gtk/gtkradiobutton.c (gtk_radio_button_focus): Don't
3102 leak a list. (#360350, Benjamin Berg)
3104 * Apply a cleanup patch by Kjartan Maraas (#341812)
3106 2006-10-07 Tor Lillqvist <tml@novell.com>
3108 * gtk/gtkcalendar.c (gtk_calendar_init): Use the Win32 thread
3109 locale's first day of week setting on Win32. (#339752, Bogdan
3110 Nicula) Don't do this if one of the environment variables that
3111 affect gettext is set, though. In that case use the week start day
3112 from the corresponding message catalog.
3114 Unfortunately the same logic isn't possible in the weekday and
3115 month name lookup; there even if you have set one of the
3116 aforementioned environment variables, you still get the weekday
3117 and month names from the Win32 thread locale. Yes, this is
3120 Use only wide-character API in the Win32 code in this file, too.
3122 2006-10-06 Matthias Clasen <mclasen@redhat.com>
3124 * gtk/gtkfilechooser.c (gtk_file_chooser_set_select_multiple):
3125 Fix the docs. (#360112)
3127 * gtk/gtkcellview.c: Don't set the background of the
3128 window in a no-window widget. (#359581, Xan Lopez)
3131 2006-10-05 Behdad Esfahbod <behdad@gnome.org>
3133 * gtk/Makefile.am, gtk/aliasfilescheck.sh: Propagate srcdir into the
3134 test correctly. (#359845)
3136 2006-10-05 Michael Natterer <mitch@imendio.com>
3138 * gtk/gtkrc.[ch]: added new scanner token "unbind" which gets
3139 rid of a key binding (in fact, it only lets it appear unbound).
3141 * gtk/gtkbindings.[ch] (struct GtkBindingEntry): added
3142 "guint marks_unbound : 1"
3144 (gtk_binding_entry_skip): new API which marks the entry as unbound.
3146 Changed code so it returns FALSE when "marks_unbound == TRUE" is
3147 encountered while activating bindings, effectively letting the
3148 binding appear unbound (regardless of still existing bindings in
3149 lower binding priority levels). Fixes bug #358329.
3151 (gtk_binding_entry_add)
3152 (gtk_binding_entry_clear)
3153 (gtk_binding_entry_add_signall)
3154 (gtk_binding_parse_binding): deprected these functions.
3156 (_gtk_binding_parse_binding)
3157 (_gtk_binding_entry_add_signall): new internal API.
3159 * gtk/gtk.symbols: changed accordingly.
3161 2006-10-03 Matthias Clasen <mclasen@redhat.com>
3163 Fix interaction of GtkEntryCompletion with input
3164 methods. (#354495, Diego Escalante Urrelo)
3166 * gtk/gtkentry.c (gtk_entry_completion_key_press): Only reset
3167 the im context if we actually handle the key event.
3169 * gtk/gtkentrycompletion.c: Also propagate key release events
3172 2006-10-03 Matthias Clasen <mclasen@redhat.com>
3174 * gtk/gtkprintsettings.c (gtk_print_settings_get_duplex):
3175 Fix a typo. (#359052, Ghee Teo)
3177 * gtk/*.c, gdk/*.c: Apply a patch by Behdad Esfahbod to
3178 reduce relocations. (#359053)
3180 2006-10-03 Matthias Clasen <mclasen@redhat.com>
3182 * modules/printbackends/cups/gtkcupsutils.c:
3183 * modules/printbackends/cups/gtkprintbackendcups.c: Complete
3184 the fix for bug 357280.
3186 2006-10-02 Behdad Esfahbod <behdad@gnome.org>
3188 * gdk-pixbuf/Makefile.am:
3191 Include pltcheck.sh in EXTRA_DIST.
3193 2006-10-02 Behdad Esfahbod <behdad@gnome.org>
3195 * gdk/x11/gdkevents-x11.c: Move all includes before including
3198 2006-10-02 Behdad Esfahbod <behdad@gnome.org>
3200 * gtk/Makefile.am: Fix typo in file name. (#358931)
3202 2006-10-02 Matthias Clasen <mclasen@redhat.com>
3204 * modules/printbackends/cups/gtkprintbackendcups.c (available_choices):
3205 Only use the group name field if cups is new enough. (#357280)
3207 * gtk/gtksizegroup.c: Make sure that the quarks are
3208 initialized before using them. (#353736)
3210 * gtk/Makefile.am (stamp-icons): Use rm instead of ln -f to
3211 replace existing links. (#354849, James Evans)
3213 2006-10-01 Matthias Clasen <mclasen@redhat.com>
3215 * gtk/gtkexpander.c (gtk_expander_realize)
3216 (gtk_expander_size_allocate): Make the event_window large
3217 enough to cover the full height of the label_widget. (#358351,
3220 2006-10-01 Tor Lillqvist <tml@novell.com>
3222 * gtk/gtkfilesystemwin32.c: Same change as to gtkfilesystemunix.c.
3224 2006-09-30 Matthias Clasen <mclasen@redhat.com>
3226 * gtk/gtkfilechooserbutton.c (update_combo_box): Protect
3227 against base_path being NULL. (#358405, many reporters)
3229 2006-09-29 Matthias Clasen <mclasen@redhat.com>
3231 * gtk/gtkfilesystemunix.c: Apply a patch by Padraig O'Briain
3232 to avoid a deadlock.
3234 2006-09-27 Kristian Rietveld <kris@imendio.com>
3236 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_free_level),
3237 (gtk_tree_model_filter_ref_node),
3238 (gtk_tree_model_filter_real_unref_node): bring zero ref count loops
3239 in sync with each other and the sort model.
3241 2006-09-27 Kristian Rietveld <kris@imendio.com>
3243 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_init),
3244 (gtk_tree_model_filter_finalize), (gtk_tree_model_filter_row_deleted),
3245 (gtk_tree_model_filter_new): unref the virtual root path once that
3246 node (or one if its ancestors) is deleted, set virtual_root_deleted
3247 so we only unref it once.
3249 2006-09-27 Kristian Rietveld <kris@imendio.com>
3251 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_changed),
3252 (gtk_tree_model_sort_sort_level): ref count nodes the proper way,
3253 (gtk_tree_model_sort_ref_node), (gtk_tree_model_sort_real_unref_node),
3254 (gtk_tree_model_sort_free_level): bring zero ref count loops in
3256 (gtk_tree_model_sort_free_level): free child levels before
3257 decreasing the zero ref count of the current level,
3258 (gtk_tree_model_sort_clear_cache): only clear cache if zero_ref_count
3261 2006-09-25 Matthias Clasen <mclasen@redhat.com>
3263 * demos/gtk-demo/*.c:
3264 * gtk/gtkeventbox.c:
3265 * gtk/gtkprintoperation.c: Fix typos. String change.
3267 2006-09-25 Kristian Rietveld <kris@gtk.org>
3269 * gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): if the tree view
3270 has already been realized; scroll to background area instead of
3271 cell area. (Fixes #330683, Johan Dahlin, Tommi Komulainen).
3273 2006-09-25 Kristian Rietveld <kris@gtk.org>
3275 * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): only attempt
3276 to create the GCs if the widget is realized. (Fixes #357578).
3278 2006-09-25 Matthias Clasen <mclasen@redhat.com>
3280 * gtk/gtkuimanager.c (_gtk_menu_is_empty): Don't leak
3281 the list of children (#357454, Paolo Borelli)
3283 2006-09-25 Michael Natterer <mitch@imendio.com>
3285 * gdk/x11/gdkdisplay-x11.c (gdk_display_x11_finalize): free
3286 display->input_windows with g_free(), not g_object_unref()
3287 (#357566, Tommi Komulainen).
3289 2006-09-24 Kristian Rietveld <kris@gtk.org>
3291 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init),
3292 (gtk_cell_renderer_text_[sg]et_property): actually add align-set
3293 property to the API (left-over patch from #157439).
3295 2006-09-24 Kristian Rietveld <kris@gtk.org>
3297 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button): draw
3298 the indicator if the column has a sort column id (and the model is
3299 sortable) or if the user explicitly requested the indicator
3300 to be shown. (Fixes #352738, Chris Vine).
3302 2006-09-23 Tor Lillqvist <tml@novell.com>
3304 * gtk/Makefile.am: Use EXEEXT.
3306 2006-09-22 Michael Natterer <mitch@imendio.com>
3308 * gtk/gtkstyle.c (gtk_style_real_copy): also copy icon factories
3309 and color hashes. Fixes bug #357132.
3311 2006-09-22 Matthias Clasen <mclasen@redhat.com>
3313 Make remote bookmarks work better (#354887)
3315 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons):
3316 (shortcuts_insert_path):
3317 * gtk/gtkfilechooserbutton.c (change_icon_theme):
3318 (model_add_bookmarks):
3319 (model_update_current_folder):
3320 (update_label_and_image):
3321 If the bookmark points to a remote file, don't call get_info(),
3322 since that may a) take a long time and b) pop up an auth dialog.
3323 Instead, just use a folder icon and create a display name
3326 * gtk/gtkfilechooserdefault.c (_gtk_file_chooser_label_for_uri):
3327 New function to create a suitable display name for a remote
3328 uri. This should really be done in GtkFileSystem.
3330 2006-09-21 Michael Natterer <mitch@imendio.com>
3332 Implement lots of value setters for GdkGC, based on a heavily
3333 modified patch from Thomas Broyer (bug #328853):
3335 * gdk/quartz/gdkcolor-quartz.c: removed functions which set colors
3336 on the CGContext. Instead, added gdk_quartz_get_rgba_from_pixel()
3337 which simply returns RGBA values from a GdkColor's pixel value.
3338 See gdk_quartz_update_context_from_gc() below.
3340 * gdk/quartz/gdkprivate-quartz.h (struct GdkGCQuartz): added lots
3341 of members for the newly suppored GC values. Added enum
3342 GdkQuartzContextValuesMask which is used for setting up the
3343 CGContext for filling and/or stroking.
3345 * gdk/quartz/gdkgc-quartz.c (gdk_quartz_gc_get_values)
3346 (gdk_quartz_gc_set_values)
3347 (_gdk_windowing_gc_copy): support a lot more GC values.
3349 (gdk_quartz_update_context_from_gc): added
3350 GdkQuartzContextValuesMask parameter and set filling/stroking
3351 parameters accordingly. This function also gained full control
3352 over the FG and BG colors (they can't be set separately any more).
3354 The stipple mask part of the patch doesn't work but seems to take
3355 the right approach and doesn't make things worse, so I applied it.
3357 Did *not* apply the clipping part of the patch since I don't
3358 understand it (I don't understand the version in CVS either, but
3359 it at least works :-)
3361 * gdk/quartz/gdkdrawable-quartz.c: pass the right masks to
3362 gdk_quartz_update_context_from_gc() and removed separate color
3363 setting calls. Some minor fixes.
3365 * gdk/quartz/gdkwindow-quartz.c
3366 (gdk_window_impl_quartz_begin_paint_region): set the CGContext's
3367 fill color manually. We don't have/need a GC here.
3369 2006-09-21 Michael Natterer <mitch@imendio.com>
3371 * gdk/quartz/gdkwindow-quartz.c
3372 (gdk_window_impl_quartz_begin_paint_region): fix cast: it's
3373 drawable_impl->wrapper that is the GdkWindow, not the
3374 drawable_impl itself.
3376 2006-09-20 Behnam Esfahbod <behnam@zwnj.org>
3378 * gdk/x11/gdkkeys-x11.c:
3379 (get_direction): just check the first shift-level of keyboard
3380 layout for RTL and LTR keysyms() (compliment to #116626)
3382 Wed Sep 20 16:59:38 2006 Tim Janik <timj@imendio.com>
3384 * gtk/gtkviewport.c: always update the bin_window position and size
3385 in size_allocate, even if we don't have a visible child. this fixes
3386 expose artefacts as described in #313508.
3388 * gtk/gtkscrolledwindow.c: make hiding of automatic scrollbars when we
3389 have no visible child explicit.
3391 2006-09-19 Ryan Lortie <desrt@desrt.ca>
3393 * docs/reference/gdk/gdk-sections.txt:
3396 * gdk/gdkpango.c: Bug 355343. Add a GdkPangoAttrEmbossColor.
3397 (gdk_pango_layout_get_clip_region): Remove an unused variable.
3398 (gdk_pango_attr_embossed_new): Fix documentation.
3400 Tue Sep 19 17:00:04 2006 Tim Janik <timj@imendio.com>
3402 * gtk/gtkarrow.c: added GtkArrow::arrow-scaling style property to
3403 control the arrow/border ratio within the allocation.
3405 * tests/testgtk.c: added a GtkArrow to handle box test.
3407 * tests/testgtkrc: test ::arrow-scaling property.
3409 2006-09-19 Matthias Clasen <mclasen@redhat.com>
3411 * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
3412 Display an error when we come to the root.
3414 2006-09-16 Matthias Clasen <mclasen@redhat.com>
3416 * gtk/gtkfilechooserbutton.c: Use bookmark labels in
3419 * gtk/gtkfilechooserbutton.c: Don't add remote volumes and
3420 bookmarks to the model in local-only mode, to avoid
3421 authentication dialogs pop up for invisible bookmarks, and
3422 to fix issues with separators not being hidden when
3423 they should. (#354887, Dennis Cranston)
3425 2006-09-16 Matthias Clasen <mclasen@redhat.com>
3427 * gtk/gtkcombobox.c (gtk_combo_box_finalize): Unref the
3428 treeview use in list mode. (#355732, Richard Hult)
3430 * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): Send
3431 change notification for the right property. (#355308,
3434 2006-09-15 Michael Natterer <mitch@imendio.com>
3436 * gtk/gtktreeview.c (gtk_tree_view_key_press): refactored column
3437 header navigation/resizing/reordering to be more readable and lose
3438 one level of nesting.
3440 2006-09-15 Kristian Rietveld <kris@imendio.com>
3442 * gtk/gtktreeview.c (gtk_tree_view_key_press): actually directly
3443 return after handling column button focus; we disable wrap around
3444 with this (which actually happened via a really weird code path).
3447 2006-09-15 Kristian Rietveld <kris@imendio.com>
3449 * gtk/gtktreeview.c (gtk_tree_view_key_press): make column resizing
3450 code RTL aware, also break from the loops after we have seen the
3451 focussed column button (Michael Natterer).
3453 Thu Sep 14 12:28:51 2006 Tim Janik <timj@imendio.com>
3455 * tests/testrichtext.c (main): intialize random number generator state
3456 upon program start, to enable truely random testing.
3458 2006-09-13 Michael Emmel <mike.emmel@gmail.com>
3460 * gdk/directfb/gdkcolor-directfb.c small clean ups include order
3461 * gdk/directfb/gdkwindow-directfb.c fixed beep compile error
3462 * gdk/directfb/Makefile.am removed GDK_PIXBUF_DISABLE_DEPRECATED
3463 GDK_DISABLE_DEPRECATED to allow compile per Behdad
3464 * gdk/quartz/Makefile.am same change as directfb Makefile
3465 * gtk/Makefile.am fixed typo that cause socket stubs not to compile
3467 2006-09-13 Matthias Clasen <mclasen@redhat.com>
3469 * gtk/gtkcolorsel.c: Use a GtkWindow instead of a GtkInvisible
3470 for the grab widget, to make the color picker work with window
3473 2006-09-12 Hong Jen Yee <pcman.tw@gmail.com>
3475 signed off by: Dom Lachowicz
3477 * modules/engines/ms-windows/msw_style.c: Bug 340201. This contains
3478 a large number of improvements to the Microsoft Windows theme engine
3479 which are fully described in the bug report.
3481 Mon Sep 11 14:22:39 2006 Tim Janik <timj@imendio.com>
3483 * tests/testgtk.c: fixed compiler warnings.
3485 2006-09-10 Matthias Clasen <mclasen@redhat.com>
3487 * gtk/gtkfilechooserbutton.c (model_add_special): Request
3488 the display name too, otherwise "Desktop" does not appear
3489 in the file chooser button.
3491 2006-09-10 Tor Lillqvist <tml@novell.com>
3493 * gdk/win32/gdkprivate-win32.h
3494 * gdk/win32/gdkmain-win32.c
3495 * gdk/win32/gdkwindow-win32.c: Define WINVER and _WIN32_WINNT as
3496 0x0500 in gdkprivate-win32.h instead of doing it in two source
3497 files. (#355212, Mike Edenfield)
3499 * gdk/win32/gdkwindow-win32.c: We can also remove the ersatz
3500 GetAncestor() for the _MSC_VER && WINVER < 0x0500 case, I hope.
3502 2006-09-10 Matthias Clasen <mclasen@redhat.com>
3504 * Commit a patch by Behdad to fix typos, omissions and other
3505 errors in the symbol aliasing, and add checks for local PLT
3506 entries. (#354687, Behdad Esfahbod)
3508 * gtk/gtktreeview.c (gtk_tree_view_search_scroll_event): Renew
3509 the flush timeout. (#354043, Nelson Benitez)
3511 * gtk/gtkfilechoosersettings.c (set_unexpected_element_end_error):
3512 Improve wording. String change! (#355126, David Lodge)
3514 * gtk/updateiconcache.c: Improve wording. String change! (#355128,
3517 * gtk/paper_names_offsets.c: Fix a typo. String change! (#355134,
3520 2006-09-09 Matthias Clasen <mclasen@redhat.com>
3522 * gdk/x11/gdkfonts-x11.c: Fix small theoretical memory leaks.
3523 (#353916, Chris Wilson)
3525 * gtk/gtksettings.c (_gtk_settings_reset_rc_values):
3526 Don't leak the to_reset list. (#353914, Chris Wilson)
3528 * gtk/gtkwidget.c: Add docs for the parent-set signal.
3529 (#353772, Mariano Suárez-Alvarez)
3531 2006-09-08 Matthias Clasen <mclasen@redhat.com>
3533 * gtk/gtktextbuffer.c (remove_all_selection_clipboards):
3534 Don't clear clipboards here, since we are called from finalize
3535 and can't emit signals.
3537 * configure.in: Set version to 2.11.0
3539 2006-09-06 Richard Hult <richard@imendio.com>
3541 * gdk/quartz/gdkkeys-quartz.c: (maybe_update_keymap): Special-case
3542 shift-tab and map it to GDK_ISO_Left_Tab, fixes bug #350806.
3544 2006-09-04 Kristian Rietveld <kris@imendio.com>
3546 * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
3547 if setting the given folder failed, try setting the parent folder
3548 until we succeed; display an error box at the end.
3550 2006-09-04 Kristian Rietveld <kris@imendio.com>
3552 * gtk/gtkpathbar.c (gtk_path_bar_dispose): don't cancel the
3553 operations spawned by buttons here,
3554 (set_button_image_get_info_cb): bail out if button is NULL, but
3555 do free button_data,
3556 (button_data_free): only free the data if non NULL (since this
3557 function can be called multiple times for the same data), cancel
3558 handle if pending but don't free button_data in this case (will
3559 happen in the callback).
3561 2006-09-04 Michael Natterer <mitch@imendio.com>
3563 * gtk/gtkrc.c (rc_parse_token_or_compound)
3564 (gtk_rc_parse_assignment): serialize floating point values using
3565 locale-independent functions. (#346751, Frederic Crozat)
3567 2006-09-04 Tor Lillqvist <tml@novell.com>
3569 * gdk/win32/gdkevents-win32.c
3570 * gdk/win32/gdkwindow-win32.c: Use wide-char API for message and
3571 window handling (PeekMessage, PostMessage, SendMessage,
3572 DispatchMessage, DefWindowProc, RegisterClassEx,
3573 CreateWindowEx). (#321597)
3575 2006-09-03 Kristian Rietveld <kris@imendio.com>
3577 * gtk/gtkfilechooserdefault.c (save_entry_get_info_cb),
3578 (file_exists_get_info_cb), (gtk_file_chooser_default_should_respond):
3579 change file_exists_and_is_not_folder checks to get the file info
3580 for the path directly instead of querying the current file folder
3583 * gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault): add
3586 * tests/autotestfilechooser.c (wait_for_idle_idle), (wait_for_idle),
3587 (test_reload_sequence), (test_button_folder_states_for_action): wait
3588 for idle after setting a folder to ensure the async operations to load
3589 the folder are finished,
3590 (test_confirm_overwrite), (test_confirm_overwrite_for_path):
3591 factor out test_confirm_overwrite code so we can add tests for more
3594 2006-09-03 Richard Hult <richard@imendio.com>
3596 * gdk/quartz/GdkQuartzView.c (drawRect): Don't do anything if
3597 exposure isn't in the event mask, plug a leak, and check that the
3598 window isn't destroyed.
3599 (isOpaque): Check that the window isn't destroyed, fixes bug
3602 2006-09-03 Matthias Clasen <mclasen@redhat.com>
3604 * gtk/gtkwidget.c (gtk_widget_class_init): Fix a typo.
3605 (#354035, Mariano Suárez-Alvarez)
3607 * gtk/gtkmain.c (post_parse_hook):
3608 * gdk/gdk.c (gdk_init): Handle display_name being NULL.
3609 (#354004, Chris Wilson)
3611 2006-09-03 Tor Lillqvist <tml@novell.com>
3613 * gdk/win32/gdkwindow-win32.c (gdk_window_beep): No
3614 GDK_WINDOW_DISPLAY in the Win32 backend.
3616 * gtk/gtkfilesystemwin32.c: Copy what Kris did to
3619 2006-09-02 Kristian Rietveld <kris@imendio.com>
3621 First part of file chooser fixes.
3623 * gtk/gtkfilechooserbutton.c (model_add_special): also set the
3624 handle in the model for the desktopdir case.
3626 * gtk/gtkfilechooserdefault.c (shortcuts_add_current_folder): free
3627 volume in case we retrieved it but don't pass it on to insert_path,
3628 (shortcuts_model_create): change the column type for the handles
3629 to pointer instead of GObject so our handle ref counting is not
3631 (show_and_select_paths_finished_loading): don't forget to unref
3634 * gtk/gtkfilesystemunix.c (gtk_file_system_unix_class_init),
3635 (gtk_file_system_unix_init), (gtk_file_system_unix_dispose):
3636 remove pending execute_callbacks_idle during dispose, also
3637 execute all callbacks waiting to be run in the next idle,
3638 (queue_*callback), (execute_callbacks_idle): refactor to maintain
3639 a list of callbacks to call per file system instead of globally,
3640 guard the file system during callback invocation,
3641 (gtk_file_system_unix_get_folder): only add load folder idle if
3642 none has been added yet.
3644 2006-09-01 Matthias Clasen <mclasen@redhat.com>
3646 * gtk/gtkentry.c: Don't unnecessarily reset the im context
3647 when deleting the selection. (#353803, Alex Larsson)
3649 2006-09-01 Abel Cheung <abel@oaka.org>
3651 * configure.in: Added 'ang' 'dz' to ALL_LINGUAS.
3653 2006-08-31 Matthias Clasen <mclasen@redhat.com>
3655 Stop cursor blinking after a configurable timeout.
3656 (#353670, #352442, Arjan van de Ven, Manu Cornet)
3658 * gtk/gtksettings.c (gtk_settings_class_init): Add a
3659 gtk-cursor-blink-timeout setting, which specifies the number
3660 of seconds that the cursor should blink after a user interaction.
3661 The default value is G_MAXINT to preserve the current behaviour.
3663 * gtk/gtkentry.c (blink_cb): Stop blinking after blink-timeout
3666 * gtk/gtkentry.c (gtk_entry_completion_key_press)
3667 (gtk_entry_button_press, gtk_entry_focus_in): Reset the
3670 * gtk/gtktextview.c (blink_cb): Stop blinking after blink-timeout
3673 * gtk/gtktextview.c (gtk_text_view_key_press_event)
3674 (gtk_text_view_button_press_event, gtk_text_view_focus_in_event):
3675 Reset the blink timer.
3677 2006-08-31 Matthias Clasen <mclasen@redhat.com>
3679 * gtk/gtkprintoperation-unix.c (get_print_dialog): Don't specify
3680 explicit format capabilities. (#346505, Christian Persch)
3682 * modules/printbackends/cups/gtkprintbackendcups.c (cups_request_printer_list_cb): Send printer-list-done on error.
3684 2006-08-31 Michael Natterer <mitch@imendio.com>
3686 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Fix build.
3688 2006-08-30 Richard Hult <richard@imendio.com>
3690 * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep): Fix build.
3692 2006-08-30 Matthias Clasen <mclasen@redhat.com>
3694 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Only use XKB
3695 for beeping if we are using XKB.
3697 2006-08-29 Matthias Clasen <mclasen@redhat.com>
3701 * gdk/directfb/gdkwindow-directfb.c (gdk_window_beep):
3702 * gdk/win32/gdkwindow-win32.c (gdk_window_beep):
3703 * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep):
3704 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Add a function
3705 to beep on a window. For X11, implement this with
3706 XkbBell. (#353455, Mariano Suárez-Alvarez)
3708 2006-08-29 Tor Lillqvist <tml@novell.com>
3710 Remove support for Windows 9x/ME. GTK+ hasn't worked on Win9x
3711 since 2.6 or 2.8. It's pointless to keep the Win9x code in here as
3712 it isn't being maintained anyway. If somebody is interested, it
3713 can always be found in older GTK+ versions, and in CVS.
3718 * gdk/win32/Makefile.am
3719 * gdk/win32/libie55uid.la
3720 * gdk/win32/gdkevents-win32.c: Remove the --with-ie55 configure
3721 switch and associated stuff. Active IMM and the <dimm.h> header
3722 was used for IM support on NT4 and Win9x. Win2k and later have IM
3725 * gdk/win32/gdkcursor-win32.c
3726 * gdk/win32/gdkdnd-win32.c
3727 * gdk/win32/gdkdrawable-win32.c
3728 * gdk/win32/gdkevents-win32.c
3729 * gdk/win32/gdkgc-win32.c
3730 * gdk/win32/gdkglobals-win32.c
3731 * gdk/win32/gdkkeys-win32.c
3732 * gdk/win32/gdkmain-win32.c
3733 * gdk/win32/gdkproperty-win32.c
3734 * gdk/win32/gdkselection-win32.c
3735 * gdk/win32/gdkwindow-win32.c: Remove the G_WIN32_IS_NT_BASED()
3736 and G_WIN32_HAVE_WIDECHAR_API() tests and their false (Win9x)
3737 branches, and any variables or static functions used only by the
3740 * gdk/win32/gdkprivate-win32.h: Remove backup definitions for
3741 constants that aren't missing from current mingw and MSVC6
3744 * gdk/win32/gdkmain-win32.c
3745 * gdk/win32/gdkprivate-win32.h: Remove the _gdk_win32_gdi_failed()
3746 function. On NT-based Windows GetLastError() returns error codes
3747 also for failed GDI calls, so we can use _gdk_win32_api_failed()
3750 2006-08-29 Emmanuele Bassi <ebassi@gnome.org>
3752 * gtk/gtkrecentchoosermenu.c
3753 (gtk_recent_chooser_menu_set_current_uri): Break when an item
3754 is found and activated. (#353449, based on a patch by Jan Arne
3757 Fri Jul 14 16:13:37 2006 Tim Janik <timj@gtk.org>
3759 * gtk/gtkprogressbar.c: introduced ::xspacing and ::yspacing style
3760 properties which make all hardcoded padding and spacing values
3761 configurable. properly swap ::text-xalign treatment for RTL widgets.
3763 * gtk/gtkprogress.c: fixed style property blurbs. made alignment
3764 proeprty more consistent with GtkMisc alignment blurbs. mention
3765 RTL treatment for text-xalign.
3767 Tue Aug 29 11:57:40 2006 Tim Janik <timj@imendio.com>
3769 * tests/testgtk.c: allow (most) windows to be resizable.
3770 added ellipsization settings to progress bars.
3772 2006-08-28 Matthias Clasen <mclasen@redhat.com>
3774 * modules/printbackend/cups/gtkprintbackendcups.c: Use a
3775 resonable timeout of 3 seconds when polling for printer
3776 list updates, instead of 300000 seconds...
3778 2006-08-28 Michael Natterer <mitch@imendio.com>
3780 * gtk/gtktextbufferserialize.c (serialize_text): don't write out
3781 </apply_tag> for tags that have already been closed by the logic
3782 which turns overlapping spans into XML-able trees. Fixes broken
3783 XML when there are overlapping tags in the buffer. Also free two
3784 leaked GLists and did some cleanup.
3787 * tests/testrichtext.c: new test which creates randomly tagged
3788 GtkTextBuffers and serializes/deserializes them.
3790 2006-08-26 Matthias Clasen <mclasen@redhat.com>
3792 * gtk/gtkstatusicon.c (gtk_status_icon_reset_image_data):
3793 Don't leak pixbufs. (#352264, Ross Burton)
3795 * gtk/gtklinkbutton.c (set_link_underline): Don't leak
3796 PangoAttributes. (#352391, Paolo Borelli)
3798 2006-08-25 Matthias Clasen <mclasen@redhat.com>
3800 * demos/gtk-demo/Makefile.am:
3801 * demos/gtk-demo/textscroll.c: Add an example of automatic
3802 scrolling, thanks to Yevgen Muntyan. (#351206)
3804 * gtk/gtkmodules.c (find_module): Use local binding when
3805 loading modules. (#351868)
3807 2006-08-24 Michael Natterer <mitch@imendio.com>
3809 * gdk/quartz/gdkdisplay-quartz.c (gdk_display_get_name): return
3810 the hostname instead of NULL.
3812 2006-08-23 Matthias Clasen <mclasen@redhat.com>
3814 * gtk/gtkprinteroptionwidget.[hc]: Fix confusion about
3815 names and values in comboboxes, and clean up some
3816 coding style issues.
3818 2006-08-23 Tor Lillqvist <tml@novell.com>
3820 * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_make_path):
3821 Revert unintended translatable string addition. Use same string
3822 in GError as in gtkfilesystemunix.c.
3824 * gtk/gtkfilesystemwin32.c (_gtk_file_system_win32_path_compare):
3825 Fix logic at the end of strings.
3827 * gtk/gtkfilesystemwin32.c: Maintain a hash table of live
3828 handles and check that we have no outstanding handles at
3829 finalization time. (Copying what Matthias did for
3830 gtkfilesystemunix.c)
3832 2006-08-23 Matthias Clasen <mclasen@redhat.com>
3834 * gtk/gtkfilesystemunix.c: Maintain a hash table
3835 of live handles and check that we have no outstanding
3836 handles at finalization time. (Copying what
3837 Federico did for gtkfilesystemgnomevfs.c)
3839 2007-08-22 Matthias Clasen <mclasen@redhat.com>