1 2006-01-08 Peter Teichman <peter@novell.com>
3 * gtk/gtkfilechooserdefault.c:
4 * gtk/gtkfilechooserprivate.h:
5 * gtk/gtkfilechoosersettings.c:
6 * gtk/gtkfilechoosersettings.h:
7 Save the expanded state of the folder browser with the file
8 chooser settings. Resolves the expander portions of (#153828,
11 2007-01-08 Emmanuele Bassi <ebassi@gnome.org>
13 * gtk/gtkrecentchoosermenu.c (gtk_recent_chooser_menu_create_item):
14 Don't leak the icon pixbuf after setting it to the image menu
15 item. Found by Paolo Borelli.
17 2007-01-08 Matthias Clasen <mclasen@redhat.com>
19 * gtk/gtktreemodel.c (gtk_tree_path_to_string): Don't
20 corrupt memory when faced with paths with ridiculously
21 large indices. Found by the GTKVTS test suite.
23 2007-01-08 Matthias Clasen <mclasen@redhat.com>
25 * gtk/gtkmodules.c (_gtk_modules_init): Set
26 default_display_opened before loading modules. (#393102,
29 2007-01-07 Matthias Clasen <mclasen@redhat.com>
31 * gtk/gtktextview.c (gtk_text_view_set_border_window_size):
32 Call text_window_realize() with the correct parameters.
33 (#393813, Yevgen Muntyan)
35 2007-01-07 Matthias Clasen <mclasen@redhat.com>
37 * gtk/gtkstatusbar.c: Move docs inline, and expand them
40 2007-01-06 Matthias Clasen <mclasen@redhat.com>
42 * gtk/gtklabel.c: Make line wrapping work with width-chars
43 and max-width-chars, and simplify the storage of wrap-width.
44 (#322580, Itai Bar-Haim)
46 2007-01-06 Tor Lillqvist <tml@novell.com>
48 * gdk/win32/cursor.bdf: New file. Downloaded from
49 freedesktop.org's webcvs. Slighly edited cursors "crosshair",
50 "diamond_cross", "draft_large", "gobbler" and "target" to fix
51 #392504. It is possible that the same end result could have been
52 achieved by tweaking bdfcursor.c instead.
54 * gdk/win32/bdfcursor.c: Add optional debugging output.
56 * gdk/win32/xcursors.h: Regenerated.
58 2007-01-05 Matthias Clasen <mclasen@redhat.com>
60 * gtk/gtknotebook.c (gtk_notebook_set_menu_label_text): Left-align
61 menu labels. (#393255, Michail Crayson)
63 2007-01-05 Kristian Rietveld <kris@gtk.org>
65 * gtk/gtktreeview.c (gtk_tree_view_dy_to_top_row): handle tree
66 == NULL. (Fixes #392685, reported by Yevgen Muntyan).
68 2007-01-05 Kristian Rietveld <kris@gtk.org>
70 * gtk/gtktreeview.c (gtk_tree_view_row_changed): do allow to
71 invalidate nodes if the tree view is not realized. (#363147,
72 Carlos Garnacho, Miguel Cabrera).
74 2007-01-05 Matthias Clasen <mclasen@redhat.com>
76 * gtk/gtkmenu.c (gtk_menu_paint): Take the scroll arrow into
77 account when drawing the background. (#393166, Benjamin Berg)
79 2007-01-05 Behdad Esfahbod <behdad@gnome.org>
81 * gtk/gtklabel.c (get_layout_location): Fix broken width computation,
84 2007-01-05 Carlos Garnacho <carlosg@gnome.org>
86 * gtk/gtknotebook.c (gtk_notebook_size_request): take into account
87 both scroll arrows when calculating size request in GTK_POS_LEFT or
88 GTK_POS_RIGHT notebooks. (#393124, reported by Christian Persch)
90 2007-01-05 Michael Natterer <mitch@imendio.com>
92 * gtk/gtkwindow.c (gtk_window_key_release_event): chain up to
93 the right function (fix taken from maemo-gtk).
95 2007-01-05 Behdad Esfahbod <behdad@gnome.org>
98 * gdk/gdkpango.c (gdk_draw_layout_line_with_colors),
99 (gdk_draw_layout_with_colors):
100 * gdk/gdkwindow.c (gdk_window_draw_glyphs_transformed):
101 Avoid overflow when converting coordinates to Pango units. (#332266,
104 2007-01-04 Matthias Clasen <mclasen@redhat.com>
106 * gtk/gtkcombobox.c (gtk_combo_box_popup): move set_cursor
107 after realization of the popup window, so clamp node doesn't fail.
108 (#346616, Tommi Komulainen, patch by Kristian Rietveld).
110 2007-01-04 Behdad Esfahbod <behdad@gnome.org>
112 * gtk/gtklabel.c (get_layout_location): Fix uninitialized width
115 2007-01-04 Matthias Clasen <mclasen@redhat.com>
118 * gdk-pixbuf/Makefile.am:
120 * gdk/win32/rc/gdk.rc.in: Cross-compilation fixes.
121 (#392646, Yevgen Muntyan)
123 2007-01-04 Matthias Clasen <mclasen@redhat.com>
125 * demos/gtk-demo/textscroll.c:
126 * gtk/gtkhandlebox.c:
127 * gtk/gtkcolorsel.c: Fix some compiler warnings.
129 2007-01-03 Matthias Clasen <mclasen@redhat.com>
131 * gtk/gtktextview.c: Rework the beep-on-uninserted-text
132 by calling the input method regardless of editability,
133 and beeping from the commit/preedit-changed handlers.
134 (#390514, Yevgen Muntyan)
136 2007-01-03 Matthias Clasen <mclasen@redhat.com>
138 Fix #332604, reported by Joe Wreschnig, patch
139 by Jan Arne Petersen and Behdad Esfahbod.
141 * gtk/gtklabel.c (gtk_label_size_allocate): Only
142 set the width of the layout when necessary.
143 (get_layout_location): Use pango_layout_get_pixel_extents()
144 instead of pango_layout_get_width().
146 2007-01-03 Matthias Clasen <mclasen@redhat.com>
148 * modules/printbackends/cups/gtkprintbackendcups.c
149 (available_choices): Don't leak conflicts.
151 * gtk/gtkprintoperation.c (gtk_print_operation_finalize):
152 Don't leak the status string.
154 2007-01-03 Matthias Clasen <mclasen@redhat.com>
156 * gtk/gtkfilechooserdefault.c (update_chooser_entry):
157 Exit early if we can't get file info - this happens
158 if the iter points to the row where we are editing
159 the name for a newly created folder. (#392191, Michael
160 Partridge, patch by Kristian Rietveld)
162 2007-01-03 Matthias Clasen <mclasen@redhat.com>
165 * gdk/x11/*.c: Apply a patch by Chris Wilson to
166 avoid spurious valgrind warnings from XSendEvent()
169 * modules/printbackends/cups/gtkprintbackendcups.c: Close
170 the http connection after getting the PPD.
172 * gtk/gtkprinteroptionwidget.c (filesave_changed_cb):
175 2007-01-03 Matthias Clasen <mclasen@redhat.com>
177 * gtk/gtkassistant.c (remove_page): If the current page
178 is removed, always pick a different one. (#392457,
181 2007-01-03 Matthias Clasen <mclasen@redhat.com>
183 * modules/printbackend/cups/*.c: Coding style cleanups.
185 2007-01-03 Matthias Clasen <mclasen@redhat.com>
187 * configure.in: Export SED to make sourcing of
188 libtool work. Tighten up the directfb pkgconfig check.
190 2007-01-03 Michael Natterer <mitch@imendio.com>
192 * gtk/gtkstyle.c (option_menu_get_props)
193 * gtk/gtkoptionmenu.c (gtk_option_menu_get_props): Use
194 gtk_border_free when freeing borders.
196 2007-01-03 Matthias Clasen <mclasen@redhat.com>
198 * gtk/gtkentry.c (get_text_area_size): Work when the
199 entry is not realized. (#392315, Yevgen Muntyan)
201 * gtk/gtkentry.c (gtk_entry_queue_draw): Use
202 GTK_WIDGET_DRAWABLE() here. (#392227, Chris Wilson)
204 * gtk/gtkentry.c (cursor_blinks): Don't get settings
205 unnecessarily. (#392227)
207 2007-01-02 Matthias Clasen <mclasen@redhat.com>
209 * gtk/gtkwindow.c (gtk_window_move_resize): Only process
210 updates on the window at hand, not on all windows, to
211 avoid violating resize/redraw ordering constraints.
212 (#362406, Owen Taylor)
214 2007-01-03 Kristian Rietveld <kris@gtk.org>
216 * gtk/gtkcellrendererprogress.c
217 (gtk_cell_renderer_progress_class_init): fix docs.
219 2007-01-02 Matthias Clasen <mclasen@redhat.com>
221 * gtk/updateiconcache.c: Include locale.h
223 2007-01-02 Matthias Clasen <mclasen@redhat.com>
225 * gtk/updateiconcache.c (main): Call setlocale().
228 * gtk/gtkfilesystemunix.c:
229 * gtk/gtkfilesystemwin32.c:
230 * gtk/gtkfilechoosersettings.c:
231 * gtk/updateiconcache.c: Consistently use folder instead of
232 directory in translated messages. (#344584, Javier F. Serrador)
234 2007-01-02 Matthias Clasen <mclasen@redhat.com>
236 Try to fix #315732, reported by Luke Hutchinson:
238 * gdk/x11/xsettings-client.[hc]:
239 * gdk/x11/gdkdevents-x11.c: Don't assume that ref'ing a GdkWindow
240 will guarantee that it can be looked up in the xid hash later.
241 Also, use the nesting server grab function during the xsettings
242 client initialization. Finally, make xsettings client not
243 eat DestroyNotifys so that GDK can do its regular cleanup.
245 2007-01-02 Michael Natterer <mitch@imendio.com>
247 * gtk/gtkrange.c (gtk_range_scroll) (gtk_range_move_slider): beep
248 when a keybinding didn't change adjustment->value.
250 2007-01-02 Matthias Clasen <mclasen@redhat.com>
252 * gtk/gtktextbuffer.c (gtk_text_view_key_press_event):
253 Try harder not to beep on events which are not meant to
254 insert stuff in the buffer. (#390514, Yevgen Muntyan)
256 2007-01-02 Matthias Clasen <mclasen@redhat.com>
258 * gtk/gtktextbufferrichtext.c: Small documentation fixes.
260 2007-01-02 Matthias Clasen <mclasen@redhat.com>
262 * gtk/gtkentry.c (get_text_area_size): Center in the frame.
263 (#304482, Rob Staudinger, patch by Richard Stellingwerff)
265 2007-01-02 Michael Emmel <mike.emmel@gmail.com>
267 * gdkwindow-directfb.c: fixed leak of dfb resource on destroy
269 2007-01-01 Matthias Clasen <mclasen@redhat.com>
271 * gtk/gtkscrolledwindow.h:
272 * gtk/gtkscrolledwindow.c: Only handle key bindings
273 for scrolling if the scrollbars are visible.
274 (#340135, Christian Persch)
276 2007-01-01 Matthias Clasen <mclasen@redhat.com>
278 * gtk/gtktextview.c (gtk_text_view_scroll_hpages):
279 Don't segfault on horizontal scrolling.
281 2007-01-01 Matthias Clasen <mclasen@redhat.com>
284 * gtk/gtknotebook.c: Only handle key bindings for
285 tab reordering if the tabs are shown and reorderable.
286 (#390468, Yevgen Muntyan)
288 * gtk/gtkmarshalers.list: Add required marshaler
290 2007-01-01 Matthias Clasen <mclasen@redhat.com>
292 * gtk/gtkcontainer.c (gtk_container_class_list_child_properties):
293 Mention in the docs that the return value is
294 NULL-terminated. (#383373, Christian Neumair)
296 2007-01-01 Matthias Clasen <mclasen@redhat.com>
298 * gtk/gtkicontheme.c (load_themes): Waste less time
299 with non-directories. (#391725, Chris Wilson)
301 2007-01-01 Matthias Clasen <mclasen@redhat.com>
303 * gtk/gtkcellrendererprogress.c: Implement activity mode
304 for GtkCellRendererProgress. (#377851, Brad Taylor)
306 2007-01-01 Matthias Clasen <mclasen@redhat.com>
308 Fix some IPP compliance issues. (#391523, Albrecht Dress)
310 * modules/printbackends/cups/gtkcupsutils.c
311 (gtk_cups_request_encode_option): Use IPP_TAG_JOB, not
313 * modules/printbackends/cups/gtkprintbackendcups.c
314 (gtk_print_backend_cups_print_stream): Don't add the
315 requesting-user-name attribute a second time.
317 2007-01-01 Matthias Clasen <mclasen@redhat.com>
319 * gtk/gtkimcontextsimple.c: Fix en/em dash confusion. (#378462)
321 2006-12-31 Emmanuele Bassi <ebassi@gnome.org>
323 * gtk/gtkrecentchoosermenu.c (set_recent_manager): Use the
324 right object when disconnecting from the GtkRecentManager::changed
325 signal; save us a few indirections using a variable.
327 2006-12-31 Emmanuele Bassi <ebassi@gnome.org>
329 * gtk/gtkrecentchoosermenu.c: Move the signal and idle
330 disconnections into the dispose function, as well as the
331 object unrefs; reset every handler id and the
332 pointers. (suggested by Paolo Borelli, #390873)
334 2006-12-31 Matthias Clasen <mclasen@redhat.com>
336 * gtk/gtkprintoperation-win32.c: Include windows.h (#391229,
339 2006-12-30 Matthias Clasen <mclasen@redhat.com>
341 * gtk/gtktextview.c (gtk_text_view_destroy): Remove the
342 scroll timeout. (#390872, Yevgen Muntyan)
344 2006-12-30 Matthias Clasen <mclasen@redhat.com>
346 * gtk/gtkprintoperation-unix.c:
347 * gtk/gtkprintbackend.c:
348 * gtk/gtkfilechooserdefault.c:
349 * gtk/gtksettings.c: Move a few settings to gtksettings.c
350 to make sure they show up in the docs. (#365364, Christian
353 2006-12-30 Matthias Clasen <mclasen@redhat.com>
355 * gtk/gtkassistant.c: Redraw assistant on reallocate
356 to avoid rendering glitches. (#343956, Christian
357 Persch, Carlos Garnacho)
359 2006-12-30 Matthias Clasen <mclasen@redhat.com>
361 * gtk/gtkrange.c: Typo fix. (#352121, Clytie Siddall)
363 2006-12-30 Matthias Clasen <mclasen@redhat.com>
365 * gtk/gtkaction.c: Improve the docs of the "label"
366 property. (#341730, Kristof Vansant)
368 2006-12-30 Matthias Clasen <mclasen@redhat.com>
370 * gtk/gtkwindow.c (gtk_window_compute_configure_request_size):
371 Correctly handle min size. (#320465, Philipp Langdale)
373 2006-12-30 Matthias Clasen <mclasen@redhat.com>
375 * gtk/prop-editor.c: Implement editing of flags.
377 2006-12-30 Matthias Clasen <mclasen@redhat.com>
382 * gtk/gtkstatusbar.c:
383 * gtk/gtktextview.c: Don't install cursors on insensitive
384 widgets. (#358864, Jan Schampera)
386 2006-12-29 Matthias Clasen <mclasen@redhat.com>
388 * gtk/gtkrecentmanager.h:
389 * gtk/gtkprintoperation.c: Fix doc typos. (#370909,
392 * gtk/gtkstyle.c (gtk_style_attach): Clarify docs. (#353423,
395 * gtk/gtkentry.c (blink_cb):
396 * gtk/gtktextview.c (blink_cb): Don't die in an assertion
397 if focus went missing. Just warn, clean up and continue.
400 2006-12-29 Carlos Garnacho <carlosg@gnome.org>
402 * gtk/gtknotebook.c (gtk_notebook_scroll): return if the widget that
403 originally received the event is a notebook page. (#315440, reported
406 2006-12-29 Matthias Clasen <mclasen@redhat.com>
408 * gdk/gdkcolor.c (gdk_color_hash): Fix a typo. (#390613,
411 2006-12-29 Matthias Clasen <mclasen@redhat.com>
413 * tests/prop-editor.c: Display children of containers
414 and cell renderers of cell layouts.
417 * gtk/gtkcelllayout.[hc] (gtk_cell_layout_get_cells):
418 New function to get the cell renderers of a cell layout.
420 * gtk/gtktreeviewcolumn.c:
422 * gtk/gtkiconview.c: Implement get_cells.
424 2006-12-28 Matthias Clasen <mclasen@redhat.com>
426 * gtk/gtkiconview.c: Use word wrapping by default, and
427 center multiline labels. (#318763, Ross Burton)
429 * gtk/gtkcellrenderertext.c (get_layout): Remove a special
430 case for single-line layouts.
432 2006-12-28 Matthias Clasen <mclasen@redhat.com>
434 * gtk/gtkarrow.c: Fix a typo in the docs. (#390423,
437 * gtk/gtkuimanager.c (update_node): Only use the results
438 of find_menu/toolbar_position() if they succeed. May fix
441 2006-12-28 Matthias Clasen <mclasen@redhat.com>
443 * gdk/gdk.c: Fix some formatting errors in docs.
445 2006-12-28 Tor Lillqvist <tml@novell.com>
447 * gtk/gtkstatusicon.c (gtk_status_icon_finalize)
448 (gtk_status_icon_update_image): Don't leak HICONs on
449 Win32. (#364868, Hiroyuki Yamamoto)
451 2006-12-28 Carlos Garnacho <carlosg@gnome.org>
453 Make GtkNotebook able to drop detached tabs anywhere. Bug #360225.
455 * gtk/gtkwidget.c (gtk_widget_class_init): add "drag-failed" signal.
456 * gtk/gtkmarshalers.list: add new marshaler definition.
457 * gtk/gtkenums.h: add GtkDragResult enum.
459 * gtk/gtkdnd.c (gtk_drag_drop_finished): emit "drag-failed" if DND
460 operation wasn't successful.
461 (_gtk_drag_source_handle_event) (gtk_drag_drop)
462 (gtk_drag_selection_get) (gtk_drag_cancel) (gtk_drag_key_cb)
463 (gtk_drag_grab_broken_event_cb) (gtk_drag_grab_notify_cb)
464 (gtk_drag_button_release_cb) (gtk_drag_abort_timeout): tell
465 gtk_drag_drop_finished() the operation result.
467 * gtk/gtknotebook.c (gtk_notebook_drag_failed): new function.
468 (gtk_notebook_drag_data_get): do not call window creation hook here.
469 (gtk_notebook_init): do not set "application/x-rootwindow-drop"
470 target, instead connect to "drag-failed".
471 (gtk_notebook_draw_focus): fix potential crasher if cur_page is NULL.
473 2006-12-28 Mikael Hallendal <micke@imendio.com>
475 * gdk/quartz/gdkevents-quartz.c: Factored out the event loop
476 integration into gdkeventloop-quartz.c.
478 * gdk/quartz/Makefile.am: Added gdkeventloop-quartz.c
480 * gdk/quartz/gdkeventloop-quartz.c: New file containing the event loop
483 2006-12-27 Matthias Clasen <mclasen@redhat.com>
485 * modules/printbackends/lpr/gtkprintbackendlpr.c
486 (gtk_print_backend_lpr_print_stream): Close the io channel
487 on unref. (#390159, Joe Markus Clarke)
489 2006-12-27 Matthias Clasen <mclasen@redhat.com>
491 * gdk/gdk.h: Remove redundant declarations (#390097,
494 2006-12-27 Kristian Rietveld <kris@gtk.org>
496 Support inverting arrows via XSetting. (#377979, Yevgen Muntyan).
498 * gtk/gtksettings.c (gtk_settings_class_init): add new setting
499 gtk-alternative-sort-arrows.
501 * gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting): add
504 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: set new
505 gtk-alternative-sort-arrows setting to true.
507 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
508 invert direction if gtk-alternative-sort-arrows is TRUE.
510 2006-12-27 Tor Lillqvist <tml@novell.com>
512 * gtk/gtk.symbols: Add gtk_status_icon_get_screen and
513 gtk_status_icon_set_screen.
515 * gtk/gtkstatusicon.c: Implement gtk_status_icon_position_menu()
516 on Windows. Keep track of where the last button click on the
517 taskbar icon took place, and return that. Obviously not correct if
518 no button has ever been clicked on the icon, or if the geometry of
519 the taskbar has changed since. But for most use cases where a menu
520 is going to be displayed as a direct result of a button click on
521 the status icon, works fine. (#377349)
523 Implement getting the orientation property on Windows.
525 (gtk_status_icon_embedded_changed)
526 (gtk_status_icon_orientation_changed): Ifdefify these functions
527 that are used only on X11.
529 2006-12-27 Tor Lillqvist <tml@novell.com>
531 * gtk/gtkfilesystemwin32.c (execute_callbacks): Fix
532 typo. (#390035, Kazuki Iwamoto)
534 2006-12-27 Matthias Clasen <mclasen@redhat.com>
536 * gtk/gtkcellview.c (gtk_cell_view_set_model): Accept NULL.
538 * gtk/gtkcombobox.c (gtk_combo_box_set_model):
539 (gtk_combo_box_unset_model): Handle repeated unsetting
540 of models without warnings. (#367529, Robert Ancell)
542 2006-12-27 Matthias Clasen <mclasen@redhat.com>
544 * modules/printbackends/cups/gtkcupsutils.c:
545 * modules/printbackends/cups/gtkprintbackendcups.c: Use
546 getters for http fields where available. (#364866,
549 2006-12-27 Matthias Clasen <mclasen@redhat.com>
551 * gtk/gtkwidget.c (gtk_widget_show): Add a g_return_if_fail.
554 2006-12-27 Matthias Clasen <mclasen@redhat.com>
556 * gtk/gtkuimanager.c (update_node): If a required action
557 is missing, don't recurse over the children. (#349119,
560 2006-12-27 Matthias Clasen <mclasen@redhat.com>
562 Fix a few problems with nested menus in comboboxes
563 (#386694, Yevgen Muntyan)
565 * gtk/gtkcombobox.c (gtk_combo_box_menu_fill_level): Always
566 connect the activate callback.
567 (gtk_combo_box_menu_item_activate): Do nothing if called on
568 an item with a submenu.
569 (gtk_combo_box_menu_row_deleted): Remove a submenu when it
572 2006-12-26 Mariano Suárez-Alvarez <mariano@gnome.org>
574 * gtk/gtkfilechooserbuuton.[hc]: Add a file-set signal to the
575 filechooser button. Bug 353196.
577 2006-12-26 Kristian Rietveld <kris@gtk.org>
579 * gtk/gtktreeview.c (gtk_tree_view_search_init): fix typo causing
580 the search dialog timeout never to be refreshed. (#389581,
581 Andrzej Szombierski).
583 2006-12-26 Kristian Rietveld <kris@gtk.org>
585 Lots of scrolling fixes. Made scrolling work properly in not fully
586 validated tree views; fixed a bunch of corner cases.
588 * gtk/gtktreeview.c (validate_visible_area): if a row's dy is past
589 upper - page_size, we know it is located at the end so the test for
590 dy + height has been dropped.
591 In the same case if area_below < 0, we know this is the last node
592 in the tree view so area_above is page_size - height of this row.
593 (validate_visible_area): got rid of subtracting new_height -
594 old_height from area_{below,above}, it didn't make any sense at
595 all and the full height of the row should be subtracted instead.
596 (validate_visible_area): when scrolling to a given path, set the
597 top row directly together with the dy offset, then sync that top_row
599 (gtk_tree_view_set_top_row): new function to directly set a top_row.
600 (gtk_tree_view_dy_to_top_row): refactored to use
601 gtk_tree_view_set_top_row().
602 (gtk_tree_view_top_row_to_dy): make sure dy >= 0 when done.
603 (gtk_tree_view_adjustment_changed): only update our dy and
604 top_row if the adjustment's dy actually changed.
606 2006-12-26 Christian Persch <chpe@cvs.gnome.org>
608 * gtk/gtknotebook.c: (gtk_notebook_real_insert_page):
609 Return the correct value from gtk_notebook_insert_page if the
610 page-added handler reorders the tabs. Bug #345094.
612 2006-12-26 Carlos Garnacho <carlosg@gnome.org>
614 Fix small regressions in GtkNotebook tab detaching. Bug #378852.
616 * gtk/gtknotebook.c (gtk_notebook_do_arrow): grab focus to allow tabs
617 scrolling when hovering with a detached tab.
618 (gtk_notebook_stop_reorder): Do not deparent the wrong tab if the
619 focus tab has changed during a tab DND operation.
620 (gtk_notebook_drag_end): ensure that the dropped tab gets focused.
621 (gtk_notebook_paint): do not take cur_page as a reference to paint the
622 box if it's detached.
623 (gtk_notebook_calculate_tabs_allocation): focus_tab may be different
624 to the detached tab if we hover the arrows during a tabs detaching
625 operation, do not allocate it unconditionally in 0,0.
627 2006-12-26 Carlos Garnacho <carlosg@gnome.org>
629 Expose improvements for GtkNotebook. Bug #383435
631 * gtk/gtknotebook.c (gtk_notebook_expose): propagate the event to tab
633 (gtk_notebook_draw_focus): do not repaint the whole focused tab again.
634 (gtk_notebook_draw_tab): do not send handmade expose events to tab
637 2006-12-26 Matthias Clasen <mclasen@redhat.com>
639 * gtk/gtkfilesystemunix.c (execute_callbacks): Return
640 FALSE. (#389623, Carlos Garnacho Parro)
642 * gtk/gtkrange.c (stop_scrolling): Avoid spurious
645 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
647 * gtk/gtkplug.c: (gtk_plug_construct_for_display),
648 (gtk_plug_unrealize): Notify the "embedded" property also on
649 normal construction and when destroying the socket window.
652 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
654 * gtk/gtkaboutdialog.c: (gtk_about_dialog_class_init),
655 (gtk_about_dialog_init), (display_credits_dialog),
656 (display_license_dialog):
657 * gtk/gtkfilechooserdialog.c: (gtk_file_chooser_dialog_class_init),
658 (gtk_file_chooser_dialog_init),
659 (gtk_file_chooser_dialog_constructor),
660 (gtk_file_chooser_dialog_unmap):
661 * gtk/gtkrecentchooserdefault.c:
662 (_gtk_recent_chooser_default_init):
663 * gtk/gtkrecentchooserdialog.c:
664 (gtk_recent_chooser_dialog_class_init),
665 (gtk_recent_chooser_dialog_init),
666 (gtk_recent_chooser_dialog_constructor),
667 (gtk_recent_chooser_dialog_unmap): Set the HIG spacings directly
668 instead of using style-set handlers. Fix the filechooser's spacing
669 between content and action area to 12px. Bug #372447.
671 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
673 * gtk/gtkstatusbar.c: (gtk_statusbar_size_allocate):
674 Don't assume statusbar->label is the statusbar's frame's child when
675 shrinking the size allocation when the grip is shown. Bug #372452.
677 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
679 * gtk/gtkpagesetupunixdialog.c: (printer_status_cb),
680 (add_custom_paper): Fix mem leaks. Bug #389194.
682 2006-12-24 Matthias Clasen <mclasen@redhat.com>
684 * gtk/gtktextutil.c: Remove debug output.
686 * gtk/gtktextview.c: Improve the DND scrolling
687 behaviour. (#92387, Carlos Garnacho Parro)
689 * gtk/gtkaccellabel.c: Improve translators comments.
690 (#389298, Christian Persch)
692 2006-12-24 Bastien Nocera <hadess@hadess.net>
694 * gtk/gtkrecentmanager.c: Fix typo (s/expansive/expensive)
697 2006-12-24 Christian Persch <chpe@cvs.gnome.org>
699 * docs/reference/gtk/gtk-sections.txt:
701 * gtk/gtkpagesetupunixdialog.c: (fill_paper_sizes_from_printer):
702 * gtk/gtkprinter-private.h:
703 * gtk/gtkprinter.c: (gtk_printer_list_papers):
704 * gtk/gtkprinter.h: Make gtk_printer_list_papers public. Bug #345587.
706 2006-12-24 Carlos Garcia Campos <carlosgc@gnome.org>
708 * gtk/gtkpagesetupunixdialog.c: Don't ignore reverse portrait option
709 when is selected in page setup dialog. Fixes bug #365047.
711 2006-12-24 Behdad Esfahbod <behdad@gnome.org>
713 * gtk/gtkentry.c (_gtk_entry_effective_inner_border):
714 Use gtk_border_free when freeing border.
716 2006-12-24 Matthias Clasen <mclasen@redhat.com>
718 * gtk/gtkentry.c (gtk_entry_button_press): When
719 shift-clicking, keep the larger part of the selection
720 selected. (#353709, Benjamin Otte)
722 * gtk/gtkbutton.c (gtk_button_get_props): Use
723 gtk_border_free when freeing borders.
725 * gtk/gtkbutton.c (gtk_button_grab_notify): Be more
726 careful when faking a button release. (#323146,
729 * gtk/gtkhandlebox.c (draw_textured_frame): Draw the
730 handle with the right orientation, depending on the
731 position of the handlebox. (#159764, Benjamin Berg)
733 2006-12-24 Behdad Esfahbod <behdad@gnome.org>
735 * gtk/gtkstyle.c (gtk_border_copy), (gtk_border_free): Use gslice for
738 2006-12-24 Behdad Esfahbod <behdad@gnome.org>
740 Bug 340141 – Update to Pango 1.16 API
742 * gdk/gdkpango.c (layout_iter_get_line_clip_region),
743 (gdk_pango_layout_line_get_clip_region):
744 * gtk/gtkcalendar.c (gtk_calendar_size_request):
745 * gtk/gtkentry.c (gtk_entry_get_pixel_ranges),
746 (get_layout_position), (gtk_entry_find_position),
747 (gtk_entry_adjust_scroll):
748 * gtk/gtkiconview.c (get_pango_text_offsets):
749 * gtk/gtklabel.c (get_cursor_direction):
750 * gtk/gtkstyle.c (get_insensitive_layout):
751 * gtk/gtktextdisplay.c (render_para):
752 * gtk/gtktextlayout.c (allocate_child_widgets),
753 (find_display_line_below), (find_display_line_above),
754 (gtk_text_layout_move_iter_to_previous_line),
755 (gtk_text_layout_move_iter_to_next_line),
756 (gtk_text_layout_move_iter_to_line_end),
757 (gtk_text_layout_iter_starts_line),
758 (gtk_text_layout_move_iter_to_x):
759 * gtk/gtktextutil.c (limit_layout_lines):
760 Use the _readonly version of pango_layout_iter_get_line(),
761 pango_layout_iter_get_run(), pango_layout_get_line(), and
762 pango_layout_get_lines().
764 * gtk/gtkmain.c (gtk_get_default_language): Use
765 pango_get_default_language().
767 2006-12-24 Matthias Clasen <mclasen@redhat.com>
769 * gtk/gtkentry.c (gtk_entry_set_text): Emit changed
770 and notify:text only once. The same fix was applied
771 for replacing the selection via DND or copy-and-paste.
772 (#64998, Damon Chaplin, Sven Herzberg)
774 2006-12-23 Matthias Clasen <mclasen@redhat.com>
776 * gtk/gtkimmulticontext.c: Be careful to not override
777 GTK+ translations with the translations of the input
778 method. (#317080, Tor Lillqvist)
780 * modules/input/imcedilla.c: Use standard macros
781 for translation domain and locale dir.
783 * gtk/gtkimcontextsimple.c: Allow composing l with
784 stroke. (#349638, Daniel Lublin)
786 * gtk/gen-paper-names.c: Fix a thinko in the suffix
787 calculation. (#382369, Christian Persch)
789 * gtk/paper_names_offsets.c: Regenerated.
791 2006-12-22 Matthias Clasen <mclasen@redhat.com>
793 * modules/engines/pixbuf/pixbuf.h:
794 * modules/engines/pixbuf/pixbuf-rc-style.h:
795 * modules/engines/pixbuf/pixbuf-style.h: Move
796 G_GNUC_INTERNAL before function declarations. (#352276,
799 2006-12-22 Matthias Clasen <mclasen@redhat.com>
801 * demos/gtk-demo/*.c: Fix some leaks. (#348108, Chris
804 2006-12-22 Matthias Clasen <mclasen@redhat.com>
806 * *.c: Replace a lot of idle and timeout calls by
807 the new gdk_threads api.
811 * gdk/gdk.c: Add functions to allow threadsafe handling
812 of idles and timeouts wrt. to the GDK lock. (#321886,
815 2006-12-22 Matthias Clasen <mclasen@redhat.com>
817 * gdk/gdkpango.c: Use pango_cairo_show_error_underline.
818 (#340141, Behdad Esfahbod)
820 * configure.in: Check for getc_unlocked.
822 * gtk/xdgmime/xdgmimemagic.c: Use getc if getc_unlocked is
823 unavailable. (#381499)
825 * tests/teststatusicon.c: Fix a typo
827 2006-12-22 Matthias Clasen <mclasen@redhat.com>
829 Make it possible to track the embeddedness of
830 statusicon (#387215, Martyn Russell, patch by Christian
833 * gtk/gtkstatusicon.c: Add orientation and embedded properties.
835 * gtk/gtkplug-x11.c: Add an embedded property.
836 * tests/teststatusicon.c: Test the new properties.
838 * gtk/gtkwidget.c (gtk_widget_get_draw_rectangle): Don't
839 leak draw_border. (#387170, Kjartan Maraas)
841 2006-12-21 Matthias Clasen <mclasen@redhat.com>
843 * gtk/gtkfilechooserembed.c (_gtk_file_chooser_embed_set_delegate()):
844 Typo fix. (#388123, Murray Cumming)
846 * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event):
847 Generate double-click events. (#380421, Tommi Komulainen)
849 * gdk/x1/gdkinput-xfree.c (_gdk_input_configure_event):
850 (_gdk_input_enter_event): Correct return_if_fail checks.
851 (#379803, Tommi Komulainen)
853 * gdk/gdkdisplay.c: Improve the docs of some functions operating
854 on the default display. (##353438, Mariano Suárez-Alvarez)
856 2006-12-21 Matthew Barnes <mbarnes@redhat.com>
858 * docs/reference/gdk/gdk-sections.txt:
859 * gdk/gdkcolor.[ch] (gdk_color_to_string): Add a function for
860 converting a GdkColor to a string (#373856).
862 * configure.in: Bump pango requirement to 1.15.2.
864 2006-12-20 Matthias Clasen <mclasen@redhat.com>
866 * gdk/keynames.txt: Mark arrow keys as translatable. (#369506,
869 * gdk/keyname-table.h: Regenerated
871 * gtk/gtktextbuffer.c: Add signal documentation. (#317064,
874 * gtk/gtktextview.c (gtk_text_view_start_selection_drag):
875 Silently return if a drag is already in progress, rather
876 than asserting. (#335622, Li Yuan, testcase by Erwann Chenede)
878 * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_new_with_dialog):
879 Allow any GtkDialog that implements GtkFileChooser as
880 dialog. (#335473, Tommi Komulainen)
882 2006-12-20 Mikael Hallendal <micke@imendio.com>
884 * gtk/gtkstatusicon.c: (gtk_status_icon_init): Fixed a last minute
885 change in the quartz backend.
887 2006-12-20 Mikael Hallendal <micke@imendio.com>
889 * gtk/Makefile.am: Added gtkstatusicon-quartz.c
890 * gtk/gtkstatusicon-quartz.c: Implements the quartz backend for the
892 * gtk/gtkstatusicon.c: Hooked in the new quartz backend. Bug #387874.
894 2006-12-19 Matthias Clasen <mclasen@redhat.com>
896 * gtk/gtkprintunixdialog.c: Add a tooltip explaining the
897 format of page ranges, and improve the page sequence icon
898 for the case of n_copies == 1.
900 2006-12-19 Mikael Hallendal <micke@imendio.com>
902 * gdk/quartz/gdkcursor-quartz.c: Splitted out the GdkPixbuf to NSImage
903 routine so that it can be used from libgtk as well (needed for
904 upcoming GtkStatusIcon support in the Quartz port).
905 * gdk/quartz/gdkevents-quartz.c: Don't assume that all NSWindows are
906 created from GDK, this is not true for the status icon.
907 * gdk/quartz/gdkprivate-quartz.h:
908 * gdk/quartz/gdkquartz.h: Added
909 gdk_quartz_pixbuf_to_ns_image_libgtk_only so that it is available to
910 the status icon code.
912 2006-12-16 Tristan Van Berkom <tvb@gnome.org>
914 * gtk/gtkmessagedialog.c: Added return_if_fail (image) to
915 gtk_message_dialog_set_image ()
917 * gtk/gtkscrolledwindow.c: Fixed a bug in set_property()
918 (setting "window-placement-set" could result in a crash because
919 of boolean/enum mixup)
921 2006-12-15 Federico Mena Quintero <federico@novell.com>
923 Merged from gtk-2-10:
925 * gtk/gtkmenu.c (gtk_menu_set_title): Don't try to optimize for
926 the case where the new title is the same as the old title, to
927 preserve the behavior from GTK+ 2.8 (NULL and "" titles are not
928 equivalent). Handle the case where title == priv->title. This
929 was found by the LSB compatibility tests:
930 https://bugzilla.novell.com/show_bug.cgi?id=223882
932 2006-12-15 Dom Lachowicz <domlachowicz@gmail.com>
934 * gtk/gtkcombobox.c: Make GtkComboBox in "appears-as-list" mode
935 more closely resemble its Win32 counterpart. Bug #340204.
937 2006-12-14 Carlos Garnacho <carlosg@gnome.org>
939 * gtk/gtkcalendar.c: draw arrows pointing to the right correctly
940 placed inside their GdkWindow. Bug #385672.
942 2006-12-14 Christian Persch <chpe@cvs.gnome.org>
944 * gtk/gtkiconview.c: Fix docs typo. Bug #385642.
946 2006-12-13 Dom Lachowicz <domlachowicz@gmail.com>
948 * src/modules/engines/ms-windows/msw_style.c: Bug 351679 - Notebooks
949 drawn with extra line below tab in MS-Windows theme. Patch by
952 2006-12-13 Matthias Clasen <mclasen@redhat.com>
954 * gtk/Makefile.am: Add --unlink-tempfile to the evince call
955 for print preview. (#370041, Ghee Teo)
957 2006-12-11 Matthias Clasen <mclasen@redhat.com>
959 * gtk/gtkprogressbar.c (gtk_progress_bar_paint_text): Be more
960 careful when overdrawing antialiased text. (#352435, Alex Jones,
961 patch by Benjamin Otte)
963 * gtk/gtksettings.c: Change the way in which color scheme information
964 is merged to correctly handle vanishing colors. (#374420,
965 Benjamin Berg, patch by Callum McKenzie)
966 Also allow to separate entries in color schemes by ';'
969 2006-12-10 Matthias Clasen <mclasen@redhat.com>
971 * modules/printbackends/cups/gtkcupsutils.c (gtk_cups_request_encode_option):
972 Properly pass multi-value options to cups. (#355350, Jürg Billeter)
974 2006-12-10 Kristian Rietveld <kris@gtk.org>
976 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_focus_out_event):
977 cancel editing (ie. don't accept changes) when the entry loses
978 focus. (Fixes #164494, reported by Chris Rouch).
980 2006-12-10 Matthias Clasen <mclasen@redhat.com>
982 * configure.in: Correct a misapplied patch.
984 2006-12-10 Tor Lillqvist <tml@novell.com>
986 * gtk-zip.sh.in: Put gdk-pixbuf-query-loaders.exe and
987 gtk-query-immodules-2.0.exe in the runtime zipfile instead of
988 developer zipfile. Users might add pixbuf loaders or immodules
989 even if they are not interested in developing gtk+-using software.
991 2006-12-10 Matthias Clasen <mclasen@redhat.com>
993 * configure.in: Check for crt_extern.h and _NSGetEnviron.
994 * gdk/x11/gdkspawn-x11.c: Fix compilation on Darwin where
995 environ is not available. (#384168, Min Sik Kim)
997 2006-12-07 Paolo Maggi <paolo@gnome.org>
1001 * gtk/gtkentry.c (gtk_entry_set_text): check for
1002 completion->priv->changed_id > 0 before calling
1003 g_signal_handler_[un]block.
1004 (gtk_entry_completion_key_press): does not block/unblock the "changed"
1005 signal before calling gtk_entry_set_text.
1007 2006-12-07 Carlos Garnacho <carlosg@gnome.org>
1009 * gtk/gtkcellrendererprogress (compute_dimensions): do not use
1010 xthickness/ythickness, they aren't used any longer for drawing.
1012 2006-12-07 Matthias Clasen <mclasen@redhat.com>
1014 * gtk/gtkrc.c (_gtk_rc_init): Fix clipping of accelerator
1015 underlines by giving labels a small draw-border.
1017 2006-12-06 Kristian Rietveld <kris@gtk.org>
1019 * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_render):
1020 draw progress bar through theme engine instead of using our own
1021 custom cairo drawing code (#377244, patch from Carlos Garnacho).
1023 2006-12-06 Matthias Clasen <mclasen@redhat.com>
1025 * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities):
1026 Update the sensitivity of the collate checkbutton more frequently,
1027 proposed by Tim Waugh.
1029 2006-12-04 Matthias Clasen <mclasen@redhat.com>
1031 * gtk/gtkmessagedialog.c (setup_type): Set a11y name and role
1032 since we no longer set window titles.
1034 2006-12-04 Christian Persch <chpe@cvs.gnome.org>
1036 * gtk/gtkpagesetup.c: (gtk_page_setup_get_paper_size),
1037 (gtk_page_setup_set_paper_size): Don't leak the old page size when
1038 setting a new one. Bug #382314.
1040 2006-12-03 Michael Natterer <mitch@gimp.org>
1042 * gtk/gtktextview.c: remove FIXME #include that is no longer needed.
1044 2006-12-03 Kristian Rietveld <kris@gtk.org>
1046 Make sure [xy]_offset are always being initialized, fix pixbuf
1047 renderer padding. (#108235, Sven Neumann).
1049 * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_get_size),
1050 (gtk_cell_renderer_pixbuf_render): add padding in _render instead
1053 * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_get_size):
1054 always initialize [xy]_offset.
1055 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): ditto.
1056 * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_size):
1059 2006-12-03 Kristian Rietveld <kris@gtk.org>
1061 * gtk/gtktreeview.c (validate_visible_area): when not using an
1062 explicit alignment, use the full area of the row (not just dy)
1063 to determine how to implicitly align it. (Fixes #363191, reported
1064 by Federico Mena Quintero).
1066 2006-12-02 Matthias Clasen <mclasen@redhat.com>
1068 * gtk/gtkicontheme.c (insert_theme): Properly clean up
1069 if an icon theme index file has no directories. (#381236)
1071 2006-12-02 Dom Lachowicz <domlachowicz@gmail.com>
1073 * src/modules/engines/ms-windows/msw_style.c: Bug 351678 - Notebooks
1074 not with PositionType.Top drawn incorrectly. Patch by Cody Russell
1076 2006-11-28 Behdad Esfahbod <behdad@gnome.org>
1078 Remove the broken Thai input method and add a functional Thai and Lao
1079 input method by Theppitak Karoonboonyanan. (#81031)
1081 * modules/input/imthai.c:
1082 * modules/input/gtkimcontextthai.c:
1083 * modules/input/gtkimcontextthai.h:
1084 * modules/input/thai-charprop.c:
1085 * modules/input/thai-charprop.h:
1088 * modules/input/imthai-broken.c:
1091 * modules/input/Makefile.am:
1094 2006-11-27 Christian Persch <chpe@cvs.gnome.org>
1096 * gtk/gtkstatusicon.c: Notify when the screen changes. Bug #379793.
1098 Mon Nov 27 12:27:06 2006 Tim Janik <timj@imendio.com>
1100 * gtk/gtktextview.c: applied patch by Colin Leroy for
1101 Control+GDK_KP_Left to move one word to the left, #356255.
1103 2006-11-26 Benjamin Berg <benjamin@sipsolutions.net>
1105 * gtk/gtkstyle.c: (gtk_default_draw_flat_box): Protect against NULL
1108 2006-11-25 Matthias Clasen <mclasen@redhat.com>
1110 * modules/printbackends/cups/gtkprintbackendcups.c: Make
1111 print dialog work when 'BrowseShortNames Off' is specified
1112 in cups configuration. Patch by Tim Waugh.
1114 2006-11-24 Michael Natterer <mitch@imendio.com>
1116 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): if we
1117 can't go up/down, consult gtk_widget_keynav_failed() and leave the
1118 widget if it returns FALSE (bug #322640).
1120 2006-11-23 Behdad Esfahbod <behdad@gnome.org>
1122 * gtk/gtkmain.c: Fix minor typo in docs. (#378632, Hannes Mueller)
1124 2006-11-22 Emmanuele Bassi <ebassi@gnome.org>
1126 * gtk/gtkrecentmanager.c:
1127 (get_uri_shortname_for_display): g_filename_from_uri() might
1128 fail; catch the failure and fall back to the non-local URI
1131 2006-11-19 Mark McLoughlin <mark@skynet.ie>
1133 Fixes bug #376502 - multi-screen support for GtkStatusIcon
1135 * gtk/gtkstatusicon.[ch]:
1136 (gtk_status_icon_set_screen),
1137 (gtk_status_icon_get_screen): add multi-screen API. Allows
1138 an app to display an icon on a non-default screen
1139 (gtk_status_icon_class_init),
1140 (gtk_status_icon_set_property),
1141 (gtk_status_icon_get_property): add a "screen" property
1143 * tests/teststatusicon.c: update to test on multiple screens
1145 2006-11-17 Matthias Clasen <mclasen@redhat.com>
1147 Fix problems with drag cancellation. (#376535, Michael Natterer)
1149 * gtk/gtkdnd.c (gtk_drag_source_info_destroy): Disconnect signal
1150 handlers before emitting drag-end.
1151 (gtk_drag_end): Disconnect signal handlers before removing
1154 2006-11-16 Mariano Suárez-Alvarez <mariano@gnome.org>
1156 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
1157 add gtk-doc blurb on GtkCellRendererText::edited (#376094)
1159 2006-11-16 Michael Natterer <mitch@imendio.com>
1161 * gtk/gtkradiobutton.c (gtk_radio_button_focus): don't use
1162 gtk_widget_keynav_failed(). Instead, look at gtk-keynav-cursor-only
1163 and gtk-keynav-wrap-around and wrap around, beep or continue outside
1164 the group manually (bug #322640).
1166 2006-11-16 Michael Natterer <mitch@imendio.com>
1168 Add new infrastructure for notifications of failed keyboard
1169 navigation and navigation with restricted set of keys.
1171 The patch handles configurable beeping, navigating the GUI with
1172 cursor keys only (as in phone environments), and configurable
1173 wrap-around. Fixes bugs #322640, #70986, #318827, #334726, #334742
1176 * gtk/gtksettings.c: added properties gtk-keynav-cursor-only,
1177 gtk-keynav-wrap-around and gtk-error-bell.
1179 * gtk/gtkwidget.[ch]: added new signal "keynav-failed" and public
1180 API to emit it. Added New function gtk_widget_error_bell() which
1181 looks at the gtk-error-bell setting and calls gdk_window_beep()
1184 * gtk/gtk.symbols: add the new widget symbols.
1186 * gtk/gtkcellrendereraccel.c
1187 * gtk/gtkimcontextsimple.c
1189 * gtk/gtknotebook.c: use gtk_widget_error_bell() or look at the
1190 gtk-error-bell setting instead of calling gdk_display_beep()
1197 * gtk/gtkmenushell.c
1198 * gtk/gtkspinbutton.c
1200 * gtk/gtktreeview.c: call gtk_widget_error_bell() on failed keynav.
1205 * gtk/gtktextview.c: consult gtk_widget_keynav_failed() on failed
1206 cursor navigation and leave the widget if it returns FALSE.
1208 * gtk/gtkmenushell.c
1209 * gtk/gtknotebook.c: only wrap around if gtk-keynav-wrap-around
1212 * gtk/gtkradiobutton.c: ask gtk_widget_keynav_failed() to decide
1213 whether to to wrap-around, and don't select active items on cursor
1214 navigation if gtk-keynav-cursor-only is TRUE. Should look at
1215 gtk-keynav-wrap-around too, will look into that.
1217 2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
1219 * gtk/gtkrecentmanager.c:
1220 (gtk_recent_info_get_uri_display): Return the URI
1221 of the GtkRecentInfo object (upgraded to UTF-8 if
1222 needed) in case of non-local file. (#351945)
1224 2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
1226 * gtk/gtkrecentchoosermenu.c:
1227 (gtk_recent_chooser_menu_add_tip): Apply the tip only
1228 if we have a displayable name for the item. (#365031,
1229 patch by padraig.obriain(at)sun.com)
1231 2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
1233 * gtk/gtkrecentmanager.c: Provide a fast path returning
1234 NULL when the limit is set to 0.
1236 * gtk/gtkrecentchooserdefault.c:
1237 * gtk/gtkrecentchoosermenu.c: Add the same fast path
1238 inside the RecentChooser implementation; add a check
1239 in the list clamping code. (#373466 and duplicates)
1241 2006-11-15 Matthias Clasen <mclasen@redhat.com>
1243 * modules/printbackends/cups/gtkprintbackendcups.c (cups_printer_get_options):
1244 Don't pass NULL to strncpy. (#359537, patch by Carlos Garcia Campos)
1246 2006-11-15 Michael Natterer <mitch@imendio.com>
1248 * gtk/gtkrange.[ch]: added properties "fill-level",
1249 "show-fill-level" and "restrict-to-fill-level" and getters/setters
1250 for them. The "fill level" is an additional marker on the range's
1251 trough than can be e.g. used to indicate the amount of
1252 pre-buffering in a range showing the play position of streamed
1253 media. See the embedded API docs for details. Made GtkRangeLayout
1254 a GTypeInstance private struct and removed finalize()
1255 implementation. Fixes bug #349808
1257 * gtk/gtk.symbols: added the new symbols.
1259 2006-11-14 Behdad Esfahbod <behdad@gnome.org>
1261 * configure.in: Make libtool magic robust. (#352795)
1263 2006-11-13 Paolo Borelli <pborelli@katamail.com>
1265 * gtk/gtkrc.c (gtk_rc_parse_icon_source): plug small memory
1268 2006-11-09 Kristian Rietveld <kris@imendio.com>
1270 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): disable
1271 don't move cursor case for SELECTION_NONE. (#371756, John Ellis).
1273 2006-11-09 Carlos Garnacho <carlosg@gnome.org>
1275 * gtk/gtkpathbar.c (on_slider_unmap): Fix parenthesis confusion.
1277 2006-11-08 Carlos Garnacho <carlosg@gnome.org>
1279 * gtk/gtkpathbar.c (on_slider_unmap): added, do not leave the scroll
1280 timeout running if the slider buttons are hidden. (#372527)
1282 2006-11-08 Christian Persch <chpe@cvs.gnome.org>
1284 * gtk/gtkfilechooserdefault.c (browse_widgets_create): Don't make
1285 the "Location" label bold. Bug #372449.
1287 2006-11-07 Carlos Garnacho <carlosg@gnome.org>
1289 * gtk/gtknotebook.c (gtk_notebook_calculate_tabs_allocation): make
1290 non-focused tabs xthickness/ythickness thinner. (#353962)
1292 2006-11-07 Paolo Borelli <pborelli@katamail.com>
1294 * gtk/gtktextbtree.c (_gtk_text_btree_delete): avoid memory
1295 corruption (#357050).
1297 2006-11-06 Alexander Larsson <alexl@redhat.com>
1299 * gtk/gtkdnd.c: (gtk_drag_begin_internal),
1300 (gtk_drag_source_info_destroy), (gtk_drag_end),
1301 (gtk_drag_grab_notify_cb):
1302 Cancel drag when the grab is shadowed. (#122688)
1304 2006-11-01 Kristian Rietveld <kris@imendio.com>
1306 * gtk/gtkcombobox.c (gtk_combo_box_class_init),
1307 (gtk_combo_box_size_request): add arrow-size property to control
1308 the minimum size of the arrow, have the arrow scale up with the
1309 font by default. (#357950).
1311 2006-10-30 Kristian Rietveld <kris@gtk.org>
1313 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): don't
1314 forget to queue a draw for the new cursor node. (Fixes #366548,
1315 reported by Sven Herzberg).
1317 2006-10-30 Michael Natterer <mitch@imendio.com>
1319 * gtk/gtkrange.c (gtk_range_key_press): consume the Escape key
1320 only if we actually cancel a drag. Fixes bug #58389.
1322 2006-10-30 Kristian Rietveld <kris@gtk.org>
1324 * gtk/gtktreeview.c (gtk_tree_view_class_init): change left/right
1325 keybindings to collapse/expand rows instead of moving the focus
1326 cursor. (#105895, Brian Bober and others).
1328 2006-10-29 Kristian Rietveld <kris@gtk.org>
1330 * gtk/gtktreeview.c (gtk_tree_view_real_expand_row): guard against
1331 child removal in row-expanded callback. (#366782, John Ellis).
1333 2006-10-29 Tor Lillqvist <tml@novell.com>
1335 * gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Improve handling
1336 of the small icon of the window class. (#152620, Kazuki Iwamoto)
1338 2006-10-29 Tor Lillqvist <tml@novell.com>
1340 * gdk/win32/gdkcursor-win32.c
1341 (gdk_win32_icon_to_pixbuf_libgtk_only): Implement for B&W cursors,
1342 for instance the built-in GDK ones.
1344 2006-10-27 Kristian Rietveld <kris@gtk.org>
1346 * gtk/gtktreeview.c (validate_visible_area): rework the area_above == 0
1347 case to not overwrite the variables in the lower scope (which are
1348 used later on ...), get the path correctly and bail out when there
1349 isn't a node above us. (#359231).
1351 2006-10-26 Christian Persch <chpe@cvs.gnome.org>
1353 * gtk/gtkaboutdialog.c: Put initial focus on Close button (#337261).
1355 2006-10-25 Johan Dahlin <jdahlin@async.com.br>
1357 * gtk/gtk.symbols: Add missing symbols to so make check can pass
1359 2006-10-23 Dom Lachowicz <domlachowicz@gmail.com>
1361 * src/modules/engines/ms-windows/msw_style.c (draw_expander): Remember
1362 to free GDI Pen resources, introduced by bug 340201.(#364514)
1364 2006-10-18 Kristian Rietveld <kris@imendio.com>
1366 * tests/testcombo.c (main): connect to notify::popup-shown instead of
1367 popup-show (the latter does not exist).
1369 2006-10-15 Paolo Borelli <pborelli@katamail.com>
1371 * gtk/gtkicontheme.c (pixbuf_supports_svg): plug memory leak.
1374 2006-10-12 Michael Natterer <mitch@imendio.com>
1376 * gtk/gtkcombobox.c (gtk_combo_box_class_init): fix commit below
1377 (committed the wrong patch).
1379 2006-10-12 Michael Natterer <mitch@imendio.com>
1381 * gtk/gtkcombobox.c: added "move-active" and "popup" signals and
1382 bindings to trigger them. Removed gtk_combo_box_key_press(), it's
1383 obsolete now. Fixes bug #358293.
1385 2006-10-11 Michael Emmel <mike.emmel@gmail.com>
1387 * gdkpixmap-directfb.c: add missing RGB24 case (#361176)
1389 2006-10-11 Tor Lillqvist <tml@novell.com>
1391 * configure.in: Enable having some gdk-pixbuf loaders built-in
1392 even if loading the others dynamically. Define Automake
1393 conditional INCLUDE_FOO for each loader as TRUE if that loader is
1394 built-in. See also gdk-pixbuf/ChangeLog.
1396 Wed Oct 11 14:31:30 2006 Tim Janik <timj@imendio.com>
1398 * docs/reference/gtk/gtk-sections.txt:
1399 * gtk/gtkbindings.c: document gtk_binding_entry_skip().
1401 2006-10-11 Tor Lillqvist <tml@novell.com>
1403 * gtk/gtk.symbols: Remove gtk_combo_string_key, which is a static
1406 2006-10-11 Tor Lillqvist <tml@novell.com>
1408 Merge from 2.10 branch:
1410 * gtk/gtkmain.c (do_pre_parse_initialization): On Win32, if
1411 environment variable LC_ALL or LANG is set, set the Win32 thread
1412 locale to the corresponding locale. Then call the C library
1413 setlocale() to set the C library locale accordingly. The
1414 inconsistency mentioned below is gone. (#339756) Do some special
1415 casing for Serbia and Montenegro. Handle the Latin and Cyrillic
1416 scripts for Azeri, Uzbek and Serbian.
1417 (enum_locale_proc): Helper function for the above functionality.
1419 * gtk/gtkcalendar.c (gtk_calendar_init): No longer need to check
1420 if the environment variables are set here, as they have already
1421 been taken into account and the Win32 thread locale has been
1424 Tue Oct 10 16:38:23 2006 Tim Janik <timj@imendio.com>
1426 * gtk/tmpl/gtkbindings.sgml:
1427 * gtk/gtkbindings.c: applied patch from Michael Natterer to move to
1428 inline docs. applied wording fixes suggested by Martyn Russell.
1430 2006-10-09 Matthias Clasen <mclasen@redhat.com>
1432 * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
1433 Update the docs to state which out parameters may be NULL.
1434 (#360870, Attilio Fiandrotti)
1436 2006-10-08 Matthias Clasen <mclasen@redhat.com>
1438 * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities): Fix
1439 a typo. (#359542, Ghee Teo)
1441 2006-10-08 Matthias Clasen <mclasen@redhat.com>
1443 * gtk/gtknotebook.c (gtk_notebook_reorder_tab): Only
1444 reorder tabs if the focus is in the tab. (#350342, Carlos
1447 2006-10-08 Michael Emmel <mike.emmel@gmail.com>
1449 * gdk/directfb/gdkproperty-directfb.c strdup atom name (#357611)
1451 2006-10-08 Kristian Rietveld <kris@gtk.org>
1453 * gtk/gtktreeview.[ch] (gtk_tree_view_set_property),
1454 (gtk_tree_view_set_show_expanders),
1455 (gtk_tree_view_get_show_expanders): add getter/setter for
1456 show-expanders property, queue a redraw when this property
1457 is toggled (#351167, Martin Ejdestig),
1458 (gtk_tree_view_set_level_indentation),
1459 (gtk_tree_view_get_level_indentation): also add getter/setter
1460 and docs for level-indentation property.
1462 2006-10-08 Matthias Clasen <mclasen@redhat.com>
1464 * gtk/gtkradiobutton.c (gtk_radio_button_focus): Don't
1465 leak a list. (#360350, Benjamin Berg)
1467 * Apply a cleanup patch by Kjartan Maraas (#341812)
1469 2006-10-07 Tor Lillqvist <tml@novell.com>
1471 * gtk/gtkcalendar.c (gtk_calendar_init): Use the Win32 thread
1472 locale's first day of week setting on Win32. (#339752, Bogdan
1473 Nicula) Don't do this if one of the environment variables that
1474 affect gettext is set, though. In that case use the week start day
1475 from the corresponding message catalog.
1477 Unfortunately the same logic isn't possible in the weekday and
1478 month name lookup; there even if you have set one of the
1479 aforementioned environment variables, you still get the weekday
1480 and month names from the Win32 thread locale. Yes, this is
1483 Use only wide-character API in the Win32 code in this file, too.
1485 2006-10-06 Matthias Clasen <mclasen@redhat.com>
1487 * gtk/gtkfilechooser.c (gtk_file_chooser_set_select_multiple):
1488 Fix the docs. (#360112)
1490 * gtk/gtkcellview.c: Don't set the background of the
1491 window in a no-window widget. (#359581, Xan Lopez)
1494 2006-10-05 Behdad Esfahbod <behdad@gnome.org>
1496 * gtk/Makefile.am, gtk/aliasfilescheck.sh: Propagate srcdir into the
1497 test correctly. (#359845)
1499 2006-10-05 Michael Natterer <mitch@imendio.com>
1501 * gtk/gtkrc.[ch]: added new scanner token "unbind" which gets
1502 rid of a key binding (in fact, it only lets it appear unbound).
1504 * gtk/gtkbindings.[ch] (struct GtkBindingEntry): added
1505 "guint marks_unbound : 1"
1507 (gtk_binding_entry_skip): new API which marks the entry as unbound.
1509 Changed code so it returns FALSE when "marks_unbound == TRUE" is
1510 encountered while activating bindings, effectively letting the
1511 binding appear unbound (regardless of still existing bindings in
1512 lower binding priority levels). Fixes bug #358329.
1514 (gtk_binding_entry_add)
1515 (gtk_binding_entry_clear)
1516 (gtk_binding_entry_add_signall)
1517 (gtk_binding_parse_binding): deprected these functions.
1519 (_gtk_binding_parse_binding)
1520 (_gtk_binding_entry_add_signall): new internal API.
1522 * gtk/gtk.symbols: changed accordingly.
1524 2006-10-03 Matthias Clasen <mclasen@redhat.com>
1526 Fix interaction of GtkEntryCompletion with input
1527 methods. (#354495, Diego Escalante Urrelo)
1529 * gtk/gtkentry.c (gtk_entry_completion_key_press): Only reset
1530 the im context if we actually handle the key event.
1532 * gtk/gtkentrycompletion.c: Also propagate key release events
1535 2006-10-03 Matthias Clasen <mclasen@redhat.com>
1537 * gtk/gtkprintsettings.c (gtk_print_settings_get_duplex):
1538 Fix a typo. (#359052, Ghee Teo)
1540 * gtk/*.c, gdk/*.c: Apply a patch by Behdad Esfahbod to
1541 reduce relocations. (#359053)
1543 2006-10-03 Matthias Clasen <mclasen@redhat.com>
1545 * modules/printbackends/cups/gtkcupsutils.c:
1546 * modules/printbackends/cups/gtkprintbackendcups.c: Complete
1547 the fix for bug 357280.
1549 2006-10-02 Behdad Esfahbod <behdad@gnome.org>
1551 * gdk-pixbuf/Makefile.am:
1554 Include pltcheck.sh in EXTRA_DIST.
1556 2006-10-02 Behdad Esfahbod <behdad@gnome.org>
1558 * gdk/x11/gdkevents-x11.c: Move all includes before including
1561 2006-10-02 Behdad Esfahbod <behdad@gnome.org>
1563 * gtk/Makefile.am: Fix typo in file name. (#358931)
1565 2006-10-02 Matthias Clasen <mclasen@redhat.com>
1567 * modules/printbackends/cups/gtkprintbackendcups.c (available_choices):
1568 Only use the group name field if cups is new enough. (#357280)
1570 * gtk/gtksizegroup.c: Make sure that the quarks are
1571 initialized before using them. (#353736)
1573 * gtk/Makefile.am (stamp-icons): Use rm instead of ln -f to
1574 replace existing links. (#354849, James Evans)
1576 2006-10-01 Matthias Clasen <mclasen@redhat.com>
1578 * gtk/gtkexpander.c (gtk_expander_realize)
1579 (gtk_expander_size_allocate): Make the event_window large
1580 enough to cover the full height of the label_widget. (#358351,
1583 2006-10-01 Tor Lillqvist <tml@novell.com>
1585 * gtk/gtkfilesystemwin32.c: Same change as to gtkfilesystemunix.c.
1587 2006-09-30 Matthias Clasen <mclasen@redhat.com>
1589 * gtk/gtkfilechooserbutton.c (update_combo_box): Protect
1590 against base_path being NULL. (#358405, many reporters)
1592 2006-09-29 Matthias Clasen <mclasen@redhat.com>
1594 * gtk/gtkfilesystemunix.c: Apply a patch by Padraig O'Briain
1595 to avoid a deadlock.
1597 2006-09-27 Kristian Rietveld <kris@imendio.com>
1599 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_free_level),
1600 (gtk_tree_model_filter_ref_node),
1601 (gtk_tree_model_filter_real_unref_node): bring zero ref count loops
1602 in sync with each other and the sort model.
1604 2006-09-27 Kristian Rietveld <kris@imendio.com>
1606 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_init),
1607 (gtk_tree_model_filter_finalize), (gtk_tree_model_filter_row_deleted),
1608 (gtk_tree_model_filter_new): unref the virtual root path once that
1609 node (or one if its ancestors) is deleted, set virtual_root_deleted
1610 so we only unref it once.
1612 2006-09-27 Kristian Rietveld <kris@imendio.com>
1614 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_changed),
1615 (gtk_tree_model_sort_sort_level): ref count nodes the proper way,
1616 (gtk_tree_model_sort_ref_node), (gtk_tree_model_sort_real_unref_node),
1617 (gtk_tree_model_sort_free_level): bring zero ref count loops in
1619 (gtk_tree_model_sort_free_level): free child levels before
1620 decreasing the zero ref count of the current level,
1621 (gtk_tree_model_sort_clear_cache): only clear cache if zero_ref_count
1624 2006-09-25 Matthias Clasen <mclasen@redhat.com>
1626 * demos/gtk-demo/*.c:
1627 * gtk/gtkeventbox.c:
1628 * gtk/gtkprintoperation.c: Fix typos. String change.
1630 2006-09-25 Kristian Rietveld <kris@gtk.org>
1632 * gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): if the tree view
1633 has already been realized; scroll to background area instead of
1634 cell area. (Fixes #330683, Johan Dahlin, Tommi Komulainen).
1636 2006-09-25 Kristian Rietveld <kris@gtk.org>
1638 * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): only attempt
1639 to create the GCs if the widget is realized. (Fixes #357578).
1641 2006-09-25 Matthias Clasen <mclasen@redhat.com>
1643 * gtk/gtkuimanager.c (_gtk_menu_is_empty): Don't leak
1644 the list of children (#357454, Paolo Borelli)
1646 2006-09-25 Michael Natterer <mitch@imendio.com>
1648 * gdk/x11/gdkdisplay-x11.c (gdk_display_x11_finalize): free
1649 display->input_windows with g_free(), not g_object_unref()
1650 (#357566, Tommi Komulainen).
1652 2006-09-24 Kristian Rietveld <kris@gtk.org>
1654 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init),
1655 (gtk_cell_renderer_text_[sg]et_property): actually add align-set
1656 property to the API (left-over patch from #157439).
1658 2006-09-24 Kristian Rietveld <kris@gtk.org>
1660 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button): draw
1661 the indicator if the column has a sort column id (and the model is
1662 sortable) or if the user explicitly requested the indicator
1663 to be shown. (Fixes #352738, Chris Vine).
1665 2006-09-23 Tor Lillqvist <tml@novell.com>
1667 * gtk/Makefile.am: Use EXEEXT.
1669 2006-09-22 Michael Natterer <mitch@imendio.com>
1671 * gtk/gtkstyle.c (gtk_style_real_copy): also copy icon factories
1672 and color hashes. Fixes bug #357132.
1674 2006-09-22 Matthias Clasen <mclasen@redhat.com>
1676 Make remote bookmarks work better (#354887)
1678 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons):
1679 (shortcuts_insert_path):
1680 * gtk/gtkfilechooserbutton.c (change_icon_theme):
1681 (model_add_bookmarks):
1682 (model_update_current_folder):
1683 (update_label_and_image):
1684 If the bookmark points to a remote file, don't call get_info(),
1685 since that may a) take a long time and b) pop up an auth dialog.
1686 Instead, just use a folder icon and create a display name
1689 * gtk/gtkfilechooserdefault.c (_gtk_file_chooser_label_for_uri):
1690 New function to create a suitable display name for a remote
1691 uri. This should really be done in GtkFileSystem.
1693 2006-09-21 Michael Natterer <mitch@imendio.com>
1695 Implement lots of value setters for GdkGC, based on a heavily
1696 modified patch from Thomas Broyer (bug #328853):
1698 * gdk/quartz/gdkcolor-quartz.c: removed functions which set colors
1699 on the CGContext. Instead, added gdk_quartz_get_rgba_from_pixel()
1700 which simply returns RGBA values from a GdkColor's pixel value.
1701 See gdk_quartz_update_context_from_gc() below.
1703 * gdk/quartz/gdkprivate-quartz.h (struct GdkGCQuartz): added lots
1704 of members for the newly suppored GC values. Added enum
1705 GdkQuartzContextValuesMask which is used for setting up the
1706 CGContext for filling and/or stroking.
1708 * gdk/quartz/gdkgc-quartz.c (gdk_quartz_gc_get_values)
1709 (gdk_quartz_gc_set_values)
1710 (_gdk_windowing_gc_copy): support a lot more GC values.
1712 (gdk_quartz_update_context_from_gc): added
1713 GdkQuartzContextValuesMask parameter and set filling/stroking
1714 parameters accordingly. This function also gained full control
1715 over the FG and BG colors (they can't be set separately any more).
1717 The stipple mask part of the patch doesn't work but seems to take
1718 the right approach and doesn't make things worse, so I applied it.
1720 Did *not* apply the clipping part of the patch since I don't
1721 understand it (I don't understand the version in CVS either, but
1722 it at least works :-)
1724 * gdk/quartz/gdkdrawable-quartz.c: pass the right masks to
1725 gdk_quartz_update_context_from_gc() and removed separate color
1726 setting calls. Some minor fixes.
1728 * gdk/quartz/gdkwindow-quartz.c
1729 (gdk_window_impl_quartz_begin_paint_region): set the CGContext's
1730 fill color manually. We don't have/need a GC here.
1732 2006-09-21 Michael Natterer <mitch@imendio.com>
1734 * gdk/quartz/gdkwindow-quartz.c
1735 (gdk_window_impl_quartz_begin_paint_region): fix cast: it's
1736 drawable_impl->wrapper that is the GdkWindow, not the
1737 drawable_impl itself.
1739 2006-09-20 Behnam Esfahbod <behnam@zwnj.org>
1741 * gdk/x11/gdkkeys-x11.c:
1742 (get_direction): just check the first shift-level of keyboard
1743 layout for RTL and LTR keysyms() (compliment to #116626)
1745 Wed Sep 20 16:59:38 2006 Tim Janik <timj@imendio.com>
1747 * gtk/gtkviewport.c: always update the bin_window position and size
1748 in size_allocate, even if we don't have a visible child. this fixes
1749 expose artefacts as described in #313508.
1751 * gtk/gtkscrolledwindow.c: make hiding of automatic scrollbars when we
1752 have no visible child explicit.
1754 2006-09-19 Ryan Lortie <desrt@desrt.ca>
1756 * docs/reference/gdk/gdk-sections.txt:
1759 * gdk/gdkpango.c: Bug 355343. Add a GdkPangoAttrEmbossColor.
1760 (gdk_pango_layout_get_clip_region): Remove an unused variable.
1761 (gdk_pango_attr_embossed_new): Fix documentation.
1763 Tue Sep 19 17:00:04 2006 Tim Janik <timj@imendio.com>
1765 * gtk/gtkarrow.c: added GtkArrow::arrow-scaling style property to
1766 control the arrow/border ratio within the allocation.
1768 * tests/testgtk.c: added a GtkArrow to handle box test.
1770 * tests/testgtkrc: test ::arrow-scaling property.
1772 2006-09-19 Matthias Clasen <mclasen@redhat.com>
1774 * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
1775 Display an error when we come to the root.
1777 2006-09-16 Matthias Clasen <mclasen@redhat.com>
1779 * gtk/gtkfilechooserbutton.c: Use bookmark labels in
1782 * gtk/gtkfilechooserbutton.c: Don't add remote volumes and
1783 bookmarks to the model in local-only mode, to avoid
1784 authentication dialogs pop up for invisible bookmarks, and
1785 to fix issues with separators not being hidden when
1786 they should. (#354887, Dennis Cranston)
1788 2006-09-16 Matthias Clasen <mclasen@redhat.com>
1790 * gtk/gtkcombobox.c (gtk_combo_box_finalize): Unref the
1791 treeview use in list mode. (#355732, Richard Hult)
1793 * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): Send
1794 change notification for the right property. (#355308,
1797 2006-09-15 Michael Natterer <mitch@imendio.com>
1799 * gtk/gtktreeview.c (gtk_tree_view_key_press): refactored column
1800 header navigation/resizing/reordering to be more readable and lose
1801 one level of nesting.
1803 2006-09-15 Kristian Rietveld <kris@imendio.com>
1805 * gtk/gtktreeview.c (gtk_tree_view_key_press): actually directly
1806 return after handling column button focus; we disable wrap around
1807 with this (which actually happened via a really weird code path).
1810 2006-09-15 Kristian Rietveld <kris@imendio.com>
1812 * gtk/gtktreeview.c (gtk_tree_view_key_press): make column resizing
1813 code RTL aware, also break from the loops after we have seen the
1814 focussed column button (Michael Natterer).
1816 Thu Sep 14 12:28:51 2006 Tim Janik <timj@imendio.com>
1818 * tests/testrichtext.c (main): intialize random number generator state
1819 upon program start, to enable truely random testing.
1821 2006-09-13 Michael Emmel <mike.emmel@gmail.com>
1823 * gdk/directfb/gdkcolor-directfb.c small clean ups include order
1824 * gdk/directfb/gdkwindow-directfb.c fixed beep compile error
1825 * gdk/directfb/Makefile.am removed GDK_PIXBUF_DISABLE_DEPRECATED
1826 GDK_DISABLE_DEPRECATED to allow compile per Behdad
1827 * gdk/quartz/Makefile.am same change as directfb Makefile
1828 * gtk/Makefile.am fixed typo that cause socket stubs not to compile
1830 2006-09-13 Matthias Clasen <mclasen@redhat.com>
1832 * gtk/gtkcolorsel.c: Use a GtkWindow instead of a GtkInvisible
1833 for the grab widget, to make the color picker work with window
1836 2006-09-12 Hong Jen Yee <pcman.tw@gmail.com>
1838 signed off by: Dom Lachowicz
1840 * modules/engines/ms-windows/msw_style.c: Bug 340201. This contains
1841 a large number of improvements to the Microsoft Windows theme engine
1842 which are fully described in the bug report.
1844 Mon Sep 11 14:22:39 2006 Tim Janik <timj@imendio.com>
1846 * tests/testgtk.c: fixed compiler warnings.
1848 2006-09-10 Matthias Clasen <mclasen@redhat.com>
1850 * gtk/gtkfilechooserbutton.c (model_add_special): Request
1851 the display name too, otherwise "Desktop" does not appear
1852 in the file chooser button.
1854 2006-09-10 Tor Lillqvist <tml@novell.com>
1856 * gdk/win32/gdkprivate-win32.h
1857 * gdk/win32/gdkmain-win32.c
1858 * gdk/win32/gdkwindow-win32.c: Define WINVER and _WIN32_WINNT as
1859 0x0500 in gdkprivate-win32.h instead of doing it in two source
1860 files. (#355212, Mike Edenfield)
1862 * gdk/win32/gdkwindow-win32.c: We can also remove the ersatz
1863 GetAncestor() for the _MSC_VER && WINVER < 0x0500 case, I hope.
1865 2006-09-10 Matthias Clasen <mclasen@redhat.com>
1867 * Commit a patch by Behdad to fix typos, omissions and other
1868 errors in the symbol aliasing, and add checks for local PLT
1869 entries. (#354687, Behdad Esfahbod)
1871 * gtk/gtktreeview.c (gtk_tree_view_search_scroll_event): Renew
1872 the flush timeout. (#354043, Nelson Benitez)
1874 * gtk/gtkfilechoosersettings.c (set_unexpected_element_end_error):
1875 Improve wording. String change! (#355126, David Lodge)
1877 * gtk/updateiconcache.c: Improve wording. String change! (#355128,
1880 * gtk/paper_names_offsets.c: Fix a typo. String change! (#355134,
1883 2006-09-09 Matthias Clasen <mclasen@redhat.com>
1885 * gdk/x11/gdkfonts-x11.c: Fix small theoretical memory leaks.
1886 (#353916, Chris Wilson)
1888 * gtk/gtksettings.c (_gtk_settings_reset_rc_values):
1889 Don't leak the to_reset list. (#353914, Chris Wilson)
1891 * gtk/gtkwidget.c: Add docs for the parent-set signal.
1892 (#353772, Mariano Suárez-Alvarez)
1894 2006-09-08 Matthias Clasen <mclasen@redhat.com>
1896 * gtk/gtktextbuffer.c (remove_all_selection_clipboards):
1897 Don't clear clipboards here, since we are called from finalize
1898 and can't emit signals.
1900 * configure.in: Set version to 2.11.0
1902 2006-09-06 Richard Hult <richard@imendio.com>
1904 * gdk/quartz/gdkkeys-quartz.c: (maybe_update_keymap): Special-case
1905 shift-tab and map it to GDK_ISO_Left_Tab, fixes bug #350806.
1907 2006-09-04 Kristian Rietveld <kris@imendio.com>
1909 * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
1910 if setting the given folder failed, try setting the parent folder
1911 until we succeed; display an error box at the end.
1913 2006-09-04 Kristian Rietveld <kris@imendio.com>
1915 * gtk/gtkpathbar.c (gtk_path_bar_dispose): don't cancel the
1916 operations spawned by buttons here,
1917 (set_button_image_get_info_cb): bail out if button is NULL, but
1918 do free button_data,
1919 (button_data_free): only free the data if non NULL (since this
1920 function can be called multiple times for the same data), cancel
1921 handle if pending but don't free button_data in this case (will
1922 happen in the callback).
1924 2006-09-04 Michael Natterer <mitch@imendio.com>
1926 * gtk/gtkrc.c (rc_parse_token_or_compound)
1927 (gtk_rc_parse_assignment): serialize floating point values using
1928 locale-independent functions. (#346751, Frederic Crozat)
1930 2006-09-04 Tor Lillqvist <tml@novell.com>
1932 * gdk/win32/gdkevents-win32.c
1933 * gdk/win32/gdkwindow-win32.c: Use wide-char API for message and
1934 window handling (PeekMessage, PostMessage, SendMessage,
1935 DispatchMessage, DefWindowProc, RegisterClassEx,
1936 CreateWindowEx). (#321597)
1938 2006-09-03 Kristian Rietveld <kris@imendio.com>
1940 * gtk/gtkfilechooserdefault.c (save_entry_get_info_cb),
1941 (file_exists_get_info_cb), (gtk_file_chooser_default_should_respond):
1942 change file_exists_and_is_not_folder checks to get the file info
1943 for the path directly instead of querying the current file folder
1946 * gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault): add
1949 * tests/autotestfilechooser.c (wait_for_idle_idle), (wait_for_idle),
1950 (test_reload_sequence), (test_button_folder_states_for_action): wait
1951 for idle after setting a folder to ensure the async operations to load
1952 the folder are finished,
1953 (test_confirm_overwrite), (test_confirm_overwrite_for_path):
1954 factor out test_confirm_overwrite code so we can add tests for more
1957 2006-09-03 Richard Hult <richard@imendio.com>
1959 * gdk/quartz/GdkQuartzView.c (drawRect): Don't do anything if
1960 exposure isn't in the event mask, plug a leak, and check that the
1961 window isn't destroyed.
1962 (isOpaque): Check that the window isn't destroyed, fixes bug
1965 2006-09-03 Matthias Clasen <mclasen@redhat.com>
1967 * gtk/gtkwidget.c (gtk_widget_class_init): Fix a typo.
1968 (#354035, Mariano Suárez-Alvarez)
1970 * gtk/gtkmain.c (post_parse_hook):
1971 * gdk/gdk.c (gdk_init): Handle display_name being NULL.
1972 (#354004, Chris Wilson)
1974 2006-09-03 Tor Lillqvist <tml@novell.com>
1976 * gdk/win32/gdkwindow-win32.c (gdk_window_beep): No
1977 GDK_WINDOW_DISPLAY in the Win32 backend.
1979 * gtk/gtkfilesystemwin32.c: Copy what Kris did to
1982 2006-09-02 Kristian Rietveld <kris@imendio.com>
1984 First part of file chooser fixes.
1986 * gtk/gtkfilechooserbutton.c (model_add_special): also set the
1987 handle in the model for the desktopdir case.
1989 * gtk/gtkfilechooserdefault.c (shortcuts_add_current_folder): free
1990 volume in case we retrieved it but don't pass it on to insert_path,
1991 (shortcuts_model_create): change the column type for the handles
1992 to pointer instead of GObject so our handle ref counting is not
1994 (show_and_select_paths_finished_loading): don't forget to unref
1997 * gtk/gtkfilesystemunix.c (gtk_file_system_unix_class_init),
1998 (gtk_file_system_unix_init), (gtk_file_system_unix_dispose):
1999 remove pending execute_callbacks_idle during dispose, also
2000 execute all callbacks waiting to be run in the next idle,
2001 (queue_*callback), (execute_callbacks_idle): refactor to maintain
2002 a list of callbacks to call per file system instead of globally,
2003 guard the file system during callback invocation,
2004 (gtk_file_system_unix_get_folder): only add load folder idle if
2005 none has been added yet.
2007 2006-09-01 Matthias Clasen <mclasen@redhat.com>
2009 * gtk/gtkentry.c: Don't unnecessarily reset the im context
2010 when deleting the selection. (#353803, Alex Larsson)
2012 2006-09-01 Abel Cheung <abel@oaka.org>
2014 * configure.in: Added 'ang' 'dz' to ALL_LINGUAS.
2016 2006-08-31 Matthias Clasen <mclasen@redhat.com>
2018 Stop cursor blinking after a configurable timeout.
2019 (#353670, #352442, Arjan van de Ven, Manu Cornet)
2021 * gtk/gtksettings.c (gtk_settings_class_init): Add a
2022 gtk-cursor-blink-timeout setting, which specifies the number
2023 of seconds that the cursor should blink after a user interaction.
2024 The default value is G_MAXINT to preserve the current behaviour.
2026 * gtk/gtkentry.c (blink_cb): Stop blinking after blink-timeout
2029 * gtk/gtkentry.c (gtk_entry_completion_key_press)
2030 (gtk_entry_button_press, gtk_entry_focus_in): Reset the
2033 * gtk/gtktextview.c (blink_cb): Stop blinking after blink-timeout
2036 * gtk/gtktextview.c (gtk_text_view_key_press_event)
2037 (gtk_text_view_button_press_event, gtk_text_view_focus_in_event):
2038 Reset the blink timer.
2040 2006-08-31 Matthias Clasen <mclasen@redhat.com>
2042 * gtk/gtkprintoperation-unix.c (get_print_dialog): Don't specify
2043 explicit format capabilities. (#346505, Christian Persch)
2045 * modules/printbackends/cups/gtkprintbackendcups.c (cups_request_printer_list_cb): Send printer-list-done on error.
2047 2006-08-31 Michael Natterer <mitch@imendio.com>
2049 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Fix build.
2051 2006-08-30 Richard Hult <richard@imendio.com>
2053 * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep): Fix build.
2055 2006-08-30 Matthias Clasen <mclasen@redhat.com>
2057 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Only use XKB
2058 for beeping if we are using XKB.
2060 2006-08-29 Matthias Clasen <mclasen@redhat.com>
2064 * gdk/directfb/gdkwindow-directfb.c (gdk_window_beep):
2065 * gdk/win32/gdkwindow-win32.c (gdk_window_beep):
2066 * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep):
2067 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Add a function
2068 to beep on a window. For X11, implement this with
2069 XkbBell. (#353455, Mariano Suárez-Alvarez)
2071 2006-08-29 Tor Lillqvist <tml@novell.com>
2073 Remove support for Windows 9x/ME. GTK+ hasn't worked on Win9x
2074 since 2.6 or 2.8. It's pointless to keep the Win9x code in here as
2075 it isn't being maintained anyway. If somebody is interested, it
2076 can always be found in older GTK+ versions, and in CVS.
2081 * gdk/win32/Makefile.am
2082 * gdk/win32/libie55uid.la
2083 * gdk/win32/gdkevents-win32.c: Remove the --with-ie55 configure
2084 switch and associated stuff. Active IMM and the <dimm.h> header
2085 was used for IM support on NT4 and Win9x. Win2k and later have IM
2088 * gdk/win32/gdkcursor-win32.c
2089 * gdk/win32/gdkdnd-win32.c
2090 * gdk/win32/gdkdrawable-win32.c
2091 * gdk/win32/gdkevents-win32.c
2092 * gdk/win32/gdkgc-win32.c
2093 * gdk/win32/gdkglobals-win32.c
2094 * gdk/win32/gdkkeys-win32.c
2095 * gdk/win32/gdkmain-win32.c
2096 * gdk/win32/gdkproperty-win32.c
2097 * gdk/win32/gdkselection-win32.c
2098 * gdk/win32/gdkwindow-win32.c: Remove the G_WIN32_IS_NT_BASED()
2099 and G_WIN32_HAVE_WIDECHAR_API() tests and their false (Win9x)
2100 branches, and any variables or static functions used only by the
2103 * gdk/win32/gdkprivate-win32.h: Remove backup definitions for
2104 constants that aren't missing from current mingw and MSVC6
2107 * gdk/win32/gdkmain-win32.c
2108 * gdk/win32/gdkprivate-win32.h: Remove the _gdk_win32_gdi_failed()
2109 function. On NT-based Windows GetLastError() returns error codes
2110 also for failed GDI calls, so we can use _gdk_win32_api_failed()
2113 2006-08-29 Emmanuele Bassi <ebassi@gnome.org>
2115 * gtk/gtkrecentchoosermenu.c
2116 (gtk_recent_chooser_menu_set_current_uri): Break when an item
2117 is found and activated. (#353449, based on a patch by Jan Arne
2120 Fri Jul 14 16:13:37 2006 Tim Janik <timj@gtk.org>
2122 * gtk/gtkprogressbar.c: introduced ::xspacing and ::yspacing style
2123 properties which make all hardcoded padding and spacing values
2124 configurable. properly swap ::text-xalign treatment for RTL widgets.
2126 * gtk/gtkprogress.c: fixed style property blurbs. made alignment
2127 proeprty more consistent with GtkMisc alignment blurbs. mention
2128 RTL treatment for text-xalign.
2130 Tue Aug 29 11:57:40 2006 Tim Janik <timj@imendio.com>
2132 * tests/testgtk.c: allow (most) windows to be resizable.
2133 added ellipsization settings to progress bars.
2135 2006-08-28 Matthias Clasen <mclasen@redhat.com>
2137 * modules/printbackend/cups/gtkprintbackendcups.c: Use a
2138 resonable timeout of 3 seconds when polling for printer
2139 list updates, instead of 300000 seconds...
2141 2006-08-28 Michael Natterer <mitch@imendio.com>
2143 * gtk/gtktextbufferserialize.c (serialize_text): don't write out
2144 </apply_tag> for tags that have already been closed by the logic
2145 which turns overlapping spans into XML-able trees. Fixes broken
2146 XML when there are overlapping tags in the buffer. Also free two
2147 leaked GLists and did some cleanup.
2150 * tests/testrichtext.c: new test which creates randomly tagged
2151 GtkTextBuffers and serializes/deserializes them.
2153 2006-08-26 Matthias Clasen <mclasen@redhat.com>
2155 * gtk/gtkstatusicon.c (gtk_status_icon_reset_image_data):
2156 Don't leak pixbufs. (#352264, Ross Burton)
2158 * gtk/gtklinkbutton.c (set_link_underline): Don't leak
2159 PangoAttributes. (#352391, Paolo Borelli)
2161 2006-08-25 Matthias Clasen <mclasen@redhat.com>
2163 * demos/gtk-demo/Makefile.am:
2164 * demos/gtk-demo/textscroll.c: Add an example of automatic
2165 scrolling, thanks to Yevgen Muntyan. (#351206)
2167 * gtk/gtkmodules.c (find_module): Use local binding when
2168 loading modules. (#351868)
2170 2006-08-24 Michael Natterer <mitch@imendio.com>
2172 * gdk/quartz/gdkdisplay-quartz.c (gdk_display_get_name): return
2173 the hostname instead of NULL.
2175 2006-08-23 Matthias Clasen <mclasen@redhat.com>
2177 * gtk/gtkprinteroptionwidget.[hc]: Fix confusion about
2178 names and values in comboboxes, and clean up some
2179 coding style issues.
2181 2006-08-23 Tor Lillqvist <tml@novell.com>
2183 * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_make_path):
2184 Revert unintended translatable string addition. Use same string
2185 in GError as in gtkfilesystemunix.c.
2187 * gtk/gtkfilesystemwin32.c (_gtk_file_system_win32_path_compare):
2188 Fix logic at the end of strings.
2190 * gtk/gtkfilesystemwin32.c: Maintain a hash table of live
2191 handles and check that we have no outstanding handles at
2192 finalization time. (Copying what Matthias did for
2193 gtkfilesystemunix.c)
2195 2006-08-23 Matthias Clasen <mclasen@redhat.com>
2197 * gtk/gtkfilesystemunix.c: Maintain a hash table
2198 of live handles and check that we have no outstanding
2199 handles at finalization time. (Copying what
2200 Federico did for gtkfilesystemgnomevfs.c)
2202 2007-08-22 Matthias Clasen <mclasen@redhat.com>