1 2007-03-20 Kristian Rietveld <kris@gtk.org>
3 * gtk/gtktreeviewcolumn.c:
4 * gtk/gtktreeprivate.h: add _gtk_tree_view_column_get_focus_area().
6 * gtk/gtktreeview.c (gtk_tree_view_clamp_column_visible): add
7 focus_to_cell parameter, rework to handle clamping columns which
8 are bigger than the available page size better,
9 (gtk_tree_view_key_press): remove code handling moving the focus
10 to other column headers,
11 (gtk_tree_view_header_focus): add clamp_column_visible parameter,
12 fix RTL support, don't wrap around when moving focus to other
13 column headers, call gtk_tree_view_clamp_column_visible() instead
15 (gtk_tree_view_focus): only clamp the column visible when we are
16 explicitly moving to another column header (fixes #399555, Charles
18 (gtk_tree_view_move_cursor_left_right): update call to
19 gtk_tree_view_clamp_column_visible().
21 2007-03-19 Matthias Clasen <mclasen@redhat.com>
23 * demos/gtk-demo/appwindow.c: Explicitly set the title on the
26 2007-03-18 Matthias Clasen <mclasen@redhat.com>
28 * gtk/gtkentrycompletion.c (gtk_entry_completion_compute_prefix):
29 Ensure that the prefix is valid UTF-8. (#419568, Nickolay V. Shmyrev)
31 2007-03-18 Matthias Clasen <mclasen@redhat.com>
33 * modules/input/gtkimcontextmultipress.[hc]:
34 * modules/input/im-multipress.conf:
35 * modules/input/immultipress.c:
36 * modules/input/README.multipress: Add the multipress input
37 method. (#417446, Johannes Schmid, Murray Cumming)
39 * modules/input/Makefile.am: Glue
41 2007-03-17 Chris Wilson <chris@chris-wilson.co.uk>
43 * gdk/x11/gdkvisual-x11.c (_gdk_visual_init):
44 Initialise nxvisuals to 0 in order to handle XGetVisualInfo()
45 failures gracefully. (#419171)
47 2007-03-17 Emmanuele Bassi <ebassi@gnome.org>
49 * gtk/gtkrecentaction.c (recent_chooser_set_property),
50 (gtk_recent_action_set_property): Remove useless inlined
51 function and propagate the properties to the GtkRecentChooser
52 objects we create, instead of all the proxies.
54 (set_current_filter): Remove 'inline' marker.
56 2007-03-16 Emmanuele Bassi <ebassi@gnome.org>
58 Apply changes suggested by Michael Natterer. (#338843)
61 * gtk/gtkaction.c: Rename get_submenu() to create_menu();
62 rename gtk_action_get_submenu() to gtk_action_create_menu().
64 * gtk/gtkrecentaction.c: Update for GtkAction change.
66 * gtk/gtkuimanager.c (update_node): Update for GtkAction change;
67 also, use the menu from the GtkAction for both menuitem and
70 2007-03-16 Xan Lopez <xan@gnome.org>
72 * gtk/gtkwidget.c: Fix documentation error in
73 gtk_widget_set_redraw_on_allocate.
75 2007-03-16 Matthias Clasen <mclasen@redhat.com>
77 * gtk/gtkprintunixdialog.c (printer_added_cb): Scroll to
78 make the selected printer visible. (#418403, Nickolay V. Shmyrev,
79 patch by Christian Persch)
81 2007-03-15 Federico Mena Quintero <federico@novell.com>
85 * gtk/gtkfilechooserdefault.c (find_good_size_from_style):
86 PANGO_PIXELS() gives us device units, which are *points* in
87 pangocairo's parlance, but we want actual pixels. So, get the
88 screen's resolution to compute the actual number of pixels.
91 2007-03-15 Emmanuele Bassi <ebassi@gnome.org>
93 * gtk/gtkrecentmanager.c (gtk_recent_manager_add_item): Remove
94 unused GError; do not allocate GtkRecentData and use a variable
95 on the stack. (#418673, Morten Welinder)
97 2007-03-15 Emmanuele Bassi <ebassi@gnome.org>
99 * gtk/gtkaction.[ch]: Add GtkActionClass::get_submenu() vfunc:
100 actions providing a menu item or a menu tool button with already
101 a submenu should return the GtkMenu widget.
103 * gtk/gtkuimanager.c (update_node): If an action provides its
104 own submenu, use it instead of adding an empty one
106 * gtk/gtkrecentaction.[ch]: Add GtkRecentAction, an action
107 implementing the GtkRecentChooser interface for displaying the
108 list of recently used files into menus and toolbars generated
109 using GtkUIManager. (#338843)
113 * gtk/gtk.symbols: Add GtkRecentAction API to the build.
115 * tests/testactions.c: Exercise the GtkRecentAction API.
117 2007-03-15 Chris Wilson <chris@chris-wilson.co.uk>
119 * gtk/gtkicontheme.c (ensure_valid_themes), (rescan_themes),
120 (gtk_icon_theme_rescan_if_needed): Protect ensure_valid_themes()
121 from recursion, which can happen for example if the app tries to
122 reload an icon from within a theme-changed handler. (#418531)
124 2007-03-15 Richard Hult <richard@imendio.com>
126 * gdk/quartz/gdkmain-quartz.c: Add stubs for
127 gdk_notify_startup_complete_with_id and gdk_window_set_startup_id
130 2007-03-15 Emmanuele Bassi <ebassi@gnome.org>
132 * gtk/gtkrecentmanager.c: Fix documentation errors. (Morten
135 2007-03-15 Tor Lillqvist <tml@novell.com>
137 * gdk/gdk.symbols: Add gdk_notify_startup_complete_with_id and
138 gdk_window_set_startup_id.
140 * gdk/win32/gdkmain-win32.c: Add dummy implementations of the above.
142 2007-03-15 Emmanuele Bassi <ebassi@gnome.org>
144 * gtk/gtkrecentchooserprivate.h:
145 * gtk/gtkrecentchooserutils.c: Move filtering of the recent
146 files list into the shared implementation; do the filtering
147 before the sorting, so that we always clamp on the desired
150 * gtk/gtkrecentchoosermenu.c: Remove the filtering of the
151 list, as it's already been done.
153 * gtk/gtkrecentchooserdefault.c: Ditto; also remove the
154 GtkTreeModelFilter: just reload the view if the sorting and
155 filtering properties change.
157 * gtk/testrecentchoosermenu.c: Exercise the limit property.
159 2007-03-14 Michael Natterer <mitch@imendio.com>
161 Make gtk_widget_set_extension_events() work on already realized
162 widgets (bug #379550, Tommi Komulainen)
164 * gdk/x11/gdkinput.c (gdk_input_set_extension_events): allow to be
165 called multiple times without leaking and work correctly when
166 already realized (don't rely on a configure event following).
168 * gtk/gtkwidget.c (gtk_widget_set_extension_events_internal): new
169 internal function which walks the GdkWindow tree and sets the
170 extension events on all windows that belong to the widget.
173 (gtk_widget_set_extension_events): use the new function.
175 2007-03-14 Emmanuele Bassi <ebassi@gnome.org>
177 Various clean ups in the GtkRecent code. (see #338843)
179 * gtk/gtkrecentchooserdefault.c:
180 * gtk/gtkrecentchoosermenu.c:
181 * gtk/gtkrecentchooserprivate.h:
182 * gtk/gtkrecentchooserutils.c: Move the recent chooser function
183 for getting the sorted and clamped list of recent files from the
184 manager outside the implementations.
186 * gtk/gtkrecentchooserdefault.c (chooser_set_sort_type): Repopulate
187 the list when the sorting order changes.
189 (gtk_recent_chooser_default_dispose),
190 (gtk_recent_chooser_default_finalize): Move object unref and
191 source removal from finalize to dispose.
193 * gtk/gtkrecentchooser.c (gtk_recent_chooser_type_init): Relax the
194 prerequisite for the GtkRecentChooser interface implementations,
195 from GtkObject to GObject.
197 (gtk_recent_chooser_class_init): Use GTK_PARAM_* instead of
200 2007-03-13 Emmanuele Bassi <ebassi@gnome.org>
202 Apply patch by Vytautas Liuolia for changing the startup
203 notification id on a window in the X11 backend. (#347375)
207 * gdk/x11/gdkdisplay-x11.c: Add gdk_notify_startup_complete_with_id()
208 and gdk_x11_display_get_startup_notification_id().
211 * gdk/x11/gdkwindow-x11.c: Add gdk_window_set_startup_id().
214 * gtk/gtkwindow.c: Add gtk_window_set_startup_id(), used to
215 change the startup notification id.
217 (gtk_window_class_init), (gtk_window_init),
218 (gtk_window_set_property): Add write-only "startup-id" property
221 (gtk_window_realize): Set the startup notification id
222 on a GtkWindow if it's valid.
224 (gtk_window_map): If we have another valid startup notification
225 id then finish the notification process.
227 2007-03-13 Matthias Clasen <mclasen@redhat.com>
229 * gtk/gtknotebook.c (gtk_notebook_real_insert_page):
230 Fix tabbed browsing in epiphany. (#413664, Christian Persch)
232 2007-03-12 Matthias Clasen <mclasen@redhat.com>
234 * gtk/gtksizegroup.c (gtk_size_group_add_widget): Clarify
235 docs. (#345844, Torsten Schoenfeld)
237 * gdk/x11/gdkevents-x11.c (gdk_display_add_client_message_filter):
238 * gdk/gdkwindow.c (gdk_window_add_filter): Add
239 cross-references. (#351252, Vincent Untz)
241 * gtk/gtkprintoperation.c: Fix an oversight in an
242 example. (#381083, Ian Puleston)
244 * gtk/gtkcombobox.c: Clean up and clarify docs. (#412484)
246 2007-03-12 Matthias Clasen <mclasen@redhat.com>
248 * gtk/gtkspinbutton.c (gtk_spin_button_style_set): Set
249 the background of the panel window on style changes. (#402144,
252 2007-03-12 Matthias Clasen <mclasen@redhat.com>
254 * gtk/gtkbindings.c (gtk_binding_entry_add_signal): Remove
255 an obsolete comment. (#402169, Xan Lopez)
257 2007-03-12 Matthias Clasen <mclasen@redhat.com>
259 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_property):
260 Don't copy PangoLanguage. (#340031, Morten Welinder)
262 2007-03-12 Matthias Clasen <mclasen@redhat.com>
264 * gtk/gtkfilechooserbutton.c (change_icon_theme_get_info_cb):
265 Handle the row reference path being NULL. (#410565, Joe Markus
266 Clarke, patch by Chris Wilson)
268 2007-03-11 Matthias Clasen <mclasen@redhat.com>
270 * tests/testiconview.c: Handle Menu key presses without
271 crash. (#385637, Christian Persch)
273 2007-03-11 Matthias Clasen <mclasen@redhat.com>
275 * gtk/gtktooltips.c (gtk_tooltips_get_info_from_tip_window):
276 Don't crash if active_tips_data is NULL. (#382904, Li Yuan)
278 2007-03-11 Matthias Clasen <mclasen@redhat.com>
280 * gtk/gtktextview.c (gtk_text_view_set_buffer): Set first_para_mark
281 to NULL. (#396805, Colin Leroy, patch by Mariano Suárez-Alvarez)
283 2007-03-12 Kristian Rietveld <kris@gtk.org>
285 * gtk/gtkfilechooserdefault.c (check_save_entry): immediately
286 bail out if current_folder is NULL. (#350988, lots of reporters,
287 modified patch by Jan Darmochwal).
289 2007-03-10 Kristian Rietveld <kris@gtk.org>
291 * gtk/gtktreeview.c (gtk_tree_view_search_dialog_hide): only
292 hide the search dialog and send focus events if the search dialog
293 is currently visible.
295 2007-03-10 Richard Hult <richard@imendio.com>
297 * gdk/quartz/gdkdrawable-quartz.c:
298 (gdk_quartz_ref_cairo_surface): Reuse the surface during its lifetime.
299 (gdk_quartz_drawable_get_context): Update for the new quartz cairo
300 surface API (#410442). Don't lock focus unless called outside of an
302 (gdk_quartz_drawable_release_context): Only flush the CG context and
303 unlock focus if called outside of expose.
304 (_gdk_quartz_drawable_finish): New function, used to free the cached
307 * gdk/quartz/gdkwindow-quartz.c:
308 (gdk_window_impl_quartz_begin_paint_region): A few small style changes.
309 (_gdk_window_impl_quartz_get_type): No need to make the type info
311 (gdk_window_quartz_process_all_updates): Move the autorelease pool
312 allocation and freeing outside the loop.
313 (_gdk_windowing_window_destroy): Finish the drawable.
314 (move_resize_window_internal): Small cleanup and remove comment.
316 * gdk/quartz/gdkpixmap-quartz.c: Finish the drawable.
318 2007-03-10 Richard Hult <richard@imendio.com>
320 * gdk/quartz/gdkprivate-quartz.h: Add missing function signature to fix
323 2007-03-10 Richard Hult <richard@imendio.com>
325 * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_get_name): Plug a leak.
327 2007-03-10 Richard Hult <richard@imendio.com>
329 * gdk/quartz/GdkQuartzView.c: Remove unneccesary exposure mask check.
331 2007-03-10 Richard Hult <richard@imendio.com>
333 * gdk/quartz/gdkevents-quartz.c: (gdk_screen_get_setting): Don't set
334 the font name here, leave that to themes, fixes #387508.
336 2007-03-10 Kristian Rietveld <kris@gtk.org>
338 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_ref_node),
339 (gtk_tree_model_sort_real_unref_node): when (un)reffing an
340 element, also (un)ref its parent elements. (Fixes #364946,
341 reported by many, testcase by Andreas Koehler).
343 2007-03-10 Matthias Clasen <mclasen@redhat.com>
345 * gtk/gtkprintoperation-unix.c: Initialize the do_preview
346 field of PrintResponseData. (#396703, Christian Persch)
348 * tests/print-editor.c: Plug some leaks.
350 2007-03-09 Matthias Clasen <mclasen@redhat.com>
352 * gtk/gtktextview.c (gtk_text_view_end_selection_drag):
353 Get rid of the unused event argument. Update all callers.
355 * gtk/gtktextview.c (gtk_text_view_focus_out): Call
356 gtk_text_view_end_selection_drag. (#351671, Boyd Timothy)
358 2007-03-09 Matthias Clasen <mclasen@redhat.com>
360 * modules/input/gtkimcontextxim.c
361 (gtk_im_context_xim_filter_keypress): Don't commit
362 modifier-adorned characters. (#331369, #335796, Lin Ma
365 2007-03-09 Matthias Clasen <mclasen@redhat.com>
367 * Everywhere: Remove unnecessary NULL checks before
368 g_free(). (#369666, Morten Welinder, Djihed Afifi)
370 * configure.in: Check for ftw.h
372 2007-03-09 Matthias Clasen <mclasen@redhat.com>
374 * gtk/gtkfilesystemwin32.c (get_icon_path): Remove
375 C99isms. (#416525, Kazuki Iwamoto)
377 2007-03-09 Tor Lillqvist <tml@novell.com>
379 * README.win32: Update.
381 2007-03-08 Matthias Clasen <mclasen@redhat.com>
383 * gdk/x11/gdkasync.c (send_event_handler): Defer the callbacks
384 to an idle to avoid deadlock with xcb-ified libX11. (#413032,
387 2007-03-08 Matthias Clasen <mclasen@redhat.com>
389 * gtk/gtknotebook.c (gtk_notebook_real_insert_page):
390 Set child visibility to FALSE here; it will be turned
391 back on in switch_page. (#413664, Carlos Garnacho)
393 2007-03-08 Mathias Hasselmann <mathias.hasselmann@gmx.de>
395 * modules/engines/ms-windows/msw_style.c: Use proper border style
396 when drawing shadow of scrolled windows on Windows XP (#168326)
397 * modules/engines/ms-windows/xp_theme.c: Explicitly set size of
398 element_part_map array to ensure it always is large enough.
400 2007-03-08 Mathias Hasselmann <mathias.hasselmann@gmx.de>
402 * gtk/gtkcombobox.c: Add shadow-type style property, set shadow-type
403 property of GtkEntry accordingly, unify size-allocation of toggle
404 button (#411123, patch from Mathias Hasselmann).
405 * gtk/gtkentry.c: Add shadow-type property. Query style properties
406 on style changes only (#411123, patch from Mathias Hasselmann).
407 * modules/engines/ms-windows/msw_style.c: Drop combo_box_draw_box
408 hack as GtkComboBox emits drawing requests now (#411123, patch
409 from Mathias Hasselmann).
411 2007-03-08 Mathias Hasselmann <mathias.hasselmann@gmx.de>
413 * gtk/gtkscrolledindow.c: Improve look of GtkScrolledWindow on Windows
414 by implementing a scrollbars-within-bevel style property. (#168326)
416 2007-03-08 Mathias Hasselmann <mathias.hasselmann@gmx.de>
418 * gtk/gtkfilesystemwin32.c: Use Windows shell icons. Icons are
419 stored in the current theme with the name
420 "gtk-win32-shell-icon;PATH;INDEX". PATH and INDEX reference shell
421 icons as reported by SHGetFileInfoW. (#412221)
423 2007-03-07 Matthias Clasen <mclasen@redhat.com>
425 * gtk/gtkexpander.c (gtk_expander_paint_focus): Draw the
426 focus around the arrow if there is no label widget.
427 (#124045, Cody Russell)
429 2007-03-07 Matthias Clasen <mclasen@redhat.com>
431 * gtk/gtkcombo.c: (gtk_combo_init):
432 * gtk/gtkcombobox.c: (gtk_combo_box_set_popup_widget),
433 (gtk_combo_box_menu_setup):
434 Set names on the popup widgets to make them themable. (#414975,
437 2007-03-07 Michael Natterer <mitch@imendio.com>
439 * gtk/gtkcellrendereraccel.c: use multihead safe ungrab functions
440 instead of gdk_keyboard_ungrab() and gdk_pointer_ungrab(), remove
441 empty finalize() implementation, some cosmetic cleanup
444 2007-03-06 Chris Wilson <chris@chris-wilson.co.uk>
446 * gtk/gtkicontheme.c (update_current_theme), (gtk_icon_theme_init),
447 (do_theme_change), (gtk_icon_theme_set_custom_theme),
449 Be careful not to trigger a style reset before we have loaded
450 the icon theme. (#414875).
452 2007-03-06 Tor Lillqvist <tml@novell.com>
455 * gtk/Makefile.am: Further fixes for building on Win32 outside
456 srcdir. (#413492, Mathias Hasselmann)
458 2007-03-04 Ihar Hrachyshka <iharh@gnome.org>
460 * configure.in: Added be@latin to ALL_LINGUAS. Problems seems to be
463 2007-03-04 Claudio Saavedra <csaavedra@alumnos.utalca.cl>
465 * configure.in: Removed be@latin from ALL_LINGUAS, as it's currently
468 2007-03-04 Ihar Hrachyshka <iharh@gnome.org>
470 * configure.in: Added be@latin to ALL_LINGUAS
472 2007-03-03 Guillaume Savaton <llumeao@gmail.com>
474 * configure.in: Added Esperanto (eo) to ALL_LINGUAS
476 2007-03-01 Matthias Clasen <mclasen@redhat.com>
478 * gtk/gtksettings.c: Always store gtk-color-scheme
479 values from all sources in the ColorSchemeData struct
480 and ignore the property_value for gtk-color-scheme.
481 This fixes #412596, reported by Thomas Wood.
483 2007-02-28 Matthias Clasen <mclasen@redhat.com>
485 * gtk/gtksettings.c: Make color scheme update properly
486 when changing themes. (#402131, Benjamin Berg)
488 2007-02-28 Matthias Clasen <mclasen@redhat.com>
490 * gtk/gtkrc.c: Don't leak references to the color-hash
491 gotten from GtkSettings. (#409357, Benjamin Berg)
493 2007-02-28 Tristan Van Berkom <tvb@gnome.org>
495 * gtk/gtkradiobutton.c: Fixed a warning from
496 g_object_set (radiobutton, "group", NULL, NULL).
498 2007-02-26 Matthias Clasen <mclasen@redhat.com>
500 Apply a patch by Carlos Garnacho to fix several problems
501 with filechooser size handling (#325477, #151169, 143213,
504 * gtk/gtkfilechooserdefault.c: Increase NUM_LINES slightly.
505 (browse_widgets_create): Don't force the paned position to 200.
506 (find_good_size_from_style): Take the size of the extra widget
509 * gtk/gtkfilechooserdialog.c (file_chooser_widget_update_hints):
510 Accept a minimal width parameter. Update all callers.
512 2007-02-26 Matthias Clasen <mclasen@redhat.com>
514 * gtk/gtkprintunixdialog.c: Change the label to "Pages per side",
515 which is more accurate, suggested by Tim Waugh. String change!
517 2007-02-26 Matthias Clasen <mclasen@redhat.com>
519 * gtk/gtkprinteroptionwidget.c: Make the folder selection for
520 print-to-file work. Reported by Ian Collier.
522 2007-02-26 Chris Wilson <chris@chris-wilson.co.uk>
524 Bug 409101 – invalid read to gtkicontheme.c insert_theme(), might cause gnome-panel crash
526 * gtk/gtkicontheme.c: (scan_directory):
527 Reorder the replacement of the shared base_name key, so that we
528 avoid dereferencing the string in the icon_theme->all_icon
529 hash table after freeing it from the dir->icons hash table.
531 2007-02-26 Tor Lillqvist <tml@novell.com>
533 * gdk/win32/gdkwindow-win32.c (gdk_window_set_icon_name): Add
534 comment clarifying that "icon name" here is not related to the
535 freedesktop.org icon naming stuff.
537 2007-02-23 Dom Lachowicz <domlachowicz@gmail.com>
539 * modules/engines/ms-windows/msw_style.c: Bug 411118 - bad bevel for
540 progress bar on windows classic. Match from Mathias Hasselmann.
542 2007-02-19 Tor Lillqvist <tml@novell.com>
544 * gdk/win32/gdkinput.c
545 (gdk_device_finalize, gdk_device_class_init): Remove.
546 (gdk_device_get_type): Drop class init function. The X11 version
547 doesn't have one either.
548 (gdk_devices_list): Call gdk_display_list_devices() on _gdk_display.
549 (gdk_display_list_devices): Check that the argument is
552 * gdk/win32/gdkinput-win32.h (GdkAxisInfo, GdkDevicePrivate):
553 Cleanup: remove unused fields.
554 * gdk/win32/gdkinput-win32.c: Corresponding changes. Fix function
555 names in a few debugging printouts.
557 2007-02-18 Matthias Clasen <mclasen@redhat.com>
559 * gtk/gtktextlayout.c (gtk_text_layout_move_iter_visually):
560 Ignore invisible text when going to end of the previous line.
563 2007-02-18 Richard Hult <richard@imendio.com>
565 * gdk/quartz/gdkwindow-quartz.c:
566 (gdk_window_quartz_process_all_updates),
567 (_gdk_windowing_window_destroy): Setup release pools to plug two leaks,
568 patch from Erik van Pienbroek, fixes bug #396649.
570 2007-02-18 Richard Hult <richard@imendio.com>
572 * gdk/quartz/gdkevents-quartz.c: Add stub for
573 gdk_display_add_client_message_filter, patch from Taybin Rutkin. Fixes
576 * gdk/quartz/gdkprivate-quartz.h: Add prototypes to fix build warnings.
578 2007-02-18 Richard Hult <richard@imendio.com>
580 * gdk/quartz/GdkQuartzView.h:
581 * gdk/quartz/GdkQuartzWindow.h:
582 * gdk/quartz/gdkquartz.h: Import AppKit.h instead of Quartz.h.
583 * gdk/quartz/gdkscreen-quartz.c: (get_mm_from_pixels): Don't use
584 userSpaceScaleFactor for 10.3. Those changes bring us closer to working
585 on panther, patch from Mathias Hasselmann.
587 * gdk/quartz/gdkeventloop-quartz.c: Add includes to fix build warnings.
589 2007-02-16 Behdad Esfahbod <behdad@gnome.org>
591 * gdk/gdkpango.c (gdk_pango_layout_get_clip_region): Use PANGO_PIXELS
592 instead of division. (#334617)
594 2007-02-16 Kristian Rietveld <kris@gtk.org>
596 * gtk/gtktreeprivate.h: add cursor_offset field.
598 * gtk/gtktreeview.c (gtk_tree_view_init),
599 (gtk_tree_view_move_cursor_page_up_down): fix off by one error
600 in page up/down handling by memorizing the offset into the cursor
601 row. (Fixes #399809, reported by Bruce Bowler).
603 2007-02-16 Kristian Rietveld <kris@gtk.org>
605 * gtk/gtktreeview.c (gtk_tree_view_search_dialog_hide): send
606 a focus-in event to the tree view after hiding the search dialog.
607 (#356515, Rich Burridge, Peter Parente).
609 2007-02-16 Kristian Rietveld <kris@imendio.com>
611 * tests/testtooltips.c (query_tooltip_text_view_cb): also handle
612 keyboard tooltips. (#408325, Matthias Clasen).
614 2007-02-16 Xan Lopez <xan@gnome.org>
616 * gtk/gtkcombobox.c (gtk_combo_box_expose_event): Cleanup the logic
617 in expose event handler. Reviewed by Matthias Clasen, #406112
619 2007-02-16 Matthias Clasen <mclasen@redhat.com>
621 * gtk/gtkmain.c: Run pre_parse_hook only once. (#403139, Kjartan
624 2007-02-15 Matthias Clasen <mclasen@redhat.com>
626 * gdk/x11/gdmain-x11.c (_gdk_xgrab_check_button_event): Be more
627 careful when checking for ButtonRelease events that end implicit
628 grabs. (#386618, Christof Krüger)
630 2007-02-15 Matthias Clasen <mclasen@redhat.com>
632 * gtk/gtktextbtree.c (_gtk_text_btree_delete): Free the lines
633 even if there are no views. (#408018, Albert Huang)
635 2007-02-15 Cody Russell <bratsche@gnome.org>
637 * gdk/win32/gdkevents-win32.c: Make sure we get enough main context
638 iterations while we're resizing so that the window contents are resized
639 more smoothly (#389765).
641 * gdk/win32/gdkevents-win32.c: Fix flickering widgets when window contents
642 are resized (#310522).
644 2007-02-15 Matthias Clasen <mclasen@redhat.com>
646 * gtk/updateiconcache.c: Handle symlinked .icon files
647 intelligently; also avoid storing duplicate strings.
649 2007-02-15 Michael Natterer <mitch@imendio.com>
651 * gtk/gtkmenushell.c: remove two antique function typedefs that
652 are probably obsolete for ages.
654 2007-02-14 Stefan Kost <ensonic@users.sf.net>
656 reviewed by: Matthias Clasen <mclasen@redhat.com>
658 * configure.in: determine installation prefixes of dependent libs to
659 crossreference docs (#407146).
661 2007-02-14 Kristian Rietveld <kris@imendio.com>
663 * gtk/gtktooltip.c (child_location_foreach): check return value
664 of gtk_widget_translate_coordinates() so we cannot end up
665 using uninitialized x, y values. (#407863, patch from Carlos
668 2007-02-14 Kristian Rietveld <kris@imendio.com>
670 * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_realize_button):
671 use TREE_VIEW_DRAG_WIDTH/2 when calculating the drag window
672 position instead of a hardcoded value. (Taken from maemo-gtk).
674 2007-02-14 Michael Natterer <mitch@imendio.com>
676 * gtk/gtkmenu.c (gtk_menu_motion_notify): don't forget to set the
677 state of the synthesized GDK_ENTER_NOTIFY event. Fix taken from
680 2007-02-13 Kristian Rietveld <kris@imendio.com>
682 * gtk/gtktooltip.c (gtk_tooltip_hide_tooltip): stop any
683 pending tooltip timeout. (Fixes #406110, Carlos Garnacho).
685 2007-02-10 Emmanuele Bassi <ebassi@gnome.org>
687 * gtk/gtkrecentchoosermenu.c: Fix the english of the comment;
688 remove some type checking; use better variable naming for the
689 internal menu item markers.
691 2007-02-09 Emmanuele Bassi <ebassi@gnome.org>
693 * gtk/gtkrecentchoosermenu.c: Add support for both prepending
694 and appending custom menu items.
696 (gtk_recent_chooser_menu_constructor): Add a placeholder menu
697 item for the empty menu case, and for giving us a starting
698 point for the recent items populating process.
700 (gtk_recent_chooser_menu_insert_item),
701 (gtk_recent_chooser_menu_dispose_items): Insert an item at
702 the position following the placeholder (and find that position
705 (idle_populate_func), (idle_populate_clean_up): Show the
706 placeholder menu item, instead of creating one each time.
708 (gtk_recent_chooser_menu_populate): Kill some indirections
709 and hide the placeholder before populating the menu.
711 (set_recent_manager): Remember to remove the idle population
712 source if the manager changes.
714 * tests/testrecentchoosermenu.c: Test the appending and
715 prepending of the menu items to the recent chooser menu
718 2007-02-08 Emmanuele Bassi <ebassi@gnome.org>
720 * gtk/gtkrecentchoosermenu.c (idle_populate_func): Keep count
721 of the displayed items to build the menu items mnemonic instead
722 of the overall item count. (#377164)
724 (idle_populate_clean_up): Append a menu item if all the items
725 got filtered in the idle populate function. (#405696)
728 * tests/testrecentchoosermenu.c: Add a test for the
729 GtkRecentChooserMenu widget.
731 Thu Feb 8 13:07:08 2007 Tim Janik <timj@imendio.com>
733 * applied patch from Xan Lopez which adds GTK_BUTTONBOX_CENTER to
734 GtkButtonBox (bug #336159).
737 * gtk/gtkvbbox.c, gtk/gtkhbbox.c, gtk/gtkbbox.c:
738 support GTK_BUTTONBOX_CENTER.
740 * tests/testbbox.c: new button box test, which allows testing of
741 the various button box properties.
743 * tests/testgtk.c: added GTK_BUTTONBOX_CENTER. to button box test.
745 2007-02-07 Cody Russell <bratsche@gnome.org>
747 * gdk/gdk.symbols: Add gdk_event_request_motions
749 Wed Feb 7 19:03:28 2007 Tim Janik <timj@gtk.org>
751 * gtk/gtkentry.c (gtk_entry_motion_notify): fixed motion request
752 condition which was wrongly ported with my last commit.
754 Tue Feb 6 15:53:59 2007 Tim Janik <timj@imendio.com>
756 * gtk/gtktextview.c (gtk_text_view_motion_event):
757 * gtk/gtkspinbutton.c (gtk_spin_button_motion_notify):
758 * gtk/gtkaboutdialog.c (credits_motion_notify_event):
759 * gtk/gtkhruler.c (gtk_hruler_motion_notify):
760 * gtk/gtkvruler.c (gtk_vruler_motion_notify):
761 * gtk/gtkentry.c (gtk_entry_motion_notify):
762 * gtk/gtktooltip.c (_gtk_tooltip_handle_event):
763 * gtk/gtkhsv.c (gtk_hsv_motion): call gdk_event_request_motions()
764 for new motion events after receiving motion hints.
766 * gdk/gdkevents.[hc]: added gdk_event_request_motions().
768 2007-02-06 Kristian Rietveld <kris@imendio.com>
770 * gtk/gtktooltip.c (find_topmost_widget_coords_from_event):
771 remove unused get of has_tooltip.
773 * tests/testtooltips.c (query_tooltip_tree_view_cb): use the
774 portable g_snprintf instead of snprintf.
776 2007-02-06 Michael Natterer <mitch@imendio.com>
778 * gtk/gtktooltip.c (gtk_tooltip_finalize): chain up.
780 (gtk_tooltip_show_tooltip): move variables and code to local
781 scope. Fixes warnings about maybe uninitialized variables.
783 2007-02-06 Kristian Rietveld <kris@imendio.com>
789 * gtk/gtk.symbols: build system foo.
791 * gtk/gtkmain.c (gtk_main_do_event): call tooltip event handler
792 hook for appropriate events.
794 * gtk/gtkmarshalers.list: add BOOLEAN:INT,INT,BOOLEAN,OBJECT.
796 * gtk/gtkrc.c: add style for gtk-tooltip.
798 * gtk/gtksettings.c (gtk_settings_class_init): make the
799 different tooltip timeouts configurable.
801 * gtk/gtkwidget.[ch]: add new properties, signals, make sure
802 tooltips are hidden on unmap, destroy, update window event
803 mask on realize, hook into focus change and show help
806 * gtk/gtkwindow.h: move GtkWindow typdef to gtkwidget.h ...
808 * gtk/gtktooltip.[ch]: new files.
811 * tests/testtooltips.c: add test application.
813 2007-02-05 Dom Lachowicz <domlachowicz@gmail.com>
815 * modules/engines/ms-windows/msw_style.c: Fix bug 404506, caused
816 by prematurely releasing a DC. By Hiroyuki Yamamoto
817 * modules/engines/ms-windows/msw_style.c: Fix bug 403470 - leaking
818 pixbufs when drawing rotated tabs. By Daniel Atallah
820 2007-02-05 Michael Natterer <mitch@imendio.com>
822 * gtk/gtksettings.c: add new boolean settings gtk-enable-accels
823 and gtk-enable-mnemonics which enable/disable accelerators and
824 mnemonics (bug #72375, based on a patch from Tommi Komulainen).
826 * gtk/gtkwindow.c (gtk_window_activate_key)
827 * gtk/gtkmenushell.c (gtk_menu_shell_key_press): don't invoke them
828 if the resp. setting is FALSE.
830 * gtk/gtkaccellabel.c (gtk_accel_label_refetch)
831 * gtk/gtklabel.c (gtk_label_set_pattern_internal): don't display
832 them if the setting is FALSE.
834 * gtk/gtklabel.c: added signal connection to the screen's settings
835 object and traverse all widgets on the screen when the setting
836 changes. It's slightly ugly to also update GtkAccelLabels here,
837 but less ugly than connecting and traversing all widgets twice.
839 2007-02-05 Michael Natterer <mitch@imendio.com>
841 * gtk/gtktextbuffer.h (enum GtkTextBufferTargetInfo): changed
842 values from G_MAXUINT-0, -1, -2 to -1, -2, -3 so we stay within
843 ansi C enum value limits. Fixes bug #46757.
845 2007-02-03 Soren Sandmann <sandmann@daimi.au.dk>
847 * gtk/gtksequence.[ch]: Remove these files since GSequence has
848 been moved into GLib.
850 * gtk/gtkliststore.c: Port to GSequence instead of GtkSequence.
852 * configure.in: Require glib-2.13.0
854 2007-02-04 Tor Lillqvist <tml@novell.com>
856 * gdk/win32/gdkcursor-win32.c: Don't define BITMAPV5HEADER on
857 mingw with w32api >= 3.8, which has it in wingdi.h. (#403896)
859 2007-02-02 Kristian Rietveld <kris@gtk.org>
861 * gtk/gtktreeview.c (gtk_tree_view_row_changed): remove unused
862 style_get of vertical-separator. (#403165, Chris Wilson).
864 2007-02-02 Christian Persch <chpe@svn.gnome.org>
866 * gtk/gtkfilechoosersettings.c: (get_config_filename),
867 (ensure_settings_read), (_gtk_file_chooser_settings_init),
868 (_gtk_file_chooser_settings_set_show_hidden),
869 (_gtk_file_chooser_settings_set_expand_folders),
870 (_gtk_file_chooser_settings_save): Use a simple key file instead of a
871 markup file. Bug #399592.
873 2007-02-02 Mariano Suárez-Alvarez <mariano@gnome.org>
875 * gtk/gtkcellrenderertext.c(gtk_cell_renderer_text_class_init):
876 be a little more helpful with the docs on GtkCellRendererText:alignment.
879 2007-02-01 Michael Natterer <mitch@imendio.com>
881 * gtk/gtkmenu.c (gtk_menu_paint): pass &event->area to
882 gtk_paint_box() calls.
884 2007-02-01 Michael Natterer <mitch@imendio.com>
886 * gtk/gtkmenu.c (gtk_menu_button_press)
887 (gtk_menu_button_release)
888 (gtk_menu_button_scroll): remove redundant and confusing
889 if (GTK_IS_MENU (widget)) checks because "widget" is always a
892 Thu Feb 1 12:22:06 2007 Tim Janik <timj@imendio.com>
894 * gtk/gtkcombobox.c (gtk_combo_box_list_destroy): remove extra reference
895 that gtkcombobox keeps on priv->popup_widget if it's a tree view.
897 2007-01-31 Christian Persch <chpe@svn.gnome.org>
899 * gtk/gtkaboutdialog.c: (update_credits_button_visibility),
900 (gtk_about_dialog_set_authors), (gtk_about_dialog_set_documenters),
901 (gtk_about_dialog_set_artists),
902 (gtk_about_dialog_set_translator_credits): Hide the Credits button iff
903 there are no credits to show. Bug #402806.
905 2007-01-31 Tor Lillqvist <tml@novell.com>
907 * gdk/win32/gdkinput-win32.c (print_cursor): New debugging
909 (_gdk_input_wintab_init_check): Call it when debugging output is
911 (_gdk_input_wintab_init_check): Skip duplicated cursors for Wacom
912 tablets. The Wacom driver reports duplicated cursors with
913 physid==0. Fix verified by Robert Ögren.
915 2007-01-30 Felix Riemann <friemann@svn.gnome.org>
917 * modules/printbackends/file/gtkprintbackendfile.c:
918 (file_printer_get_options): Fix leaked string. Fixes bug #402565.
920 2007-01-30 Matthias Clasen <mclasen@redhat.com>
922 * gdk/x11/gdkwindow-x11.c (gdk_x11_window_move_to_current_desktop):
923 (gdk_x11_window_set_user_time): Be more careful about toplevel
924 possibly being NULL. (#402453, Sebastian Bacher)
926 Tue Jan 30 12:09:56 2007 Tim Janik <timj@gtk.org>
928 * gtk/gtksettings.c: cleaned up ::color-hash registration to not abuse
929 class_n_properties and leave an uninitialized value array behind.
931 2007-01-29 Michael Natterer <mitch@imendio.com>
933 * gtk/gtkmenuitem.c (gtk_menu_item_select)
934 (gtk_menu_item_deselect): queue a draw on the parent_menu_item of
935 this menu item's menu, to enable themeing menu items depending on
936 whether something is selected in their submenu (patch taken from
939 2007-01-28 Matthias Clasen <mclasen@redhat.com>
941 * gtk/gtktoolbar.c: Reinstate gtk_toolbar_content_new_compatibility()
942 that was mistakenly "cleaned up" a while ago. Also
943 revert a problematic change to the screen_changed
944 handler. (#401598, Søren Sandmann)
946 2007-01-28 Matthias Clasen <mclasen@redhat.com>
948 * gtk/gtkframe.c (gtk_frame_size_allocation): Fix a
949 problem with large y thickness. (#136592, Xan Lopez)
951 2007-01-28 Matthias Clasen <mclasen@redhat.com>
953 * gtk/gtkaction.c (gtk_action_new): Use canonical
956 2007-01-27 Matthias Clasen <mclasen@redhat.com>
958 * gtk/gtknotebook.c (gtk_notebook_draw_arrow):
959 (gtk_notebook_draw_focus): Avoid some unnecessary
960 gtk_widget_get_style() calls.
962 2007-01-27 Matthias Clasen <mclasen@redhat.com>
966 * gtk/gtktoolbutton.c: Rearrange things so that setting
967 multiple properties causes not more than a single
968 reconstruction of the contents.
970 * gtk/gtkaction.c (connect_proxy): Set all tool button
971 properties in one go.
973 2007-01-27 Matthias Clasen <mclasen@redhat.com>
975 * gtk/gtkstatusicon.c:
976 * gtk/gtktrayicon-x11.c: Fix GtkStatusIcon to not
977 take up space on the panel if it is invisible. (340110, Christian
980 * tests/teststatusicon.c:
981 * tests/Makefile.am: Updates
983 2007-01-27 Matthias Clasen <mclasen@redhat.com>
987 * gtk/gtk.symbols: Add deprecation guards for gtk_rc_style_ref/unref
988 and the old file selector. (#348256)
990 2007-01-26 Matthias Clasen <mclasen@redhat.com>
992 * gtk/gtkiconview.c: Documentation fixes (#400530, Anders Brander)
994 2007-01-26 Matthias Clasen <mclasen@redhat.com>
996 * gtk/updateiconcache.c: Check the mtime of all directories,
997 not just the toplevel, if ftw() is available. (#331671, Behdad
1000 * configure.in: Check for ftw.h.
1002 2007-01-26 Michael Natterer <mitch@imendio.com>
1004 * modules/input/gtkimcontextxim.c (gtk_im_context_xim_finalize):
1005 destroy the XIM only if it exists. While the code does look safe
1006 in general, there can be corner cases where the "reconnecting"
1007 boolean being FALSE does not correspond to the XIM being
1008 allocated (fixes #329450, fix taken from maemo-gtk).
1010 Fri Jan 26 13:07:07 2007 Tim Janik <timj@imendio.com>
1012 * gtk/gtkstyle.c (draw_insertion_cursor): clamp cursor coordinates to
1013 window bounds (fix from Maemo Gtk).
1015 2007-01-26 Michael Natterer <mitch@imendio.com>
1017 * gtk/gtkentrycompletion.c (gtk_entry_completion_insert_prefix):
1018 only block/unblock completion->priv->insert_text_id if it is
1019 actually connected. While this can't happen the way GtkEntry
1020 itself uses the completion, it's still public API and should not
1021 blindly call functions that will spit warnings (fix taken from
1024 2007-01-25 Matthias Clasen <mclasen@redhat.com>
1026 * gdk/gdkwindow.c: Reduce locking overhead by not repeatedly getting
1027 the paintable iface.
1029 2007-01-24 Michael Natterer <mitch@imendio.com>
1031 * gtk/gtkwidget.c (gtk_widget_set_state): revert generic disabling
1032 of PRELIGHT state for the reasons given in bug #135666. Widget
1033 states are sometimes abused or otherwise used wrongly for historic
1034 reasons, causing this part of the patch to break e.g. menu items.
1036 2007-01-24 Roozbeh Pournader <roozbeh@farsiweb.info>
1038 * README: Remove mention of no-longer-existing PATCH
1039 keyword in bugzilla. (#396899)
1041 2007-01-23 Carlos Garcia Campos <carlosgc@gnome.org>
1043 * gtk/gtkpagesetup.c
1044 (gtk_page_setup_set_paper_size_and_default_margins): Fix memory leak.
1047 2007-01-22 Chris Wilson <chris@chris-wilson.co.uk>
1049 Bug 399314 – Add G_GNUC_WARN_UNUSED_RESULT to gtk_style_attach
1052 Cause gcc to issue a warning if the style returned from
1053 gtk_style_attach is not used. Failure to update
1054 widget->style causes some very difficult to reproduce bugs,
1055 eg Bug 353498 – crash in Terminal: changing icon theme.
1057 2007-01-19 Michael Emmel <mike.emmel@gmail.com>
1059 * gdk/directfb/gdkevents-directfb.c: added fixes for window
1060 crossing events frm Attilio Fiandrotti<attilio.fiandrotti@gmail.com>
1062 2007-01-19 Matthias Clasen <mclasen@redhat.com>
1064 * gtk/gtkcalendar.c: Fix build breakage.
1066 2007-01-19 Kristian Rietveld <kris@imendio.com>
1068 * gtk/gtktreeview.c (gtk_tree_view_motion_bin_window),
1069 (add_scroll_timeout), (gtk_tree_view_drag_motion): factor out
1070 add_scroll_timeout(). (taken from maemo-gtk).
1072 2007-01-18 Matthias Clasen <mclasen@redhat.com>
1074 * gtk/gtkcalendar.c: Fix problems with the initial
1075 focus in GtkCalendar. (#397783, Vincent Untz)
1077 2007-01-19 Robert Ögren <gtk@roboros.com>
1079 Fix for bug #143460 - missed tablet clicks on Windows
1081 * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check):
1082 Request absolute reporting of tablet button state, and cut down
1083 the packet queue size a bit.
1084 (_gdk_input_other_event): Change button state handling
1085 accordingly. Also drop the no longer necessary code that detects
1086 missed clicks/releases for button 1. The switch to absolute button
1087 state should prevent missed events for all buttons. Additionally,
1088 swap button 2 and 3.
1089 (_gdk_input_grab_pointer): Don't reset button_state, that will only
1090 cause a new press event as soon as the next tablet packet arrives.
1092 2007-01-19 Tor Lillqvist <tml@novell.com>
1094 Build Wintab support always on Windows. Don't require the Wintab
1097 * configure.in: Drop the --with-wintab option. Drop the
1098 HAVE_WINTAB feature test macro and Automake variable.
1101 * config.h.win32.in: Drop HAVE_WINTAB.
1103 * gdk/win32/gdkevents-win32.c
1104 * gdk/win32/gdkinput.c
1105 * gdk/win32/gdkinput-win32.h
1106 * gdk/win32/gdkinput-win32.c
1107 * gdk/win32/gdkmain-win32.c: Make HAVE_WINTAB ifdef blocks
1110 * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Try
1111 to load wintab32.dll dynamically here. If it is found look up the
1112 handful Wintab functions we use.
1113 (rest of file): Use these function pointers instead of calling the
1114 functions from wntab32x.lib. The code in wntab32x.lib did the same
1115 thing anyway: tried to load wintab32.dll, and looked up the
1116 addresses of the actual functions from it.
1119 * gdk/win32/Makefile.am: Drop the libwntab32x hacks.
1121 * gdk/win32/wintab.h
1122 * gdk/win32/pktdef.h: New files. Copied from the Wintab
1123 SDK. Copyright blurb says: "The text and information contained in
1124 this file may be freely used, copied, or distributed without
1125 compensation or licensing restrictions."
1127 * README.win32: Update a bit. Remove the text about the Wintab
1130 2007-01-18 Tor Lillqvist <tml@novell.com>
1132 * gdk-pixbuf/Makefile.am
1134 * gdk/win32/Makefile.am
1135 * gtk/Makefile.am: Fixes for building outside srcdir on
1136 Win32. (#336819, #340013) Drop distributing the handmade .la
1137 libtool wrapper for the wntab32x library. It's too much trouble
1138 making it work when building outside srcdir. Just link to the
1139 library direcly using -Wl,win32/libwntab32x.a.
1141 2007-01-18 Michael Natterer <mitch@imendio.com>
1143 * gtk/gtkcheckbutton.c
1148 * gtk/gtkviewport.c: pass more clip rectangles to gtk_paint_foo()
1149 functions. Based on a patch from maemo-gtk (bug #398023).
1151 2007-01-17 Tor Lillqvist <tml@novell.com>
1153 * gtk-zip.sh.in: Include also the COPYING file.
1155 2007-01-17 Matthias Clasen <mclasen@redhat.com>
1157 * modules/printbackends/cups/gtkprintbackendcups.c: Don't use
1158 httpGetFd() when building against cups 1.1
1160 2007-01-17 Tor Lillqvist <tml@novell.com>
1162 Proper fix for #396175:
1164 * gtk/gtkimmulticontext.c: Revert change by Hans Breuer below: Do
1165 include gtkprivate.h. On Win32 we do want to use the redefinition
1166 of GTK_LOCALEDIR as a call to the function _gtk_get_localedir().
1168 * gtk/gtkimmodule.c: Instead, correct the prefix also on
1169 simple_context_info.domain_dirname. Do the prefix corrections
1170 always on Win32, not just when GTK_LIBDIR is defined. i.e., until
1171 now they were done only in the autoconfiscated gcc builds. Hans
1172 needs to make sure GTK_LIBDIR and GTK_LOCALEDIR are defined also
1174 (correct_localedir_prefix): New function, like
1175 correct_libdir_prefix(), but for GTK_LOCALEDIR, in case
1176 GTK_LOCALEDIR is not a descendant of GTK_LIBDIR.
1177 (gtk_im_module_initialize): Thus call correct_localedir_prefix()
1178 on the domain_dirname instead of correct_libdir_prefix().
1179 (_gtk_im_module_list): Call correct_localedir_prefix() on
1180 simple_context_info.domain_dirname.
1182 2007-01-16 Matthias Clasen <mclasen@redhat.com>
1184 * gtk/gtkrange.c (range_grab_remove): Queue a redraw when the
1185 grab changes. (#396470, Benjamin Berg)
1187 2007-01-15 Emmanuele Bassi <ebassi@gnome.org>
1189 * gtk/gtkrecentchoosermenu.c: Ellipsize the menu items label
1190 if they grow too much. (#357303)
1192 2007-01-14 Matthias Clasen <mclasen@redhat.com>
1194 * gtk/gtkicontheme.c (theme_lookup_icon): When finding a matching
1195 non-scalable dir, keep going and look for a closer match.
1196 (#395830, Luca Ferretti)
1198 2007-01-14 Christian Persch <chpe@svn.gnome.org>
1200 * gtk/gtkclipboard.c: (gtk_clipboard_set_text),
1201 (gtk_clipboard_set_image): Use gtk_target_table_new_from_list and
1202 gtk_target_table_free instead of duplicating the code. Bug #396493.
1204 2007-01-13 Matthias Clasen <mclasen@redhat.com>
1206 * gtk/gtkuimanager.c: Don't crash if menu or toolbar
1207 positions can't be found. (#396161, Hans Breuer)
1209 2007-01-13 Matthias Clasen <mclasen@redhat.com>
1211 * gtk/gtkselection.c (_gtk_selection_request): Plug
1212 memory leaks. (#396160, Carlos Garcia Campos)
1214 2007-01-13 Matthias Clasen <mclasen@redhat.com>
1216 * configure.in: Link libgtk against Xfixes. (#396074,
1219 2007-01-13 Matthias Clasen <mclasen@redhat.com>
1221 * gtk/gtkradiobutton.c (gtk_radio_button_focus): Avoid
1222 a compiler warning. (#395045, Chris Wilson)
1224 2007-01-13 Hans Breuer <hans@breuer.org>
1226 * gtk/gtkprintoperation-win32.c : take the custom tab label from
1227 gtk_print_operation_set_custom_tab_label() into account (bug #390746).
1229 * gtk/gtkimmulticontext.c : don't include "gtkprivate.h" to avoid
1230 differing definitions of GTK_LOCALEDIR (bug #396175).
1232 * gtk/gtktreeview.c : use g_snprintf instead of snprintf, which is
1233 not available everywhere
1235 * gtk/makefile.msc.in : updated
1237 2007-01-12 Michael Natterer <mitch@imendio.com>
1239 * gtk/gtkentry.c (gtk_entry_button_press): don't add
1240 entry->scroll_offset to entry->drag_start_y. Fixes the entry
1241 starting drags after ridiculously small mouse movements.
1243 2007-01-11 Richard Hult <richard@imendio.com>
1245 * demos/gtk-demo/main.c: (load_file): Close the file after it's
1246 loaded (bug #395316).
1248 2007-01-11 Kjartan Maraas <kmaraas@gnome.org>
1250 * gtk/gtkfilesystemunix.c: (expand_tilde):
1251 Make a single tilde go to $HOME in the location entry.
1252 Patch from Yevgen Muntyan. Closes the gtk+ part of
1255 2007-01-10 Behdad Esfahbod <behdad@gnome.org>
1257 * gdk/gdkpango.c (gdk_draw_layout_with_colors):
1258 * gtk/gtklabel.c (gtk_label_size_request):
1259 Use pango_matrix_transform_rectangle(). (#340141)
1261 * configure.in: Bump pango requirement to 1.15.3.
1263 2007-01-10 Kristian Rietveld <kris@imendio.com>
1265 * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_init):
1266 refactor to initialize indicator_size to TOGGLE_WIDTH instead
1267 of the hardcoded value of 12.
1269 2007-01-09 Matthias Clasen <mclasen@redhat.com>
1271 * configure.in: Fix the directfb cairo test. (#394855,
1274 2007-01-09 Behdad Esfahbod <behdad@gnome.org>
1276 * configure.in: Fix comment for --with-included-loaders. That option
1277 affects builds with module loading enabled too.
1279 2006-01-08 Peter Teichman <peter@novell.com>
1281 * gtk/gtkfilechooserdefault.c:
1282 * gtk/gtkfilechooserprivate.h:
1283 * gtk/gtkfilechoosersettings.c:
1284 * gtk/gtkfilechoosersettings.h:
1285 Save the expanded state of the folder browser with the file
1286 chooser settings. Resolves the expander portions of (#153828,
1289 2007-01-08 Emmanuele Bassi <ebassi@gnome.org>
1291 * gtk/gtkrecentchoosermenu.c (gtk_recent_chooser_menu_create_item):
1292 Don't leak the icon pixbuf after setting it to the image menu
1293 item. Found by Paolo Borelli.
1295 2007-01-08 Matthias Clasen <mclasen@redhat.com>
1297 * gtk/gtktreemodel.c (gtk_tree_path_to_string): Don't
1298 corrupt memory when faced with paths with ridiculously
1299 large indices. Found by the GTKVTS test suite.
1301 2007-01-08 Matthias Clasen <mclasen@redhat.com>
1303 * gtk/gtkmodules.c (_gtk_modules_init): Set
1304 default_display_opened before loading modules. (#393102,
1307 2007-01-07 Matthias Clasen <mclasen@redhat.com>
1309 * gtk/gtktextview.c (gtk_text_view_set_border_window_size):
1310 Call text_window_realize() with the correct parameters.
1311 (#393813, Yevgen Muntyan)
1313 2007-01-07 Matthias Clasen <mclasen@redhat.com>
1315 * gtk/gtkstatusbar.c: Move docs inline, and expand them
1318 2007-01-06 Matthias Clasen <mclasen@redhat.com>
1320 * gtk/gtklabel.c: Make line wrapping work with width-chars
1321 and max-width-chars, and simplify the storage of wrap-width.
1322 (#322580, Itai Bar-Haim)
1324 2007-01-06 Tor Lillqvist <tml@novell.com>
1326 * gdk/win32/cursor.bdf: New file. Downloaded from
1327 freedesktop.org's webcvs. Slighly edited cursors "crosshair",
1328 "diamond_cross", "draft_large", "gobbler" and "target" to fix
1329 #392504. It is possible that the same end result could have been
1330 achieved by tweaking bdfcursor.c instead.
1332 * gdk/win32/bdfcursor.c: Add optional debugging output.
1334 * gdk/win32/xcursors.h: Regenerated.
1336 2007-01-05 Matthias Clasen <mclasen@redhat.com>
1338 * gtk/gtknotebook.c (gtk_notebook_set_menu_label_text): Left-align
1339 menu labels. (#393255, Michail Crayson)
1341 2007-01-05 Kristian Rietveld <kris@gtk.org>
1343 * gtk/gtktreeview.c (gtk_tree_view_dy_to_top_row): handle tree
1344 == NULL. (Fixes #392685, reported by Yevgen Muntyan).
1346 2007-01-05 Kristian Rietveld <kris@gtk.org>
1348 * gtk/gtktreeview.c (gtk_tree_view_row_changed): do allow to
1349 invalidate nodes if the tree view is not realized. (#363147,
1350 Carlos Garnacho, Miguel Cabrera).
1352 2007-01-05 Matthias Clasen <mclasen@redhat.com>
1354 * gtk/gtkmenu.c (gtk_menu_paint): Take the scroll arrow into
1355 account when drawing the background. (#393166, Benjamin Berg)
1357 2007-01-05 Behdad Esfahbod <behdad@gnome.org>
1359 * gtk/gtklabel.c (get_layout_location): Fix broken width computation,
1362 2007-01-05 Carlos Garnacho <carlosg@gnome.org>
1364 * gtk/gtknotebook.c (gtk_notebook_size_request): take into account
1365 both scroll arrows when calculating size request in GTK_POS_LEFT or
1366 GTK_POS_RIGHT notebooks. (#393124, reported by Christian Persch)
1368 2007-01-05 Michael Natterer <mitch@imendio.com>
1370 * gtk/gtkwindow.c (gtk_window_key_release_event): chain up to
1371 the right function (fix taken from maemo-gtk).
1373 2007-01-05 Behdad Esfahbod <behdad@gnome.org>
1376 * gdk/gdkpango.c (gdk_draw_layout_line_with_colors),
1377 (gdk_draw_layout_with_colors):
1378 * gdk/gdkwindow.c (gdk_window_draw_glyphs_transformed):
1379 Avoid overflow when converting coordinates to Pango units. (#332266,
1382 2007-01-04 Matthias Clasen <mclasen@redhat.com>
1384 * gtk/gtkcombobox.c (gtk_combo_box_popup): move set_cursor
1385 after realization of the popup window, so clamp node doesn't fail.
1386 (#346616, Tommi Komulainen, patch by Kristian Rietveld).
1388 2007-01-04 Behdad Esfahbod <behdad@gnome.org>
1390 * gtk/gtklabel.c (get_layout_location): Fix uninitialized width
1393 2007-01-04 Matthias Clasen <mclasen@redhat.com>
1396 * gdk-pixbuf/Makefile.am:
1398 * gdk/win32/rc/gdk.rc.in: Cross-compilation fixes.
1399 (#392646, Yevgen Muntyan)
1401 2007-01-04 Matthias Clasen <mclasen@redhat.com>
1403 * demos/gtk-demo/textscroll.c:
1404 * gtk/gtkhandlebox.c:
1405 * gtk/gtkcolorsel.c: Fix some compiler warnings.
1407 2007-01-03 Matthias Clasen <mclasen@redhat.com>
1409 * gtk/gtktextview.c: Rework the beep-on-uninserted-text
1410 by calling the input method regardless of editability,
1411 and beeping from the commit/preedit-changed handlers.
1412 (#390514, Yevgen Muntyan)
1414 2007-01-03 Matthias Clasen <mclasen@redhat.com>
1416 Fix #332604, reported by Joe Wreschnig, patch
1417 by Jan Arne Petersen and Behdad Esfahbod.
1419 * gtk/gtklabel.c (gtk_label_size_allocate): Only
1420 set the width of the layout when necessary.
1421 (get_layout_location): Use pango_layout_get_pixel_extents()
1422 instead of pango_layout_get_width().
1424 2007-01-03 Matthias Clasen <mclasen@redhat.com>
1426 * modules/printbackends/cups/gtkprintbackendcups.c
1427 (available_choices): Don't leak conflicts.
1429 * gtk/gtkprintoperation.c (gtk_print_operation_finalize):
1430 Don't leak the status string.
1432 2007-01-03 Matthias Clasen <mclasen@redhat.com>
1434 * gtk/gtkfilechooserdefault.c (update_chooser_entry):
1435 Exit early if we can't get file info - this happens
1436 if the iter points to the row where we are editing
1437 the name for a newly created folder. (#392191, Michael
1438 Partridge, patch by Kristian Rietveld)
1440 2007-01-03 Matthias Clasen <mclasen@redhat.com>
1443 * gdk/x11/*.c: Apply a patch by Chris Wilson to
1444 avoid spurious valgrind warnings from XSendEvent()
1447 * modules/printbackends/cups/gtkprintbackendcups.c: Close
1448 the http connection after getting the PPD.
1450 * gtk/gtkprinteroptionwidget.c (filesave_changed_cb):
1453 2007-01-03 Matthias Clasen <mclasen@redhat.com>
1455 * gtk/gtkassistant.c (remove_page): If the current page
1456 is removed, always pick a different one. (#392457,
1459 2007-01-03 Matthias Clasen <mclasen@redhat.com>
1461 * modules/printbackend/cups/*.c: Coding style cleanups.
1463 2007-01-03 Matthias Clasen <mclasen@redhat.com>
1465 * configure.in: Export SED to make sourcing of
1466 libtool work. Tighten up the directfb pkgconfig check.
1468 2007-01-03 Michael Natterer <mitch@imendio.com>
1470 * gtk/gtkstyle.c (option_menu_get_props)
1471 * gtk/gtkoptionmenu.c (gtk_option_menu_get_props): Use
1472 gtk_border_free when freeing borders.
1474 2007-01-03 Matthias Clasen <mclasen@redhat.com>
1476 * gtk/gtkentry.c (get_text_area_size): Work when the
1477 entry is not realized. (#392315, Yevgen Muntyan)
1479 * gtk/gtkentry.c (gtk_entry_queue_draw): Use
1480 GTK_WIDGET_DRAWABLE() here. (#392227, Chris Wilson)
1482 * gtk/gtkentry.c (cursor_blinks): Don't get settings
1483 unnecessarily. (#392227)
1485 2007-01-02 Matthias Clasen <mclasen@redhat.com>
1487 * gtk/gtkwindow.c (gtk_window_move_resize): Only process
1488 updates on the window at hand, not on all windows, to
1489 avoid violating resize/redraw ordering constraints.
1490 (#362406, Owen Taylor)
1492 2007-01-03 Kristian Rietveld <kris@gtk.org>
1494 * gtk/gtkcellrendererprogress.c
1495 (gtk_cell_renderer_progress_class_init): fix docs.
1497 2007-01-02 Matthias Clasen <mclasen@redhat.com>
1499 * gtk/updateiconcache.c: Include locale.h
1501 2007-01-02 Matthias Clasen <mclasen@redhat.com>
1503 * gtk/updateiconcache.c (main): Call setlocale().
1506 * gtk/gtkfilesystemunix.c:
1507 * gtk/gtkfilesystemwin32.c:
1508 * gtk/gtkfilechoosersettings.c:
1509 * gtk/updateiconcache.c: Consistently use folder instead of
1510 directory in translated messages. (#344584, Javier F. Serrador)
1512 2007-01-02 Matthias Clasen <mclasen@redhat.com>
1514 Try to fix #315732, reported by Luke Hutchinson:
1516 * gdk/x11/xsettings-client.[hc]:
1517 * gdk/x11/gdkdevents-x11.c: Don't assume that ref'ing a GdkWindow
1518 will guarantee that it can be looked up in the xid hash later.
1519 Also, use the nesting server grab function during the xsettings
1520 client initialization. Finally, make xsettings client not
1521 eat DestroyNotifys so that GDK can do its regular cleanup.
1523 2007-01-02 Michael Natterer <mitch@imendio.com>
1525 * gtk/gtkrange.c (gtk_range_scroll) (gtk_range_move_slider): beep
1526 when a keybinding didn't change adjustment->value.
1528 2007-01-02 Matthias Clasen <mclasen@redhat.com>
1530 * gtk/gtktextbuffer.c (gtk_text_view_key_press_event):
1531 Try harder not to beep on events which are not meant to
1532 insert stuff in the buffer. (#390514, Yevgen Muntyan)
1534 2007-01-02 Matthias Clasen <mclasen@redhat.com>
1536 * gtk/gtktextbufferrichtext.c: Small documentation fixes.
1538 2007-01-02 Matthias Clasen <mclasen@redhat.com>
1540 * gtk/gtkentry.c (get_text_area_size): Center in the frame.
1541 (#304482, Rob Staudinger, patch by Richard Stellingwerff)
1543 2007-01-02 Michael Emmel <mike.emmel@gmail.com>
1545 * gdkwindow-directfb.c: fixed leak of dfb resource on destroy
1547 2007-01-01 Matthias Clasen <mclasen@redhat.com>
1549 * gtk/gtkscrolledwindow.h:
1550 * gtk/gtkscrolledwindow.c: Only handle key bindings
1551 for scrolling if the scrollbars are visible.
1552 (#340135, Christian Persch)
1554 2007-01-01 Matthias Clasen <mclasen@redhat.com>
1556 * gtk/gtktextview.c (gtk_text_view_scroll_hpages):
1557 Don't segfault on horizontal scrolling.
1559 2007-01-01 Matthias Clasen <mclasen@redhat.com>
1561 * gtk/gtknotebook.h:
1562 * gtk/gtknotebook.c: Only handle key bindings for
1563 tab reordering if the tabs are shown and reorderable.
1564 (#390468, Yevgen Muntyan)
1566 * gtk/gtkmarshalers.list: Add required marshaler
1568 2007-01-01 Matthias Clasen <mclasen@redhat.com>
1570 * gtk/gtkcontainer.c (gtk_container_class_list_child_properties):
1571 Mention in the docs that the return value is
1572 NULL-terminated. (#383373, Christian Neumair)
1574 2007-01-01 Matthias Clasen <mclasen@redhat.com>
1576 * gtk/gtkicontheme.c (load_themes): Waste less time
1577 with non-directories. (#391725, Chris Wilson)
1579 2007-01-01 Matthias Clasen <mclasen@redhat.com>
1581 * gtk/gtkcellrendererprogress.c: Implement activity mode
1582 for GtkCellRendererProgress. (#377851, Brad Taylor)
1584 2007-01-01 Matthias Clasen <mclasen@redhat.com>
1586 Fix some IPP compliance issues. (#391523, Albrecht Dress)
1588 * modules/printbackends/cups/gtkcupsutils.c
1589 (gtk_cups_request_encode_option): Use IPP_TAG_JOB, not
1591 * modules/printbackends/cups/gtkprintbackendcups.c
1592 (gtk_print_backend_cups_print_stream): Don't add the
1593 requesting-user-name attribute a second time.
1595 2007-01-01 Matthias Clasen <mclasen@redhat.com>
1597 * gtk/gtkimcontextsimple.c: Fix en/em dash confusion. (#378462)
1599 2006-12-31 Emmanuele Bassi <ebassi@gnome.org>
1601 * gtk/gtkrecentchoosermenu.c (set_recent_manager): Use the
1602 right object when disconnecting from the GtkRecentManager::changed
1603 signal; save us a few indirections using a variable.
1605 2006-12-31 Emmanuele Bassi <ebassi@gnome.org>
1607 * gtk/gtkrecentchoosermenu.c: Move the signal and idle
1608 disconnections into the dispose function, as well as the
1609 object unrefs; reset every handler id and the
1610 pointers. (suggested by Paolo Borelli, #390873)
1612 2006-12-31 Matthias Clasen <mclasen@redhat.com>
1614 * gtk/gtkprintoperation-win32.c: Include windows.h (#391229,
1617 2006-12-30 Matthias Clasen <mclasen@redhat.com>
1619 * gtk/gtktextview.c (gtk_text_view_destroy): Remove the
1620 scroll timeout. (#390872, Yevgen Muntyan)
1622 2006-12-30 Matthias Clasen <mclasen@redhat.com>
1624 * gtk/gtkprintoperation-unix.c:
1625 * gtk/gtkprintbackend.c:
1626 * gtk/gtkfilechooserdefault.c:
1627 * gtk/gtksettings.c: Move a few settings to gtksettings.c
1628 to make sure they show up in the docs. (#365364, Christian
1631 2006-12-30 Matthias Clasen <mclasen@redhat.com>
1633 * gtk/gtkassistant.c: Redraw assistant on reallocate
1634 to avoid rendering glitches. (#343956, Christian
1635 Persch, Carlos Garnacho)
1637 2006-12-30 Matthias Clasen <mclasen@redhat.com>
1639 * gtk/gtkrange.c: Typo fix. (#352121, Clytie Siddall)
1641 2006-12-30 Matthias Clasen <mclasen@redhat.com>
1643 * gtk/gtkaction.c: Improve the docs of the "label"
1644 property. (#341730, Kristof Vansant)
1646 2006-12-30 Matthias Clasen <mclasen@redhat.com>
1648 * gtk/gtkwindow.c (gtk_window_compute_configure_request_size):
1649 Correctly handle min size. (#320465, Philipp Langdale)
1651 2006-12-30 Matthias Clasen <mclasen@redhat.com>
1653 * gtk/prop-editor.c: Implement editing of flags.
1655 2006-12-30 Matthias Clasen <mclasen@redhat.com>
1660 * gtk/gtkstatusbar.c:
1661 * gtk/gtktextview.c: Don't install cursors on insensitive
1662 widgets. (#358864, Jan Schampera)
1664 2006-12-29 Matthias Clasen <mclasen@redhat.com>
1666 * gtk/gtkrecentmanager.h:
1667 * gtk/gtkprintoperation.c: Fix doc typos. (#370909,
1670 * gtk/gtkstyle.c (gtk_style_attach): Clarify docs. (#353423,
1673 * gtk/gtkentry.c (blink_cb):
1674 * gtk/gtktextview.c (blink_cb): Don't die in an assertion
1675 if focus went missing. Just warn, clean up and continue.
1678 2006-12-29 Carlos Garnacho <carlosg@gnome.org>
1680 * gtk/gtknotebook.c (gtk_notebook_scroll): return if the widget that
1681 originally received the event is a notebook page. (#315440, reported
1684 2006-12-29 Matthias Clasen <mclasen@redhat.com>
1686 * gdk/gdkcolor.c (gdk_color_hash): Fix a typo. (#390613,
1689 2006-12-29 Matthias Clasen <mclasen@redhat.com>
1691 * tests/prop-editor.c: Display children of containers
1692 and cell renderers of cell layouts.
1695 * gtk/gtkcelllayout.[hc] (gtk_cell_layout_get_cells):
1696 New function to get the cell renderers of a cell layout.
1698 * gtk/gtktreeviewcolumn.c:
1699 * gtk/gtkcellview.c:
1700 * gtk/gtkiconview.c: Implement get_cells.
1702 2006-12-28 Matthias Clasen <mclasen@redhat.com>
1704 * gtk/gtkiconview.c: Use word wrapping by default, and
1705 center multiline labels. (#318763, Ross Burton)
1707 * gtk/gtkcellrenderertext.c (get_layout): Remove a special
1708 case for single-line layouts.
1710 2006-12-28 Matthias Clasen <mclasen@redhat.com>
1712 * gtk/gtkarrow.c: Fix a typo in the docs. (#390423,
1715 * gtk/gtkuimanager.c (update_node): Only use the results
1716 of find_menu/toolbar_position() if they succeed. May fix
1719 2006-12-28 Matthias Clasen <mclasen@redhat.com>
1721 * gdk/gdk.c: Fix some formatting errors in docs.
1723 2006-12-28 Tor Lillqvist <tml@novell.com>
1725 * gtk/gtkstatusicon.c (gtk_status_icon_finalize)
1726 (gtk_status_icon_update_image): Don't leak HICONs on
1727 Win32. (#364868, Hiroyuki Yamamoto)
1729 2006-12-28 Carlos Garnacho <carlosg@gnome.org>
1731 Make GtkNotebook able to drop detached tabs anywhere. Bug #360225.
1733 * gtk/gtkwidget.c (gtk_widget_class_init): add "drag-failed" signal.
1734 * gtk/gtkmarshalers.list: add new marshaler definition.
1735 * gtk/gtkenums.h: add GtkDragResult enum.
1737 * gtk/gtkdnd.c (gtk_drag_drop_finished): emit "drag-failed" if DND
1738 operation wasn't successful.
1739 (_gtk_drag_source_handle_event) (gtk_drag_drop)
1740 (gtk_drag_selection_get) (gtk_drag_cancel) (gtk_drag_key_cb)
1741 (gtk_drag_grab_broken_event_cb) (gtk_drag_grab_notify_cb)
1742 (gtk_drag_button_release_cb) (gtk_drag_abort_timeout): tell
1743 gtk_drag_drop_finished() the operation result.
1745 * gtk/gtknotebook.c (gtk_notebook_drag_failed): new function.
1746 (gtk_notebook_drag_data_get): do not call window creation hook here.
1747 (gtk_notebook_init): do not set "application/x-rootwindow-drop"
1748 target, instead connect to "drag-failed".
1749 (gtk_notebook_draw_focus): fix potential crasher if cur_page is NULL.
1751 2006-12-28 Mikael Hallendal <micke@imendio.com>
1753 * gdk/quartz/gdkevents-quartz.c: Factored out the event loop
1754 integration into gdkeventloop-quartz.c.
1756 * gdk/quartz/Makefile.am: Added gdkeventloop-quartz.c
1758 * gdk/quartz/gdkeventloop-quartz.c: New file containing the event loop
1761 2006-12-27 Matthias Clasen <mclasen@redhat.com>
1763 * modules/printbackends/lpr/gtkprintbackendlpr.c
1764 (gtk_print_backend_lpr_print_stream): Close the io channel
1765 on unref. (#390159, Joe Markus Clarke)
1767 2006-12-27 Matthias Clasen <mclasen@redhat.com>
1769 * gdk/gdk.h: Remove redundant declarations (#390097,
1772 2006-12-27 Kristian Rietveld <kris@gtk.org>
1774 Support inverting arrows via XSetting. (#377979, Yevgen Muntyan).
1776 * gtk/gtksettings.c (gtk_settings_class_init): add new setting
1777 gtk-alternative-sort-arrows.
1779 * gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting): add
1782 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: set new
1783 gtk-alternative-sort-arrows setting to true.
1785 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
1786 invert direction if gtk-alternative-sort-arrows is TRUE.
1788 2006-12-27 Tor Lillqvist <tml@novell.com>
1790 * gtk/gtk.symbols: Add gtk_status_icon_get_screen and
1791 gtk_status_icon_set_screen.
1793 * gtk/gtkstatusicon.c: Implement gtk_status_icon_position_menu()
1794 on Windows. Keep track of where the last button click on the
1795 taskbar icon took place, and return that. Obviously not correct if
1796 no button has ever been clicked on the icon, or if the geometry of
1797 the taskbar has changed since. But for most use cases where a menu
1798 is going to be displayed as a direct result of a button click on
1799 the status icon, works fine. (#377349)
1801 Implement getting the orientation property on Windows.
1803 (gtk_status_icon_embedded_changed)
1804 (gtk_status_icon_orientation_changed): Ifdefify these functions
1805 that are used only on X11.
1807 2006-12-27 Tor Lillqvist <tml@novell.com>
1809 * gtk/gtkfilesystemwin32.c (execute_callbacks): Fix
1810 typo. (#390035, Kazuki Iwamoto)
1812 2006-12-27 Matthias Clasen <mclasen@redhat.com>
1814 * gtk/gtkcellview.c (gtk_cell_view_set_model): Accept NULL.
1816 * gtk/gtkcombobox.c (gtk_combo_box_set_model):
1817 (gtk_combo_box_unset_model): Handle repeated unsetting
1818 of models without warnings. (#367529, Robert Ancell)
1820 2006-12-27 Matthias Clasen <mclasen@redhat.com>
1822 * modules/printbackends/cups/gtkcupsutils.c:
1823 * modules/printbackends/cups/gtkprintbackendcups.c: Use
1824 getters for http fields where available. (#364866,
1827 2006-12-27 Matthias Clasen <mclasen@redhat.com>
1829 * gtk/gtkwidget.c (gtk_widget_show): Add a g_return_if_fail.
1830 (#362614, Xan Lopez)
1832 2006-12-27 Matthias Clasen <mclasen@redhat.com>
1834 * gtk/gtkuimanager.c (update_node): If a required action
1835 is missing, don't recurse over the children. (#349119,
1838 2006-12-27 Matthias Clasen <mclasen@redhat.com>
1840 Fix a few problems with nested menus in comboboxes
1841 (#386694, Yevgen Muntyan)
1843 * gtk/gtkcombobox.c (gtk_combo_box_menu_fill_level): Always
1844 connect the activate callback.
1845 (gtk_combo_box_menu_item_activate): Do nothing if called on
1846 an item with a submenu.
1847 (gtk_combo_box_menu_row_deleted): Remove a submenu when it
1850 2006-12-26 Mariano Suárez-Alvarez <mariano@gnome.org>
1852 * gtk/gtkfilechooserbuuton.[hc]: Add a file-set signal to the
1853 filechooser button. Bug 353196.
1855 2006-12-26 Kristian Rietveld <kris@gtk.org>
1857 * gtk/gtktreeview.c (gtk_tree_view_search_init): fix typo causing
1858 the search dialog timeout never to be refreshed. (#389581,
1859 Andrzej Szombierski).
1861 2006-12-26 Kristian Rietveld <kris@gtk.org>
1863 Lots of scrolling fixes. Made scrolling work properly in not fully
1864 validated tree views; fixed a bunch of corner cases.
1866 * gtk/gtktreeview.c (validate_visible_area): if a row's dy is past
1867 upper - page_size, we know it is located at the end so the test for
1868 dy + height has been dropped.
1869 In the same case if area_below < 0, we know this is the last node
1870 in the tree view so area_above is page_size - height of this row.
1871 (validate_visible_area): got rid of subtracting new_height -
1872 old_height from area_{below,above}, it didn't make any sense at
1873 all and the full height of the row should be subtracted instead.
1874 (validate_visible_area): when scrolling to a given path, set the
1875 top row directly together with the dy offset, then sync that top_row
1877 (gtk_tree_view_set_top_row): new function to directly set a top_row.
1878 (gtk_tree_view_dy_to_top_row): refactored to use
1879 gtk_tree_view_set_top_row().
1880 (gtk_tree_view_top_row_to_dy): make sure dy >= 0 when done.
1881 (gtk_tree_view_adjustment_changed): only update our dy and
1882 top_row if the adjustment's dy actually changed.
1884 2006-12-26 Christian Persch <chpe@cvs.gnome.org>
1886 * gtk/gtknotebook.c: (gtk_notebook_real_insert_page):
1887 Return the correct value from gtk_notebook_insert_page if the
1888 page-added handler reorders the tabs. Bug #345094.
1890 2006-12-26 Carlos Garnacho <carlosg@gnome.org>
1892 Fix small regressions in GtkNotebook tab detaching. Bug #378852.
1894 * gtk/gtknotebook.c (gtk_notebook_do_arrow): grab focus to allow tabs
1895 scrolling when hovering with a detached tab.
1896 (gtk_notebook_stop_reorder): Do not deparent the wrong tab if the
1897 focus tab has changed during a tab DND operation.
1898 (gtk_notebook_drag_end): ensure that the dropped tab gets focused.
1899 (gtk_notebook_paint): do not take cur_page as a reference to paint the
1900 box if it's detached.
1901 (gtk_notebook_calculate_tabs_allocation): focus_tab may be different
1902 to the detached tab if we hover the arrows during a tabs detaching
1903 operation, do not allocate it unconditionally in 0,0.
1905 2006-12-26 Carlos Garnacho <carlosg@gnome.org>
1907 Expose improvements for GtkNotebook. Bug #383435
1909 * gtk/gtknotebook.c (gtk_notebook_expose): propagate the event to tab
1911 (gtk_notebook_draw_focus): do not repaint the whole focused tab again.
1912 (gtk_notebook_draw_tab): do not send handmade expose events to tab
1915 2006-12-26 Matthias Clasen <mclasen@redhat.com>
1917 * gtk/gtkfilesystemunix.c (execute_callbacks): Return
1918 FALSE. (#389623, Carlos Garnacho Parro)
1920 * gtk/gtkrange.c (stop_scrolling): Avoid spurious
1923 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
1925 * gtk/gtkplug.c: (gtk_plug_construct_for_display),
1926 (gtk_plug_unrealize): Notify the "embedded" property also on
1927 normal construction and when destroying the socket window.
1930 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
1932 * gtk/gtkaboutdialog.c: (gtk_about_dialog_class_init),
1933 (gtk_about_dialog_init), (display_credits_dialog),
1934 (display_license_dialog):
1935 * gtk/gtkfilechooserdialog.c: (gtk_file_chooser_dialog_class_init),
1936 (gtk_file_chooser_dialog_init),
1937 (gtk_file_chooser_dialog_constructor),
1938 (gtk_file_chooser_dialog_unmap):
1939 * gtk/gtkrecentchooserdefault.c:
1940 (_gtk_recent_chooser_default_init):
1941 * gtk/gtkrecentchooserdialog.c:
1942 (gtk_recent_chooser_dialog_class_init),
1943 (gtk_recent_chooser_dialog_init),
1944 (gtk_recent_chooser_dialog_constructor),
1945 (gtk_recent_chooser_dialog_unmap): Set the HIG spacings directly
1946 instead of using style-set handlers. Fix the filechooser's spacing
1947 between content and action area to 12px. Bug #372447.
1949 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
1951 * gtk/gtkstatusbar.c: (gtk_statusbar_size_allocate):
1952 Don't assume statusbar->label is the statusbar's frame's child when
1953 shrinking the size allocation when the grip is shown. Bug #372452.
1955 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
1957 * gtk/gtkpagesetupunixdialog.c: (printer_status_cb),
1958 (add_custom_paper): Fix mem leaks. Bug #389194.
1960 2006-12-24 Matthias Clasen <mclasen@redhat.com>
1962 * gtk/gtktextutil.c: Remove debug output.
1964 * gtk/gtktextview.c: Improve the DND scrolling
1965 behaviour. (#92387, Carlos Garnacho Parro)
1967 * gtk/gtkaccellabel.c: Improve translators comments.
1968 (#389298, Christian Persch)
1970 2006-12-24 Bastien Nocera <hadess@hadess.net>
1972 * gtk/gtkrecentmanager.c: Fix typo (s/expansive/expensive)
1975 2006-12-24 Christian Persch <chpe@cvs.gnome.org>
1977 * docs/reference/gtk/gtk-sections.txt:
1979 * gtk/gtkpagesetupunixdialog.c: (fill_paper_sizes_from_printer):
1980 * gtk/gtkprinter-private.h:
1981 * gtk/gtkprinter.c: (gtk_printer_list_papers):
1982 * gtk/gtkprinter.h: Make gtk_printer_list_papers public. Bug #345587.
1984 2006-12-24 Carlos Garcia Campos <carlosgc@gnome.org>
1986 * gtk/gtkpagesetupunixdialog.c: Don't ignore reverse portrait option
1987 when is selected in page setup dialog. Fixes bug #365047.
1989 2006-12-24 Behdad Esfahbod <behdad@gnome.org>
1991 * gtk/gtkentry.c (_gtk_entry_effective_inner_border):
1992 Use gtk_border_free when freeing border.
1994 2006-12-24 Matthias Clasen <mclasen@redhat.com>
1996 * gtk/gtkentry.c (gtk_entry_button_press): When
1997 shift-clicking, keep the larger part of the selection
1998 selected. (#353709, Benjamin Otte)
2000 * gtk/gtkbutton.c (gtk_button_get_props): Use
2001 gtk_border_free when freeing borders.
2003 * gtk/gtkbutton.c (gtk_button_grab_notify): Be more
2004 careful when faking a button release. (#323146,
2007 * gtk/gtkhandlebox.c (draw_textured_frame): Draw the
2008 handle with the right orientation, depending on the
2009 position of the handlebox. (#159764, Benjamin Berg)
2011 2006-12-24 Behdad Esfahbod <behdad@gnome.org>
2013 * gtk/gtkstyle.c (gtk_border_copy), (gtk_border_free): Use gslice for
2014 GtkBorder (#383557).
2016 2006-12-24 Behdad Esfahbod <behdad@gnome.org>
2018 Bug 340141 – Update to Pango 1.16 API
2020 * gdk/gdkpango.c (layout_iter_get_line_clip_region),
2021 (gdk_pango_layout_line_get_clip_region):
2022 * gtk/gtkcalendar.c (gtk_calendar_size_request):
2023 * gtk/gtkentry.c (gtk_entry_get_pixel_ranges),
2024 (get_layout_position), (gtk_entry_find_position),
2025 (gtk_entry_adjust_scroll):
2026 * gtk/gtkiconview.c (get_pango_text_offsets):
2027 * gtk/gtklabel.c (get_cursor_direction):
2028 * gtk/gtkstyle.c (get_insensitive_layout):
2029 * gtk/gtktextdisplay.c (render_para):
2030 * gtk/gtktextlayout.c (allocate_child_widgets),
2031 (find_display_line_below), (find_display_line_above),
2032 (gtk_text_layout_move_iter_to_previous_line),
2033 (gtk_text_layout_move_iter_to_next_line),
2034 (gtk_text_layout_move_iter_to_line_end),
2035 (gtk_text_layout_iter_starts_line),
2036 (gtk_text_layout_move_iter_to_x):
2037 * gtk/gtktextutil.c (limit_layout_lines):
2038 Use the _readonly version of pango_layout_iter_get_line(),
2039 pango_layout_iter_get_run(), pango_layout_get_line(), and
2040 pango_layout_get_lines().
2042 * gtk/gtkmain.c (gtk_get_default_language): Use
2043 pango_get_default_language().
2045 2006-12-24 Matthias Clasen <mclasen@redhat.com>
2047 * gtk/gtkentry.c (gtk_entry_set_text): Emit changed
2048 and notify:text only once. The same fix was applied
2049 for replacing the selection via DND or copy-and-paste.
2050 (#64998, Damon Chaplin, Sven Herzberg)
2052 2006-12-23 Matthias Clasen <mclasen@redhat.com>
2054 * gtk/gtkimmulticontext.c: Be careful to not override
2055 GTK+ translations with the translations of the input
2056 method. (#317080, Tor Lillqvist)
2058 * modules/input/imcedilla.c: Use standard macros
2059 for translation domain and locale dir.
2061 * gtk/gtkimcontextsimple.c: Allow composing l with
2062 stroke. (#349638, Daniel Lublin)
2064 * gtk/gen-paper-names.c: Fix a thinko in the suffix
2065 calculation. (#382369, Christian Persch)
2067 * gtk/paper_names_offsets.c: Regenerated.
2069 2006-12-22 Matthias Clasen <mclasen@redhat.com>
2071 * modules/engines/pixbuf/pixbuf.h:
2072 * modules/engines/pixbuf/pixbuf-rc-style.h:
2073 * modules/engines/pixbuf/pixbuf-style.h: Move
2074 G_GNUC_INTERNAL before function declarations. (#352276,
2077 2006-12-22 Matthias Clasen <mclasen@redhat.com>
2079 * demos/gtk-demo/*.c: Fix some leaks. (#348108, Chris
2082 2006-12-22 Matthias Clasen <mclasen@redhat.com>
2084 * *.c: Replace a lot of idle and timeout calls by
2085 the new gdk_threads api.
2089 * gdk/gdk.c: Add functions to allow threadsafe handling
2090 of idles and timeouts wrt. to the GDK lock. (#321886,
2093 2006-12-22 Matthias Clasen <mclasen@redhat.com>
2095 * gdk/gdkpango.c: Use pango_cairo_show_error_underline.
2096 (#340141, Behdad Esfahbod)
2098 * configure.in: Check for getc_unlocked.
2100 * gtk/xdgmime/xdgmimemagic.c: Use getc if getc_unlocked is
2101 unavailable. (#381499)
2103 * tests/teststatusicon.c: Fix a typo
2105 2006-12-22 Matthias Clasen <mclasen@redhat.com>
2107 Make it possible to track the embeddedness of
2108 statusicon (#387215, Martyn Russell, patch by Christian
2111 * gtk/gtkstatusicon.c: Add orientation and embedded properties.
2113 * gtk/gtkplug-x11.c: Add an embedded property.
2114 * tests/teststatusicon.c: Test the new properties.
2116 * gtk/gtkwidget.c (gtk_widget_get_draw_rectangle): Don't
2117 leak draw_border. (#387170, Kjartan Maraas)
2119 2006-12-21 Matthias Clasen <mclasen@redhat.com>
2121 * gtk/gtkfilechooserembed.c (_gtk_file_chooser_embed_set_delegate()):
2122 Typo fix. (#388123, Murray Cumming)
2124 * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event):
2125 Generate double-click events. (#380421, Tommi Komulainen)
2127 * gdk/x1/gdkinput-xfree.c (_gdk_input_configure_event):
2128 (_gdk_input_enter_event): Correct return_if_fail checks.
2129 (#379803, Tommi Komulainen)
2131 * gdk/gdkdisplay.c: Improve the docs of some functions operating
2132 on the default display. (##353438, Mariano Suárez-Alvarez)
2134 2006-12-21 Matthew Barnes <mbarnes@redhat.com>
2136 * docs/reference/gdk/gdk-sections.txt:
2137 * gdk/gdkcolor.[ch] (gdk_color_to_string): Add a function for
2138 converting a GdkColor to a string (#373856).
2140 * configure.in: Bump pango requirement to 1.15.2.
2142 2006-12-20 Matthias Clasen <mclasen@redhat.com>
2144 * gdk/keynames.txt: Mark arrow keys as translatable. (#369506,
2147 * gdk/keyname-table.h: Regenerated
2149 * gtk/gtktextbuffer.c: Add signal documentation. (#317064,
2150 Søren Wedel Nielsen)
2152 * gtk/gtktextview.c (gtk_text_view_start_selection_drag):
2153 Silently return if a drag is already in progress, rather
2154 than asserting. (#335622, Li Yuan, testcase by Erwann Chenede)
2156 * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_new_with_dialog):
2157 Allow any GtkDialog that implements GtkFileChooser as
2158 dialog. (#335473, Tommi Komulainen)
2160 2006-12-20 Mikael Hallendal <micke@imendio.com>
2162 * gtk/gtkstatusicon.c: (gtk_status_icon_init): Fixed a last minute
2163 change in the quartz backend.
2165 2006-12-20 Mikael Hallendal <micke@imendio.com>
2167 * gtk/Makefile.am: Added gtkstatusicon-quartz.c
2168 * gtk/gtkstatusicon-quartz.c: Implements the quartz backend for the
2170 * gtk/gtkstatusicon.c: Hooked in the new quartz backend. Bug #387874.
2172 2006-12-19 Matthias Clasen <mclasen@redhat.com>
2174 * gtk/gtkprintunixdialog.c: Add a tooltip explaining the
2175 format of page ranges, and improve the page sequence icon
2176 for the case of n_copies == 1.
2178 2006-12-19 Mikael Hallendal <micke@imendio.com>
2180 * gdk/quartz/gdkcursor-quartz.c: Splitted out the GdkPixbuf to NSImage
2181 routine so that it can be used from libgtk as well (needed for
2182 upcoming GtkStatusIcon support in the Quartz port).
2183 * gdk/quartz/gdkevents-quartz.c: Don't assume that all NSWindows are
2184 created from GDK, this is not true for the status icon.
2185 * gdk/quartz/gdkprivate-quartz.h:
2186 * gdk/quartz/gdkquartz.h: Added
2187 gdk_quartz_pixbuf_to_ns_image_libgtk_only so that it is available to
2188 the status icon code.
2190 2006-12-16 Tristan Van Berkom <tvb@gnome.org>
2192 * gtk/gtkmessagedialog.c: Added return_if_fail (image) to
2193 gtk_message_dialog_set_image ()
2195 * gtk/gtkscrolledwindow.c: Fixed a bug in set_property()
2196 (setting "window-placement-set" could result in a crash because
2197 of boolean/enum mixup)
2199 2006-12-15 Federico Mena Quintero <federico@novell.com>
2201 Merged from gtk-2-10:
2203 * gtk/gtkmenu.c (gtk_menu_set_title): Don't try to optimize for
2204 the case where the new title is the same as the old title, to
2205 preserve the behavior from GTK+ 2.8 (NULL and "" titles are not
2206 equivalent). Handle the case where title == priv->title. This
2207 was found by the LSB compatibility tests:
2208 https://bugzilla.novell.com/show_bug.cgi?id=223882
2210 2006-12-15 Dom Lachowicz <domlachowicz@gmail.com>
2212 * gtk/gtkcombobox.c: Make GtkComboBox in "appears-as-list" mode
2213 more closely resemble its Win32 counterpart. Bug #340204.
2215 2006-12-14 Carlos Garnacho <carlosg@gnome.org>
2217 * gtk/gtkcalendar.c: draw arrows pointing to the right correctly
2218 placed inside their GdkWindow. Bug #385672.
2220 2006-12-14 Christian Persch <chpe@cvs.gnome.org>
2222 * gtk/gtkiconview.c: Fix docs typo. Bug #385642.
2224 2006-12-13 Dom Lachowicz <domlachowicz@gmail.com>
2226 * src/modules/engines/ms-windows/msw_style.c: Bug 351679 - Notebooks
2227 drawn with extra line below tab in MS-Windows theme. Patch by
2230 2006-12-13 Matthias Clasen <mclasen@redhat.com>
2232 * gtk/Makefile.am: Add --unlink-tempfile to the evince call
2233 for print preview. (#370041, Ghee Teo)
2235 2006-12-11 Matthias Clasen <mclasen@redhat.com>
2237 * gtk/gtkprogressbar.c (gtk_progress_bar_paint_text): Be more
2238 careful when overdrawing antialiased text. (#352435, Alex Jones,
2239 patch by Benjamin Otte)
2241 * gtk/gtksettings.c: Change the way in which color scheme information
2242 is merged to correctly handle vanishing colors. (#374420,
2243 Benjamin Berg, patch by Callum McKenzie)
2244 Also allow to separate entries in color schemes by ';'
2247 2006-12-10 Matthias Clasen <mclasen@redhat.com>
2249 * modules/printbackends/cups/gtkcupsutils.c (gtk_cups_request_encode_option):
2250 Properly pass multi-value options to cups. (#355350, Jürg Billeter)
2252 2006-12-10 Kristian Rietveld <kris@gtk.org>
2254 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_focus_out_event):
2255 cancel editing (ie. don't accept changes) when the entry loses
2256 focus. (Fixes #164494, reported by Chris Rouch).
2258 2006-12-10 Matthias Clasen <mclasen@redhat.com>
2260 * configure.in: Correct a misapplied patch.
2262 2006-12-10 Tor Lillqvist <tml@novell.com>
2264 * gtk-zip.sh.in: Put gdk-pixbuf-query-loaders.exe and
2265 gtk-query-immodules-2.0.exe in the runtime zipfile instead of
2266 developer zipfile. Users might add pixbuf loaders or immodules
2267 even if they are not interested in developing gtk+-using software.
2269 2006-12-10 Matthias Clasen <mclasen@redhat.com>
2271 * configure.in: Check for crt_extern.h and _NSGetEnviron.
2272 * gdk/x11/gdkspawn-x11.c: Fix compilation on Darwin where
2273 environ is not available. (#384168, Min Sik Kim)
2275 2006-12-07 Paolo Maggi <paolo@gnome.org>
2279 * gtk/gtkentry.c (gtk_entry_set_text): check for
2280 completion->priv->changed_id > 0 before calling
2281 g_signal_handler_[un]block.
2282 (gtk_entry_completion_key_press): does not block/unblock the "changed"
2283 signal before calling gtk_entry_set_text.
2285 2006-12-07 Carlos Garnacho <carlosg@gnome.org>
2287 * gtk/gtkcellrendererprogress (compute_dimensions): do not use
2288 xthickness/ythickness, they aren't used any longer for drawing.
2290 2006-12-07 Matthias Clasen <mclasen@redhat.com>
2292 * gtk/gtkrc.c (_gtk_rc_init): Fix clipping of accelerator
2293 underlines by giving labels a small draw-border.
2295 2006-12-06 Kristian Rietveld <kris@gtk.org>
2297 * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_render):
2298 draw progress bar through theme engine instead of using our own
2299 custom cairo drawing code (#377244, patch from Carlos Garnacho).
2301 2006-12-06 Matthias Clasen <mclasen@redhat.com>
2303 * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities):
2304 Update the sensitivity of the collate checkbutton more frequently,
2305 proposed by Tim Waugh.
2307 2006-12-04 Matthias Clasen <mclasen@redhat.com>
2309 * gtk/gtkmessagedialog.c (setup_type): Set a11y name and role
2310 since we no longer set window titles.
2312 2006-12-04 Christian Persch <chpe@cvs.gnome.org>
2314 * gtk/gtkpagesetup.c: (gtk_page_setup_get_paper_size),
2315 (gtk_page_setup_set_paper_size): Don't leak the old page size when
2316 setting a new one. Bug #382314.
2318 2006-12-03 Michael Natterer <mitch@gimp.org>
2320 * gtk/gtktextview.c: remove FIXME #include that is no longer needed.
2322 2006-12-03 Kristian Rietveld <kris@gtk.org>
2324 Make sure [xy]_offset are always being initialized, fix pixbuf
2325 renderer padding. (#108235, Sven Neumann).
2327 * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_get_size),
2328 (gtk_cell_renderer_pixbuf_render): add padding in _render instead
2331 * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_get_size):
2332 always initialize [xy]_offset.
2333 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): ditto.
2334 * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_size):
2337 2006-12-03 Kristian Rietveld <kris@gtk.org>
2339 * gtk/gtktreeview.c (validate_visible_area): when not using an
2340 explicit alignment, use the full area of the row (not just dy)
2341 to determine how to implicitly align it. (Fixes #363191, reported
2342 by Federico Mena Quintero).
2344 2006-12-02 Matthias Clasen <mclasen@redhat.com>
2346 * gtk/gtkicontheme.c (insert_theme): Properly clean up
2347 if an icon theme index file has no directories. (#381236)
2349 2006-12-02 Dom Lachowicz <domlachowicz@gmail.com>
2351 * src/modules/engines/ms-windows/msw_style.c: Bug 351678 - Notebooks
2352 not with PositionType.Top drawn incorrectly. Patch by Cody Russell
2354 2006-11-28 Behdad Esfahbod <behdad@gnome.org>
2356 Remove the broken Thai input method and add a functional Thai and Lao
2357 input method by Theppitak Karoonboonyanan. (#81031)
2359 * modules/input/imthai.c:
2360 * modules/input/gtkimcontextthai.c:
2361 * modules/input/gtkimcontextthai.h:
2362 * modules/input/thai-charprop.c:
2363 * modules/input/thai-charprop.h:
2366 * modules/input/imthai-broken.c:
2369 * modules/input/Makefile.am:
2372 2006-11-27 Christian Persch <chpe@cvs.gnome.org>
2374 * gtk/gtkstatusicon.c: Notify when the screen changes. Bug #379793.
2376 Mon Nov 27 12:27:06 2006 Tim Janik <timj@imendio.com>
2378 * gtk/gtktextview.c: applied patch by Colin Leroy for
2379 Control+GDK_KP_Left to move one word to the left, #356255.
2381 2006-11-26 Benjamin Berg <benjamin@sipsolutions.net>
2383 * gtk/gtkstyle.c: (gtk_default_draw_flat_box): Protect against NULL
2386 2006-11-25 Matthias Clasen <mclasen@redhat.com>
2388 * modules/printbackends/cups/gtkprintbackendcups.c: Make
2389 print dialog work when 'BrowseShortNames Off' is specified
2390 in cups configuration. Patch by Tim Waugh.
2392 2006-11-24 Michael Natterer <mitch@imendio.com>
2394 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): if we
2395 can't go up/down, consult gtk_widget_keynav_failed() and leave the
2396 widget if it returns FALSE (bug #322640).
2398 2006-11-23 Behdad Esfahbod <behdad@gnome.org>
2400 * gtk/gtkmain.c: Fix minor typo in docs. (#378632, Hannes Mueller)
2402 2006-11-22 Emmanuele Bassi <ebassi@gnome.org>
2404 * gtk/gtkrecentmanager.c:
2405 (get_uri_shortname_for_display): g_filename_from_uri() might
2406 fail; catch the failure and fall back to the non-local URI
2409 2006-11-19 Mark McLoughlin <mark@skynet.ie>
2411 Fixes bug #376502 - multi-screen support for GtkStatusIcon
2413 * gtk/gtkstatusicon.[ch]:
2414 (gtk_status_icon_set_screen),
2415 (gtk_status_icon_get_screen): add multi-screen API. Allows
2416 an app to display an icon on a non-default screen
2417 (gtk_status_icon_class_init),
2418 (gtk_status_icon_set_property),
2419 (gtk_status_icon_get_property): add a "screen" property
2421 * tests/teststatusicon.c: update to test on multiple screens
2423 2006-11-17 Matthias Clasen <mclasen@redhat.com>
2425 Fix problems with drag cancellation. (#376535, Michael Natterer)
2427 * gtk/gtkdnd.c (gtk_drag_source_info_destroy): Disconnect signal
2428 handlers before emitting drag-end.
2429 (gtk_drag_end): Disconnect signal handlers before removing
2432 2006-11-16 Mariano Suárez-Alvarez <mariano@gnome.org>
2434 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
2435 add gtk-doc blurb on GtkCellRendererText::edited (#376094)
2437 2006-11-16 Michael Natterer <mitch@imendio.com>
2439 * gtk/gtkradiobutton.c (gtk_radio_button_focus): don't use
2440 gtk_widget_keynav_failed(). Instead, look at gtk-keynav-cursor-only
2441 and gtk-keynav-wrap-around and wrap around, beep or continue outside
2442 the group manually (bug #322640).
2444 2006-11-16 Michael Natterer <mitch@imendio.com>
2446 Add new infrastructure for notifications of failed keyboard
2447 navigation and navigation with restricted set of keys.
2449 The patch handles configurable beeping, navigating the GUI with
2450 cursor keys only (as in phone environments), and configurable
2451 wrap-around. Fixes bugs #322640, #70986, #318827, #334726, #334742
2454 * gtk/gtksettings.c: added properties gtk-keynav-cursor-only,
2455 gtk-keynav-wrap-around and gtk-error-bell.
2457 * gtk/gtkwidget.[ch]: added new signal "keynav-failed" and public
2458 API to emit it. Added New function gtk_widget_error_bell() which
2459 looks at the gtk-error-bell setting and calls gdk_window_beep()
2462 * gtk/gtk.symbols: add the new widget symbols.
2464 * gtk/gtkcellrendereraccel.c
2465 * gtk/gtkimcontextsimple.c
2467 * gtk/gtknotebook.c: use gtk_widget_error_bell() or look at the
2468 gtk-error-bell setting instead of calling gdk_display_beep()
2475 * gtk/gtkmenushell.c
2476 * gtk/gtkspinbutton.c
2478 * gtk/gtktreeview.c: call gtk_widget_error_bell() on failed keynav.
2483 * gtk/gtktextview.c: consult gtk_widget_keynav_failed() on failed
2484 cursor navigation and leave the widget if it returns FALSE.
2486 * gtk/gtkmenushell.c
2487 * gtk/gtknotebook.c: only wrap around if gtk-keynav-wrap-around
2490 * gtk/gtkradiobutton.c: ask gtk_widget_keynav_failed() to decide
2491 whether to to wrap-around, and don't select active items on cursor
2492 navigation if gtk-keynav-cursor-only is TRUE. Should look at
2493 gtk-keynav-wrap-around too, will look into that.
2495 2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
2497 * gtk/gtkrecentmanager.c:
2498 (gtk_recent_info_get_uri_display): Return the URI
2499 of the GtkRecentInfo object (upgraded to UTF-8 if
2500 needed) in case of non-local file. (#351945)
2502 2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
2504 * gtk/gtkrecentchoosermenu.c:
2505 (gtk_recent_chooser_menu_add_tip): Apply the tip only
2506 if we have a displayable name for the item. (#365031,
2507 patch by padraig.obriain(at)sun.com)
2509 2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
2511 * gtk/gtkrecentmanager.c: Provide a fast path returning
2512 NULL when the limit is set to 0.
2514 * gtk/gtkrecentchooserdefault.c:
2515 * gtk/gtkrecentchoosermenu.c: Add the same fast path
2516 inside the RecentChooser implementation; add a check
2517 in the list clamping code. (#373466 and duplicates)
2519 2006-11-15 Matthias Clasen <mclasen@redhat.com>
2521 * modules/printbackends/cups/gtkprintbackendcups.c (cups_printer_get_options):
2522 Don't pass NULL to strncpy. (#359537, patch by Carlos Garcia Campos)
2524 2006-11-15 Michael Natterer <mitch@imendio.com>
2526 * gtk/gtkrange.[ch]: added properties "fill-level",
2527 "show-fill-level" and "restrict-to-fill-level" and getters/setters
2528 for them. The "fill level" is an additional marker on the range's
2529 trough than can be e.g. used to indicate the amount of
2530 pre-buffering in a range showing the play position of streamed
2531 media. See the embedded API docs for details. Made GtkRangeLayout
2532 a GTypeInstance private struct and removed finalize()
2533 implementation. Fixes bug #349808
2535 * gtk/gtk.symbols: added the new symbols.
2537 2006-11-14 Behdad Esfahbod <behdad@gnome.org>
2539 * configure.in: Make libtool magic robust. (#352795)
2541 2006-11-13 Paolo Borelli <pborelli@katamail.com>
2543 * gtk/gtkrc.c (gtk_rc_parse_icon_source): plug small memory
2546 2006-11-09 Kristian Rietveld <kris@imendio.com>
2548 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): disable
2549 don't move cursor case for SELECTION_NONE. (#371756, John Ellis).
2551 2006-11-09 Carlos Garnacho <carlosg@gnome.org>
2553 * gtk/gtkpathbar.c (on_slider_unmap): Fix parenthesis confusion.
2555 2006-11-08 Carlos Garnacho <carlosg@gnome.org>
2557 * gtk/gtkpathbar.c (on_slider_unmap): added, do not leave the scroll
2558 timeout running if the slider buttons are hidden. (#372527)
2560 2006-11-08 Christian Persch <chpe@cvs.gnome.org>
2562 * gtk/gtkfilechooserdefault.c (browse_widgets_create): Don't make
2563 the "Location" label bold. Bug #372449.
2565 2006-11-07 Carlos Garnacho <carlosg@gnome.org>
2567 * gtk/gtknotebook.c (gtk_notebook_calculate_tabs_allocation): make
2568 non-focused tabs xthickness/ythickness thinner. (#353962)
2570 2006-11-07 Paolo Borelli <pborelli@katamail.com>
2572 * gtk/gtktextbtree.c (_gtk_text_btree_delete): avoid memory
2573 corruption (#357050).
2575 2006-11-06 Alexander Larsson <alexl@redhat.com>
2577 * gtk/gtkdnd.c: (gtk_drag_begin_internal),
2578 (gtk_drag_source_info_destroy), (gtk_drag_end),
2579 (gtk_drag_grab_notify_cb):
2580 Cancel drag when the grab is shadowed. (#122688)
2582 2006-11-01 Kristian Rietveld <kris@imendio.com>
2584 * gtk/gtkcombobox.c (gtk_combo_box_class_init),
2585 (gtk_combo_box_size_request): add arrow-size property to control
2586 the minimum size of the arrow, have the arrow scale up with the
2587 font by default. (#357950).
2589 2006-10-30 Kristian Rietveld <kris@gtk.org>
2591 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): don't
2592 forget to queue a draw for the new cursor node. (Fixes #366548,
2593 reported by Sven Herzberg).
2595 2006-10-30 Michael Natterer <mitch@imendio.com>
2597 * gtk/gtkrange.c (gtk_range_key_press): consume the Escape key
2598 only if we actually cancel a drag. Fixes bug #58389.
2600 2006-10-30 Kristian Rietveld <kris@gtk.org>
2602 * gtk/gtktreeview.c (gtk_tree_view_class_init): change left/right
2603 keybindings to collapse/expand rows instead of moving the focus
2604 cursor. (#105895, Brian Bober and others).
2606 2006-10-29 Kristian Rietveld <kris@gtk.org>
2608 * gtk/gtktreeview.c (gtk_tree_view_real_expand_row): guard against
2609 child removal in row-expanded callback. (#366782, John Ellis).
2611 2006-10-29 Tor Lillqvist <tml@novell.com>
2613 * gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Improve handling
2614 of the small icon of the window class. (#152620, Kazuki Iwamoto)
2616 2006-10-29 Tor Lillqvist <tml@novell.com>
2618 * gdk/win32/gdkcursor-win32.c
2619 (gdk_win32_icon_to_pixbuf_libgtk_only): Implement for B&W cursors,
2620 for instance the built-in GDK ones.
2622 2006-10-27 Kristian Rietveld <kris@gtk.org>
2624 * gtk/gtktreeview.c (validate_visible_area): rework the area_above == 0
2625 case to not overwrite the variables in the lower scope (which are
2626 used later on ...), get the path correctly and bail out when there
2627 isn't a node above us. (#359231).
2629 2006-10-26 Christian Persch <chpe@cvs.gnome.org>
2631 * gtk/gtkaboutdialog.c: Put initial focus on Close button (#337261).
2633 2006-10-25 Johan Dahlin <jdahlin@async.com.br>
2635 * gtk/gtk.symbols: Add missing symbols to so make check can pass
2637 2006-10-23 Dom Lachowicz <domlachowicz@gmail.com>
2639 * src/modules/engines/ms-windows/msw_style.c (draw_expander): Remember
2640 to free GDI Pen resources, introduced by bug 340201.(#364514)
2642 2006-10-18 Kristian Rietveld <kris@imendio.com>
2644 * tests/testcombo.c (main): connect to notify::popup-shown instead of
2645 popup-show (the latter does not exist).
2647 2006-10-15 Paolo Borelli <pborelli@katamail.com>
2649 * gtk/gtkicontheme.c (pixbuf_supports_svg): plug memory leak.
2652 2006-10-12 Michael Natterer <mitch@imendio.com>
2654 * gtk/gtkcombobox.c (gtk_combo_box_class_init): fix commit below
2655 (committed the wrong patch).
2657 2006-10-12 Michael Natterer <mitch@imendio.com>
2659 * gtk/gtkcombobox.c: added "move-active" and "popup" signals and
2660 bindings to trigger them. Removed gtk_combo_box_key_press(), it's
2661 obsolete now. Fixes bug #358293.
2663 2006-10-11 Michael Emmel <mike.emmel@gmail.com>
2665 * gdkpixmap-directfb.c: add missing RGB24 case (#361176)
2667 2006-10-11 Tor Lillqvist <tml@novell.com>
2669 * configure.in: Enable having some gdk-pixbuf loaders built-in
2670 even if loading the others dynamically. Define Automake
2671 conditional INCLUDE_FOO for each loader as TRUE if that loader is
2672 built-in. See also gdk-pixbuf/ChangeLog.
2674 Wed Oct 11 14:31:30 2006 Tim Janik <timj@imendio.com>
2676 * docs/reference/gtk/gtk-sections.txt:
2677 * gtk/gtkbindings.c: document gtk_binding_entry_skip().
2679 2006-10-11 Tor Lillqvist <tml@novell.com>
2681 * gtk/gtk.symbols: Remove gtk_combo_string_key, which is a static
2684 2006-10-11 Tor Lillqvist <tml@novell.com>
2686 Merge from 2.10 branch:
2688 * gtk/gtkmain.c (do_pre_parse_initialization): On Win32, if
2689 environment variable LC_ALL or LANG is set, set the Win32 thread
2690 locale to the corresponding locale. Then call the C library
2691 setlocale() to set the C library locale accordingly. The
2692 inconsistency mentioned below is gone. (#339756) Do some special
2693 casing for Serbia and Montenegro. Handle the Latin and Cyrillic
2694 scripts for Azeri, Uzbek and Serbian.
2695 (enum_locale_proc): Helper function for the above functionality.
2697 * gtk/gtkcalendar.c (gtk_calendar_init): No longer need to check
2698 if the environment variables are set here, as they have already
2699 been taken into account and the Win32 thread locale has been
2702 Tue Oct 10 16:38:23 2006 Tim Janik <timj@imendio.com>
2704 * gtk/tmpl/gtkbindings.sgml:
2705 * gtk/gtkbindings.c: applied patch from Michael Natterer to move to
2706 inline docs. applied wording fixes suggested by Martyn Russell.
2708 2006-10-09 Matthias Clasen <mclasen@redhat.com>
2710 * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
2711 Update the docs to state which out parameters may be NULL.
2712 (#360870, Attilio Fiandrotti)
2714 2006-10-08 Matthias Clasen <mclasen@redhat.com>
2716 * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities): Fix
2717 a typo. (#359542, Ghee Teo)
2719 2006-10-08 Matthias Clasen <mclasen@redhat.com>
2721 * gtk/gtknotebook.c (gtk_notebook_reorder_tab): Only
2722 reorder tabs if the focus is in the tab. (#350342, Carlos
2725 2006-10-08 Michael Emmel <mike.emmel@gmail.com>
2727 * gdk/directfb/gdkproperty-directfb.c strdup atom name (#357611)
2729 2006-10-08 Kristian Rietveld <kris@gtk.org>
2731 * gtk/gtktreeview.[ch] (gtk_tree_view_set_property),
2732 (gtk_tree_view_set_show_expanders),
2733 (gtk_tree_view_get_show_expanders): add getter/setter for
2734 show-expanders property, queue a redraw when this property
2735 is toggled (#351167, Martin Ejdestig),
2736 (gtk_tree_view_set_level_indentation),
2737 (gtk_tree_view_get_level_indentation): also add getter/setter
2738 and docs for level-indentation property.
2740 2006-10-08 Matthias Clasen <mclasen@redhat.com>
2742 * gtk/gtkradiobutton.c (gtk_radio_button_focus): Don't
2743 leak a list. (#360350, Benjamin Berg)
2745 * Apply a cleanup patch by Kjartan Maraas (#341812)
2747 2006-10-07 Tor Lillqvist <tml@novell.com>
2749 * gtk/gtkcalendar.c (gtk_calendar_init): Use the Win32 thread
2750 locale's first day of week setting on Win32. (#339752, Bogdan
2751 Nicula) Don't do this if one of the environment variables that
2752 affect gettext is set, though. In that case use the week start day
2753 from the corresponding message catalog.
2755 Unfortunately the same logic isn't possible in the weekday and
2756 month name lookup; there even if you have set one of the
2757 aforementioned environment variables, you still get the weekday
2758 and month names from the Win32 thread locale. Yes, this is
2761 Use only wide-character API in the Win32 code in this file, too.
2763 2006-10-06 Matthias Clasen <mclasen@redhat.com>
2765 * gtk/gtkfilechooser.c (gtk_file_chooser_set_select_multiple):
2766 Fix the docs. (#360112)
2768 * gtk/gtkcellview.c: Don't set the background of the
2769 window in a no-window widget. (#359581, Xan Lopez)
2772 2006-10-05 Behdad Esfahbod <behdad@gnome.org>
2774 * gtk/Makefile.am, gtk/aliasfilescheck.sh: Propagate srcdir into the
2775 test correctly. (#359845)
2777 2006-10-05 Michael Natterer <mitch@imendio.com>
2779 * gtk/gtkrc.[ch]: added new scanner token "unbind" which gets
2780 rid of a key binding (in fact, it only lets it appear unbound).
2782 * gtk/gtkbindings.[ch] (struct GtkBindingEntry): added
2783 "guint marks_unbound : 1"
2785 (gtk_binding_entry_skip): new API which marks the entry as unbound.
2787 Changed code so it returns FALSE when "marks_unbound == TRUE" is
2788 encountered while activating bindings, effectively letting the
2789 binding appear unbound (regardless of still existing bindings in
2790 lower binding priority levels). Fixes bug #358329.
2792 (gtk_binding_entry_add)
2793 (gtk_binding_entry_clear)
2794 (gtk_binding_entry_add_signall)
2795 (gtk_binding_parse_binding): deprected these functions.
2797 (_gtk_binding_parse_binding)
2798 (_gtk_binding_entry_add_signall): new internal API.
2800 * gtk/gtk.symbols: changed accordingly.
2802 2006-10-03 Matthias Clasen <mclasen@redhat.com>
2804 Fix interaction of GtkEntryCompletion with input
2805 methods. (#354495, Diego Escalante Urrelo)
2807 * gtk/gtkentry.c (gtk_entry_completion_key_press): Only reset
2808 the im context if we actually handle the key event.
2810 * gtk/gtkentrycompletion.c: Also propagate key release events
2813 2006-10-03 Matthias Clasen <mclasen@redhat.com>
2815 * gtk/gtkprintsettings.c (gtk_print_settings_get_duplex):
2816 Fix a typo. (#359052, Ghee Teo)
2818 * gtk/*.c, gdk/*.c: Apply a patch by Behdad Esfahbod to
2819 reduce relocations. (#359053)
2821 2006-10-03 Matthias Clasen <mclasen@redhat.com>
2823 * modules/printbackends/cups/gtkcupsutils.c:
2824 * modules/printbackends/cups/gtkprintbackendcups.c: Complete
2825 the fix for bug 357280.
2827 2006-10-02 Behdad Esfahbod <behdad@gnome.org>
2829 * gdk-pixbuf/Makefile.am:
2832 Include pltcheck.sh in EXTRA_DIST.
2834 2006-10-02 Behdad Esfahbod <behdad@gnome.org>
2836 * gdk/x11/gdkevents-x11.c: Move all includes before including
2839 2006-10-02 Behdad Esfahbod <behdad@gnome.org>
2841 * gtk/Makefile.am: Fix typo in file name. (#358931)
2843 2006-10-02 Matthias Clasen <mclasen@redhat.com>
2845 * modules/printbackends/cups/gtkprintbackendcups.c (available_choices):
2846 Only use the group name field if cups is new enough. (#357280)
2848 * gtk/gtksizegroup.c: Make sure that the quarks are
2849 initialized before using them. (#353736)
2851 * gtk/Makefile.am (stamp-icons): Use rm instead of ln -f to
2852 replace existing links. (#354849, James Evans)
2854 2006-10-01 Matthias Clasen <mclasen@redhat.com>
2856 * gtk/gtkexpander.c (gtk_expander_realize)
2857 (gtk_expander_size_allocate): Make the event_window large
2858 enough to cover the full height of the label_widget. (#358351,
2861 2006-10-01 Tor Lillqvist <tml@novell.com>
2863 * gtk/gtkfilesystemwin32.c: Same change as to gtkfilesystemunix.c.
2865 2006-09-30 Matthias Clasen <mclasen@redhat.com>
2867 * gtk/gtkfilechooserbutton.c (update_combo_box): Protect
2868 against base_path being NULL. (#358405, many reporters)
2870 2006-09-29 Matthias Clasen <mclasen@redhat.com>
2872 * gtk/gtkfilesystemunix.c: Apply a patch by Padraig O'Briain
2873 to avoid a deadlock.
2875 2006-09-27 Kristian Rietveld <kris@imendio.com>
2877 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_free_level),
2878 (gtk_tree_model_filter_ref_node),
2879 (gtk_tree_model_filter_real_unref_node): bring zero ref count loops
2880 in sync with each other and the sort model.
2882 2006-09-27 Kristian Rietveld <kris@imendio.com>
2884 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_init),
2885 (gtk_tree_model_filter_finalize), (gtk_tree_model_filter_row_deleted),
2886 (gtk_tree_model_filter_new): unref the virtual root path once that
2887 node (or one if its ancestors) is deleted, set virtual_root_deleted
2888 so we only unref it once.
2890 2006-09-27 Kristian Rietveld <kris@imendio.com>
2892 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_changed),
2893 (gtk_tree_model_sort_sort_level): ref count nodes the proper way,
2894 (gtk_tree_model_sort_ref_node), (gtk_tree_model_sort_real_unref_node),
2895 (gtk_tree_model_sort_free_level): bring zero ref count loops in
2897 (gtk_tree_model_sort_free_level): free child levels before
2898 decreasing the zero ref count of the current level,
2899 (gtk_tree_model_sort_clear_cache): only clear cache if zero_ref_count
2902 2006-09-25 Matthias Clasen <mclasen@redhat.com>
2904 * demos/gtk-demo/*.c:
2905 * gtk/gtkeventbox.c:
2906 * gtk/gtkprintoperation.c: Fix typos. String change.
2908 2006-09-25 Kristian Rietveld <kris@gtk.org>
2910 * gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): if the tree view
2911 has already been realized; scroll to background area instead of
2912 cell area. (Fixes #330683, Johan Dahlin, Tommi Komulainen).
2914 2006-09-25 Kristian Rietveld <kris@gtk.org>
2916 * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): only attempt
2917 to create the GCs if the widget is realized. (Fixes #357578).
2919 2006-09-25 Matthias Clasen <mclasen@redhat.com>
2921 * gtk/gtkuimanager.c (_gtk_menu_is_empty): Don't leak
2922 the list of children (#357454, Paolo Borelli)
2924 2006-09-25 Michael Natterer <mitch@imendio.com>
2926 * gdk/x11/gdkdisplay-x11.c (gdk_display_x11_finalize): free
2927 display->input_windows with g_free(), not g_object_unref()
2928 (#357566, Tommi Komulainen).
2930 2006-09-24 Kristian Rietveld <kris@gtk.org>
2932 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init),
2933 (gtk_cell_renderer_text_[sg]et_property): actually add align-set
2934 property to the API (left-over patch from #157439).
2936 2006-09-24 Kristian Rietveld <kris@gtk.org>
2938 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button): draw
2939 the indicator if the column has a sort column id (and the model is
2940 sortable) or if the user explicitly requested the indicator
2941 to be shown. (Fixes #352738, Chris Vine).
2943 2006-09-23 Tor Lillqvist <tml@novell.com>
2945 * gtk/Makefile.am: Use EXEEXT.
2947 2006-09-22 Michael Natterer <mitch@imendio.com>
2949 * gtk/gtkstyle.c (gtk_style_real_copy): also copy icon factories
2950 and color hashes. Fixes bug #357132.
2952 2006-09-22 Matthias Clasen <mclasen@redhat.com>
2954 Make remote bookmarks work better (#354887)
2956 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons):
2957 (shortcuts_insert_path):
2958 * gtk/gtkfilechooserbutton.c (change_icon_theme):
2959 (model_add_bookmarks):
2960 (model_update_current_folder):
2961 (update_label_and_image):
2962 If the bookmark points to a remote file, don't call get_info(),
2963 since that may a) take a long time and b) pop up an auth dialog.
2964 Instead, just use a folder icon and create a display name
2967 * gtk/gtkfilechooserdefault.c (_gtk_file_chooser_label_for_uri):
2968 New function to create a suitable display name for a remote
2969 uri. This should really be done in GtkFileSystem.
2971 2006-09-21 Michael Natterer <mitch@imendio.com>
2973 Implement lots of value setters for GdkGC, based on a heavily
2974 modified patch from Thomas Broyer (bug #328853):
2976 * gdk/quartz/gdkcolor-quartz.c: removed functions which set colors
2977 on the CGContext. Instead, added gdk_quartz_get_rgba_from_pixel()
2978 which simply returns RGBA values from a GdkColor's pixel value.
2979 See gdk_quartz_update_context_from_gc() below.
2981 * gdk/quartz/gdkprivate-quartz.h (struct GdkGCQuartz): added lots
2982 of members for the newly suppored GC values. Added enum
2983 GdkQuartzContextValuesMask which is used for setting up the
2984 CGContext for filling and/or stroking.
2986 * gdk/quartz/gdkgc-quartz.c (gdk_quartz_gc_get_values)
2987 (gdk_quartz_gc_set_values)
2988 (_gdk_windowing_gc_copy): support a lot more GC values.
2990 (gdk_quartz_update_context_from_gc): added
2991 GdkQuartzContextValuesMask parameter and set filling/stroking
2992 parameters accordingly. This function also gained full control
2993 over the FG and BG colors (they can't be set separately any more).
2995 The stipple mask part of the patch doesn't work but seems to take
2996 the right approach and doesn't make things worse, so I applied it.
2998 Did *not* apply the clipping part of the patch since I don't
2999 understand it (I don't understand the version in CVS either, but
3000 it at least works :-)
3002 * gdk/quartz/gdkdrawable-quartz.c: pass the right masks to
3003 gdk_quartz_update_context_from_gc() and removed separate color
3004 setting calls. Some minor fixes.
3006 * gdk/quartz/gdkwindow-quartz.c
3007 (gdk_window_impl_quartz_begin_paint_region): set the CGContext's
3008 fill color manually. We don't have/need a GC here.
3010 2006-09-21 Michael Natterer <mitch@imendio.com>
3012 * gdk/quartz/gdkwindow-quartz.c
3013 (gdk_window_impl_quartz_begin_paint_region): fix cast: it's
3014 drawable_impl->wrapper that is the GdkWindow, not the
3015 drawable_impl itself.
3017 2006-09-20 Behnam Esfahbod <behnam@zwnj.org>
3019 * gdk/x11/gdkkeys-x11.c:
3020 (get_direction): just check the first shift-level of keyboard
3021 layout for RTL and LTR keysyms() (compliment to #116626)
3023 Wed Sep 20 16:59:38 2006 Tim Janik <timj@imendio.com>
3025 * gtk/gtkviewport.c: always update the bin_window position and size
3026 in size_allocate, even if we don't have a visible child. this fixes
3027 expose artefacts as described in #313508.
3029 * gtk/gtkscrolledwindow.c: make hiding of automatic scrollbars when we
3030 have no visible child explicit.
3032 2006-09-19 Ryan Lortie <desrt@desrt.ca>
3034 * docs/reference/gdk/gdk-sections.txt:
3037 * gdk/gdkpango.c: Bug 355343. Add a GdkPangoAttrEmbossColor.
3038 (gdk_pango_layout_get_clip_region): Remove an unused variable.
3039 (gdk_pango_attr_embossed_new): Fix documentation.
3041 Tue Sep 19 17:00:04 2006 Tim Janik <timj@imendio.com>
3043 * gtk/gtkarrow.c: added GtkArrow::arrow-scaling style property to
3044 control the arrow/border ratio within the allocation.
3046 * tests/testgtk.c: added a GtkArrow to handle box test.
3048 * tests/testgtkrc: test ::arrow-scaling property.
3050 2006-09-19 Matthias Clasen <mclasen@redhat.com>
3052 * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
3053 Display an error when we come to the root.
3055 2006-09-16 Matthias Clasen <mclasen@redhat.com>
3057 * gtk/gtkfilechooserbutton.c: Use bookmark labels in
3060 * gtk/gtkfilechooserbutton.c: Don't add remote volumes and
3061 bookmarks to the model in local-only mode, to avoid
3062 authentication dialogs pop up for invisible bookmarks, and
3063 to fix issues with separators not being hidden when
3064 they should. (#354887, Dennis Cranston)
3066 2006-09-16 Matthias Clasen <mclasen@redhat.com>
3068 * gtk/gtkcombobox.c (gtk_combo_box_finalize): Unref the
3069 treeview use in list mode. (#355732, Richard Hult)
3071 * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): Send
3072 change notification for the right property. (#355308,
3075 2006-09-15 Michael Natterer <mitch@imendio.com>
3077 * gtk/gtktreeview.c (gtk_tree_view_key_press): refactored column
3078 header navigation/resizing/reordering to be more readable and lose
3079 one level of nesting.
3081 2006-09-15 Kristian Rietveld <kris@imendio.com>
3083 * gtk/gtktreeview.c (gtk_tree_view_key_press): actually directly
3084 return after handling column button focus; we disable wrap around
3085 with this (which actually happened via a really weird code path).
3088 2006-09-15 Kristian Rietveld <kris@imendio.com>
3090 * gtk/gtktreeview.c (gtk_tree_view_key_press): make column resizing
3091 code RTL aware, also break from the loops after we have seen the
3092 focussed column button (Michael Natterer).
3094 Thu Sep 14 12:28:51 2006 Tim Janik <timj@imendio.com>
3096 * tests/testrichtext.c (main): intialize random number generator state
3097 upon program start, to enable truely random testing.
3099 2006-09-13 Michael Emmel <mike.emmel@gmail.com>
3101 * gdk/directfb/gdkcolor-directfb.c small clean ups include order
3102 * gdk/directfb/gdkwindow-directfb.c fixed beep compile error
3103 * gdk/directfb/Makefile.am removed GDK_PIXBUF_DISABLE_DEPRECATED
3104 GDK_DISABLE_DEPRECATED to allow compile per Behdad
3105 * gdk/quartz/Makefile.am same change as directfb Makefile
3106 * gtk/Makefile.am fixed typo that cause socket stubs not to compile
3108 2006-09-13 Matthias Clasen <mclasen@redhat.com>
3110 * gtk/gtkcolorsel.c: Use a GtkWindow instead of a GtkInvisible
3111 for the grab widget, to make the color picker work with window
3114 2006-09-12 Hong Jen Yee <pcman.tw@gmail.com>
3116 signed off by: Dom Lachowicz
3118 * modules/engines/ms-windows/msw_style.c: Bug 340201. This contains
3119 a large number of improvements to the Microsoft Windows theme engine
3120 which are fully described in the bug report.
3122 Mon Sep 11 14:22:39 2006 Tim Janik <timj@imendio.com>
3124 * tests/testgtk.c: fixed compiler warnings.
3126 2006-09-10 Matthias Clasen <mclasen@redhat.com>
3128 * gtk/gtkfilechooserbutton.c (model_add_special): Request
3129 the display name too, otherwise "Desktop" does not appear
3130 in the file chooser button.
3132 2006-09-10 Tor Lillqvist <tml@novell.com>
3134 * gdk/win32/gdkprivate-win32.h
3135 * gdk/win32/gdkmain-win32.c
3136 * gdk/win32/gdkwindow-win32.c: Define WINVER and _WIN32_WINNT as
3137 0x0500 in gdkprivate-win32.h instead of doing it in two source
3138 files. (#355212, Mike Edenfield)
3140 * gdk/win32/gdkwindow-win32.c: We can also remove the ersatz
3141 GetAncestor() for the _MSC_VER && WINVER < 0x0500 case, I hope.
3143 2006-09-10 Matthias Clasen <mclasen@redhat.com>
3145 * Commit a patch by Behdad to fix typos, omissions and other
3146 errors in the symbol aliasing, and add checks for local PLT
3147 entries. (#354687, Behdad Esfahbod)
3149 * gtk/gtktreeview.c (gtk_tree_view_search_scroll_event): Renew
3150 the flush timeout. (#354043, Nelson Benitez)
3152 * gtk/gtkfilechoosersettings.c (set_unexpected_element_end_error):
3153 Improve wording. String change! (#355126, David Lodge)
3155 * gtk/updateiconcache.c: Improve wording. String change! (#355128,
3158 * gtk/paper_names_offsets.c: Fix a typo. String change! (#355134,
3161 2006-09-09 Matthias Clasen <mclasen@redhat.com>
3163 * gdk/x11/gdkfonts-x11.c: Fix small theoretical memory leaks.
3164 (#353916, Chris Wilson)
3166 * gtk/gtksettings.c (_gtk_settings_reset_rc_values):
3167 Don't leak the to_reset list. (#353914, Chris Wilson)
3169 * gtk/gtkwidget.c: Add docs for the parent-set signal.
3170 (#353772, Mariano Suárez-Alvarez)
3172 2006-09-08 Matthias Clasen <mclasen@redhat.com>
3174 * gtk/gtktextbuffer.c (remove_all_selection_clipboards):
3175 Don't clear clipboards here, since we are called from finalize
3176 and can't emit signals.
3178 * configure.in: Set version to 2.11.0
3180 2006-09-06 Richard Hult <richard@imendio.com>
3182 * gdk/quartz/gdkkeys-quartz.c: (maybe_update_keymap): Special-case
3183 shift-tab and map it to GDK_ISO_Left_Tab, fixes bug #350806.
3185 2006-09-04 Kristian Rietveld <kris@imendio.com>
3187 * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
3188 if setting the given folder failed, try setting the parent folder
3189 until we succeed; display an error box at the end.
3191 2006-09-04 Kristian Rietveld <kris@imendio.com>
3193 * gtk/gtkpathbar.c (gtk_path_bar_dispose): don't cancel the
3194 operations spawned by buttons here,
3195 (set_button_image_get_info_cb): bail out if button is NULL, but
3196 do free button_data,
3197 (button_data_free): only free the data if non NULL (since this
3198 function can be called multiple times for the same data), cancel
3199 handle if pending but don't free button_data in this case (will
3200 happen in the callback).
3202 2006-09-04 Michael Natterer <mitch@imendio.com>
3204 * gtk/gtkrc.c (rc_parse_token_or_compound)
3205 (gtk_rc_parse_assignment): serialize floating point values using
3206 locale-independent functions. (#346751, Frederic Crozat)
3208 2006-09-04 Tor Lillqvist <tml@novell.com>
3210 * gdk/win32/gdkevents-win32.c
3211 * gdk/win32/gdkwindow-win32.c: Use wide-char API for message and
3212 window handling (PeekMessage, PostMessage, SendMessage,
3213 DispatchMessage, DefWindowProc, RegisterClassEx,
3214 CreateWindowEx). (#321597)
3216 2006-09-03 Kristian Rietveld <kris@imendio.com>
3218 * gtk/gtkfilechooserdefault.c (save_entry_get_info_cb),
3219 (file_exists_get_info_cb), (gtk_file_chooser_default_should_respond):
3220 change file_exists_and_is_not_folder checks to get the file info
3221 for the path directly instead of querying the current file folder
3224 * gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault): add
3227 * tests/autotestfilechooser.c (wait_for_idle_idle), (wait_for_idle),
3228 (test_reload_sequence), (test_button_folder_states_for_action): wait
3229 for idle after setting a folder to ensure the async operations to load
3230 the folder are finished,
3231 (test_confirm_overwrite), (test_confirm_overwrite_for_path):
3232 factor out test_confirm_overwrite code so we can add tests for more
3235 2006-09-03 Richard Hult <richard@imendio.com>
3237 * gdk/quartz/GdkQuartzView.c (drawRect): Don't do anything if
3238 exposure isn't in the event mask, plug a leak, and check that the
3239 window isn't destroyed.
3240 (isOpaque): Check that the window isn't destroyed, fixes bug
3243 2006-09-03 Matthias Clasen <mclasen@redhat.com>
3245 * gtk/gtkwidget.c (gtk_widget_class_init): Fix a typo.
3246 (#354035, Mariano Suárez-Alvarez)
3248 * gtk/gtkmain.c (post_parse_hook):
3249 * gdk/gdk.c (gdk_init): Handle display_name being NULL.
3250 (#354004, Chris Wilson)
3252 2006-09-03 Tor Lillqvist <tml@novell.com>
3254 * gdk/win32/gdkwindow-win32.c (gdk_window_beep): No
3255 GDK_WINDOW_DISPLAY in the Win32 backend.
3257 * gtk/gtkfilesystemwin32.c: Copy what Kris did to
3260 2006-09-02 Kristian Rietveld <kris@imendio.com>
3262 First part of file chooser fixes.
3264 * gtk/gtkfilechooserbutton.c (model_add_special): also set the
3265 handle in the model for the desktopdir case.
3267 * gtk/gtkfilechooserdefault.c (shortcuts_add_current_folder): free
3268 volume in case we retrieved it but don't pass it on to insert_path,
3269 (shortcuts_model_create): change the column type for the handles
3270 to pointer instead of GObject so our handle ref counting is not
3272 (show_and_select_paths_finished_loading): don't forget to unref
3275 * gtk/gtkfilesystemunix.c (gtk_file_system_unix_class_init),
3276 (gtk_file_system_unix_init), (gtk_file_system_unix_dispose):
3277 remove pending execute_callbacks_idle during dispose, also
3278 execute all callbacks waiting to be run in the next idle,
3279 (queue_*callback), (execute_callbacks_idle): refactor to maintain
3280 a list of callbacks to call per file system instead of globally,
3281 guard the file system during callback invocation,
3282 (gtk_file_system_unix_get_folder): only add load folder idle if
3283 none has been added yet.
3285 2006-09-01 Matthias Clasen <mclasen@redhat.com>
3287 * gtk/gtkentry.c: Don't unnecessarily reset the im context
3288 when deleting the selection. (#353803, Alex Larsson)
3290 2006-09-01 Abel Cheung <abel@oaka.org>
3292 * configure.in: Added 'ang' 'dz' to ALL_LINGUAS.
3294 2006-08-31 Matthias Clasen <mclasen@redhat.com>
3296 Stop cursor blinking after a configurable timeout.
3297 (#353670, #352442, Arjan van de Ven, Manu Cornet)
3299 * gtk/gtksettings.c (gtk_settings_class_init): Add a
3300 gtk-cursor-blink-timeout setting, which specifies the number
3301 of seconds that the cursor should blink after a user interaction.
3302 The default value is G_MAXINT to preserve the current behaviour.
3304 * gtk/gtkentry.c (blink_cb): Stop blinking after blink-timeout
3307 * gtk/gtkentry.c (gtk_entry_completion_key_press)
3308 (gtk_entry_button_press, gtk_entry_focus_in): Reset the
3311 * gtk/gtktextview.c (blink_cb): Stop blinking after blink-timeout
3314 * gtk/gtktextview.c (gtk_text_view_key_press_event)
3315 (gtk_text_view_button_press_event, gtk_text_view_focus_in_event):
3316 Reset the blink timer.
3318 2006-08-31 Matthias Clasen <mclasen@redhat.com>
3320 * gtk/gtkprintoperation-unix.c (get_print_dialog): Don't specify
3321 explicit format capabilities. (#346505, Christian Persch)
3323 * modules/printbackends/cups/gtkprintbackendcups.c (cups_request_printer_list_cb): Send printer-list-done on error.
3325 2006-08-31 Michael Natterer <mitch@imendio.com>
3327 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Fix build.
3329 2006-08-30 Richard Hult <richard@imendio.com>
3331 * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep): Fix build.
3333 2006-08-30 Matthias Clasen <mclasen@redhat.com>
3335 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Only use XKB
3336 for beeping if we are using XKB.
3338 2006-08-29 Matthias Clasen <mclasen@redhat.com>
3342 * gdk/directfb/gdkwindow-directfb.c (gdk_window_beep):
3343 * gdk/win32/gdkwindow-win32.c (gdk_window_beep):
3344 * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep):
3345 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Add a function
3346 to beep on a window. For X11, implement this with
3347 XkbBell. (#353455, Mariano Suárez-Alvarez)
3349 2006-08-29 Tor Lillqvist <tml@novell.com>
3351 Remove support for Windows 9x/ME. GTK+ hasn't worked on Win9x
3352 since 2.6 or 2.8. It's pointless to keep the Win9x code in here as
3353 it isn't being maintained anyway. If somebody is interested, it
3354 can always be found in older GTK+ versions, and in CVS.
3359 * gdk/win32/Makefile.am
3360 * gdk/win32/libie55uid.la
3361 * gdk/win32/gdkevents-win32.c: Remove the --with-ie55 configure
3362 switch and associated stuff. Active IMM and the <dimm.h> header
3363 was used for IM support on NT4 and Win9x. Win2k and later have IM
3366 * gdk/win32/gdkcursor-win32.c
3367 * gdk/win32/gdkdnd-win32.c
3368 * gdk/win32/gdkdrawable-win32.c
3369 * gdk/win32/gdkevents-win32.c
3370 * gdk/win32/gdkgc-win32.c
3371 * gdk/win32/gdkglobals-win32.c
3372 * gdk/win32/gdkkeys-win32.c
3373 * gdk/win32/gdkmain-win32.c
3374 * gdk/win32/gdkproperty-win32.c
3375 * gdk/win32/gdkselection-win32.c
3376 * gdk/win32/gdkwindow-win32.c: Remove the G_WIN32_IS_NT_BASED()
3377 and G_WIN32_HAVE_WIDECHAR_API() tests and their false (Win9x)
3378 branches, and any variables or static functions used only by the
3381 * gdk/win32/gdkprivate-win32.h: Remove backup definitions for
3382 constants that aren't missing from current mingw and MSVC6
3385 * gdk/win32/gdkmain-win32.c
3386 * gdk/win32/gdkprivate-win32.h: Remove the _gdk_win32_gdi_failed()
3387 function. On NT-based Windows GetLastError() returns error codes
3388 also for failed GDI calls, so we can use _gdk_win32_api_failed()
3391 2006-08-29 Emmanuele Bassi <ebassi@gnome.org>
3393 * gtk/gtkrecentchoosermenu.c
3394 (gtk_recent_chooser_menu_set_current_uri): Break when an item
3395 is found and activated. (#353449, based on a patch by Jan Arne
3398 Fri Jul 14 16:13:37 2006 Tim Janik <timj@gtk.org>
3400 * gtk/gtkprogressbar.c: introduced ::xspacing and ::yspacing style
3401 properties which make all hardcoded padding and spacing values
3402 configurable. properly swap ::text-xalign treatment for RTL widgets.
3404 * gtk/gtkprogress.c: fixed style property blurbs. made alignment
3405 proeprty more consistent with GtkMisc alignment blurbs. mention
3406 RTL treatment for text-xalign.
3408 Tue Aug 29 11:57:40 2006 Tim Janik <timj@imendio.com>
3410 * tests/testgtk.c: allow (most) windows to be resizable.
3411 added ellipsization settings to progress bars.
3413 2006-08-28 Matthias Clasen <mclasen@redhat.com>
3415 * modules/printbackend/cups/gtkprintbackendcups.c: Use a
3416 resonable timeout of 3 seconds when polling for printer
3417 list updates, instead of 300000 seconds...
3419 2006-08-28 Michael Natterer <mitch@imendio.com>
3421 * gtk/gtktextbufferserialize.c (serialize_text): don't write out
3422 </apply_tag> for tags that have already been closed by the logic
3423 which turns overlapping spans into XML-able trees. Fixes broken
3424 XML when there are overlapping tags in the buffer. Also free two
3425 leaked GLists and did some cleanup.
3428 * tests/testrichtext.c: new test which creates randomly tagged
3429 GtkTextBuffers and serializes/deserializes them.
3431 2006-08-26 Matthias Clasen <mclasen@redhat.com>
3433 * gtk/gtkstatusicon.c (gtk_status_icon_reset_image_data):
3434 Don't leak pixbufs. (#352264, Ross Burton)
3436 * gtk/gtklinkbutton.c (set_link_underline): Don't leak
3437 PangoAttributes. (#352391, Paolo Borelli)
3439 2006-08-25 Matthias Clasen <mclasen@redhat.com>
3441 * demos/gtk-demo/Makefile.am:
3442 * demos/gtk-demo/textscroll.c: Add an example of automatic
3443 scrolling, thanks to Yevgen Muntyan. (#351206)
3445 * gtk/gtkmodules.c (find_module): Use local binding when
3446 loading modules. (#351868)
3448 2006-08-24 Michael Natterer <mitch@imendio.com>
3450 * gdk/quartz/gdkdisplay-quartz.c (gdk_display_get_name): return
3451 the hostname instead of NULL.
3453 2006-08-23 Matthias Clasen <mclasen@redhat.com>
3455 * gtk/gtkprinteroptionwidget.[hc]: Fix confusion about
3456 names and values in comboboxes, and clean up some
3457 coding style issues.
3459 2006-08-23 Tor Lillqvist <tml@novell.com>
3461 * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_make_path):
3462 Revert unintended translatable string addition. Use same string
3463 in GError as in gtkfilesystemunix.c.
3465 * gtk/gtkfilesystemwin32.c (_gtk_file_system_win32_path_compare):
3466 Fix logic at the end of strings.
3468 * gtk/gtkfilesystemwin32.c: Maintain a hash table of live
3469 handles and check that we have no outstanding handles at
3470 finalization time. (Copying what Matthias did for
3471 gtkfilesystemunix.c)
3473 2006-08-23 Matthias Clasen <mclasen@redhat.com>
3475 * gtk/gtkfilesystemunix.c: Maintain a hash table
3476 of live handles and check that we have no outstanding
3477 handles at finalization time. (Copying what
3478 Federico did for gtkfilesystemgnomevfs.c)
3480 2007-08-22 Matthias Clasen <mclasen@redhat.com>