1 2007-04-03 Behdad Esfahbod <behdad@gnome.org>
3 * gtk/gtksettings.c (settings_update_font_options): Don't set
4 metrics-hinting font option. Rely on the default value which is
5 on for all raster cairo surfaces. (#425985)
7 2007-04-03 Loïc Minier <lool@dooz.org>
9 * gdk/x11/gdkscreen-x11.c: (check_xfree_xinerama): Revert to
10 non-xinerama mode when XineramaQueryScreens returns NULL; patch from
11 Simon McVittie; #425786.
13 2007-04-02 Michael Natterer <mitch@imendio.com>
15 * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): remove
16 artifact from the time when type checking casts warned on NULL,
17 some whitespace cleanup.
19 2007-04-01 Cody Russell <bratsche@gnome.org>
21 * modules/engines/ms-windows/msw_style.c: Fix rendering of
22 notebook tabs when they are bottom-oriented. Fixes #399253.
24 2007-03-31 Elijah Newren <newren gmail com>
26 * gdk/x11/gdkwindow-x11.c (setup_toplevel_window,
27 gdk_x11_window_set_user_time):
28 Patch from Matthias to add support for the
29 _NET_WM_USER_TIME_WINDOW EWMH protocol; see #354213.
31 WARNING: This patch will make metacity <= 2.18.0 freeze on
32 workspace switch. This is due to a weird problem that should only
33 affect window managers using gdk in-process for decoration drawing
34 and which make an unsafe assumption relating to doing so (i.e. it
35 should only affect metacity). Upgrade your version of metacity if
38 2007-03-29 Michael Natterer <mitch@imendio.com>
40 Don't close menus on clicks on their border area (bug #423761).
41 (modified patch from maemo-gtk).
43 * gtk/gtkmenu.c (gtk_menu_button_press)
44 (gtk_menu_button_release): bail out early if the click was on the
45 menu's border (not on any item and not outside the window).
47 (pointer_in_menu_window): new utility function which checks if
48 passed root coords are inside the menu_shell or one of its
51 2007-03-29 Michael Natterer <mitch@imendio.com>
53 * gtk/gtkmenu.c: get rid of local GtkSettings variables by moving
54 gtk_widget_get_settings() into the g_object_get() call. Some small
57 2007-03-28 Matthias Clasen <mclasen@redhat.com>
59 * modules/printbackends/cups/gtkcupsutils.[hc]:
60 * modules/printbackends/cups/gtkprintbackendcups.c: Apply
61 a patch by John Palmieri to make the cups print backend support
64 2007-03-28 Kristian Rietveld <kris@imendio.com>
66 * gtk/gtkwidget.c (gtk_widget_set_tooltip_window): don't unref
67 tooltip_window, since this is handled by set_qdata_full() already.
68 (#412001, Torsten Schoenfeld).
70 2007-03-27 Tor Lillqvist <tml@novell.com>
72 * modules/input/Makefile.am: Use LDADDS for im-multipress.la, too:
74 2007-03-26 Christian Persch <chpe@gnome.org>
76 * gtk/gtkrc.c: (gtk_rc_context_get): Initialise variable. Bug #423064.
78 2007-03-24 Kristian Rietveld <kris@gtk.org>
80 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
81 calculate the depth with the corrected real_cell_area and don't
82 subtract horizontal_separator/2.
84 2007-03-24 Andreas Nilsson <andreas@andreasn.se>
87 * gtk-no: More Tango love.
89 2007-03-23 Jakub Steiner <jimmac@ximian.com>
91 * gtk-dialog-authentication.svg
92 * gtk-dialog-error.svg
94 * gtk-dialog-question.svg
95 * gtk-dialog-warning.svg: Start with a Tango face-lift.
97 2007-03-23 Rodney Dawes <dobey@novell.com>
99 * gtk/gtkicontheme.c: Fix a couple of comment typos (#421627)
101 2007-03-23 Matthias Clasen <mclasen@redhat.com>
103 * gtk/gtkfilechooserdefault.c: Add a keybinding (C-h) to
104 toggle whether to show hidden files. (#344657,
105 Wouter Bolsterlee, Priit Laes, et al)
107 2007-03-23 Matthias Clasen <mclasen@redhat.com>
109 * gtk/gtkfilechooserdefault.c: Add a keybinding (C-l) to
110 toggle the visibility of the location entry. (#383354,
111 John Pye, patch by Carlos Garnacho)
113 2007-03-22 Matthias Clasen <mclasen@redhat.com>
115 * gtk/gtksettings.c (merge_color_scheme): Freeze property
117 * gtk/gtksettings.c (_gtk_settings_handle_event): Handle
118 the gtk-color-scheme xsetting being unset.
120 * gtk/gtkrc.c (gtk_rc_reparse_all_for_settings): Handle
123 2007-03-21 Matthias Clasen <mclasen@redhat.com>
125 * gtk/gtkprintoperation-unix.c: Remove leftover debug spew.
127 2007-03-21 Rodney Dawes <dobey@novell.com>
130 * gtk/gtkicontheme.[ch]:
131 * docs/reference/gtk/gtk-sections.txt:
132 * tests/testicontheme.c:
133 Add a new API call gtk_icon_theme_list_contexts so that one can
134 choose icons from a theme by context (#420719)
136 2007-03-21 Ross Burton <ross@burtonini.com>
139 Document the ::event signal (#420703).
141 2007-03-20 Kristian Rietveld <kris@gtk.org>
143 * gtk/gtktreeviewcolumn.c:
144 * gtk/gtktreeprivate.h: add _gtk_tree_view_column_get_focus_area().
146 * gtk/gtktreeview.c (gtk_tree_view_clamp_column_visible): add
147 focus_to_cell parameter, rework to handle clamping columns which
148 are bigger than the available page size better,
149 (gtk_tree_view_key_press): remove code handling moving the focus
150 to other column headers,
151 (gtk_tree_view_header_focus): add clamp_column_visible parameter,
152 fix RTL support, don't wrap around when moving focus to other
153 column headers, call gtk_tree_view_clamp_column_visible() instead
155 (gtk_tree_view_focus): only clamp the column visible when we are
156 explicitly moving to another column header (fixes #399555, Charles
158 (gtk_tree_view_move_cursor_left_right): update call to
159 gtk_tree_view_clamp_column_visible().
161 2007-03-19 Matthias Clasen <mclasen@redhat.com>
163 * demos/gtk-demo/appwindow.c: Explicitly set the title on the
166 2007-03-18 Matthias Clasen <mclasen@redhat.com>
168 * gtk/gtkentrycompletion.c (gtk_entry_completion_compute_prefix):
169 Ensure that the prefix is valid UTF-8. (#419568, Nickolay V. Shmyrev)
171 2007-03-18 Matthias Clasen <mclasen@redhat.com>
173 * modules/input/gtkimcontextmultipress.[hc]:
174 * modules/input/im-multipress.conf:
175 * modules/input/immultipress.c:
176 * modules/input/README.multipress: Add the multipress input
177 method. (#417446, Johannes Schmid, Murray Cumming)
179 * modules/input/Makefile.am: Glue
181 2007-03-17 Chris Wilson <chris@chris-wilson.co.uk>
183 * gdk/x11/gdkvisual-x11.c (_gdk_visual_init):
184 Initialise nxvisuals to 0 in order to handle XGetVisualInfo()
185 failures gracefully. (#419171)
187 2007-03-17 Emmanuele Bassi <ebassi@gnome.org>
189 * gtk/gtkrecentaction.c (recent_chooser_set_property),
190 (gtk_recent_action_set_property): Remove useless inlined
191 function and propagate the properties to the GtkRecentChooser
192 objects we create, instead of all the proxies.
194 (set_current_filter): Remove 'inline' marker.
196 2007-03-16 Emmanuele Bassi <ebassi@gnome.org>
198 Apply changes suggested by Michael Natterer. (#338843)
201 * gtk/gtkaction.c: Rename get_submenu() to create_menu();
202 rename gtk_action_get_submenu() to gtk_action_create_menu().
204 * gtk/gtkrecentaction.c: Update for GtkAction change.
206 * gtk/gtkuimanager.c (update_node): Update for GtkAction change;
207 also, use the menu from the GtkAction for both menuitem and
210 2007-03-16 Xan Lopez <xan@gnome.org>
212 * gtk/gtkwidget.c: Fix documentation error in
213 gtk_widget_set_redraw_on_allocate.
215 2007-03-16 Matthias Clasen <mclasen@redhat.com>
217 * gtk/gtkprintunixdialog.c (printer_added_cb): Scroll to
218 make the selected printer visible. (#418403, Nickolay V. Shmyrev,
219 patch by Christian Persch)
221 2007-03-15 Federico Mena Quintero <federico@novell.com>
223 Merged from gtk-2-10:
225 * gtk/gtkfilechooserdefault.c (find_good_size_from_style):
226 PANGO_PIXELS() gives us device units, which are *points* in
227 pangocairo's parlance, but we want actual pixels. So, get the
228 screen's resolution to compute the actual number of pixels.
231 2007-03-15 Emmanuele Bassi <ebassi@gnome.org>
233 * gtk/gtkrecentmanager.c (gtk_recent_manager_add_item): Remove
234 unused GError; do not allocate GtkRecentData and use a variable
235 on the stack. (#418673, Morten Welinder)
237 2007-03-15 Emmanuele Bassi <ebassi@gnome.org>
239 * gtk/gtkaction.[ch]: Add GtkActionClass::get_submenu() vfunc:
240 actions providing a menu item or a menu tool button with already
241 a submenu should return the GtkMenu widget.
243 * gtk/gtkuimanager.c (update_node): If an action provides its
244 own submenu, use it instead of adding an empty one
246 * gtk/gtkrecentaction.[ch]: Add GtkRecentAction, an action
247 implementing the GtkRecentChooser interface for displaying the
248 list of recently used files into menus and toolbars generated
249 using GtkUIManager. (#338843)
253 * gtk/gtk.symbols: Add GtkRecentAction API to the build.
255 * tests/testactions.c: Exercise the GtkRecentAction API.
257 2007-03-15 Chris Wilson <chris@chris-wilson.co.uk>
259 * gtk/gtkicontheme.c (ensure_valid_themes), (rescan_themes),
260 (gtk_icon_theme_rescan_if_needed): Protect ensure_valid_themes()
261 from recursion, which can happen for example if the app tries to
262 reload an icon from within a theme-changed handler. (#418531)
264 2007-03-15 Richard Hult <richard@imendio.com>
266 * gdk/quartz/gdkmain-quartz.c: Add stubs for
267 gdk_notify_startup_complete_with_id and gdk_window_set_startup_id
270 2007-03-15 Emmanuele Bassi <ebassi@gnome.org>
272 * gtk/gtkrecentmanager.c: Fix documentation errors. (Morten
275 2007-03-15 Tor Lillqvist <tml@novell.com>
277 * gdk/gdk.symbols: Add gdk_notify_startup_complete_with_id and
278 gdk_window_set_startup_id.
280 * gdk/win32/gdkmain-win32.c: Add dummy implementations of the above.
282 2007-03-15 Emmanuele Bassi <ebassi@gnome.org>
284 * gtk/gtkrecentchooserprivate.h:
285 * gtk/gtkrecentchooserutils.c: Move filtering of the recent
286 files list into the shared implementation; do the filtering
287 before the sorting, so that we always clamp on the desired
290 * gtk/gtkrecentchoosermenu.c: Remove the filtering of the
291 list, as it's already been done.
293 * gtk/gtkrecentchooserdefault.c: Ditto; also remove the
294 GtkTreeModelFilter: just reload the view if the sorting and
295 filtering properties change.
297 * gtk/testrecentchoosermenu.c: Exercise the limit property.
299 2007-03-14 Michael Natterer <mitch@imendio.com>
301 Make gtk_widget_set_extension_events() work on already realized
302 widgets (bug #379550, Tommi Komulainen)
304 * gdk/x11/gdkinput.c (gdk_input_set_extension_events): allow to be
305 called multiple times without leaking and work correctly when
306 already realized (don't rely on a configure event following).
308 * gtk/gtkwidget.c (gtk_widget_set_extension_events_internal): new
309 internal function which walks the GdkWindow tree and sets the
310 extension events on all windows that belong to the widget.
313 (gtk_widget_set_extension_events): use the new function.
315 2007-03-14 Emmanuele Bassi <ebassi@gnome.org>
317 Various clean ups in the GtkRecent code. (see #338843)
319 * gtk/gtkrecentchooserdefault.c:
320 * gtk/gtkrecentchoosermenu.c:
321 * gtk/gtkrecentchooserprivate.h:
322 * gtk/gtkrecentchooserutils.c: Move the recent chooser function
323 for getting the sorted and clamped list of recent files from the
324 manager outside the implementations.
326 * gtk/gtkrecentchooserdefault.c (chooser_set_sort_type): Repopulate
327 the list when the sorting order changes.
329 (gtk_recent_chooser_default_dispose),
330 (gtk_recent_chooser_default_finalize): Move object unref and
331 source removal from finalize to dispose.
333 * gtk/gtkrecentchooser.c (gtk_recent_chooser_type_init): Relax the
334 prerequisite for the GtkRecentChooser interface implementations,
335 from GtkObject to GObject.
337 (gtk_recent_chooser_class_init): Use GTK_PARAM_* instead of
340 2007-03-13 Emmanuele Bassi <ebassi@gnome.org>
342 Apply patch by Vytautas Liuolia for changing the startup
343 notification id on a window in the X11 backend. (#347375)
347 * gdk/x11/gdkdisplay-x11.c: Add gdk_notify_startup_complete_with_id()
348 and gdk_x11_display_get_startup_notification_id().
351 * gdk/x11/gdkwindow-x11.c: Add gdk_window_set_startup_id().
354 * gtk/gtkwindow.c: Add gtk_window_set_startup_id(), used to
355 change the startup notification id.
357 (gtk_window_class_init), (gtk_window_init),
358 (gtk_window_set_property): Add write-only "startup-id" property
361 (gtk_window_realize): Set the startup notification id
362 on a GtkWindow if it's valid.
364 (gtk_window_map): If we have another valid startup notification
365 id then finish the notification process.
367 2007-03-13 Matthias Clasen <mclasen@redhat.com>
369 * gtk/gtknotebook.c (gtk_notebook_real_insert_page):
370 Fix tabbed browsing in epiphany. (#413664, Christian Persch)
372 2007-03-12 Matthias Clasen <mclasen@redhat.com>
374 * gtk/gtksizegroup.c (gtk_size_group_add_widget): Clarify
375 docs. (#345844, Torsten Schoenfeld)
377 * gdk/x11/gdkevents-x11.c (gdk_display_add_client_message_filter):
378 * gdk/gdkwindow.c (gdk_window_add_filter): Add
379 cross-references. (#351252, Vincent Untz)
381 * gtk/gtkprintoperation.c: Fix an oversight in an
382 example. (#381083, Ian Puleston)
384 * gtk/gtkcombobox.c: Clean up and clarify docs. (#412484)
386 2007-03-12 Matthias Clasen <mclasen@redhat.com>
388 * gtk/gtkspinbutton.c (gtk_spin_button_style_set): Set
389 the background of the panel window on style changes. (#402144,
392 2007-03-12 Matthias Clasen <mclasen@redhat.com>
394 * gtk/gtkbindings.c (gtk_binding_entry_add_signal): Remove
395 an obsolete comment. (#402169, Xan Lopez)
397 2007-03-12 Matthias Clasen <mclasen@redhat.com>
399 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_property):
400 Don't copy PangoLanguage. (#340031, Morten Welinder)
402 2007-03-12 Matthias Clasen <mclasen@redhat.com>
404 * gtk/gtkfilechooserbutton.c (change_icon_theme_get_info_cb):
405 Handle the row reference path being NULL. (#410565, Joe Markus
406 Clarke, patch by Chris Wilson)
408 2007-03-11 Matthias Clasen <mclasen@redhat.com>
410 * tests/testiconview.c: Handle Menu key presses without
411 crash. (#385637, Christian Persch)
413 2007-03-11 Matthias Clasen <mclasen@redhat.com>
415 * gtk/gtktooltips.c (gtk_tooltips_get_info_from_tip_window):
416 Don't crash if active_tips_data is NULL. (#382904, Li Yuan)
418 2007-03-11 Matthias Clasen <mclasen@redhat.com>
420 * gtk/gtktextview.c (gtk_text_view_set_buffer): Set first_para_mark
421 to NULL. (#396805, Colin Leroy, patch by Mariano Suárez-Alvarez)
423 2007-03-12 Kristian Rietveld <kris@gtk.org>
425 * gtk/gtkfilechooserdefault.c (check_save_entry): immediately
426 bail out if current_folder is NULL. (#350988, lots of reporters,
427 modified patch by Jan Darmochwal).
429 2007-03-10 Kristian Rietveld <kris@gtk.org>
431 * gtk/gtktreeview.c (gtk_tree_view_search_dialog_hide): only
432 hide the search dialog and send focus events if the search dialog
433 is currently visible.
435 2007-03-10 Richard Hult <richard@imendio.com>
437 * gdk/quartz/gdkdrawable-quartz.c:
438 (gdk_quartz_ref_cairo_surface): Reuse the surface during its lifetime.
439 (gdk_quartz_drawable_get_context): Update for the new quartz cairo
440 surface API (#410442). Don't lock focus unless called outside of an
442 (gdk_quartz_drawable_release_context): Only flush the CG context and
443 unlock focus if called outside of expose.
444 (_gdk_quartz_drawable_finish): New function, used to free the cached
447 * gdk/quartz/gdkwindow-quartz.c:
448 (gdk_window_impl_quartz_begin_paint_region): A few small style changes.
449 (_gdk_window_impl_quartz_get_type): No need to make the type info
451 (gdk_window_quartz_process_all_updates): Move the autorelease pool
452 allocation and freeing outside the loop.
453 (_gdk_windowing_window_destroy): Finish the drawable.
454 (move_resize_window_internal): Small cleanup and remove comment.
456 * gdk/quartz/gdkpixmap-quartz.c: Finish the drawable.
458 2007-03-10 Richard Hult <richard@imendio.com>
460 * gdk/quartz/gdkprivate-quartz.h: Add missing function signature to fix
463 2007-03-10 Richard Hult <richard@imendio.com>
465 * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_get_name): Plug a leak.
467 2007-03-10 Richard Hult <richard@imendio.com>
469 * gdk/quartz/GdkQuartzView.c: Remove unneccesary exposure mask check.
471 2007-03-10 Richard Hult <richard@imendio.com>
473 * gdk/quartz/gdkevents-quartz.c: (gdk_screen_get_setting): Don't set
474 the font name here, leave that to themes, fixes #387508.
476 2007-03-10 Kristian Rietveld <kris@gtk.org>
478 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_ref_node),
479 (gtk_tree_model_sort_real_unref_node): when (un)reffing an
480 element, also (un)ref its parent elements. (Fixes #364946,
481 reported by many, testcase by Andreas Koehler).
483 2007-03-10 Matthias Clasen <mclasen@redhat.com>
485 * gtk/gtkprintoperation-unix.c: Initialize the do_preview
486 field of PrintResponseData. (#396703, Christian Persch)
488 * tests/print-editor.c: Plug some leaks.
490 2007-03-09 Matthias Clasen <mclasen@redhat.com>
492 * gtk/gtktextview.c (gtk_text_view_end_selection_drag):
493 Get rid of the unused event argument. Update all callers.
495 * gtk/gtktextview.c (gtk_text_view_focus_out): Call
496 gtk_text_view_end_selection_drag. (#351671, Boyd Timothy)
498 2007-03-09 Matthias Clasen <mclasen@redhat.com>
500 * modules/input/gtkimcontextxim.c
501 (gtk_im_context_xim_filter_keypress): Don't commit
502 modifier-adorned characters. (#331369, #335796, Lin Ma
505 2007-03-09 Matthias Clasen <mclasen@redhat.com>
507 * Everywhere: Remove unnecessary NULL checks before
508 g_free(). (#369666, Morten Welinder, Djihed Afifi)
510 * configure.in: Check for ftw.h
512 2007-03-09 Matthias Clasen <mclasen@redhat.com>
514 * gtk/gtkfilesystemwin32.c (get_icon_path): Remove
515 C99isms. (#416525, Kazuki Iwamoto)
517 2007-03-09 Tor Lillqvist <tml@novell.com>
519 * README.win32: Update.
521 2007-03-08 Matthias Clasen <mclasen@redhat.com>
523 * gdk/x11/gdkasync.c (send_event_handler): Defer the callbacks
524 to an idle to avoid deadlock with xcb-ified libX11. (#413032,
527 2007-03-08 Matthias Clasen <mclasen@redhat.com>
529 * gtk/gtknotebook.c (gtk_notebook_real_insert_page):
530 Set child visibility to FALSE here; it will be turned
531 back on in switch_page. (#413664, Carlos Garnacho)
533 2007-03-08 Mathias Hasselmann <mathias.hasselmann@gmx.de>
535 * modules/engines/ms-windows/msw_style.c: Use proper border style
536 when drawing shadow of scrolled windows on Windows XP (#168326)
537 * modules/engines/ms-windows/xp_theme.c: Explicitly set size of
538 element_part_map array to ensure it always is large enough.
540 2007-03-08 Mathias Hasselmann <mathias.hasselmann@gmx.de>
542 * gtk/gtkcombobox.c: Add shadow-type style property, set shadow-type
543 property of GtkEntry accordingly, unify size-allocation of toggle
544 button (#411123, patch from Mathias Hasselmann).
545 * gtk/gtkentry.c: Add shadow-type property. Query style properties
546 on style changes only (#411123, patch from Mathias Hasselmann).
547 * modules/engines/ms-windows/msw_style.c: Drop combo_box_draw_box
548 hack as GtkComboBox emits drawing requests now (#411123, patch
549 from Mathias Hasselmann).
551 2007-03-08 Mathias Hasselmann <mathias.hasselmann@gmx.de>
553 * gtk/gtkscrolledindow.c: Improve look of GtkScrolledWindow on Windows
554 by implementing a scrollbars-within-bevel style property. (#168326)
556 2007-03-08 Mathias Hasselmann <mathias.hasselmann@gmx.de>
558 * gtk/gtkfilesystemwin32.c: Use Windows shell icons. Icons are
559 stored in the current theme with the name
560 "gtk-win32-shell-icon;PATH;INDEX". PATH and INDEX reference shell
561 icons as reported by SHGetFileInfoW. (#412221)
563 2007-03-07 Matthias Clasen <mclasen@redhat.com>
565 * gtk/gtkexpander.c (gtk_expander_paint_focus): Draw the
566 focus around the arrow if there is no label widget.
567 (#124045, Cody Russell)
569 2007-03-07 Matthias Clasen <mclasen@redhat.com>
571 * gtk/gtkcombo.c: (gtk_combo_init):
572 * gtk/gtkcombobox.c: (gtk_combo_box_set_popup_widget),
573 (gtk_combo_box_menu_setup):
574 Set names on the popup widgets to make them themable. (#414975,
577 2007-03-07 Michael Natterer <mitch@imendio.com>
579 * gtk/gtkcellrendereraccel.c: use multihead safe ungrab functions
580 instead of gdk_keyboard_ungrab() and gdk_pointer_ungrab(), remove
581 empty finalize() implementation, some cosmetic cleanup
584 2007-03-06 Chris Wilson <chris@chris-wilson.co.uk>
586 * gtk/gtkicontheme.c (update_current_theme), (gtk_icon_theme_init),
587 (do_theme_change), (gtk_icon_theme_set_custom_theme),
589 Be careful not to trigger a style reset before we have loaded
590 the icon theme. (#414875).
592 2007-03-06 Tor Lillqvist <tml@novell.com>
595 * gtk/Makefile.am: Further fixes for building on Win32 outside
596 srcdir. (#413492, Mathias Hasselmann)
598 2007-03-04 Ihar Hrachyshka <iharh@gnome.org>
600 * configure.in: Added be@latin to ALL_LINGUAS. Problems seems to be
603 2007-03-04 Claudio Saavedra <csaavedra@alumnos.utalca.cl>
605 * configure.in: Removed be@latin from ALL_LINGUAS, as it's currently
608 2007-03-04 Ihar Hrachyshka <iharh@gnome.org>
610 * configure.in: Added be@latin to ALL_LINGUAS
612 2007-03-03 Guillaume Savaton <llumeao@gmail.com>
614 * configure.in: Added Esperanto (eo) to ALL_LINGUAS
616 2007-03-01 Matthias Clasen <mclasen@redhat.com>
618 * gtk/gtksettings.c: Always store gtk-color-scheme
619 values from all sources in the ColorSchemeData struct
620 and ignore the property_value for gtk-color-scheme.
621 This fixes #412596, reported by Thomas Wood.
623 2007-02-28 Matthias Clasen <mclasen@redhat.com>
625 * gtk/gtksettings.c: Make color scheme update properly
626 when changing themes. (#402131, Benjamin Berg)
628 2007-02-28 Matthias Clasen <mclasen@redhat.com>
630 * gtk/gtkrc.c: Don't leak references to the color-hash
631 gotten from GtkSettings. (#409357, Benjamin Berg)
633 2007-02-28 Tristan Van Berkom <tvb@gnome.org>
635 * gtk/gtkradiobutton.c: Fixed a warning from
636 g_object_set (radiobutton, "group", NULL, NULL).
638 2007-02-26 Matthias Clasen <mclasen@redhat.com>
640 Apply a patch by Carlos Garnacho to fix several problems
641 with filechooser size handling (#325477, #151169, 143213,
644 * gtk/gtkfilechooserdefault.c: Increase NUM_LINES slightly.
645 (browse_widgets_create): Don't force the paned position to 200.
646 (find_good_size_from_style): Take the size of the extra widget
649 * gtk/gtkfilechooserdialog.c (file_chooser_widget_update_hints):
650 Accept a minimal width parameter. Update all callers.
652 2007-02-26 Matthias Clasen <mclasen@redhat.com>
654 * gtk/gtkprintunixdialog.c: Change the label to "Pages per side",
655 which is more accurate, suggested by Tim Waugh. String change!
657 2007-02-26 Matthias Clasen <mclasen@redhat.com>
659 * gtk/gtkprinteroptionwidget.c: Make the folder selection for
660 print-to-file work. Reported by Ian Collier.
662 2007-02-26 Chris Wilson <chris@chris-wilson.co.uk>
664 Bug 409101 – invalid read to gtkicontheme.c insert_theme(), might cause gnome-panel crash
666 * gtk/gtkicontheme.c: (scan_directory):
667 Reorder the replacement of the shared base_name key, so that we
668 avoid dereferencing the string in the icon_theme->all_icon
669 hash table after freeing it from the dir->icons hash table.
671 2007-02-26 Tor Lillqvist <tml@novell.com>
673 * gdk/win32/gdkwindow-win32.c (gdk_window_set_icon_name): Add
674 comment clarifying that "icon name" here is not related to the
675 freedesktop.org icon naming stuff.
677 2007-02-23 Dom Lachowicz <domlachowicz@gmail.com>
679 * modules/engines/ms-windows/msw_style.c: Bug 411118 - bad bevel for
680 progress bar on windows classic. Match from Mathias Hasselmann.
682 2007-02-19 Tor Lillqvist <tml@novell.com>
684 * gdk/win32/gdkinput.c
685 (gdk_device_finalize, gdk_device_class_init): Remove.
686 (gdk_device_get_type): Drop class init function. The X11 version
687 doesn't have one either.
688 (gdk_devices_list): Call gdk_display_list_devices() on _gdk_display.
689 (gdk_display_list_devices): Check that the argument is
692 * gdk/win32/gdkinput-win32.h (GdkAxisInfo, GdkDevicePrivate):
693 Cleanup: remove unused fields.
694 * gdk/win32/gdkinput-win32.c: Corresponding changes. Fix function
695 names in a few debugging printouts.
697 2007-02-18 Matthias Clasen <mclasen@redhat.com>
699 * gtk/gtktextlayout.c (gtk_text_layout_move_iter_visually):
700 Ignore invisible text when going to end of the previous line.
703 2007-02-18 Richard Hult <richard@imendio.com>
705 * gdk/quartz/gdkwindow-quartz.c:
706 (gdk_window_quartz_process_all_updates),
707 (_gdk_windowing_window_destroy): Setup release pools to plug two leaks,
708 patch from Erik van Pienbroek, fixes bug #396649.
710 2007-02-18 Richard Hult <richard@imendio.com>
712 * gdk/quartz/gdkevents-quartz.c: Add stub for
713 gdk_display_add_client_message_filter, patch from Taybin Rutkin. Fixes
716 * gdk/quartz/gdkprivate-quartz.h: Add prototypes to fix build warnings.
718 2007-02-18 Richard Hult <richard@imendio.com>
720 * gdk/quartz/GdkQuartzView.h:
721 * gdk/quartz/GdkQuartzWindow.h:
722 * gdk/quartz/gdkquartz.h: Import AppKit.h instead of Quartz.h.
723 * gdk/quartz/gdkscreen-quartz.c: (get_mm_from_pixels): Don't use
724 userSpaceScaleFactor for 10.3. Those changes bring us closer to working
725 on panther, patch from Mathias Hasselmann.
727 * gdk/quartz/gdkeventloop-quartz.c: Add includes to fix build warnings.
729 2007-02-16 Behdad Esfahbod <behdad@gnome.org>
731 * gdk/gdkpango.c (gdk_pango_layout_get_clip_region): Use PANGO_PIXELS
732 instead of division. (#334617)
734 2007-02-16 Kristian Rietveld <kris@gtk.org>
736 * gtk/gtktreeprivate.h: add cursor_offset field.
738 * gtk/gtktreeview.c (gtk_tree_view_init),
739 (gtk_tree_view_move_cursor_page_up_down): fix off by one error
740 in page up/down handling by memorizing the offset into the cursor
741 row. (Fixes #399809, reported by Bruce Bowler).
743 2007-02-16 Kristian Rietveld <kris@gtk.org>
745 * gtk/gtktreeview.c (gtk_tree_view_search_dialog_hide): send
746 a focus-in event to the tree view after hiding the search dialog.
747 (#356515, Rich Burridge, Peter Parente).
749 2007-02-16 Kristian Rietveld <kris@imendio.com>
751 * tests/testtooltips.c (query_tooltip_text_view_cb): also handle
752 keyboard tooltips. (#408325, Matthias Clasen).
754 2007-02-16 Xan Lopez <xan@gnome.org>
756 * gtk/gtkcombobox.c (gtk_combo_box_expose_event): Cleanup the logic
757 in expose event handler. Reviewed by Matthias Clasen, #406112
759 2007-02-16 Matthias Clasen <mclasen@redhat.com>
761 * gtk/gtkmain.c: Run pre_parse_hook only once. (#403139, Kjartan
764 2007-02-15 Matthias Clasen <mclasen@redhat.com>
766 * gdk/x11/gdmain-x11.c (_gdk_xgrab_check_button_event): Be more
767 careful when checking for ButtonRelease events that end implicit
768 grabs. (#386618, Christof Krüger)
770 2007-02-15 Matthias Clasen <mclasen@redhat.com>
772 * gtk/gtktextbtree.c (_gtk_text_btree_delete): Free the lines
773 even if there are no views. (#408018, Albert Huang)
775 2007-02-15 Cody Russell <bratsche@gnome.org>
777 * gdk/win32/gdkevents-win32.c: Make sure we get enough main context
778 iterations while we're resizing so that the window contents are resized
779 more smoothly (#389765).
781 * gdk/win32/gdkevents-win32.c: Fix flickering widgets when window contents
782 are resized (#310522).
784 2007-02-15 Matthias Clasen <mclasen@redhat.com>
786 * gtk/updateiconcache.c: Handle symlinked .icon files
787 intelligently; also avoid storing duplicate strings.
789 2007-02-15 Michael Natterer <mitch@imendio.com>
791 * gtk/gtkmenushell.c: remove two antique function typedefs that
792 are probably obsolete for ages.
794 2007-02-14 Stefan Kost <ensonic@users.sf.net>
796 reviewed by: Matthias Clasen <mclasen@redhat.com>
798 * configure.in: determine installation prefixes of dependent libs to
799 crossreference docs (#407146).
801 2007-02-14 Kristian Rietveld <kris@imendio.com>
803 * gtk/gtktooltip.c (child_location_foreach): check return value
804 of gtk_widget_translate_coordinates() so we cannot end up
805 using uninitialized x, y values. (#407863, patch from Carlos
808 2007-02-14 Kristian Rietveld <kris@imendio.com>
810 * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_realize_button):
811 use TREE_VIEW_DRAG_WIDTH/2 when calculating the drag window
812 position instead of a hardcoded value. (Taken from maemo-gtk).
814 2007-02-14 Michael Natterer <mitch@imendio.com>
816 * gtk/gtkmenu.c (gtk_menu_motion_notify): don't forget to set the
817 state of the synthesized GDK_ENTER_NOTIFY event. Fix taken from
820 2007-02-13 Kristian Rietveld <kris@imendio.com>
822 * gtk/gtktooltip.c (gtk_tooltip_hide_tooltip): stop any
823 pending tooltip timeout. (Fixes #406110, Carlos Garnacho).
825 2007-02-10 Emmanuele Bassi <ebassi@gnome.org>
827 * gtk/gtkrecentchoosermenu.c: Fix the english of the comment;
828 remove some type checking; use better variable naming for the
829 internal menu item markers.
831 2007-02-09 Emmanuele Bassi <ebassi@gnome.org>
833 * gtk/gtkrecentchoosermenu.c: Add support for both prepending
834 and appending custom menu items.
836 (gtk_recent_chooser_menu_constructor): Add a placeholder menu
837 item for the empty menu case, and for giving us a starting
838 point for the recent items populating process.
840 (gtk_recent_chooser_menu_insert_item),
841 (gtk_recent_chooser_menu_dispose_items): Insert an item at
842 the position following the placeholder (and find that position
845 (idle_populate_func), (idle_populate_clean_up): Show the
846 placeholder menu item, instead of creating one each time.
848 (gtk_recent_chooser_menu_populate): Kill some indirections
849 and hide the placeholder before populating the menu.
851 (set_recent_manager): Remember to remove the idle population
852 source if the manager changes.
854 * tests/testrecentchoosermenu.c: Test the appending and
855 prepending of the menu items to the recent chooser menu
858 2007-02-08 Emmanuele Bassi <ebassi@gnome.org>
860 * gtk/gtkrecentchoosermenu.c (idle_populate_func): Keep count
861 of the displayed items to build the menu items mnemonic instead
862 of the overall item count. (#377164)
864 (idle_populate_clean_up): Append a menu item if all the items
865 got filtered in the idle populate function. (#405696)
868 * tests/testrecentchoosermenu.c: Add a test for the
869 GtkRecentChooserMenu widget.
871 Thu Feb 8 13:07:08 2007 Tim Janik <timj@imendio.com>
873 * applied patch from Xan Lopez which adds GTK_BUTTONBOX_CENTER to
874 GtkButtonBox (bug #336159).
877 * gtk/gtkvbbox.c, gtk/gtkhbbox.c, gtk/gtkbbox.c:
878 support GTK_BUTTONBOX_CENTER.
880 * tests/testbbox.c: new button box test, which allows testing of
881 the various button box properties.
883 * tests/testgtk.c: added GTK_BUTTONBOX_CENTER. to button box test.
885 2007-02-07 Cody Russell <bratsche@gnome.org>
887 * gdk/gdk.symbols: Add gdk_event_request_motions
889 Wed Feb 7 19:03:28 2007 Tim Janik <timj@gtk.org>
891 * gtk/gtkentry.c (gtk_entry_motion_notify): fixed motion request
892 condition which was wrongly ported with my last commit.
894 Tue Feb 6 15:53:59 2007 Tim Janik <timj@imendio.com>
896 * gtk/gtktextview.c (gtk_text_view_motion_event):
897 * gtk/gtkspinbutton.c (gtk_spin_button_motion_notify):
898 * gtk/gtkaboutdialog.c (credits_motion_notify_event):
899 * gtk/gtkhruler.c (gtk_hruler_motion_notify):
900 * gtk/gtkvruler.c (gtk_vruler_motion_notify):
901 * gtk/gtkentry.c (gtk_entry_motion_notify):
902 * gtk/gtktooltip.c (_gtk_tooltip_handle_event):
903 * gtk/gtkhsv.c (gtk_hsv_motion): call gdk_event_request_motions()
904 for new motion events after receiving motion hints.
906 * gdk/gdkevents.[hc]: added gdk_event_request_motions().
908 2007-02-06 Kristian Rietveld <kris@imendio.com>
910 * gtk/gtktooltip.c (find_topmost_widget_coords_from_event):
911 remove unused get of has_tooltip.
913 * tests/testtooltips.c (query_tooltip_tree_view_cb): use the
914 portable g_snprintf instead of snprintf.
916 2007-02-06 Michael Natterer <mitch@imendio.com>
918 * gtk/gtktooltip.c (gtk_tooltip_finalize): chain up.
920 (gtk_tooltip_show_tooltip): move variables and code to local
921 scope. Fixes warnings about maybe uninitialized variables.
923 2007-02-06 Kristian Rietveld <kris@imendio.com>
929 * gtk/gtk.symbols: build system foo.
931 * gtk/gtkmain.c (gtk_main_do_event): call tooltip event handler
932 hook for appropriate events.
934 * gtk/gtkmarshalers.list: add BOOLEAN:INT,INT,BOOLEAN,OBJECT.
936 * gtk/gtkrc.c: add style for gtk-tooltip.
938 * gtk/gtksettings.c (gtk_settings_class_init): make the
939 different tooltip timeouts configurable.
941 * gtk/gtkwidget.[ch]: add new properties, signals, make sure
942 tooltips are hidden on unmap, destroy, update window event
943 mask on realize, hook into focus change and show help
946 * gtk/gtkwindow.h: move GtkWindow typdef to gtkwidget.h ...
948 * gtk/gtktooltip.[ch]: new files.
951 * tests/testtooltips.c: add test application.
953 2007-02-05 Dom Lachowicz <domlachowicz@gmail.com>
955 * modules/engines/ms-windows/msw_style.c: Fix bug 404506, caused
956 by prematurely releasing a DC. By Hiroyuki Yamamoto
957 * modules/engines/ms-windows/msw_style.c: Fix bug 403470 - leaking
958 pixbufs when drawing rotated tabs. By Daniel Atallah
960 2007-02-05 Michael Natterer <mitch@imendio.com>
962 * gtk/gtksettings.c: add new boolean settings gtk-enable-accels
963 and gtk-enable-mnemonics which enable/disable accelerators and
964 mnemonics (bug #72375, based on a patch from Tommi Komulainen).
966 * gtk/gtkwindow.c (gtk_window_activate_key)
967 * gtk/gtkmenushell.c (gtk_menu_shell_key_press): don't invoke them
968 if the resp. setting is FALSE.
970 * gtk/gtkaccellabel.c (gtk_accel_label_refetch)
971 * gtk/gtklabel.c (gtk_label_set_pattern_internal): don't display
972 them if the setting is FALSE.
974 * gtk/gtklabel.c: added signal connection to the screen's settings
975 object and traverse all widgets on the screen when the setting
976 changes. It's slightly ugly to also update GtkAccelLabels here,
977 but less ugly than connecting and traversing all widgets twice.
979 2007-02-05 Michael Natterer <mitch@imendio.com>
981 * gtk/gtktextbuffer.h (enum GtkTextBufferTargetInfo): changed
982 values from G_MAXUINT-0, -1, -2 to -1, -2, -3 so we stay within
983 ansi C enum value limits. Fixes bug #46757.
985 2007-02-03 Soren Sandmann <sandmann@daimi.au.dk>
987 * gtk/gtksequence.[ch]: Remove these files since GSequence has
988 been moved into GLib.
990 * gtk/gtkliststore.c: Port to GSequence instead of GtkSequence.
992 * configure.in: Require glib-2.13.0
994 2007-02-04 Tor Lillqvist <tml@novell.com>
996 * gdk/win32/gdkcursor-win32.c: Don't define BITMAPV5HEADER on
997 mingw with w32api >= 3.8, which has it in wingdi.h. (#403896)
999 2007-02-02 Kristian Rietveld <kris@gtk.org>
1001 * gtk/gtktreeview.c (gtk_tree_view_row_changed): remove unused
1002 style_get of vertical-separator. (#403165, Chris Wilson).
1004 2007-02-02 Christian Persch <chpe@svn.gnome.org>
1006 * gtk/gtkfilechoosersettings.c: (get_config_filename),
1007 (ensure_settings_read), (_gtk_file_chooser_settings_init),
1008 (_gtk_file_chooser_settings_set_show_hidden),
1009 (_gtk_file_chooser_settings_set_expand_folders),
1010 (_gtk_file_chooser_settings_save): Use a simple key file instead of a
1011 markup file. Bug #399592.
1013 2007-02-02 Mariano Suárez-Alvarez <mariano@gnome.org>
1015 * gtk/gtkcellrenderertext.c(gtk_cell_renderer_text_class_init):
1016 be a little more helpful with the docs on GtkCellRendererText:alignment.
1019 2007-02-01 Michael Natterer <mitch@imendio.com>
1021 * gtk/gtkmenu.c (gtk_menu_paint): pass &event->area to
1022 gtk_paint_box() calls.
1024 2007-02-01 Michael Natterer <mitch@imendio.com>
1026 * gtk/gtkmenu.c (gtk_menu_button_press)
1027 (gtk_menu_button_release)
1028 (gtk_menu_button_scroll): remove redundant and confusing
1029 if (GTK_IS_MENU (widget)) checks because "widget" is always a
1032 Thu Feb 1 12:22:06 2007 Tim Janik <timj@imendio.com>
1034 * gtk/gtkcombobox.c (gtk_combo_box_list_destroy): remove extra reference
1035 that gtkcombobox keeps on priv->popup_widget if it's a tree view.
1037 2007-01-31 Christian Persch <chpe@svn.gnome.org>
1039 * gtk/gtkaboutdialog.c: (update_credits_button_visibility),
1040 (gtk_about_dialog_set_authors), (gtk_about_dialog_set_documenters),
1041 (gtk_about_dialog_set_artists),
1042 (gtk_about_dialog_set_translator_credits): Hide the Credits button iff
1043 there are no credits to show. Bug #402806.
1045 2007-01-31 Tor Lillqvist <tml@novell.com>
1047 * gdk/win32/gdkinput-win32.c (print_cursor): New debugging
1049 (_gdk_input_wintab_init_check): Call it when debugging output is
1051 (_gdk_input_wintab_init_check): Skip duplicated cursors for Wacom
1052 tablets. The Wacom driver reports duplicated cursors with
1053 physid==0. Fix verified by Robert Ögren.
1055 2007-01-30 Felix Riemann <friemann@svn.gnome.org>
1057 * modules/printbackends/file/gtkprintbackendfile.c:
1058 (file_printer_get_options): Fix leaked string. Fixes bug #402565.
1060 2007-01-30 Matthias Clasen <mclasen@redhat.com>
1062 * gdk/x11/gdkwindow-x11.c (gdk_x11_window_move_to_current_desktop):
1063 (gdk_x11_window_set_user_time): Be more careful about toplevel
1064 possibly being NULL. (#402453, Sebastian Bacher)
1066 Tue Jan 30 12:09:56 2007 Tim Janik <timj@gtk.org>
1068 * gtk/gtksettings.c: cleaned up ::color-hash registration to not abuse
1069 class_n_properties and leave an uninitialized value array behind.
1071 2007-01-29 Michael Natterer <mitch@imendio.com>
1073 * gtk/gtkmenuitem.c (gtk_menu_item_select)
1074 (gtk_menu_item_deselect): queue a draw on the parent_menu_item of
1075 this menu item's menu, to enable themeing menu items depending on
1076 whether something is selected in their submenu (patch taken from
1079 2007-01-28 Matthias Clasen <mclasen@redhat.com>
1081 * gtk/gtktoolbar.c: Reinstate gtk_toolbar_content_new_compatibility()
1082 that was mistakenly "cleaned up" a while ago. Also
1083 revert a problematic change to the screen_changed
1084 handler. (#401598, Søren Sandmann)
1086 2007-01-28 Matthias Clasen <mclasen@redhat.com>
1088 * gtk/gtkframe.c (gtk_frame_size_allocation): Fix a
1089 problem with large y thickness. (#136592, Xan Lopez)
1091 2007-01-28 Matthias Clasen <mclasen@redhat.com>
1093 * gtk/gtkaction.c (gtk_action_new): Use canonical
1096 2007-01-27 Matthias Clasen <mclasen@redhat.com>
1098 * gtk/gtknotebook.c (gtk_notebook_draw_arrow):
1099 (gtk_notebook_draw_focus): Avoid some unnecessary
1100 gtk_widget_get_style() calls.
1102 2007-01-27 Matthias Clasen <mclasen@redhat.com>
1105 * gtk/gtktoolitem.c:
1106 * gtk/gtktoolbutton.c: Rearrange things so that setting
1107 multiple properties causes not more than a single
1108 reconstruction of the contents.
1110 * gtk/gtkaction.c (connect_proxy): Set all tool button
1111 properties in one go.
1113 2007-01-27 Matthias Clasen <mclasen@redhat.com>
1115 * gtk/gtkstatusicon.c:
1116 * gtk/gtktrayicon-x11.c: Fix GtkStatusIcon to not
1117 take up space on the panel if it is invisible. (340110, Christian
1120 * tests/teststatusicon.c:
1121 * tests/Makefile.am: Updates
1123 2007-01-27 Matthias Clasen <mclasen@redhat.com>
1127 * gtk/gtk.symbols: Add deprecation guards for gtk_rc_style_ref/unref
1128 and the old file selector. (#348256)
1130 2007-01-26 Matthias Clasen <mclasen@redhat.com>
1132 * gtk/gtkiconview.c: Documentation fixes (#400530, Anders Brander)
1134 2007-01-26 Matthias Clasen <mclasen@redhat.com>
1136 * gtk/updateiconcache.c: Check the mtime of all directories,
1137 not just the toplevel, if ftw() is available. (#331671, Behdad
1140 * configure.in: Check for ftw.h.
1142 2007-01-26 Michael Natterer <mitch@imendio.com>
1144 * modules/input/gtkimcontextxim.c (gtk_im_context_xim_finalize):
1145 destroy the XIM only if it exists. While the code does look safe
1146 in general, there can be corner cases where the "reconnecting"
1147 boolean being FALSE does not correspond to the XIM being
1148 allocated (fixes #329450, fix taken from maemo-gtk).
1150 Fri Jan 26 13:07:07 2007 Tim Janik <timj@imendio.com>
1152 * gtk/gtkstyle.c (draw_insertion_cursor): clamp cursor coordinates to
1153 window bounds (fix from Maemo Gtk).
1155 2007-01-26 Michael Natterer <mitch@imendio.com>
1157 * gtk/gtkentrycompletion.c (gtk_entry_completion_insert_prefix):
1158 only block/unblock completion->priv->insert_text_id if it is
1159 actually connected. While this can't happen the way GtkEntry
1160 itself uses the completion, it's still public API and should not
1161 blindly call functions that will spit warnings (fix taken from
1164 2007-01-25 Matthias Clasen <mclasen@redhat.com>
1166 * gdk/gdkwindow.c: Reduce locking overhead by not repeatedly getting
1167 the paintable iface.
1169 2007-01-24 Michael Natterer <mitch@imendio.com>
1171 * gtk/gtkwidget.c (gtk_widget_set_state): revert generic disabling
1172 of PRELIGHT state for the reasons given in bug #135666. Widget
1173 states are sometimes abused or otherwise used wrongly for historic
1174 reasons, causing this part of the patch to break e.g. menu items.
1176 2007-01-24 Roozbeh Pournader <roozbeh@farsiweb.info>
1178 * README: Remove mention of no-longer-existing PATCH
1179 keyword in bugzilla. (#396899)
1181 2007-01-23 Carlos Garcia Campos <carlosgc@gnome.org>
1183 * gtk/gtkpagesetup.c
1184 (gtk_page_setup_set_paper_size_and_default_margins): Fix memory leak.
1187 2007-01-22 Chris Wilson <chris@chris-wilson.co.uk>
1189 Bug 399314 – Add G_GNUC_WARN_UNUSED_RESULT to gtk_style_attach
1192 Cause gcc to issue a warning if the style returned from
1193 gtk_style_attach is not used. Failure to update
1194 widget->style causes some very difficult to reproduce bugs,
1195 eg Bug 353498 – crash in Terminal: changing icon theme.
1197 2007-01-19 Michael Emmel <mike.emmel@gmail.com>
1199 * gdk/directfb/gdkevents-directfb.c: added fixes for window
1200 crossing events frm Attilio Fiandrotti<attilio.fiandrotti@gmail.com>
1202 2007-01-19 Matthias Clasen <mclasen@redhat.com>
1204 * gtk/gtkcalendar.c: Fix build breakage.
1206 2007-01-19 Kristian Rietveld <kris@imendio.com>
1208 * gtk/gtktreeview.c (gtk_tree_view_motion_bin_window),
1209 (add_scroll_timeout), (gtk_tree_view_drag_motion): factor out
1210 add_scroll_timeout(). (taken from maemo-gtk).
1212 2007-01-18 Matthias Clasen <mclasen@redhat.com>
1214 * gtk/gtkcalendar.c: Fix problems with the initial
1215 focus in GtkCalendar. (#397783, Vincent Untz)
1217 2007-01-19 Robert Ögren <gtk@roboros.com>
1219 Fix for bug #143460 - missed tablet clicks on Windows
1221 * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check):
1222 Request absolute reporting of tablet button state, and cut down
1223 the packet queue size a bit.
1224 (_gdk_input_other_event): Change button state handling
1225 accordingly. Also drop the no longer necessary code that detects
1226 missed clicks/releases for button 1. The switch to absolute button
1227 state should prevent missed events for all buttons. Additionally,
1228 swap button 2 and 3.
1229 (_gdk_input_grab_pointer): Don't reset button_state, that will only
1230 cause a new press event as soon as the next tablet packet arrives.
1232 2007-01-19 Tor Lillqvist <tml@novell.com>
1234 Build Wintab support always on Windows. Don't require the Wintab
1237 * configure.in: Drop the --with-wintab option. Drop the
1238 HAVE_WINTAB feature test macro and Automake variable.
1241 * config.h.win32.in: Drop HAVE_WINTAB.
1243 * gdk/win32/gdkevents-win32.c
1244 * gdk/win32/gdkinput.c
1245 * gdk/win32/gdkinput-win32.h
1246 * gdk/win32/gdkinput-win32.c
1247 * gdk/win32/gdkmain-win32.c: Make HAVE_WINTAB ifdef blocks
1250 * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Try
1251 to load wintab32.dll dynamically here. If it is found look up the
1252 handful Wintab functions we use.
1253 (rest of file): Use these function pointers instead of calling the
1254 functions from wntab32x.lib. The code in wntab32x.lib did the same
1255 thing anyway: tried to load wintab32.dll, and looked up the
1256 addresses of the actual functions from it.
1259 * gdk/win32/Makefile.am: Drop the libwntab32x hacks.
1261 * gdk/win32/wintab.h
1262 * gdk/win32/pktdef.h: New files. Copied from the Wintab
1263 SDK. Copyright blurb says: "The text and information contained in
1264 this file may be freely used, copied, or distributed without
1265 compensation or licensing restrictions."
1267 * README.win32: Update a bit. Remove the text about the Wintab
1270 2007-01-18 Tor Lillqvist <tml@novell.com>
1272 * gdk-pixbuf/Makefile.am
1274 * gdk/win32/Makefile.am
1275 * gtk/Makefile.am: Fixes for building outside srcdir on
1276 Win32. (#336819, #340013) Drop distributing the handmade .la
1277 libtool wrapper for the wntab32x library. It's too much trouble
1278 making it work when building outside srcdir. Just link to the
1279 library direcly using -Wl,win32/libwntab32x.a.
1281 2007-01-18 Michael Natterer <mitch@imendio.com>
1283 * gtk/gtkcheckbutton.c
1288 * gtk/gtkviewport.c: pass more clip rectangles to gtk_paint_foo()
1289 functions. Based on a patch from maemo-gtk (bug #398023).
1291 2007-01-17 Tor Lillqvist <tml@novell.com>
1293 * gtk-zip.sh.in: Include also the COPYING file.
1295 2007-01-17 Matthias Clasen <mclasen@redhat.com>
1297 * modules/printbackends/cups/gtkprintbackendcups.c: Don't use
1298 httpGetFd() when building against cups 1.1
1300 2007-01-17 Tor Lillqvist <tml@novell.com>
1302 Proper fix for #396175:
1304 * gtk/gtkimmulticontext.c: Revert change by Hans Breuer below: Do
1305 include gtkprivate.h. On Win32 we do want to use the redefinition
1306 of GTK_LOCALEDIR as a call to the function _gtk_get_localedir().
1308 * gtk/gtkimmodule.c: Instead, correct the prefix also on
1309 simple_context_info.domain_dirname. Do the prefix corrections
1310 always on Win32, not just when GTK_LIBDIR is defined. i.e., until
1311 now they were done only in the autoconfiscated gcc builds. Hans
1312 needs to make sure GTK_LIBDIR and GTK_LOCALEDIR are defined also
1314 (correct_localedir_prefix): New function, like
1315 correct_libdir_prefix(), but for GTK_LOCALEDIR, in case
1316 GTK_LOCALEDIR is not a descendant of GTK_LIBDIR.
1317 (gtk_im_module_initialize): Thus call correct_localedir_prefix()
1318 on the domain_dirname instead of correct_libdir_prefix().
1319 (_gtk_im_module_list): Call correct_localedir_prefix() on
1320 simple_context_info.domain_dirname.
1322 2007-01-16 Matthias Clasen <mclasen@redhat.com>
1324 * gtk/gtkrange.c (range_grab_remove): Queue a redraw when the
1325 grab changes. (#396470, Benjamin Berg)
1327 2007-01-15 Emmanuele Bassi <ebassi@gnome.org>
1329 * gtk/gtkrecentchoosermenu.c: Ellipsize the menu items label
1330 if they grow too much. (#357303)
1332 2007-01-14 Matthias Clasen <mclasen@redhat.com>
1334 * gtk/gtkicontheme.c (theme_lookup_icon): When finding a matching
1335 non-scalable dir, keep going and look for a closer match.
1336 (#395830, Luca Ferretti)
1338 2007-01-14 Christian Persch <chpe@svn.gnome.org>
1340 * gtk/gtkclipboard.c: (gtk_clipboard_set_text),
1341 (gtk_clipboard_set_image): Use gtk_target_table_new_from_list and
1342 gtk_target_table_free instead of duplicating the code. Bug #396493.
1344 2007-01-13 Matthias Clasen <mclasen@redhat.com>
1346 * gtk/gtkuimanager.c: Don't crash if menu or toolbar
1347 positions can't be found. (#396161, Hans Breuer)
1349 2007-01-13 Matthias Clasen <mclasen@redhat.com>
1351 * gtk/gtkselection.c (_gtk_selection_request): Plug
1352 memory leaks. (#396160, Carlos Garcia Campos)
1354 2007-01-13 Matthias Clasen <mclasen@redhat.com>
1356 * configure.in: Link libgtk against Xfixes. (#396074,
1359 2007-01-13 Matthias Clasen <mclasen@redhat.com>
1361 * gtk/gtkradiobutton.c (gtk_radio_button_focus): Avoid
1362 a compiler warning. (#395045, Chris Wilson)
1364 2007-01-13 Hans Breuer <hans@breuer.org>
1366 * gtk/gtkprintoperation-win32.c : take the custom tab label from
1367 gtk_print_operation_set_custom_tab_label() into account (bug #390746).
1369 * gtk/gtkimmulticontext.c : don't include "gtkprivate.h" to avoid
1370 differing definitions of GTK_LOCALEDIR (bug #396175).
1372 * gtk/gtktreeview.c : use g_snprintf instead of snprintf, which is
1373 not available everywhere
1375 * gtk/makefile.msc.in : updated
1377 2007-01-12 Michael Natterer <mitch@imendio.com>
1379 * gtk/gtkentry.c (gtk_entry_button_press): don't add
1380 entry->scroll_offset to entry->drag_start_y. Fixes the entry
1381 starting drags after ridiculously small mouse movements.
1383 2007-01-11 Richard Hult <richard@imendio.com>
1385 * demos/gtk-demo/main.c: (load_file): Close the file after it's
1386 loaded (bug #395316).
1388 2007-01-11 Kjartan Maraas <kmaraas@gnome.org>
1390 * gtk/gtkfilesystemunix.c: (expand_tilde):
1391 Make a single tilde go to $HOME in the location entry.
1392 Patch from Yevgen Muntyan. Closes the gtk+ part of
1395 2007-01-10 Behdad Esfahbod <behdad@gnome.org>
1397 * gdk/gdkpango.c (gdk_draw_layout_with_colors):
1398 * gtk/gtklabel.c (gtk_label_size_request):
1399 Use pango_matrix_transform_rectangle(). (#340141)
1401 * configure.in: Bump pango requirement to 1.15.3.
1403 2007-01-10 Kristian Rietveld <kris@imendio.com>
1405 * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_init):
1406 refactor to initialize indicator_size to TOGGLE_WIDTH instead
1407 of the hardcoded value of 12.
1409 2007-01-09 Matthias Clasen <mclasen@redhat.com>
1411 * configure.in: Fix the directfb cairo test. (#394855,
1414 2007-01-09 Behdad Esfahbod <behdad@gnome.org>
1416 * configure.in: Fix comment for --with-included-loaders. That option
1417 affects builds with module loading enabled too.
1419 2006-01-08 Peter Teichman <peter@novell.com>
1421 * gtk/gtkfilechooserdefault.c:
1422 * gtk/gtkfilechooserprivate.h:
1423 * gtk/gtkfilechoosersettings.c:
1424 * gtk/gtkfilechoosersettings.h:
1425 Save the expanded state of the folder browser with the file
1426 chooser settings. Resolves the expander portions of (#153828,
1429 2007-01-08 Emmanuele Bassi <ebassi@gnome.org>
1431 * gtk/gtkrecentchoosermenu.c (gtk_recent_chooser_menu_create_item):
1432 Don't leak the icon pixbuf after setting it to the image menu
1433 item. Found by Paolo Borelli.
1435 2007-01-08 Matthias Clasen <mclasen@redhat.com>
1437 * gtk/gtktreemodel.c (gtk_tree_path_to_string): Don't
1438 corrupt memory when faced with paths with ridiculously
1439 large indices. Found by the GTKVTS test suite.
1441 2007-01-08 Matthias Clasen <mclasen@redhat.com>
1443 * gtk/gtkmodules.c (_gtk_modules_init): Set
1444 default_display_opened before loading modules. (#393102,
1447 2007-01-07 Matthias Clasen <mclasen@redhat.com>
1449 * gtk/gtktextview.c (gtk_text_view_set_border_window_size):
1450 Call text_window_realize() with the correct parameters.
1451 (#393813, Yevgen Muntyan)
1453 2007-01-07 Matthias Clasen <mclasen@redhat.com>
1455 * gtk/gtkstatusbar.c: Move docs inline, and expand them
1458 2007-01-06 Matthias Clasen <mclasen@redhat.com>
1460 * gtk/gtklabel.c: Make line wrapping work with width-chars
1461 and max-width-chars, and simplify the storage of wrap-width.
1462 (#322580, Itai Bar-Haim)
1464 2007-01-06 Tor Lillqvist <tml@novell.com>
1466 * gdk/win32/cursor.bdf: New file. Downloaded from
1467 freedesktop.org's webcvs. Slighly edited cursors "crosshair",
1468 "diamond_cross", "draft_large", "gobbler" and "target" to fix
1469 #392504. It is possible that the same end result could have been
1470 achieved by tweaking bdfcursor.c instead.
1472 * gdk/win32/bdfcursor.c: Add optional debugging output.
1474 * gdk/win32/xcursors.h: Regenerated.
1476 2007-01-05 Matthias Clasen <mclasen@redhat.com>
1478 * gtk/gtknotebook.c (gtk_notebook_set_menu_label_text): Left-align
1479 menu labels. (#393255, Michail Crayson)
1481 2007-01-05 Kristian Rietveld <kris@gtk.org>
1483 * gtk/gtktreeview.c (gtk_tree_view_dy_to_top_row): handle tree
1484 == NULL. (Fixes #392685, reported by Yevgen Muntyan).
1486 2007-01-05 Kristian Rietveld <kris@gtk.org>
1488 * gtk/gtktreeview.c (gtk_tree_view_row_changed): do allow to
1489 invalidate nodes if the tree view is not realized. (#363147,
1490 Carlos Garnacho, Miguel Cabrera).
1492 2007-01-05 Matthias Clasen <mclasen@redhat.com>
1494 * gtk/gtkmenu.c (gtk_menu_paint): Take the scroll arrow into
1495 account when drawing the background. (#393166, Benjamin Berg)
1497 2007-01-05 Behdad Esfahbod <behdad@gnome.org>
1499 * gtk/gtklabel.c (get_layout_location): Fix broken width computation,
1502 2007-01-05 Carlos Garnacho <carlosg@gnome.org>
1504 * gtk/gtknotebook.c (gtk_notebook_size_request): take into account
1505 both scroll arrows when calculating size request in GTK_POS_LEFT or
1506 GTK_POS_RIGHT notebooks. (#393124, reported by Christian Persch)
1508 2007-01-05 Michael Natterer <mitch@imendio.com>
1510 * gtk/gtkwindow.c (gtk_window_key_release_event): chain up to
1511 the right function (fix taken from maemo-gtk).
1513 2007-01-05 Behdad Esfahbod <behdad@gnome.org>
1516 * gdk/gdkpango.c (gdk_draw_layout_line_with_colors),
1517 (gdk_draw_layout_with_colors):
1518 * gdk/gdkwindow.c (gdk_window_draw_glyphs_transformed):
1519 Avoid overflow when converting coordinates to Pango units. (#332266,
1522 2007-01-04 Matthias Clasen <mclasen@redhat.com>
1524 * gtk/gtkcombobox.c (gtk_combo_box_popup): move set_cursor
1525 after realization of the popup window, so clamp node doesn't fail.
1526 (#346616, Tommi Komulainen, patch by Kristian Rietveld).
1528 2007-01-04 Behdad Esfahbod <behdad@gnome.org>
1530 * gtk/gtklabel.c (get_layout_location): Fix uninitialized width
1533 2007-01-04 Matthias Clasen <mclasen@redhat.com>
1536 * gdk-pixbuf/Makefile.am:
1538 * gdk/win32/rc/gdk.rc.in: Cross-compilation fixes.
1539 (#392646, Yevgen Muntyan)
1541 2007-01-04 Matthias Clasen <mclasen@redhat.com>
1543 * demos/gtk-demo/textscroll.c:
1544 * gtk/gtkhandlebox.c:
1545 * gtk/gtkcolorsel.c: Fix some compiler warnings.
1547 2007-01-03 Matthias Clasen <mclasen@redhat.com>
1549 * gtk/gtktextview.c: Rework the beep-on-uninserted-text
1550 by calling the input method regardless of editability,
1551 and beeping from the commit/preedit-changed handlers.
1552 (#390514, Yevgen Muntyan)
1554 2007-01-03 Matthias Clasen <mclasen@redhat.com>
1556 Fix #332604, reported by Joe Wreschnig, patch
1557 by Jan Arne Petersen and Behdad Esfahbod.
1559 * gtk/gtklabel.c (gtk_label_size_allocate): Only
1560 set the width of the layout when necessary.
1561 (get_layout_location): Use pango_layout_get_pixel_extents()
1562 instead of pango_layout_get_width().
1564 2007-01-03 Matthias Clasen <mclasen@redhat.com>
1566 * modules/printbackends/cups/gtkprintbackendcups.c
1567 (available_choices): Don't leak conflicts.
1569 * gtk/gtkprintoperation.c (gtk_print_operation_finalize):
1570 Don't leak the status string.
1572 2007-01-03 Matthias Clasen <mclasen@redhat.com>
1574 * gtk/gtkfilechooserdefault.c (update_chooser_entry):
1575 Exit early if we can't get file info - this happens
1576 if the iter points to the row where we are editing
1577 the name for a newly created folder. (#392191, Michael
1578 Partridge, patch by Kristian Rietveld)
1580 2007-01-03 Matthias Clasen <mclasen@redhat.com>
1583 * gdk/x11/*.c: Apply a patch by Chris Wilson to
1584 avoid spurious valgrind warnings from XSendEvent()
1587 * modules/printbackends/cups/gtkprintbackendcups.c: Close
1588 the http connection after getting the PPD.
1590 * gtk/gtkprinteroptionwidget.c (filesave_changed_cb):
1593 2007-01-03 Matthias Clasen <mclasen@redhat.com>
1595 * gtk/gtkassistant.c (remove_page): If the current page
1596 is removed, always pick a different one. (#392457,
1599 2007-01-03 Matthias Clasen <mclasen@redhat.com>
1601 * modules/printbackend/cups/*.c: Coding style cleanups.
1603 2007-01-03 Matthias Clasen <mclasen@redhat.com>
1605 * configure.in: Export SED to make sourcing of
1606 libtool work. Tighten up the directfb pkgconfig check.
1608 2007-01-03 Michael Natterer <mitch@imendio.com>
1610 * gtk/gtkstyle.c (option_menu_get_props)
1611 * gtk/gtkoptionmenu.c (gtk_option_menu_get_props): Use
1612 gtk_border_free when freeing borders.
1614 2007-01-03 Matthias Clasen <mclasen@redhat.com>
1616 * gtk/gtkentry.c (get_text_area_size): Work when the
1617 entry is not realized. (#392315, Yevgen Muntyan)
1619 * gtk/gtkentry.c (gtk_entry_queue_draw): Use
1620 GTK_WIDGET_DRAWABLE() here. (#392227, Chris Wilson)
1622 * gtk/gtkentry.c (cursor_blinks): Don't get settings
1623 unnecessarily. (#392227)
1625 2007-01-02 Matthias Clasen <mclasen@redhat.com>
1627 * gtk/gtkwindow.c (gtk_window_move_resize): Only process
1628 updates on the window at hand, not on all windows, to
1629 avoid violating resize/redraw ordering constraints.
1630 (#362406, Owen Taylor)
1632 2007-01-03 Kristian Rietveld <kris@gtk.org>
1634 * gtk/gtkcellrendererprogress.c
1635 (gtk_cell_renderer_progress_class_init): fix docs.
1637 2007-01-02 Matthias Clasen <mclasen@redhat.com>
1639 * gtk/updateiconcache.c: Include locale.h
1641 2007-01-02 Matthias Clasen <mclasen@redhat.com>
1643 * gtk/updateiconcache.c (main): Call setlocale().
1646 * gtk/gtkfilesystemunix.c:
1647 * gtk/gtkfilesystemwin32.c:
1648 * gtk/gtkfilechoosersettings.c:
1649 * gtk/updateiconcache.c: Consistently use folder instead of
1650 directory in translated messages. (#344584, Javier F. Serrador)
1652 2007-01-02 Matthias Clasen <mclasen@redhat.com>
1654 Try to fix #315732, reported by Luke Hutchinson:
1656 * gdk/x11/xsettings-client.[hc]:
1657 * gdk/x11/gdkdevents-x11.c: Don't assume that ref'ing a GdkWindow
1658 will guarantee that it can be looked up in the xid hash later.
1659 Also, use the nesting server grab function during the xsettings
1660 client initialization. Finally, make xsettings client not
1661 eat DestroyNotifys so that GDK can do its regular cleanup.
1663 2007-01-02 Michael Natterer <mitch@imendio.com>
1665 * gtk/gtkrange.c (gtk_range_scroll) (gtk_range_move_slider): beep
1666 when a keybinding didn't change adjustment->value.
1668 2007-01-02 Matthias Clasen <mclasen@redhat.com>
1670 * gtk/gtktextbuffer.c (gtk_text_view_key_press_event):
1671 Try harder not to beep on events which are not meant to
1672 insert stuff in the buffer. (#390514, Yevgen Muntyan)
1674 2007-01-02 Matthias Clasen <mclasen@redhat.com>
1676 * gtk/gtktextbufferrichtext.c: Small documentation fixes.
1678 2007-01-02 Matthias Clasen <mclasen@redhat.com>
1680 * gtk/gtkentry.c (get_text_area_size): Center in the frame.
1681 (#304482, Rob Staudinger, patch by Richard Stellingwerff)
1683 2007-01-02 Michael Emmel <mike.emmel@gmail.com>
1685 * gdkwindow-directfb.c: fixed leak of dfb resource on destroy
1687 2007-01-01 Matthias Clasen <mclasen@redhat.com>
1689 * gtk/gtkscrolledwindow.h:
1690 * gtk/gtkscrolledwindow.c: Only handle key bindings
1691 for scrolling if the scrollbars are visible.
1692 (#340135, Christian Persch)
1694 2007-01-01 Matthias Clasen <mclasen@redhat.com>
1696 * gtk/gtktextview.c (gtk_text_view_scroll_hpages):
1697 Don't segfault on horizontal scrolling.
1699 2007-01-01 Matthias Clasen <mclasen@redhat.com>
1701 * gtk/gtknotebook.h:
1702 * gtk/gtknotebook.c: Only handle key bindings for
1703 tab reordering if the tabs are shown and reorderable.
1704 (#390468, Yevgen Muntyan)
1706 * gtk/gtkmarshalers.list: Add required marshaler
1708 2007-01-01 Matthias Clasen <mclasen@redhat.com>
1710 * gtk/gtkcontainer.c (gtk_container_class_list_child_properties):
1711 Mention in the docs that the return value is
1712 NULL-terminated. (#383373, Christian Neumair)
1714 2007-01-01 Matthias Clasen <mclasen@redhat.com>
1716 * gtk/gtkicontheme.c (load_themes): Waste less time
1717 with non-directories. (#391725, Chris Wilson)
1719 2007-01-01 Matthias Clasen <mclasen@redhat.com>
1721 * gtk/gtkcellrendererprogress.c: Implement activity mode
1722 for GtkCellRendererProgress. (#377851, Brad Taylor)
1724 2007-01-01 Matthias Clasen <mclasen@redhat.com>
1726 Fix some IPP compliance issues. (#391523, Albrecht Dress)
1728 * modules/printbackends/cups/gtkcupsutils.c
1729 (gtk_cups_request_encode_option): Use IPP_TAG_JOB, not
1731 * modules/printbackends/cups/gtkprintbackendcups.c
1732 (gtk_print_backend_cups_print_stream): Don't add the
1733 requesting-user-name attribute a second time.
1735 2007-01-01 Matthias Clasen <mclasen@redhat.com>
1737 * gtk/gtkimcontextsimple.c: Fix en/em dash confusion. (#378462)
1739 2006-12-31 Emmanuele Bassi <ebassi@gnome.org>
1741 * gtk/gtkrecentchoosermenu.c (set_recent_manager): Use the
1742 right object when disconnecting from the GtkRecentManager::changed
1743 signal; save us a few indirections using a variable.
1745 2006-12-31 Emmanuele Bassi <ebassi@gnome.org>
1747 * gtk/gtkrecentchoosermenu.c: Move the signal and idle
1748 disconnections into the dispose function, as well as the
1749 object unrefs; reset every handler id and the
1750 pointers. (suggested by Paolo Borelli, #390873)
1752 2006-12-31 Matthias Clasen <mclasen@redhat.com>
1754 * gtk/gtkprintoperation-win32.c: Include windows.h (#391229,
1757 2006-12-30 Matthias Clasen <mclasen@redhat.com>
1759 * gtk/gtktextview.c (gtk_text_view_destroy): Remove the
1760 scroll timeout. (#390872, Yevgen Muntyan)
1762 2006-12-30 Matthias Clasen <mclasen@redhat.com>
1764 * gtk/gtkprintoperation-unix.c:
1765 * gtk/gtkprintbackend.c:
1766 * gtk/gtkfilechooserdefault.c:
1767 * gtk/gtksettings.c: Move a few settings to gtksettings.c
1768 to make sure they show up in the docs. (#365364, Christian
1771 2006-12-30 Matthias Clasen <mclasen@redhat.com>
1773 * gtk/gtkassistant.c: Redraw assistant on reallocate
1774 to avoid rendering glitches. (#343956, Christian
1775 Persch, Carlos Garnacho)
1777 2006-12-30 Matthias Clasen <mclasen@redhat.com>
1779 * gtk/gtkrange.c: Typo fix. (#352121, Clytie Siddall)
1781 2006-12-30 Matthias Clasen <mclasen@redhat.com>
1783 * gtk/gtkaction.c: Improve the docs of the "label"
1784 property. (#341730, Kristof Vansant)
1786 2006-12-30 Matthias Clasen <mclasen@redhat.com>
1788 * gtk/gtkwindow.c (gtk_window_compute_configure_request_size):
1789 Correctly handle min size. (#320465, Philipp Langdale)
1791 2006-12-30 Matthias Clasen <mclasen@redhat.com>
1793 * gtk/prop-editor.c: Implement editing of flags.
1795 2006-12-30 Matthias Clasen <mclasen@redhat.com>
1800 * gtk/gtkstatusbar.c:
1801 * gtk/gtktextview.c: Don't install cursors on insensitive
1802 widgets. (#358864, Jan Schampera)
1804 2006-12-29 Matthias Clasen <mclasen@redhat.com>
1806 * gtk/gtkrecentmanager.h:
1807 * gtk/gtkprintoperation.c: Fix doc typos. (#370909,
1810 * gtk/gtkstyle.c (gtk_style_attach): Clarify docs. (#353423,
1813 * gtk/gtkentry.c (blink_cb):
1814 * gtk/gtktextview.c (blink_cb): Don't die in an assertion
1815 if focus went missing. Just warn, clean up and continue.
1818 2006-12-29 Carlos Garnacho <carlosg@gnome.org>
1820 * gtk/gtknotebook.c (gtk_notebook_scroll): return if the widget that
1821 originally received the event is a notebook page. (#315440, reported
1824 2006-12-29 Matthias Clasen <mclasen@redhat.com>
1826 * gdk/gdkcolor.c (gdk_color_hash): Fix a typo. (#390613,
1829 2006-12-29 Matthias Clasen <mclasen@redhat.com>
1831 * tests/prop-editor.c: Display children of containers
1832 and cell renderers of cell layouts.
1835 * gtk/gtkcelllayout.[hc] (gtk_cell_layout_get_cells):
1836 New function to get the cell renderers of a cell layout.
1838 * gtk/gtktreeviewcolumn.c:
1839 * gtk/gtkcellview.c:
1840 * gtk/gtkiconview.c: Implement get_cells.
1842 2006-12-28 Matthias Clasen <mclasen@redhat.com>
1844 * gtk/gtkiconview.c: Use word wrapping by default, and
1845 center multiline labels. (#318763, Ross Burton)
1847 * gtk/gtkcellrenderertext.c (get_layout): Remove a special
1848 case for single-line layouts.
1850 2006-12-28 Matthias Clasen <mclasen@redhat.com>
1852 * gtk/gtkarrow.c: Fix a typo in the docs. (#390423,
1855 * gtk/gtkuimanager.c (update_node): Only use the results
1856 of find_menu/toolbar_position() if they succeed. May fix
1859 2006-12-28 Matthias Clasen <mclasen@redhat.com>
1861 * gdk/gdk.c: Fix some formatting errors in docs.
1863 2006-12-28 Tor Lillqvist <tml@novell.com>
1865 * gtk/gtkstatusicon.c (gtk_status_icon_finalize)
1866 (gtk_status_icon_update_image): Don't leak HICONs on
1867 Win32. (#364868, Hiroyuki Yamamoto)
1869 2006-12-28 Carlos Garnacho <carlosg@gnome.org>
1871 Make GtkNotebook able to drop detached tabs anywhere. Bug #360225.
1873 * gtk/gtkwidget.c (gtk_widget_class_init): add "drag-failed" signal.
1874 * gtk/gtkmarshalers.list: add new marshaler definition.
1875 * gtk/gtkenums.h: add GtkDragResult enum.
1877 * gtk/gtkdnd.c (gtk_drag_drop_finished): emit "drag-failed" if DND
1878 operation wasn't successful.
1879 (_gtk_drag_source_handle_event) (gtk_drag_drop)
1880 (gtk_drag_selection_get) (gtk_drag_cancel) (gtk_drag_key_cb)
1881 (gtk_drag_grab_broken_event_cb) (gtk_drag_grab_notify_cb)
1882 (gtk_drag_button_release_cb) (gtk_drag_abort_timeout): tell
1883 gtk_drag_drop_finished() the operation result.
1885 * gtk/gtknotebook.c (gtk_notebook_drag_failed): new function.
1886 (gtk_notebook_drag_data_get): do not call window creation hook here.
1887 (gtk_notebook_init): do not set "application/x-rootwindow-drop"
1888 target, instead connect to "drag-failed".
1889 (gtk_notebook_draw_focus): fix potential crasher if cur_page is NULL.
1891 2006-12-28 Mikael Hallendal <micke@imendio.com>
1893 * gdk/quartz/gdkevents-quartz.c: Factored out the event loop
1894 integration into gdkeventloop-quartz.c.
1896 * gdk/quartz/Makefile.am: Added gdkeventloop-quartz.c
1898 * gdk/quartz/gdkeventloop-quartz.c: New file containing the event loop
1901 2006-12-27 Matthias Clasen <mclasen@redhat.com>
1903 * modules/printbackends/lpr/gtkprintbackendlpr.c
1904 (gtk_print_backend_lpr_print_stream): Close the io channel
1905 on unref. (#390159, Joe Markus Clarke)
1907 2006-12-27 Matthias Clasen <mclasen@redhat.com>
1909 * gdk/gdk.h: Remove redundant declarations (#390097,
1912 2006-12-27 Kristian Rietveld <kris@gtk.org>
1914 Support inverting arrows via XSetting. (#377979, Yevgen Muntyan).
1916 * gtk/gtksettings.c (gtk_settings_class_init): add new setting
1917 gtk-alternative-sort-arrows.
1919 * gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting): add
1922 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: set new
1923 gtk-alternative-sort-arrows setting to true.
1925 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
1926 invert direction if gtk-alternative-sort-arrows is TRUE.
1928 2006-12-27 Tor Lillqvist <tml@novell.com>
1930 * gtk/gtk.symbols: Add gtk_status_icon_get_screen and
1931 gtk_status_icon_set_screen.
1933 * gtk/gtkstatusicon.c: Implement gtk_status_icon_position_menu()
1934 on Windows. Keep track of where the last button click on the
1935 taskbar icon took place, and return that. Obviously not correct if
1936 no button has ever been clicked on the icon, or if the geometry of
1937 the taskbar has changed since. But for most use cases where a menu
1938 is going to be displayed as a direct result of a button click on
1939 the status icon, works fine. (#377349)
1941 Implement getting the orientation property on Windows.
1943 (gtk_status_icon_embedded_changed)
1944 (gtk_status_icon_orientation_changed): Ifdefify these functions
1945 that are used only on X11.
1947 2006-12-27 Tor Lillqvist <tml@novell.com>
1949 * gtk/gtkfilesystemwin32.c (execute_callbacks): Fix
1950 typo. (#390035, Kazuki Iwamoto)
1952 2006-12-27 Matthias Clasen <mclasen@redhat.com>
1954 * gtk/gtkcellview.c (gtk_cell_view_set_model): Accept NULL.
1956 * gtk/gtkcombobox.c (gtk_combo_box_set_model):
1957 (gtk_combo_box_unset_model): Handle repeated unsetting
1958 of models without warnings. (#367529, Robert Ancell)
1960 2006-12-27 Matthias Clasen <mclasen@redhat.com>
1962 * modules/printbackends/cups/gtkcupsutils.c:
1963 * modules/printbackends/cups/gtkprintbackendcups.c: Use
1964 getters for http fields where available. (#364866,
1967 2006-12-27 Matthias Clasen <mclasen@redhat.com>
1969 * gtk/gtkwidget.c (gtk_widget_show): Add a g_return_if_fail.
1970 (#362614, Xan Lopez)
1972 2006-12-27 Matthias Clasen <mclasen@redhat.com>
1974 * gtk/gtkuimanager.c (update_node): If a required action
1975 is missing, don't recurse over the children. (#349119,
1978 2006-12-27 Matthias Clasen <mclasen@redhat.com>
1980 Fix a few problems with nested menus in comboboxes
1981 (#386694, Yevgen Muntyan)
1983 * gtk/gtkcombobox.c (gtk_combo_box_menu_fill_level): Always
1984 connect the activate callback.
1985 (gtk_combo_box_menu_item_activate): Do nothing if called on
1986 an item with a submenu.
1987 (gtk_combo_box_menu_row_deleted): Remove a submenu when it
1990 2006-12-26 Mariano Suárez-Alvarez <mariano@gnome.org>
1992 * gtk/gtkfilechooserbuuton.[hc]: Add a file-set signal to the
1993 filechooser button. Bug 353196.
1995 2006-12-26 Kristian Rietveld <kris@gtk.org>
1997 * gtk/gtktreeview.c (gtk_tree_view_search_init): fix typo causing
1998 the search dialog timeout never to be refreshed. (#389581,
1999 Andrzej Szombierski).
2001 2006-12-26 Kristian Rietveld <kris@gtk.org>
2003 Lots of scrolling fixes. Made scrolling work properly in not fully
2004 validated tree views; fixed a bunch of corner cases.
2006 * gtk/gtktreeview.c (validate_visible_area): if a row's dy is past
2007 upper - page_size, we know it is located at the end so the test for
2008 dy + height has been dropped.
2009 In the same case if area_below < 0, we know this is the last node
2010 in the tree view so area_above is page_size - height of this row.
2011 (validate_visible_area): got rid of subtracting new_height -
2012 old_height from area_{below,above}, it didn't make any sense at
2013 all and the full height of the row should be subtracted instead.
2014 (validate_visible_area): when scrolling to a given path, set the
2015 top row directly together with the dy offset, then sync that top_row
2017 (gtk_tree_view_set_top_row): new function to directly set a top_row.
2018 (gtk_tree_view_dy_to_top_row): refactored to use
2019 gtk_tree_view_set_top_row().
2020 (gtk_tree_view_top_row_to_dy): make sure dy >= 0 when done.
2021 (gtk_tree_view_adjustment_changed): only update our dy and
2022 top_row if the adjustment's dy actually changed.
2024 2006-12-26 Christian Persch <chpe@cvs.gnome.org>
2026 * gtk/gtknotebook.c: (gtk_notebook_real_insert_page):
2027 Return the correct value from gtk_notebook_insert_page if the
2028 page-added handler reorders the tabs. Bug #345094.
2030 2006-12-26 Carlos Garnacho <carlosg@gnome.org>
2032 Fix small regressions in GtkNotebook tab detaching. Bug #378852.
2034 * gtk/gtknotebook.c (gtk_notebook_do_arrow): grab focus to allow tabs
2035 scrolling when hovering with a detached tab.
2036 (gtk_notebook_stop_reorder): Do not deparent the wrong tab if the
2037 focus tab has changed during a tab DND operation.
2038 (gtk_notebook_drag_end): ensure that the dropped tab gets focused.
2039 (gtk_notebook_paint): do not take cur_page as a reference to paint the
2040 box if it's detached.
2041 (gtk_notebook_calculate_tabs_allocation): focus_tab may be different
2042 to the detached tab if we hover the arrows during a tabs detaching
2043 operation, do not allocate it unconditionally in 0,0.
2045 2006-12-26 Carlos Garnacho <carlosg@gnome.org>
2047 Expose improvements for GtkNotebook. Bug #383435
2049 * gtk/gtknotebook.c (gtk_notebook_expose): propagate the event to tab
2051 (gtk_notebook_draw_focus): do not repaint the whole focused tab again.
2052 (gtk_notebook_draw_tab): do not send handmade expose events to tab
2055 2006-12-26 Matthias Clasen <mclasen@redhat.com>
2057 * gtk/gtkfilesystemunix.c (execute_callbacks): Return
2058 FALSE. (#389623, Carlos Garnacho Parro)
2060 * gtk/gtkrange.c (stop_scrolling): Avoid spurious
2063 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
2065 * gtk/gtkplug.c: (gtk_plug_construct_for_display),
2066 (gtk_plug_unrealize): Notify the "embedded" property also on
2067 normal construction and when destroying the socket window.
2070 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
2072 * gtk/gtkaboutdialog.c: (gtk_about_dialog_class_init),
2073 (gtk_about_dialog_init), (display_credits_dialog),
2074 (display_license_dialog):
2075 * gtk/gtkfilechooserdialog.c: (gtk_file_chooser_dialog_class_init),
2076 (gtk_file_chooser_dialog_init),
2077 (gtk_file_chooser_dialog_constructor),
2078 (gtk_file_chooser_dialog_unmap):
2079 * gtk/gtkrecentchooserdefault.c:
2080 (_gtk_recent_chooser_default_init):
2081 * gtk/gtkrecentchooserdialog.c:
2082 (gtk_recent_chooser_dialog_class_init),
2083 (gtk_recent_chooser_dialog_init),
2084 (gtk_recent_chooser_dialog_constructor),
2085 (gtk_recent_chooser_dialog_unmap): Set the HIG spacings directly
2086 instead of using style-set handlers. Fix the filechooser's spacing
2087 between content and action area to 12px. Bug #372447.
2089 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
2091 * gtk/gtkstatusbar.c: (gtk_statusbar_size_allocate):
2092 Don't assume statusbar->label is the statusbar's frame's child when
2093 shrinking the size allocation when the grip is shown. Bug #372452.
2095 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
2097 * gtk/gtkpagesetupunixdialog.c: (printer_status_cb),
2098 (add_custom_paper): Fix mem leaks. Bug #389194.
2100 2006-12-24 Matthias Clasen <mclasen@redhat.com>
2102 * gtk/gtktextutil.c: Remove debug output.
2104 * gtk/gtktextview.c: Improve the DND scrolling
2105 behaviour. (#92387, Carlos Garnacho Parro)
2107 * gtk/gtkaccellabel.c: Improve translators comments.
2108 (#389298, Christian Persch)
2110 2006-12-24 Bastien Nocera <hadess@hadess.net>
2112 * gtk/gtkrecentmanager.c: Fix typo (s/expansive/expensive)
2115 2006-12-24 Christian Persch <chpe@cvs.gnome.org>
2117 * docs/reference/gtk/gtk-sections.txt:
2119 * gtk/gtkpagesetupunixdialog.c: (fill_paper_sizes_from_printer):
2120 * gtk/gtkprinter-private.h:
2121 * gtk/gtkprinter.c: (gtk_printer_list_papers):
2122 * gtk/gtkprinter.h: Make gtk_printer_list_papers public. Bug #345587.
2124 2006-12-24 Carlos Garcia Campos <carlosgc@gnome.org>
2126 * gtk/gtkpagesetupunixdialog.c: Don't ignore reverse portrait option
2127 when is selected in page setup dialog. Fixes bug #365047.
2129 2006-12-24 Behdad Esfahbod <behdad@gnome.org>
2131 * gtk/gtkentry.c (_gtk_entry_effective_inner_border):
2132 Use gtk_border_free when freeing border.
2134 2006-12-24 Matthias Clasen <mclasen@redhat.com>
2136 * gtk/gtkentry.c (gtk_entry_button_press): When
2137 shift-clicking, keep the larger part of the selection
2138 selected. (#353709, Benjamin Otte)
2140 * gtk/gtkbutton.c (gtk_button_get_props): Use
2141 gtk_border_free when freeing borders.
2143 * gtk/gtkbutton.c (gtk_button_grab_notify): Be more
2144 careful when faking a button release. (#323146,
2147 * gtk/gtkhandlebox.c (draw_textured_frame): Draw the
2148 handle with the right orientation, depending on the
2149 position of the handlebox. (#159764, Benjamin Berg)
2151 2006-12-24 Behdad Esfahbod <behdad@gnome.org>
2153 * gtk/gtkstyle.c (gtk_border_copy), (gtk_border_free): Use gslice for
2154 GtkBorder (#383557).
2156 2006-12-24 Behdad Esfahbod <behdad@gnome.org>
2158 Bug 340141 – Update to Pango 1.16 API
2160 * gdk/gdkpango.c (layout_iter_get_line_clip_region),
2161 (gdk_pango_layout_line_get_clip_region):
2162 * gtk/gtkcalendar.c (gtk_calendar_size_request):
2163 * gtk/gtkentry.c (gtk_entry_get_pixel_ranges),
2164 (get_layout_position), (gtk_entry_find_position),
2165 (gtk_entry_adjust_scroll):
2166 * gtk/gtkiconview.c (get_pango_text_offsets):
2167 * gtk/gtklabel.c (get_cursor_direction):
2168 * gtk/gtkstyle.c (get_insensitive_layout):
2169 * gtk/gtktextdisplay.c (render_para):
2170 * gtk/gtktextlayout.c (allocate_child_widgets),
2171 (find_display_line_below), (find_display_line_above),
2172 (gtk_text_layout_move_iter_to_previous_line),
2173 (gtk_text_layout_move_iter_to_next_line),
2174 (gtk_text_layout_move_iter_to_line_end),
2175 (gtk_text_layout_iter_starts_line),
2176 (gtk_text_layout_move_iter_to_x):
2177 * gtk/gtktextutil.c (limit_layout_lines):
2178 Use the _readonly version of pango_layout_iter_get_line(),
2179 pango_layout_iter_get_run(), pango_layout_get_line(), and
2180 pango_layout_get_lines().
2182 * gtk/gtkmain.c (gtk_get_default_language): Use
2183 pango_get_default_language().
2185 2006-12-24 Matthias Clasen <mclasen@redhat.com>
2187 * gtk/gtkentry.c (gtk_entry_set_text): Emit changed
2188 and notify:text only once. The same fix was applied
2189 for replacing the selection via DND or copy-and-paste.
2190 (#64998, Damon Chaplin, Sven Herzberg)
2192 2006-12-23 Matthias Clasen <mclasen@redhat.com>
2194 * gtk/gtkimmulticontext.c: Be careful to not override
2195 GTK+ translations with the translations of the input
2196 method. (#317080, Tor Lillqvist)
2198 * modules/input/imcedilla.c: Use standard macros
2199 for translation domain and locale dir.
2201 * gtk/gtkimcontextsimple.c: Allow composing l with
2202 stroke. (#349638, Daniel Lublin)
2204 * gtk/gen-paper-names.c: Fix a thinko in the suffix
2205 calculation. (#382369, Christian Persch)
2207 * gtk/paper_names_offsets.c: Regenerated.
2209 2006-12-22 Matthias Clasen <mclasen@redhat.com>
2211 * modules/engines/pixbuf/pixbuf.h:
2212 * modules/engines/pixbuf/pixbuf-rc-style.h:
2213 * modules/engines/pixbuf/pixbuf-style.h: Move
2214 G_GNUC_INTERNAL before function declarations. (#352276,
2217 2006-12-22 Matthias Clasen <mclasen@redhat.com>
2219 * demos/gtk-demo/*.c: Fix some leaks. (#348108, Chris
2222 2006-12-22 Matthias Clasen <mclasen@redhat.com>
2224 * *.c: Replace a lot of idle and timeout calls by
2225 the new gdk_threads api.
2229 * gdk/gdk.c: Add functions to allow threadsafe handling
2230 of idles and timeouts wrt. to the GDK lock. (#321886,
2233 2006-12-22 Matthias Clasen <mclasen@redhat.com>
2235 * gdk/gdkpango.c: Use pango_cairo_show_error_underline.
2236 (#340141, Behdad Esfahbod)
2238 * configure.in: Check for getc_unlocked.
2240 * gtk/xdgmime/xdgmimemagic.c: Use getc if getc_unlocked is
2241 unavailable. (#381499)
2243 * tests/teststatusicon.c: Fix a typo
2245 2006-12-22 Matthias Clasen <mclasen@redhat.com>
2247 Make it possible to track the embeddedness of
2248 statusicon (#387215, Martyn Russell, patch by Christian
2251 * gtk/gtkstatusicon.c: Add orientation and embedded properties.
2253 * gtk/gtkplug-x11.c: Add an embedded property.
2254 * tests/teststatusicon.c: Test the new properties.
2256 * gtk/gtkwidget.c (gtk_widget_get_draw_rectangle): Don't
2257 leak draw_border. (#387170, Kjartan Maraas)
2259 2006-12-21 Matthias Clasen <mclasen@redhat.com>
2261 * gtk/gtkfilechooserembed.c (_gtk_file_chooser_embed_set_delegate()):
2262 Typo fix. (#388123, Murray Cumming)
2264 * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event):
2265 Generate double-click events. (#380421, Tommi Komulainen)
2267 * gdk/x1/gdkinput-xfree.c (_gdk_input_configure_event):
2268 (_gdk_input_enter_event): Correct return_if_fail checks.
2269 (#379803, Tommi Komulainen)
2271 * gdk/gdkdisplay.c: Improve the docs of some functions operating
2272 on the default display. (##353438, Mariano Suárez-Alvarez)
2274 2006-12-21 Matthew Barnes <mbarnes@redhat.com>
2276 * docs/reference/gdk/gdk-sections.txt:
2277 * gdk/gdkcolor.[ch] (gdk_color_to_string): Add a function for
2278 converting a GdkColor to a string (#373856).
2280 * configure.in: Bump pango requirement to 1.15.2.
2282 2006-12-20 Matthias Clasen <mclasen@redhat.com>
2284 * gdk/keynames.txt: Mark arrow keys as translatable. (#369506,
2287 * gdk/keyname-table.h: Regenerated
2289 * gtk/gtktextbuffer.c: Add signal documentation. (#317064,
2290 Søren Wedel Nielsen)
2292 * gtk/gtktextview.c (gtk_text_view_start_selection_drag):
2293 Silently return if a drag is already in progress, rather
2294 than asserting. (#335622, Li Yuan, testcase by Erwann Chenede)
2296 * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_new_with_dialog):
2297 Allow any GtkDialog that implements GtkFileChooser as
2298 dialog. (#335473, Tommi Komulainen)
2300 2006-12-20 Mikael Hallendal <micke@imendio.com>
2302 * gtk/gtkstatusicon.c: (gtk_status_icon_init): Fixed a last minute
2303 change in the quartz backend.
2305 2006-12-20 Mikael Hallendal <micke@imendio.com>
2307 * gtk/Makefile.am: Added gtkstatusicon-quartz.c
2308 * gtk/gtkstatusicon-quartz.c: Implements the quartz backend for the
2310 * gtk/gtkstatusicon.c: Hooked in the new quartz backend. Bug #387874.
2312 2006-12-19 Matthias Clasen <mclasen@redhat.com>
2314 * gtk/gtkprintunixdialog.c: Add a tooltip explaining the
2315 format of page ranges, and improve the page sequence icon
2316 for the case of n_copies == 1.
2318 2006-12-19 Mikael Hallendal <micke@imendio.com>
2320 * gdk/quartz/gdkcursor-quartz.c: Splitted out the GdkPixbuf to NSImage
2321 routine so that it can be used from libgtk as well (needed for
2322 upcoming GtkStatusIcon support in the Quartz port).
2323 * gdk/quartz/gdkevents-quartz.c: Don't assume that all NSWindows are
2324 created from GDK, this is not true for the status icon.
2325 * gdk/quartz/gdkprivate-quartz.h:
2326 * gdk/quartz/gdkquartz.h: Added
2327 gdk_quartz_pixbuf_to_ns_image_libgtk_only so that it is available to
2328 the status icon code.
2330 2006-12-16 Tristan Van Berkom <tvb@gnome.org>
2332 * gtk/gtkmessagedialog.c: Added return_if_fail (image) to
2333 gtk_message_dialog_set_image ()
2335 * gtk/gtkscrolledwindow.c: Fixed a bug in set_property()
2336 (setting "window-placement-set" could result in a crash because
2337 of boolean/enum mixup)
2339 2006-12-15 Federico Mena Quintero <federico@novell.com>
2341 Merged from gtk-2-10:
2343 * gtk/gtkmenu.c (gtk_menu_set_title): Don't try to optimize for
2344 the case where the new title is the same as the old title, to
2345 preserve the behavior from GTK+ 2.8 (NULL and "" titles are not
2346 equivalent). Handle the case where title == priv->title. This
2347 was found by the LSB compatibility tests:
2348 https://bugzilla.novell.com/show_bug.cgi?id=223882
2350 2006-12-15 Dom Lachowicz <domlachowicz@gmail.com>
2352 * gtk/gtkcombobox.c: Make GtkComboBox in "appears-as-list" mode
2353 more closely resemble its Win32 counterpart. Bug #340204.
2355 2006-12-14 Carlos Garnacho <carlosg@gnome.org>
2357 * gtk/gtkcalendar.c: draw arrows pointing to the right correctly
2358 placed inside their GdkWindow. Bug #385672.
2360 2006-12-14 Christian Persch <chpe@cvs.gnome.org>
2362 * gtk/gtkiconview.c: Fix docs typo. Bug #385642.
2364 2006-12-13 Dom Lachowicz <domlachowicz@gmail.com>
2366 * src/modules/engines/ms-windows/msw_style.c: Bug 351679 - Notebooks
2367 drawn with extra line below tab in MS-Windows theme. Patch by
2370 2006-12-13 Matthias Clasen <mclasen@redhat.com>
2372 * gtk/Makefile.am: Add --unlink-tempfile to the evince call
2373 for print preview. (#370041, Ghee Teo)
2375 2006-12-11 Matthias Clasen <mclasen@redhat.com>
2377 * gtk/gtkprogressbar.c (gtk_progress_bar_paint_text): Be more
2378 careful when overdrawing antialiased text. (#352435, Alex Jones,
2379 patch by Benjamin Otte)
2381 * gtk/gtksettings.c: Change the way in which color scheme information
2382 is merged to correctly handle vanishing colors. (#374420,
2383 Benjamin Berg, patch by Callum McKenzie)
2384 Also allow to separate entries in color schemes by ';'
2387 2006-12-10 Matthias Clasen <mclasen@redhat.com>
2389 * modules/printbackends/cups/gtkcupsutils.c (gtk_cups_request_encode_option):
2390 Properly pass multi-value options to cups. (#355350, Jürg Billeter)
2392 2006-12-10 Kristian Rietveld <kris@gtk.org>
2394 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_focus_out_event):
2395 cancel editing (ie. don't accept changes) when the entry loses
2396 focus. (Fixes #164494, reported by Chris Rouch).
2398 2006-12-10 Matthias Clasen <mclasen@redhat.com>
2400 * configure.in: Correct a misapplied patch.
2402 2006-12-10 Tor Lillqvist <tml@novell.com>
2404 * gtk-zip.sh.in: Put gdk-pixbuf-query-loaders.exe and
2405 gtk-query-immodules-2.0.exe in the runtime zipfile instead of
2406 developer zipfile. Users might add pixbuf loaders or immodules
2407 even if they are not interested in developing gtk+-using software.
2409 2006-12-10 Matthias Clasen <mclasen@redhat.com>
2411 * configure.in: Check for crt_extern.h and _NSGetEnviron.
2412 * gdk/x11/gdkspawn-x11.c: Fix compilation on Darwin where
2413 environ is not available. (#384168, Min Sik Kim)
2415 2006-12-07 Paolo Maggi <paolo@gnome.org>
2419 * gtk/gtkentry.c (gtk_entry_set_text): check for
2420 completion->priv->changed_id > 0 before calling
2421 g_signal_handler_[un]block.
2422 (gtk_entry_completion_key_press): does not block/unblock the "changed"
2423 signal before calling gtk_entry_set_text.
2425 2006-12-07 Carlos Garnacho <carlosg@gnome.org>
2427 * gtk/gtkcellrendererprogress (compute_dimensions): do not use
2428 xthickness/ythickness, they aren't used any longer for drawing.
2430 2006-12-07 Matthias Clasen <mclasen@redhat.com>
2432 * gtk/gtkrc.c (_gtk_rc_init): Fix clipping of accelerator
2433 underlines by giving labels a small draw-border.
2435 2006-12-06 Kristian Rietveld <kris@gtk.org>
2437 * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_render):
2438 draw progress bar through theme engine instead of using our own
2439 custom cairo drawing code (#377244, patch from Carlos Garnacho).
2441 2006-12-06 Matthias Clasen <mclasen@redhat.com>
2443 * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities):
2444 Update the sensitivity of the collate checkbutton more frequently,
2445 proposed by Tim Waugh.
2447 2006-12-04 Matthias Clasen <mclasen@redhat.com>
2449 * gtk/gtkmessagedialog.c (setup_type): Set a11y name and role
2450 since we no longer set window titles.
2452 2006-12-04 Christian Persch <chpe@cvs.gnome.org>
2454 * gtk/gtkpagesetup.c: (gtk_page_setup_get_paper_size),
2455 (gtk_page_setup_set_paper_size): Don't leak the old page size when
2456 setting a new one. Bug #382314.
2458 2006-12-03 Michael Natterer <mitch@gimp.org>
2460 * gtk/gtktextview.c: remove FIXME #include that is no longer needed.
2462 2006-12-03 Kristian Rietveld <kris@gtk.org>
2464 Make sure [xy]_offset are always being initialized, fix pixbuf
2465 renderer padding. (#108235, Sven Neumann).
2467 * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_get_size),
2468 (gtk_cell_renderer_pixbuf_render): add padding in _render instead
2471 * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_get_size):
2472 always initialize [xy]_offset.
2473 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): ditto.
2474 * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_size):
2477 2006-12-03 Kristian Rietveld <kris@gtk.org>
2479 * gtk/gtktreeview.c (validate_visible_area): when not using an
2480 explicit alignment, use the full area of the row (not just dy)
2481 to determine how to implicitly align it. (Fixes #363191, reported
2482 by Federico Mena Quintero).
2484 2006-12-02 Matthias Clasen <mclasen@redhat.com>
2486 * gtk/gtkicontheme.c (insert_theme): Properly clean up
2487 if an icon theme index file has no directories. (#381236)
2489 2006-12-02 Dom Lachowicz <domlachowicz@gmail.com>
2491 * src/modules/engines/ms-windows/msw_style.c: Bug 351678 - Notebooks
2492 not with PositionType.Top drawn incorrectly. Patch by Cody Russell
2494 2006-11-28 Behdad Esfahbod <behdad@gnome.org>
2496 Remove the broken Thai input method and add a functional Thai and Lao
2497 input method by Theppitak Karoonboonyanan. (#81031)
2499 * modules/input/imthai.c:
2500 * modules/input/gtkimcontextthai.c:
2501 * modules/input/gtkimcontextthai.h:
2502 * modules/input/thai-charprop.c:
2503 * modules/input/thai-charprop.h:
2506 * modules/input/imthai-broken.c:
2509 * modules/input/Makefile.am:
2512 2006-11-27 Christian Persch <chpe@cvs.gnome.org>
2514 * gtk/gtkstatusicon.c: Notify when the screen changes. Bug #379793.
2516 Mon Nov 27 12:27:06 2006 Tim Janik <timj@imendio.com>
2518 * gtk/gtktextview.c: applied patch by Colin Leroy for
2519 Control+GDK_KP_Left to move one word to the left, #356255.
2521 2006-11-26 Benjamin Berg <benjamin@sipsolutions.net>
2523 * gtk/gtkstyle.c: (gtk_default_draw_flat_box): Protect against NULL
2526 2006-11-25 Matthias Clasen <mclasen@redhat.com>
2528 * modules/printbackends/cups/gtkprintbackendcups.c: Make
2529 print dialog work when 'BrowseShortNames Off' is specified
2530 in cups configuration. Patch by Tim Waugh.
2532 2006-11-24 Michael Natterer <mitch@imendio.com>
2534 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): if we
2535 can't go up/down, consult gtk_widget_keynav_failed() and leave the
2536 widget if it returns FALSE (bug #322640).
2538 2006-11-23 Behdad Esfahbod <behdad@gnome.org>
2540 * gtk/gtkmain.c: Fix minor typo in docs. (#378632, Hannes Mueller)
2542 2006-11-22 Emmanuele Bassi <ebassi@gnome.org>
2544 * gtk/gtkrecentmanager.c:
2545 (get_uri_shortname_for_display): g_filename_from_uri() might
2546 fail; catch the failure and fall back to the non-local URI
2549 2006-11-19 Mark McLoughlin <mark@skynet.ie>
2551 Fixes bug #376502 - multi-screen support for GtkStatusIcon
2553 * gtk/gtkstatusicon.[ch]:
2554 (gtk_status_icon_set_screen),
2555 (gtk_status_icon_get_screen): add multi-screen API. Allows
2556 an app to display an icon on a non-default screen
2557 (gtk_status_icon_class_init),
2558 (gtk_status_icon_set_property),
2559 (gtk_status_icon_get_property): add a "screen" property
2561 * tests/teststatusicon.c: update to test on multiple screens
2563 2006-11-17 Matthias Clasen <mclasen@redhat.com>
2565 Fix problems with drag cancellation. (#376535, Michael Natterer)
2567 * gtk/gtkdnd.c (gtk_drag_source_info_destroy): Disconnect signal
2568 handlers before emitting drag-end.
2569 (gtk_drag_end): Disconnect signal handlers before removing
2572 2006-11-16 Mariano Suárez-Alvarez <mariano@gnome.org>
2574 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
2575 add gtk-doc blurb on GtkCellRendererText::edited (#376094)
2577 2006-11-16 Michael Natterer <mitch@imendio.com>
2579 * gtk/gtkradiobutton.c (gtk_radio_button_focus): don't use
2580 gtk_widget_keynav_failed(). Instead, look at gtk-keynav-cursor-only
2581 and gtk-keynav-wrap-around and wrap around, beep or continue outside
2582 the group manually (bug #322640).
2584 2006-11-16 Michael Natterer <mitch@imendio.com>
2586 Add new infrastructure for notifications of failed keyboard
2587 navigation and navigation with restricted set of keys.
2589 The patch handles configurable beeping, navigating the GUI with
2590 cursor keys only (as in phone environments), and configurable
2591 wrap-around. Fixes bugs #322640, #70986, #318827, #334726, #334742
2594 * gtk/gtksettings.c: added properties gtk-keynav-cursor-only,
2595 gtk-keynav-wrap-around and gtk-error-bell.
2597 * gtk/gtkwidget.[ch]: added new signal "keynav-failed" and public
2598 API to emit it. Added New function gtk_widget_error_bell() which
2599 looks at the gtk-error-bell setting and calls gdk_window_beep()
2602 * gtk/gtk.symbols: add the new widget symbols.
2604 * gtk/gtkcellrendereraccel.c
2605 * gtk/gtkimcontextsimple.c
2607 * gtk/gtknotebook.c: use gtk_widget_error_bell() or look at the
2608 gtk-error-bell setting instead of calling gdk_display_beep()
2615 * gtk/gtkmenushell.c
2616 * gtk/gtkspinbutton.c
2618 * gtk/gtktreeview.c: call gtk_widget_error_bell() on failed keynav.
2623 * gtk/gtktextview.c: consult gtk_widget_keynav_failed() on failed
2624 cursor navigation and leave the widget if it returns FALSE.
2626 * gtk/gtkmenushell.c
2627 * gtk/gtknotebook.c: only wrap around if gtk-keynav-wrap-around
2630 * gtk/gtkradiobutton.c: ask gtk_widget_keynav_failed() to decide
2631 whether to to wrap-around, and don't select active items on cursor
2632 navigation if gtk-keynav-cursor-only is TRUE. Should look at
2633 gtk-keynav-wrap-around too, will look into that.
2635 2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
2637 * gtk/gtkrecentmanager.c:
2638 (gtk_recent_info_get_uri_display): Return the URI
2639 of the GtkRecentInfo object (upgraded to UTF-8 if
2640 needed) in case of non-local file. (#351945)
2642 2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
2644 * gtk/gtkrecentchoosermenu.c:
2645 (gtk_recent_chooser_menu_add_tip): Apply the tip only
2646 if we have a displayable name for the item. (#365031,
2647 patch by padraig.obriain(at)sun.com)
2649 2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
2651 * gtk/gtkrecentmanager.c: Provide a fast path returning
2652 NULL when the limit is set to 0.
2654 * gtk/gtkrecentchooserdefault.c:
2655 * gtk/gtkrecentchoosermenu.c: Add the same fast path
2656 inside the RecentChooser implementation; add a check
2657 in the list clamping code. (#373466 and duplicates)
2659 2006-11-15 Matthias Clasen <mclasen@redhat.com>
2661 * modules/printbackends/cups/gtkprintbackendcups.c (cups_printer_get_options):
2662 Don't pass NULL to strncpy. (#359537, patch by Carlos Garcia Campos)
2664 2006-11-15 Michael Natterer <mitch@imendio.com>
2666 * gtk/gtkrange.[ch]: added properties "fill-level",
2667 "show-fill-level" and "restrict-to-fill-level" and getters/setters
2668 for them. The "fill level" is an additional marker on the range's
2669 trough than can be e.g. used to indicate the amount of
2670 pre-buffering in a range showing the play position of streamed
2671 media. See the embedded API docs for details. Made GtkRangeLayout
2672 a GTypeInstance private struct and removed finalize()
2673 implementation. Fixes bug #349808
2675 * gtk/gtk.symbols: added the new symbols.
2677 2006-11-14 Behdad Esfahbod <behdad@gnome.org>
2679 * configure.in: Make libtool magic robust. (#352795)
2681 2006-11-13 Paolo Borelli <pborelli@katamail.com>
2683 * gtk/gtkrc.c (gtk_rc_parse_icon_source): plug small memory
2686 2006-11-09 Kristian Rietveld <kris@imendio.com>
2688 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): disable
2689 don't move cursor case for SELECTION_NONE. (#371756, John Ellis).
2691 2006-11-09 Carlos Garnacho <carlosg@gnome.org>
2693 * gtk/gtkpathbar.c (on_slider_unmap): Fix parenthesis confusion.
2695 2006-11-08 Carlos Garnacho <carlosg@gnome.org>
2697 * gtk/gtkpathbar.c (on_slider_unmap): added, do not leave the scroll
2698 timeout running if the slider buttons are hidden. (#372527)
2700 2006-11-08 Christian Persch <chpe@cvs.gnome.org>
2702 * gtk/gtkfilechooserdefault.c (browse_widgets_create): Don't make
2703 the "Location" label bold. Bug #372449.
2705 2006-11-07 Carlos Garnacho <carlosg@gnome.org>
2707 * gtk/gtknotebook.c (gtk_notebook_calculate_tabs_allocation): make
2708 non-focused tabs xthickness/ythickness thinner. (#353962)
2710 2006-11-07 Paolo Borelli <pborelli@katamail.com>
2712 * gtk/gtktextbtree.c (_gtk_text_btree_delete): avoid memory
2713 corruption (#357050).
2715 2006-11-06 Alexander Larsson <alexl@redhat.com>
2717 * gtk/gtkdnd.c: (gtk_drag_begin_internal),
2718 (gtk_drag_source_info_destroy), (gtk_drag_end),
2719 (gtk_drag_grab_notify_cb):
2720 Cancel drag when the grab is shadowed. (#122688)
2722 2006-11-01 Kristian Rietveld <kris@imendio.com>
2724 * gtk/gtkcombobox.c (gtk_combo_box_class_init),
2725 (gtk_combo_box_size_request): add arrow-size property to control
2726 the minimum size of the arrow, have the arrow scale up with the
2727 font by default. (#357950).
2729 2006-10-30 Kristian Rietveld <kris@gtk.org>
2731 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): don't
2732 forget to queue a draw for the new cursor node. (Fixes #366548,
2733 reported by Sven Herzberg).
2735 2006-10-30 Michael Natterer <mitch@imendio.com>
2737 * gtk/gtkrange.c (gtk_range_key_press): consume the Escape key
2738 only if we actually cancel a drag. Fixes bug #58389.
2740 2006-10-30 Kristian Rietveld <kris@gtk.org>
2742 * gtk/gtktreeview.c (gtk_tree_view_class_init): change left/right
2743 keybindings to collapse/expand rows instead of moving the focus
2744 cursor. (#105895, Brian Bober and others).
2746 2006-10-29 Kristian Rietveld <kris@gtk.org>
2748 * gtk/gtktreeview.c (gtk_tree_view_real_expand_row): guard against
2749 child removal in row-expanded callback. (#366782, John Ellis).
2751 2006-10-29 Tor Lillqvist <tml@novell.com>
2753 * gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Improve handling
2754 of the small icon of the window class. (#152620, Kazuki Iwamoto)
2756 2006-10-29 Tor Lillqvist <tml@novell.com>
2758 * gdk/win32/gdkcursor-win32.c
2759 (gdk_win32_icon_to_pixbuf_libgtk_only): Implement for B&W cursors,
2760 for instance the built-in GDK ones.
2762 2006-10-27 Kristian Rietveld <kris@gtk.org>
2764 * gtk/gtktreeview.c (validate_visible_area): rework the area_above == 0
2765 case to not overwrite the variables in the lower scope (which are
2766 used later on ...), get the path correctly and bail out when there
2767 isn't a node above us. (#359231).
2769 2006-10-26 Christian Persch <chpe@cvs.gnome.org>
2771 * gtk/gtkaboutdialog.c: Put initial focus on Close button (#337261).
2773 2006-10-25 Johan Dahlin <jdahlin@async.com.br>
2775 * gtk/gtk.symbols: Add missing symbols to so make check can pass
2777 2006-10-23 Dom Lachowicz <domlachowicz@gmail.com>
2779 * src/modules/engines/ms-windows/msw_style.c (draw_expander): Remember
2780 to free GDI Pen resources, introduced by bug 340201.(#364514)
2782 2006-10-18 Kristian Rietveld <kris@imendio.com>
2784 * tests/testcombo.c (main): connect to notify::popup-shown instead of
2785 popup-show (the latter does not exist).
2787 2006-10-15 Paolo Borelli <pborelli@katamail.com>
2789 * gtk/gtkicontheme.c (pixbuf_supports_svg): plug memory leak.
2792 2006-10-12 Michael Natterer <mitch@imendio.com>
2794 * gtk/gtkcombobox.c (gtk_combo_box_class_init): fix commit below
2795 (committed the wrong patch).
2797 2006-10-12 Michael Natterer <mitch@imendio.com>
2799 * gtk/gtkcombobox.c: added "move-active" and "popup" signals and
2800 bindings to trigger them. Removed gtk_combo_box_key_press(), it's
2801 obsolete now. Fixes bug #358293.
2803 2006-10-11 Michael Emmel <mike.emmel@gmail.com>
2805 * gdkpixmap-directfb.c: add missing RGB24 case (#361176)
2807 2006-10-11 Tor Lillqvist <tml@novell.com>
2809 * configure.in: Enable having some gdk-pixbuf loaders built-in
2810 even if loading the others dynamically. Define Automake
2811 conditional INCLUDE_FOO for each loader as TRUE if that loader is
2812 built-in. See also gdk-pixbuf/ChangeLog.
2814 Wed Oct 11 14:31:30 2006 Tim Janik <timj@imendio.com>
2816 * docs/reference/gtk/gtk-sections.txt:
2817 * gtk/gtkbindings.c: document gtk_binding_entry_skip().
2819 2006-10-11 Tor Lillqvist <tml@novell.com>
2821 * gtk/gtk.symbols: Remove gtk_combo_string_key, which is a static
2824 2006-10-11 Tor Lillqvist <tml@novell.com>
2826 Merge from 2.10 branch:
2828 * gtk/gtkmain.c (do_pre_parse_initialization): On Win32, if
2829 environment variable LC_ALL or LANG is set, set the Win32 thread
2830 locale to the corresponding locale. Then call the C library
2831 setlocale() to set the C library locale accordingly. The
2832 inconsistency mentioned below is gone. (#339756) Do some special
2833 casing for Serbia and Montenegro. Handle the Latin and Cyrillic
2834 scripts for Azeri, Uzbek and Serbian.
2835 (enum_locale_proc): Helper function for the above functionality.
2837 * gtk/gtkcalendar.c (gtk_calendar_init): No longer need to check
2838 if the environment variables are set here, as they have already
2839 been taken into account and the Win32 thread locale has been
2842 Tue Oct 10 16:38:23 2006 Tim Janik <timj@imendio.com>
2844 * gtk/tmpl/gtkbindings.sgml:
2845 * gtk/gtkbindings.c: applied patch from Michael Natterer to move to
2846 inline docs. applied wording fixes suggested by Martyn Russell.
2848 2006-10-09 Matthias Clasen <mclasen@redhat.com>
2850 * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
2851 Update the docs to state which out parameters may be NULL.
2852 (#360870, Attilio Fiandrotti)
2854 2006-10-08 Matthias Clasen <mclasen@redhat.com>
2856 * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities): Fix
2857 a typo. (#359542, Ghee Teo)
2859 2006-10-08 Matthias Clasen <mclasen@redhat.com>
2861 * gtk/gtknotebook.c (gtk_notebook_reorder_tab): Only
2862 reorder tabs if the focus is in the tab. (#350342, Carlos
2865 2006-10-08 Michael Emmel <mike.emmel@gmail.com>
2867 * gdk/directfb/gdkproperty-directfb.c strdup atom name (#357611)
2869 2006-10-08 Kristian Rietveld <kris@gtk.org>
2871 * gtk/gtktreeview.[ch] (gtk_tree_view_set_property),
2872 (gtk_tree_view_set_show_expanders),
2873 (gtk_tree_view_get_show_expanders): add getter/setter for
2874 show-expanders property, queue a redraw when this property
2875 is toggled (#351167, Martin Ejdestig),
2876 (gtk_tree_view_set_level_indentation),
2877 (gtk_tree_view_get_level_indentation): also add getter/setter
2878 and docs for level-indentation property.
2880 2006-10-08 Matthias Clasen <mclasen@redhat.com>
2882 * gtk/gtkradiobutton.c (gtk_radio_button_focus): Don't
2883 leak a list. (#360350, Benjamin Berg)
2885 * Apply a cleanup patch by Kjartan Maraas (#341812)
2887 2006-10-07 Tor Lillqvist <tml@novell.com>
2889 * gtk/gtkcalendar.c (gtk_calendar_init): Use the Win32 thread
2890 locale's first day of week setting on Win32. (#339752, Bogdan
2891 Nicula) Don't do this if one of the environment variables that
2892 affect gettext is set, though. In that case use the week start day
2893 from the corresponding message catalog.
2895 Unfortunately the same logic isn't possible in the weekday and
2896 month name lookup; there even if you have set one of the
2897 aforementioned environment variables, you still get the weekday
2898 and month names from the Win32 thread locale. Yes, this is
2901 Use only wide-character API in the Win32 code in this file, too.
2903 2006-10-06 Matthias Clasen <mclasen@redhat.com>
2905 * gtk/gtkfilechooser.c (gtk_file_chooser_set_select_multiple):
2906 Fix the docs. (#360112)
2908 * gtk/gtkcellview.c: Don't set the background of the
2909 window in a no-window widget. (#359581, Xan Lopez)
2912 2006-10-05 Behdad Esfahbod <behdad@gnome.org>
2914 * gtk/Makefile.am, gtk/aliasfilescheck.sh: Propagate srcdir into the
2915 test correctly. (#359845)
2917 2006-10-05 Michael Natterer <mitch@imendio.com>
2919 * gtk/gtkrc.[ch]: added new scanner token "unbind" which gets
2920 rid of a key binding (in fact, it only lets it appear unbound).
2922 * gtk/gtkbindings.[ch] (struct GtkBindingEntry): added
2923 "guint marks_unbound : 1"
2925 (gtk_binding_entry_skip): new API which marks the entry as unbound.
2927 Changed code so it returns FALSE when "marks_unbound == TRUE" is
2928 encountered while activating bindings, effectively letting the
2929 binding appear unbound (regardless of still existing bindings in
2930 lower binding priority levels). Fixes bug #358329.
2932 (gtk_binding_entry_add)
2933 (gtk_binding_entry_clear)
2934 (gtk_binding_entry_add_signall)
2935 (gtk_binding_parse_binding): deprected these functions.
2937 (_gtk_binding_parse_binding)
2938 (_gtk_binding_entry_add_signall): new internal API.
2940 * gtk/gtk.symbols: changed accordingly.
2942 2006-10-03 Matthias Clasen <mclasen@redhat.com>
2944 Fix interaction of GtkEntryCompletion with input
2945 methods. (#354495, Diego Escalante Urrelo)
2947 * gtk/gtkentry.c (gtk_entry_completion_key_press): Only reset
2948 the im context if we actually handle the key event.
2950 * gtk/gtkentrycompletion.c: Also propagate key release events
2953 2006-10-03 Matthias Clasen <mclasen@redhat.com>
2955 * gtk/gtkprintsettings.c (gtk_print_settings_get_duplex):
2956 Fix a typo. (#359052, Ghee Teo)
2958 * gtk/*.c, gdk/*.c: Apply a patch by Behdad Esfahbod to
2959 reduce relocations. (#359053)
2961 2006-10-03 Matthias Clasen <mclasen@redhat.com>
2963 * modules/printbackends/cups/gtkcupsutils.c:
2964 * modules/printbackends/cups/gtkprintbackendcups.c: Complete
2965 the fix for bug 357280.
2967 2006-10-02 Behdad Esfahbod <behdad@gnome.org>
2969 * gdk-pixbuf/Makefile.am:
2972 Include pltcheck.sh in EXTRA_DIST.
2974 2006-10-02 Behdad Esfahbod <behdad@gnome.org>
2976 * gdk/x11/gdkevents-x11.c: Move all includes before including
2979 2006-10-02 Behdad Esfahbod <behdad@gnome.org>
2981 * gtk/Makefile.am: Fix typo in file name. (#358931)
2983 2006-10-02 Matthias Clasen <mclasen@redhat.com>
2985 * modules/printbackends/cups/gtkprintbackendcups.c (available_choices):
2986 Only use the group name field if cups is new enough. (#357280)
2988 * gtk/gtksizegroup.c: Make sure that the quarks are
2989 initialized before using them. (#353736)
2991 * gtk/Makefile.am (stamp-icons): Use rm instead of ln -f to
2992 replace existing links. (#354849, James Evans)
2994 2006-10-01 Matthias Clasen <mclasen@redhat.com>
2996 * gtk/gtkexpander.c (gtk_expander_realize)
2997 (gtk_expander_size_allocate): Make the event_window large
2998 enough to cover the full height of the label_widget. (#358351,
3001 2006-10-01 Tor Lillqvist <tml@novell.com>
3003 * gtk/gtkfilesystemwin32.c: Same change as to gtkfilesystemunix.c.
3005 2006-09-30 Matthias Clasen <mclasen@redhat.com>
3007 * gtk/gtkfilechooserbutton.c (update_combo_box): Protect
3008 against base_path being NULL. (#358405, many reporters)
3010 2006-09-29 Matthias Clasen <mclasen@redhat.com>
3012 * gtk/gtkfilesystemunix.c: Apply a patch by Padraig O'Briain
3013 to avoid a deadlock.
3015 2006-09-27 Kristian Rietveld <kris@imendio.com>
3017 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_free_level),
3018 (gtk_tree_model_filter_ref_node),
3019 (gtk_tree_model_filter_real_unref_node): bring zero ref count loops
3020 in sync with each other and the sort model.
3022 2006-09-27 Kristian Rietveld <kris@imendio.com>
3024 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_init),
3025 (gtk_tree_model_filter_finalize), (gtk_tree_model_filter_row_deleted),
3026 (gtk_tree_model_filter_new): unref the virtual root path once that
3027 node (or one if its ancestors) is deleted, set virtual_root_deleted
3028 so we only unref it once.
3030 2006-09-27 Kristian Rietveld <kris@imendio.com>
3032 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_changed),
3033 (gtk_tree_model_sort_sort_level): ref count nodes the proper way,
3034 (gtk_tree_model_sort_ref_node), (gtk_tree_model_sort_real_unref_node),
3035 (gtk_tree_model_sort_free_level): bring zero ref count loops in
3037 (gtk_tree_model_sort_free_level): free child levels before
3038 decreasing the zero ref count of the current level,
3039 (gtk_tree_model_sort_clear_cache): only clear cache if zero_ref_count
3042 2006-09-25 Matthias Clasen <mclasen@redhat.com>
3044 * demos/gtk-demo/*.c:
3045 * gtk/gtkeventbox.c:
3046 * gtk/gtkprintoperation.c: Fix typos. String change.
3048 2006-09-25 Kristian Rietveld <kris@gtk.org>
3050 * gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): if the tree view
3051 has already been realized; scroll to background area instead of
3052 cell area. (Fixes #330683, Johan Dahlin, Tommi Komulainen).
3054 2006-09-25 Kristian Rietveld <kris@gtk.org>
3056 * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): only attempt
3057 to create the GCs if the widget is realized. (Fixes #357578).
3059 2006-09-25 Matthias Clasen <mclasen@redhat.com>
3061 * gtk/gtkuimanager.c (_gtk_menu_is_empty): Don't leak
3062 the list of children (#357454, Paolo Borelli)
3064 2006-09-25 Michael Natterer <mitch@imendio.com>
3066 * gdk/x11/gdkdisplay-x11.c (gdk_display_x11_finalize): free
3067 display->input_windows with g_free(), not g_object_unref()
3068 (#357566, Tommi Komulainen).
3070 2006-09-24 Kristian Rietveld <kris@gtk.org>
3072 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init),
3073 (gtk_cell_renderer_text_[sg]et_property): actually add align-set
3074 property to the API (left-over patch from #157439).
3076 2006-09-24 Kristian Rietveld <kris@gtk.org>
3078 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button): draw
3079 the indicator if the column has a sort column id (and the model is
3080 sortable) or if the user explicitly requested the indicator
3081 to be shown. (Fixes #352738, Chris Vine).
3083 2006-09-23 Tor Lillqvist <tml@novell.com>
3085 * gtk/Makefile.am: Use EXEEXT.
3087 2006-09-22 Michael Natterer <mitch@imendio.com>
3089 * gtk/gtkstyle.c (gtk_style_real_copy): also copy icon factories
3090 and color hashes. Fixes bug #357132.
3092 2006-09-22 Matthias Clasen <mclasen@redhat.com>
3094 Make remote bookmarks work better (#354887)
3096 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons):
3097 (shortcuts_insert_path):
3098 * gtk/gtkfilechooserbutton.c (change_icon_theme):
3099 (model_add_bookmarks):
3100 (model_update_current_folder):
3101 (update_label_and_image):
3102 If the bookmark points to a remote file, don't call get_info(),
3103 since that may a) take a long time and b) pop up an auth dialog.
3104 Instead, just use a folder icon and create a display name
3107 * gtk/gtkfilechooserdefault.c (_gtk_file_chooser_label_for_uri):
3108 New function to create a suitable display name for a remote
3109 uri. This should really be done in GtkFileSystem.
3111 2006-09-21 Michael Natterer <mitch@imendio.com>
3113 Implement lots of value setters for GdkGC, based on a heavily
3114 modified patch from Thomas Broyer (bug #328853):
3116 * gdk/quartz/gdkcolor-quartz.c: removed functions which set colors
3117 on the CGContext. Instead, added gdk_quartz_get_rgba_from_pixel()
3118 which simply returns RGBA values from a GdkColor's pixel value.
3119 See gdk_quartz_update_context_from_gc() below.
3121 * gdk/quartz/gdkprivate-quartz.h (struct GdkGCQuartz): added lots
3122 of members for the newly suppored GC values. Added enum
3123 GdkQuartzContextValuesMask which is used for setting up the
3124 CGContext for filling and/or stroking.
3126 * gdk/quartz/gdkgc-quartz.c (gdk_quartz_gc_get_values)
3127 (gdk_quartz_gc_set_values)
3128 (_gdk_windowing_gc_copy): support a lot more GC values.
3130 (gdk_quartz_update_context_from_gc): added
3131 GdkQuartzContextValuesMask parameter and set filling/stroking
3132 parameters accordingly. This function also gained full control
3133 over the FG and BG colors (they can't be set separately any more).
3135 The stipple mask part of the patch doesn't work but seems to take
3136 the right approach and doesn't make things worse, so I applied it.
3138 Did *not* apply the clipping part of the patch since I don't
3139 understand it (I don't understand the version in CVS either, but
3140 it at least works :-)
3142 * gdk/quartz/gdkdrawable-quartz.c: pass the right masks to
3143 gdk_quartz_update_context_from_gc() and removed separate color
3144 setting calls. Some minor fixes.
3146 * gdk/quartz/gdkwindow-quartz.c
3147 (gdk_window_impl_quartz_begin_paint_region): set the CGContext's
3148 fill color manually. We don't have/need a GC here.
3150 2006-09-21 Michael Natterer <mitch@imendio.com>
3152 * gdk/quartz/gdkwindow-quartz.c
3153 (gdk_window_impl_quartz_begin_paint_region): fix cast: it's
3154 drawable_impl->wrapper that is the GdkWindow, not the
3155 drawable_impl itself.
3157 2006-09-20 Behnam Esfahbod <behnam@zwnj.org>
3159 * gdk/x11/gdkkeys-x11.c:
3160 (get_direction): just check the first shift-level of keyboard
3161 layout for RTL and LTR keysyms() (compliment to #116626)
3163 Wed Sep 20 16:59:38 2006 Tim Janik <timj@imendio.com>
3165 * gtk/gtkviewport.c: always update the bin_window position and size
3166 in size_allocate, even if we don't have a visible child. this fixes
3167 expose artefacts as described in #313508.
3169 * gtk/gtkscrolledwindow.c: make hiding of automatic scrollbars when we
3170 have no visible child explicit.
3172 2006-09-19 Ryan Lortie <desrt@desrt.ca>
3174 * docs/reference/gdk/gdk-sections.txt:
3177 * gdk/gdkpango.c: Bug 355343. Add a GdkPangoAttrEmbossColor.
3178 (gdk_pango_layout_get_clip_region): Remove an unused variable.
3179 (gdk_pango_attr_embossed_new): Fix documentation.
3181 Tue Sep 19 17:00:04 2006 Tim Janik <timj@imendio.com>
3183 * gtk/gtkarrow.c: added GtkArrow::arrow-scaling style property to
3184 control the arrow/border ratio within the allocation.
3186 * tests/testgtk.c: added a GtkArrow to handle box test.
3188 * tests/testgtkrc: test ::arrow-scaling property.
3190 2006-09-19 Matthias Clasen <mclasen@redhat.com>
3192 * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
3193 Display an error when we come to the root.
3195 2006-09-16 Matthias Clasen <mclasen@redhat.com>
3197 * gtk/gtkfilechooserbutton.c: Use bookmark labels in
3200 * gtk/gtkfilechooserbutton.c: Don't add remote volumes and
3201 bookmarks to the model in local-only mode, to avoid
3202 authentication dialogs pop up for invisible bookmarks, and
3203 to fix issues with separators not being hidden when
3204 they should. (#354887, Dennis Cranston)
3206 2006-09-16 Matthias Clasen <mclasen@redhat.com>
3208 * gtk/gtkcombobox.c (gtk_combo_box_finalize): Unref the
3209 treeview use in list mode. (#355732, Richard Hult)
3211 * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): Send
3212 change notification for the right property. (#355308,
3215 2006-09-15 Michael Natterer <mitch@imendio.com>
3217 * gtk/gtktreeview.c (gtk_tree_view_key_press): refactored column
3218 header navigation/resizing/reordering to be more readable and lose
3219 one level of nesting.
3221 2006-09-15 Kristian Rietveld <kris@imendio.com>
3223 * gtk/gtktreeview.c (gtk_tree_view_key_press): actually directly
3224 return after handling column button focus; we disable wrap around
3225 with this (which actually happened via a really weird code path).
3228 2006-09-15 Kristian Rietveld <kris@imendio.com>
3230 * gtk/gtktreeview.c (gtk_tree_view_key_press): make column resizing
3231 code RTL aware, also break from the loops after we have seen the
3232 focussed column button (Michael Natterer).
3234 Thu Sep 14 12:28:51 2006 Tim Janik <timj@imendio.com>
3236 * tests/testrichtext.c (main): intialize random number generator state
3237 upon program start, to enable truely random testing.
3239 2006-09-13 Michael Emmel <mike.emmel@gmail.com>
3241 * gdk/directfb/gdkcolor-directfb.c small clean ups include order
3242 * gdk/directfb/gdkwindow-directfb.c fixed beep compile error
3243 * gdk/directfb/Makefile.am removed GDK_PIXBUF_DISABLE_DEPRECATED
3244 GDK_DISABLE_DEPRECATED to allow compile per Behdad
3245 * gdk/quartz/Makefile.am same change as directfb Makefile
3246 * gtk/Makefile.am fixed typo that cause socket stubs not to compile
3248 2006-09-13 Matthias Clasen <mclasen@redhat.com>
3250 * gtk/gtkcolorsel.c: Use a GtkWindow instead of a GtkInvisible
3251 for the grab widget, to make the color picker work with window
3254 2006-09-12 Hong Jen Yee <pcman.tw@gmail.com>
3256 signed off by: Dom Lachowicz
3258 * modules/engines/ms-windows/msw_style.c: Bug 340201. This contains
3259 a large number of improvements to the Microsoft Windows theme engine
3260 which are fully described in the bug report.
3262 Mon Sep 11 14:22:39 2006 Tim Janik <timj@imendio.com>
3264 * tests/testgtk.c: fixed compiler warnings.
3266 2006-09-10 Matthias Clasen <mclasen@redhat.com>
3268 * gtk/gtkfilechooserbutton.c (model_add_special): Request
3269 the display name too, otherwise "Desktop" does not appear
3270 in the file chooser button.
3272 2006-09-10 Tor Lillqvist <tml@novell.com>
3274 * gdk/win32/gdkprivate-win32.h
3275 * gdk/win32/gdkmain-win32.c
3276 * gdk/win32/gdkwindow-win32.c: Define WINVER and _WIN32_WINNT as
3277 0x0500 in gdkprivate-win32.h instead of doing it in two source
3278 files. (#355212, Mike Edenfield)
3280 * gdk/win32/gdkwindow-win32.c: We can also remove the ersatz
3281 GetAncestor() for the _MSC_VER && WINVER < 0x0500 case, I hope.
3283 2006-09-10 Matthias Clasen <mclasen@redhat.com>
3285 * Commit a patch by Behdad to fix typos, omissions and other
3286 errors in the symbol aliasing, and add checks for local PLT
3287 entries. (#354687, Behdad Esfahbod)
3289 * gtk/gtktreeview.c (gtk_tree_view_search_scroll_event): Renew
3290 the flush timeout. (#354043, Nelson Benitez)
3292 * gtk/gtkfilechoosersettings.c (set_unexpected_element_end_error):
3293 Improve wording. String change! (#355126, David Lodge)
3295 * gtk/updateiconcache.c: Improve wording. String change! (#355128,
3298 * gtk/paper_names_offsets.c: Fix a typo. String change! (#355134,
3301 2006-09-09 Matthias Clasen <mclasen@redhat.com>
3303 * gdk/x11/gdkfonts-x11.c: Fix small theoretical memory leaks.
3304 (#353916, Chris Wilson)
3306 * gtk/gtksettings.c (_gtk_settings_reset_rc_values):
3307 Don't leak the to_reset list. (#353914, Chris Wilson)
3309 * gtk/gtkwidget.c: Add docs for the parent-set signal.
3310 (#353772, Mariano Suárez-Alvarez)
3312 2006-09-08 Matthias Clasen <mclasen@redhat.com>
3314 * gtk/gtktextbuffer.c (remove_all_selection_clipboards):
3315 Don't clear clipboards here, since we are called from finalize
3316 and can't emit signals.
3318 * configure.in: Set version to 2.11.0
3320 2006-09-06 Richard Hult <richard@imendio.com>
3322 * gdk/quartz/gdkkeys-quartz.c: (maybe_update_keymap): Special-case
3323 shift-tab and map it to GDK_ISO_Left_Tab, fixes bug #350806.
3325 2006-09-04 Kristian Rietveld <kris@imendio.com>
3327 * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
3328 if setting the given folder failed, try setting the parent folder
3329 until we succeed; display an error box at the end.
3331 2006-09-04 Kristian Rietveld <kris@imendio.com>
3333 * gtk/gtkpathbar.c (gtk_path_bar_dispose): don't cancel the
3334 operations spawned by buttons here,
3335 (set_button_image_get_info_cb): bail out if button is NULL, but
3336 do free button_data,
3337 (button_data_free): only free the data if non NULL (since this
3338 function can be called multiple times for the same data), cancel
3339 handle if pending but don't free button_data in this case (will
3340 happen in the callback).
3342 2006-09-04 Michael Natterer <mitch@imendio.com>
3344 * gtk/gtkrc.c (rc_parse_token_or_compound)
3345 (gtk_rc_parse_assignment): serialize floating point values using
3346 locale-independent functions. (#346751, Frederic Crozat)
3348 2006-09-04 Tor Lillqvist <tml@novell.com>
3350 * gdk/win32/gdkevents-win32.c
3351 * gdk/win32/gdkwindow-win32.c: Use wide-char API for message and
3352 window handling (PeekMessage, PostMessage, SendMessage,
3353 DispatchMessage, DefWindowProc, RegisterClassEx,
3354 CreateWindowEx). (#321597)
3356 2006-09-03 Kristian Rietveld <kris@imendio.com>
3358 * gtk/gtkfilechooserdefault.c (save_entry_get_info_cb),
3359 (file_exists_get_info_cb), (gtk_file_chooser_default_should_respond):
3360 change file_exists_and_is_not_folder checks to get the file info
3361 for the path directly instead of querying the current file folder
3364 * gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault): add
3367 * tests/autotestfilechooser.c (wait_for_idle_idle), (wait_for_idle),
3368 (test_reload_sequence), (test_button_folder_states_for_action): wait
3369 for idle after setting a folder to ensure the async operations to load
3370 the folder are finished,
3371 (test_confirm_overwrite), (test_confirm_overwrite_for_path):
3372 factor out test_confirm_overwrite code so we can add tests for more
3375 2006-09-03 Richard Hult <richard@imendio.com>
3377 * gdk/quartz/GdkQuartzView.c (drawRect): Don't do anything if
3378 exposure isn't in the event mask, plug a leak, and check that the
3379 window isn't destroyed.
3380 (isOpaque): Check that the window isn't destroyed, fixes bug
3383 2006-09-03 Matthias Clasen <mclasen@redhat.com>
3385 * gtk/gtkwidget.c (gtk_widget_class_init): Fix a typo.
3386 (#354035, Mariano Suárez-Alvarez)
3388 * gtk/gtkmain.c (post_parse_hook):
3389 * gdk/gdk.c (gdk_init): Handle display_name being NULL.
3390 (#354004, Chris Wilson)
3392 2006-09-03 Tor Lillqvist <tml@novell.com>
3394 * gdk/win32/gdkwindow-win32.c (gdk_window_beep): No
3395 GDK_WINDOW_DISPLAY in the Win32 backend.
3397 * gtk/gtkfilesystemwin32.c: Copy what Kris did to
3400 2006-09-02 Kristian Rietveld <kris@imendio.com>
3402 First part of file chooser fixes.
3404 * gtk/gtkfilechooserbutton.c (model_add_special): also set the
3405 handle in the model for the desktopdir case.
3407 * gtk/gtkfilechooserdefault.c (shortcuts_add_current_folder): free
3408 volume in case we retrieved it but don't pass it on to insert_path,
3409 (shortcuts_model_create): change the column type for the handles
3410 to pointer instead of GObject so our handle ref counting is not
3412 (show_and_select_paths_finished_loading): don't forget to unref
3415 * gtk/gtkfilesystemunix.c (gtk_file_system_unix_class_init),
3416 (gtk_file_system_unix_init), (gtk_file_system_unix_dispose):
3417 remove pending execute_callbacks_idle during dispose, also
3418 execute all callbacks waiting to be run in the next idle,
3419 (queue_*callback), (execute_callbacks_idle): refactor to maintain
3420 a list of callbacks to call per file system instead of globally,
3421 guard the file system during callback invocation,
3422 (gtk_file_system_unix_get_folder): only add load folder idle if
3423 none has been added yet.
3425 2006-09-01 Matthias Clasen <mclasen@redhat.com>
3427 * gtk/gtkentry.c: Don't unnecessarily reset the im context
3428 when deleting the selection. (#353803, Alex Larsson)
3430 2006-09-01 Abel Cheung <abel@oaka.org>
3432 * configure.in: Added 'ang' 'dz' to ALL_LINGUAS.
3434 2006-08-31 Matthias Clasen <mclasen@redhat.com>
3436 Stop cursor blinking after a configurable timeout.
3437 (#353670, #352442, Arjan van de Ven, Manu Cornet)
3439 * gtk/gtksettings.c (gtk_settings_class_init): Add a
3440 gtk-cursor-blink-timeout setting, which specifies the number
3441 of seconds that the cursor should blink after a user interaction.
3442 The default value is G_MAXINT to preserve the current behaviour.
3444 * gtk/gtkentry.c (blink_cb): Stop blinking after blink-timeout
3447 * gtk/gtkentry.c (gtk_entry_completion_key_press)
3448 (gtk_entry_button_press, gtk_entry_focus_in): Reset the
3451 * gtk/gtktextview.c (blink_cb): Stop blinking after blink-timeout
3454 * gtk/gtktextview.c (gtk_text_view_key_press_event)
3455 (gtk_text_view_button_press_event, gtk_text_view_focus_in_event):
3456 Reset the blink timer.
3458 2006-08-31 Matthias Clasen <mclasen@redhat.com>
3460 * gtk/gtkprintoperation-unix.c (get_print_dialog): Don't specify
3461 explicit format capabilities. (#346505, Christian Persch)
3463 * modules/printbackends/cups/gtkprintbackendcups.c (cups_request_printer_list_cb): Send printer-list-done on error.
3465 2006-08-31 Michael Natterer <mitch@imendio.com>
3467 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Fix build.
3469 2006-08-30 Richard Hult <richard@imendio.com>
3471 * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep): Fix build.
3473 2006-08-30 Matthias Clasen <mclasen@redhat.com>
3475 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Only use XKB
3476 for beeping if we are using XKB.
3478 2006-08-29 Matthias Clasen <mclasen@redhat.com>
3482 * gdk/directfb/gdkwindow-directfb.c (gdk_window_beep):
3483 * gdk/win32/gdkwindow-win32.c (gdk_window_beep):
3484 * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep):
3485 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Add a function
3486 to beep on a window. For X11, implement this with
3487 XkbBell. (#353455, Mariano Suárez-Alvarez)
3489 2006-08-29 Tor Lillqvist <tml@novell.com>
3491 Remove support for Windows 9x/ME. GTK+ hasn't worked on Win9x
3492 since 2.6 or 2.8. It's pointless to keep the Win9x code in here as
3493 it isn't being maintained anyway. If somebody is interested, it
3494 can always be found in older GTK+ versions, and in CVS.
3499 * gdk/win32/Makefile.am
3500 * gdk/win32/libie55uid.la
3501 * gdk/win32/gdkevents-win32.c: Remove the --with-ie55 configure
3502 switch and associated stuff. Active IMM and the <dimm.h> header
3503 was used for IM support on NT4 and Win9x. Win2k and later have IM
3506 * gdk/win32/gdkcursor-win32.c
3507 * gdk/win32/gdkdnd-win32.c
3508 * gdk/win32/gdkdrawable-win32.c
3509 * gdk/win32/gdkevents-win32.c
3510 * gdk/win32/gdkgc-win32.c
3511 * gdk/win32/gdkglobals-win32.c
3512 * gdk/win32/gdkkeys-win32.c
3513 * gdk/win32/gdkmain-win32.c
3514 * gdk/win32/gdkproperty-win32.c
3515 * gdk/win32/gdkselection-win32.c
3516 * gdk/win32/gdkwindow-win32.c: Remove the G_WIN32_IS_NT_BASED()
3517 and G_WIN32_HAVE_WIDECHAR_API() tests and their false (Win9x)
3518 branches, and any variables or static functions used only by the
3521 * gdk/win32/gdkprivate-win32.h: Remove backup definitions for
3522 constants that aren't missing from current mingw and MSVC6
3525 * gdk/win32/gdkmain-win32.c
3526 * gdk/win32/gdkprivate-win32.h: Remove the _gdk_win32_gdi_failed()
3527 function. On NT-based Windows GetLastError() returns error codes
3528 also for failed GDI calls, so we can use _gdk_win32_api_failed()
3531 2006-08-29 Emmanuele Bassi <ebassi@gnome.org>
3533 * gtk/gtkrecentchoosermenu.c
3534 (gtk_recent_chooser_menu_set_current_uri): Break when an item
3535 is found and activated. (#353449, based on a patch by Jan Arne
3538 Fri Jul 14 16:13:37 2006 Tim Janik <timj@gtk.org>
3540 * gtk/gtkprogressbar.c: introduced ::xspacing and ::yspacing style
3541 properties which make all hardcoded padding and spacing values
3542 configurable. properly swap ::text-xalign treatment for RTL widgets.
3544 * gtk/gtkprogress.c: fixed style property blurbs. made alignment
3545 proeprty more consistent with GtkMisc alignment blurbs. mention
3546 RTL treatment for text-xalign.
3548 Tue Aug 29 11:57:40 2006 Tim Janik <timj@imendio.com>
3550 * tests/testgtk.c: allow (most) windows to be resizable.
3551 added ellipsization settings to progress bars.
3553 2006-08-28 Matthias Clasen <mclasen@redhat.com>
3555 * modules/printbackend/cups/gtkprintbackendcups.c: Use a
3556 resonable timeout of 3 seconds when polling for printer
3557 list updates, instead of 300000 seconds...
3559 2006-08-28 Michael Natterer <mitch@imendio.com>
3561 * gtk/gtktextbufferserialize.c (serialize_text): don't write out
3562 </apply_tag> for tags that have already been closed by the logic
3563 which turns overlapping spans into XML-able trees. Fixes broken
3564 XML when there are overlapping tags in the buffer. Also free two
3565 leaked GLists and did some cleanup.
3568 * tests/testrichtext.c: new test which creates randomly tagged
3569 GtkTextBuffers and serializes/deserializes them.
3571 2006-08-26 Matthias Clasen <mclasen@redhat.com>
3573 * gtk/gtkstatusicon.c (gtk_status_icon_reset_image_data):
3574 Don't leak pixbufs. (#352264, Ross Burton)
3576 * gtk/gtklinkbutton.c (set_link_underline): Don't leak
3577 PangoAttributes. (#352391, Paolo Borelli)
3579 2006-08-25 Matthias Clasen <mclasen@redhat.com>
3581 * demos/gtk-demo/Makefile.am:
3582 * demos/gtk-demo/textscroll.c: Add an example of automatic
3583 scrolling, thanks to Yevgen Muntyan. (#351206)
3585 * gtk/gtkmodules.c (find_module): Use local binding when
3586 loading modules. (#351868)
3588 2006-08-24 Michael Natterer <mitch@imendio.com>
3590 * gdk/quartz/gdkdisplay-quartz.c (gdk_display_get_name): return
3591 the hostname instead of NULL.
3593 2006-08-23 Matthias Clasen <mclasen@redhat.com>
3595 * gtk/gtkprinteroptionwidget.[hc]: Fix confusion about
3596 names and values in comboboxes, and clean up some
3597 coding style issues.
3599 2006-08-23 Tor Lillqvist <tml@novell.com>
3601 * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_make_path):
3602 Revert unintended translatable string addition. Use same string
3603 in GError as in gtkfilesystemunix.c.
3605 * gtk/gtkfilesystemwin32.c (_gtk_file_system_win32_path_compare):
3606 Fix logic at the end of strings.
3608 * gtk/gtkfilesystemwin32.c: Maintain a hash table of live
3609 handles and check that we have no outstanding handles at
3610 finalization time. (Copying what Matthias did for
3611 gtkfilesystemunix.c)
3613 2006-08-23 Matthias Clasen <mclasen@redhat.com>
3615 * gtk/gtkfilesystemunix.c: Maintain a hash table
3616 of live handles and check that we have no outstanding
3617 handles at finalization time. (Copying what
3618 Federico did for gtkfilesystemgnomevfs.c)
3620 2007-08-22 Matthias Clasen <mclasen@redhat.com>