1 2007-01-02 Matthias Clasen <mclasen@redhat.com>
3 Try to fix #315732, reported by Luke Hutchinson:
5 * gdk/x11/xsettings-client.[hc]:
6 * gdk/x11/gdkdevents-x11.c: Don't assume that ref'ing a GdkWindow
7 will guarantee that it can be looked up in the xid hash later.
8 Also, use the nesting server grab function during the xsettings
9 client initialization. Finally, make xsettings client not
10 eat DestroyNotifys so that GDK can do its regular cleanup.
12 2007-01-02 Michael Natterer <mitch@imendio.com>
14 * gtk/gtkrange.c (gtk_range_scroll) (gtk_range_move_slider): beep
15 when a keybinding didn't change adjustment->value.
17 2007-01-02 Matthias Clasen <mclasen@redhat.com>
19 * gtk/gtktextbuffer.c (gtk_text_view_key_press_event):
20 Try harder not to beep on events which are not meant to
21 insert stuff in the buffer. (#390514, Yevgen Muntyan)
23 2007-01-02 Matthias Clasen <mclasen@redhat.com>
25 * gtk/gtktextbufferrichtext.c: Small documentation fixes.
27 2007-01-02 Matthias Clasen <mclasen@redhat.com>
29 * gtk/gtkentry.c (get_text_area_size): Center in the frame.
30 (#304482, Rob Staudinger, patch by Richard Stellingwerff)
32 2007-01-02 Michael Emmel <mike.emmel@gmail.com>
34 * gdkwindow-directfb.c: fixed leak of dfb resource on destroy
36 2007-01-01 Matthias Clasen <mclasen@redhat.com>
38 * gtk/gtkscrolledwindow.h:
39 * gtk/gtkscrolledwindow.c: Only handle key bindings
40 for scrolling if the scrollbars are visible.
41 (#340135, Christian Persch)
43 2007-01-01 Matthias Clasen <mclasen@redhat.com>
45 * gtk/gtktextview.c (gtk_text_view_scroll_hpages):
46 Don't segfault on horizontal scrolling.
48 2007-01-01 Matthias Clasen <mclasen@redhat.com>
51 * gtk/gtknotebook.c: Only handle key bindings for
52 tab reordering if the tabs are shown and reorderable.
53 (#390468, Yevgen Muntyan)
55 * gtk/gtkmarshalers.list: Add required marshaler
57 2007-01-01 Matthias Clasen <mclasen@redhat.com>
59 * gtk/gtkcontainer.c (gtk_container_class_list_child_properties):
60 Mention in the docs that the return value is
61 NULL-terminated. (#383373, Christian Neumair)
63 2007-01-01 Matthias Clasen <mclasen@redhat.com>
65 * gtk/gtkicontheme.c (load_themes): Waste less time
66 with non-directories. (#391725, Chris Wilson)
68 2007-01-01 Matthias Clasen <mclasen@redhat.com>
70 * gtk/gtkcellrendererprogress.c: Implement activity mode
71 for GtkCellRendererProgress. (#377851, Brad Taylor)
73 2007-01-01 Matthias Clasen <mclasen@redhat.com>
75 Fix some IPP compliance issues. (#391523, Albrecht Dress)
77 * modules/printbackends/cups/gtkcupsutils.c
78 (gtk_cups_request_encode_option): Use IPP_TAG_JOB, not
80 * modules/printbackends/cups/gtkprintbackendcups.c
81 (gtk_print_backend_cups_print_stream): Don't add the
82 requesting-user-name attribute a second time.
84 2007-01-01 Matthias Clasen <mclasen@redhat.com>
86 * gtk/gtkimcontextsimple.c: Fix en/em dash confusion. (#378462)
88 2006-12-31 Emmanuele Bassi <ebassi@gnome.org>
90 * gtk/gtkrecentchoosermenu.c (set_recent_manager): Use the
91 right object when disconnecting from the GtkRecentManager::changed
92 signal; save us a few indirections using a variable.
94 2006-12-31 Emmanuele Bassi <ebassi@gnome.org>
96 * gtk/gtkrecentchoosermenu.c: Move the signal and idle
97 disconnections into the dispose function, as well as the
98 object unrefs; reset every handler id and the
99 pointers. (suggested by Paolo Borelli, #390873)
101 2006-12-31 Matthias Clasen <mclasen@redhat.com>
103 * gtk/gtkprintoperation-win32.c: Include windows.h (#391229,
106 2006-12-30 Matthias Clasen <mclasen@redhat.com>
108 * gtk/gtktextview.c (gtk_text_view_destroy): Remove the
109 scroll timeout. (#390872, Yevgen Muntyan)
111 2006-12-30 Matthias Clasen <mclasen@redhat.com>
113 * gtk/gtkprintoperation-unix.c:
114 * gtk/gtkprintbackend.c:
115 * gtk/gtkfilechooserdefault.c:
116 * gtk/gtksettings.c: Move a few settings to gtksettings.c
117 to make sure they show up in the docs. (#365364, Christian
120 2006-12-30 Matthias Clasen <mclasen@redhat.com>
122 * gtk/gtkassistant.c: Redraw assistant on reallocate
123 to avoid rendering glitches. (#343956, Christian
124 Persch, Carlos Garnacho)
126 2006-12-30 Matthias Clasen <mclasen@redhat.com>
128 * gtk/gtkrange.c: Typo fix. (#352121, Clytie Siddall)
130 2006-12-30 Matthias Clasen <mclasen@redhat.com>
132 * gtk/gtkaction.c: Improve the docs of the "label"
133 property. (#341730, Kristof Vansant)
135 2006-12-30 Matthias Clasen <mclasen@redhat.com>
137 * gtk/gtkwindow.c (gtk_window_compute_configure_request_size):
138 Correctly handle min size. (#320465, Philipp Langdale)
140 2006-12-30 Matthias Clasen <mclasen@redhat.com>
142 * gtk/prop-editor.c: Implement editing of flags.
144 2006-12-30 Matthias Clasen <mclasen@redhat.com>
149 * gtk/gtkstatusbar.c:
150 * gtk/gtktextview.c: Don't install cursors on insensitive
151 widgets. (#358864, Jan Schampera)
153 2006-12-29 Matthias Clasen <mclasen@redhat.com>
155 * gtk/gtkrecentmanager.h:
156 * gtk/gtkprintoperation.c: Fix doc typos. (#370909,
159 * gtk/gtkstyle.c (gtk_style_attach): Clarify docs. (#353423,
162 * gtk/gtkentry.c (blink_cb):
163 * gtk/gtktextview.c (blink_cb): Don't die in an assertion
164 if focus went missing. Just warn, clean up and continue.
167 2006-12-29 Carlos Garnacho <carlosg@gnome.org>
169 * gtk/gtknotebook.c (gtk_notebook_scroll): return if the widget that
170 originally received the event is a notebook page. (#315440, reported
173 2006-12-29 Matthias Clasen <mclasen@redhat.com>
175 * gdk/gdkcolor.c (gdk_color_hash): Fix a typo. (#390613,
178 2006-12-29 Matthias Clasen <mclasen@redhat.com>
180 * tests/prop-editor.c: Display children of containers
181 and cell renderers of cell layouts.
184 * gtk/gtkcelllayout.[hc] (gtk_cell_layout_get_cells):
185 New function to get the cell renderers of a cell layout.
187 * gtk/gtktreeviewcolumn.c:
189 * gtk/gtkiconview.c: Implement get_cells.
191 2006-12-28 Matthias Clasen <mclasen@redhat.com>
193 * gtk/gtkiconview.c: Use word wrapping by default, and
194 center multiline labels. (#318763, Ross Burton)
196 * gtk/gtkcellrenderertext.c (get_layout): Remove a special
197 case for single-line layouts.
199 2006-12-28 Matthias Clasen <mclasen@redhat.com>
201 * gtk/gtkarrow.c: Fix a typo in the docs. (#390423,
204 * gtk/gtkuimanager.c (update_node): Only use the results
205 of find_menu/toolbar_position() if they succeed. May fix
208 2006-12-28 Matthias Clasen <mclasen@redhat.com>
210 * gdk/gdk.c: Fix some formatting errors in docs.
212 2006-12-28 Tor Lillqvist <tml@novell.com>
214 * gtk/gtkstatusicon.c (gtk_status_icon_finalize)
215 (gtk_status_icon_update_image): Don't leak HICONs on
216 Win32. (#364868, Hiroyuki Yamamoto)
218 2006-12-28 Carlos Garnacho <carlosg@gnome.org>
220 Make GtkNotebook able to drop detached tabs anywhere. Bug #360225.
222 * gtk/gtkwidget.c (gtk_widget_class_init): add "drag-failed" signal.
223 * gtk/gtkmarshalers.list: add new marshaler definition.
224 * gtk/gtkenums.h: add GtkDragResult enum.
226 * gtk/gtkdnd.c (gtk_drag_drop_finished): emit "drag-failed" if DND
227 operation wasn't successful.
228 (_gtk_drag_source_handle_event) (gtk_drag_drop)
229 (gtk_drag_selection_get) (gtk_drag_cancel) (gtk_drag_key_cb)
230 (gtk_drag_grab_broken_event_cb) (gtk_drag_grab_notify_cb)
231 (gtk_drag_button_release_cb) (gtk_drag_abort_timeout): tell
232 gtk_drag_drop_finished() the operation result.
234 * gtk/gtknotebook.c (gtk_notebook_drag_failed): new function.
235 (gtk_notebook_drag_data_get): do not call window creation hook here.
236 (gtk_notebook_init): do not set "application/x-rootwindow-drop"
237 target, instead connect to "drag-failed".
238 (gtk_notebook_draw_focus): fix potential crasher if cur_page is NULL.
240 2006-12-28 Mikael Hallendal <micke@imendio.com>
242 * gdk/quartz/gdkevents-quartz.c: Factored out the event loop
243 integration into gdkeventloop-quartz.c.
245 * gdk/quartz/Makefile.am: Added gdkeventloop-quartz.c
247 * gdk/quartz/gdkeventloop-quartz.c: New file containing the event loop
250 2006-12-27 Matthias Clasen <mclasen@redhat.com>
252 * modules/printbackends/lpr/gtkprintbackendlpr.c
253 (gtk_print_backend_lpr_print_stream): Close the io channel
254 on unref. (#390159, Joe Markus Clarke)
256 2006-12-27 Matthias Clasen <mclasen@redhat.com>
258 * gdk/gdk.h: Remove redundant declarations (#390097,
261 2006-12-27 Kristian Rietveld <kris@gtk.org>
263 Support inverting arrows via XSetting. (#377979, Yevgen Muntyan).
265 * gtk/gtksettings.c (gtk_settings_class_init): add new setting
266 gtk-alternative-sort-arrows.
268 * gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting): add
271 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: set new
272 gtk-alternative-sort-arrows setting to true.
274 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
275 invert direction if gtk-alternative-sort-arrows is TRUE.
277 2006-12-27 Tor Lillqvist <tml@novell.com>
279 * gtk/gtk.symbols: Add gtk_status_icon_get_screen and
280 gtk_status_icon_set_screen.
282 * gtk/gtkstatusicon.c: Implement gtk_status_icon_position_menu()
283 on Windows. Keep track of where the last button click on the
284 taskbar icon took place, and return that. Obviously not correct if
285 no button has ever been clicked on the icon, or if the geometry of
286 the taskbar has changed since. But for most use cases where a menu
287 is going to be displayed as a direct result of a button click on
288 the status icon, works fine. (#377349)
290 Implement getting the orientation property on Windows.
292 (gtk_status_icon_embedded_changed)
293 (gtk_status_icon_orientation_changed): Ifdefify these functions
294 that are used only on X11.
296 2006-12-27 Tor Lillqvist <tml@novell.com>
298 * gtk/gtkfilesystemwin32.c (execute_callbacks): Fix
299 typo. (#390035, Kazuki Iwamoto)
301 2006-12-27 Matthias Clasen <mclasen@redhat.com>
303 * gtk/gtkcellview.c (gtk_cell_view_set_model): Accept NULL.
305 * gtk/gtkcombobox.c (gtk_combo_box_set_model):
306 (gtk_combo_box_unset_model): Handle repeated unsetting
307 of models without warnings. (#367529, Robert Ancell)
309 2006-12-27 Matthias Clasen <mclasen@redhat.com>
311 * modules/printbackends/cups/gtkcupsutils.c:
312 * modules/printbackends/cups/gtkprintbackendcups.c: Use
313 getters for http fields where available. (#364866,
316 2006-12-27 Matthias Clasen <mclasen@redhat.com>
318 * gtk/gtkwidget.c (gtk_widget_show): Add a g_return_if_fail.
321 2006-12-27 Matthias Clasen <mclasen@redhat.com>
323 * gtk/gtkuimanager.c (update_node): If a required action
324 is missing, don't recurse over the children. (#349119,
327 2006-12-27 Matthias Clasen <mclasen@redhat.com>
329 Fix a few problems with nested menus in comboboxes
330 (#386694, Yevgen Muntyan)
332 * gtk/gtkcombobox.c (gtk_combo_box_menu_fill_level): Always
333 connect the activate callback.
334 (gtk_combo_box_menu_item_activate): Do nothing if called on
335 an item with a submenu.
336 (gtk_combo_box_menu_row_deleted): Remove a submenu when it
339 2006-12-26 Mariano Suárez-Alvarez <mariano@gnome.org>
341 * gtk/gtkfilechooserbuuton.[hc]: Add a file-set signal to the
342 filechooser button. Bug 353196.
344 2006-12-26 Kristian Rietveld <kris@gtk.org>
346 * gtk/gtktreeview.c (gtk_tree_view_search_init): fix typo causing
347 the search dialog timeout never to be refreshed. (#389581,
348 Andrzej Szombierski).
350 2006-12-26 Kristian Rietveld <kris@gtk.org>
352 Lots of scrolling fixes. Made scrolling work properly in not fully
353 validated tree views; fixed a bunch of corner cases.
355 * gtk/gtktreeview.c (validate_visible_area): if a row's dy is past
356 upper - page_size, we know it is located at the end so the test for
357 dy + height has been dropped.
358 In the same case if area_below < 0, we know this is the last node
359 in the tree view so area_above is page_size - height of this row.
360 (validate_visible_area): got rid of subtracting new_height -
361 old_height from area_{below,above}, it didn't make any sense at
362 all and the full height of the row should be subtracted instead.
363 (validate_visible_area): when scrolling to a given path, set the
364 top row directly together with the dy offset, then sync that top_row
366 (gtk_tree_view_set_top_row): new function to directly set a top_row.
367 (gtk_tree_view_dy_to_top_row): refactored to use
368 gtk_tree_view_set_top_row().
369 (gtk_tree_view_top_row_to_dy): make sure dy >= 0 when done.
370 (gtk_tree_view_adjustment_changed): only update our dy and
371 top_row if the adjustment's dy actually changed.
373 2006-12-26 Christian Persch <chpe@cvs.gnome.org>
375 * gtk/gtknotebook.c: (gtk_notebook_real_insert_page):
376 Return the correct value from gtk_notebook_insert_page if the
377 page-added handler reorders the tabs. Bug #345094.
379 2006-12-26 Carlos Garnacho <carlosg@gnome.org>
381 Fix small regressions in GtkNotebook tab detaching. Bug #378852.
383 * gtk/gtknotebook.c (gtk_notebook_do_arrow): grab focus to allow tabs
384 scrolling when hovering with a detached tab.
385 (gtk_notebook_stop_reorder): Do not deparent the wrong tab if the
386 focus tab has changed during a tab DND operation.
387 (gtk_notebook_drag_end): ensure that the dropped tab gets focused.
388 (gtk_notebook_paint): do not take cur_page as a reference to paint the
389 box if it's detached.
390 (gtk_notebook_calculate_tabs_allocation): focus_tab may be different
391 to the detached tab if we hover the arrows during a tabs detaching
392 operation, do not allocate it unconditionally in 0,0.
394 2006-12-26 Carlos Garnacho <carlosg@gnome.org>
396 Expose improvements for GtkNotebook. Bug #383435
398 * gtk/gtknotebook.c (gtk_notebook_expose): propagate the event to tab
400 (gtk_notebook_draw_focus): do not repaint the whole focused tab again.
401 (gtk_notebook_draw_tab): do not send handmade expose events to tab
404 2006-12-26 Matthias Clasen <mclasen@redhat.com>
406 * gtk/gtkfilesystemunix.c (execute_callbacks): Return
407 FALSE. (#389623, Carlos Garnacho Parro)
409 * gtk/gtkrange.c (stop_scrolling): Avoid spurious
412 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
414 * gtk/gtkplug.c: (gtk_plug_construct_for_display),
415 (gtk_plug_unrealize): Notify the "embedded" property also on
416 normal construction and when destroying the socket window.
419 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
421 * gtk/gtkaboutdialog.c: (gtk_about_dialog_class_init),
422 (gtk_about_dialog_init), (display_credits_dialog),
423 (display_license_dialog):
424 * gtk/gtkfilechooserdialog.c: (gtk_file_chooser_dialog_class_init),
425 (gtk_file_chooser_dialog_init),
426 (gtk_file_chooser_dialog_constructor),
427 (gtk_file_chooser_dialog_unmap):
428 * gtk/gtkrecentchooserdefault.c:
429 (_gtk_recent_chooser_default_init):
430 * gtk/gtkrecentchooserdialog.c:
431 (gtk_recent_chooser_dialog_class_init),
432 (gtk_recent_chooser_dialog_init),
433 (gtk_recent_chooser_dialog_constructor),
434 (gtk_recent_chooser_dialog_unmap): Set the HIG spacings directly
435 instead of using style-set handlers. Fix the filechooser's spacing
436 between content and action area to 12px. Bug #372447.
438 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
440 * gtk/gtkstatusbar.c: (gtk_statusbar_size_allocate):
441 Don't assume statusbar->label is the statusbar's frame's child when
442 shrinking the size allocation when the grip is shown. Bug #372452.
444 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
446 * gtk/gtkpagesetupunixdialog.c: (printer_status_cb),
447 (add_custom_paper): Fix mem leaks. Bug #389194.
449 2006-12-24 Matthias Clasen <mclasen@redhat.com>
451 * gtk/gtktextutil.c: Remove debug output.
453 * gtk/gtktextview.c: Improve the DND scrolling
454 behaviour. (#92387, Carlos Garnacho Parro)
456 * gtk/gtkaccellabel.c: Improve translators comments.
457 (#389298, Christian Persch)
459 2006-12-24 Bastien Nocera <hadess@hadess.net>
461 * gtk/gtkrecentmanager.c: Fix typo (s/expansive/expensive)
464 2006-12-24 Christian Persch <chpe@cvs.gnome.org>
466 * docs/reference/gtk/gtk-sections.txt:
468 * gtk/gtkpagesetupunixdialog.c: (fill_paper_sizes_from_printer):
469 * gtk/gtkprinter-private.h:
470 * gtk/gtkprinter.c: (gtk_printer_list_papers):
471 * gtk/gtkprinter.h: Make gtk_printer_list_papers public. Bug #345587.
473 2006-12-24 Carlos Garcia Campos <carlosgc@gnome.org>
475 * gtk/gtkpagesetupunixdialog.c: Don't ignore reverse portrait option
476 when is selected in page setup dialog. Fixes bug #365047.
478 2006-12-24 Behdad Esfahbod <behdad@gnome.org>
480 * gtk/gtkentry.c (_gtk_entry_effective_inner_border):
481 Use gtk_border_free when freeing border.
483 2006-12-24 Matthias Clasen <mclasen@redhat.com>
485 * gtk/gtkentry.c (gtk_entry_button_press): When
486 shift-clicking, keep the larger part of the selection
487 selected. (#353709, Benjamin Otte)
489 * gtk/gtkbutton.c (gtk_button_get_props): Use
490 gtk_border_free when freeing borders.
492 * gtk/gtkbutton.c (gtk_button_grab_notify): Be more
493 careful when faking a button release. (#323146,
496 * gtk/gtkhandlebox.c (draw_textured_frame): Draw the
497 handle with the right orientation, depending on the
498 position of the handlebox. (#159764, Benjamin Berg)
500 2006-12-24 Behdad Esfahbod <behdad@gnome.org>
502 * gtk/gtkstyle.c (gtk_border_copy), (gtk_border_free): Use gslice for
505 2006-12-24 Behdad Esfahbod <behdad@gnome.org>
507 Bug 340141 – Update to Pango 1.16 API
509 * gdk/gdkpango.c (layout_iter_get_line_clip_region),
510 (gdk_pango_layout_line_get_clip_region):
511 * gtk/gtkcalendar.c (gtk_calendar_size_request):
512 * gtk/gtkentry.c (gtk_entry_get_pixel_ranges),
513 (get_layout_position), (gtk_entry_find_position),
514 (gtk_entry_adjust_scroll):
515 * gtk/gtkiconview.c (get_pango_text_offsets):
516 * gtk/gtklabel.c (get_cursor_direction):
517 * gtk/gtkstyle.c (get_insensitive_layout):
518 * gtk/gtktextdisplay.c (render_para):
519 * gtk/gtktextlayout.c (allocate_child_widgets),
520 (find_display_line_below), (find_display_line_above),
521 (gtk_text_layout_move_iter_to_previous_line),
522 (gtk_text_layout_move_iter_to_next_line),
523 (gtk_text_layout_move_iter_to_line_end),
524 (gtk_text_layout_iter_starts_line),
525 (gtk_text_layout_move_iter_to_x):
526 * gtk/gtktextutil.c (limit_layout_lines):
527 Use the _readonly version of pango_layout_iter_get_line(),
528 pango_layout_iter_get_run(), pango_layout_get_line(), and
529 pango_layout_get_lines().
531 * gtk/gtkmain.c (gtk_get_default_language): Use
532 pango_get_default_language().
534 2006-12-24 Matthias Clasen <mclasen@redhat.com>
536 * gtk/gtkentry.c (gtk_entry_set_text): Emit changed
537 and notify:text only once. The same fix was applied
538 for replacing the selection via DND or copy-and-paste.
539 (#64998, Damon Chaplin, Sven Herzberg)
541 2006-12-23 Matthias Clasen <mclasen@redhat.com>
543 * gtk/gtkimmulticontext.c: Be careful to not override
544 GTK+ translations with the translations of the input
545 method. (#317080, Tor Lillqvist)
547 * modules/input/imcedilla.c: Use standard macros
548 for translation domain and locale dir.
550 * gtk/gtkimcontextsimple.c: Allow composing l with
551 stroke. (#349638, Daniel Lublin)
553 * gtk/gen-paper-names.c: Fix a thinko in the suffix
554 calculation. (#382369, Christian Persch)
556 * gtk/paper_names_offsets.c: Regenerated.
558 2006-12-22 Matthias Clasen <mclasen@redhat.com>
560 * modules/engines/pixbuf/pixbuf.h:
561 * modules/engines/pixbuf/pixbuf-rc-style.h:
562 * modules/engines/pixbuf/pixbuf-style.h: Move
563 G_GNUC_INTERNAL before function declarations. (#352276,
566 2006-12-22 Matthias Clasen <mclasen@redhat.com>
568 * demos/gtk-demo/*.c: Fix some leaks. (#348108, Chris
571 2006-12-22 Matthias Clasen <mclasen@redhat.com>
573 * *.c: Replace a lot of idle and timeout calls by
574 the new gdk_threads api.
578 * gdk/gdk.c: Add functions to allow threadsafe handling
579 of idles and timeouts wrt. to the GDK lock. (#321886,
582 2006-12-22 Matthias Clasen <mclasen@redhat.com>
584 * gdk/gdkpango.c: Use pango_cairo_show_error_underline.
585 (#340141, Behdad Esfahbod)
587 * configure.in: Check for getc_unlocked.
589 * gtk/xdgmime/xdgmimemagic.c: Use getc if getc_unlocked is
590 unavailable. (#381499)
592 * tests/teststatusicon.c: Fix a typo
594 2006-12-22 Matthias Clasen <mclasen@redhat.com>
596 Make it possible to track the embeddedness of
597 statusicon (#387215, Martyn Russell, patch by Christian
600 * gtk/gtkstatusicon.c: Add orientation and embedded properties.
602 * gtk/gtkplug-x11.c: Add an embedded property.
603 * tests/teststatusicon.c: Test the new properties.
605 * gtk/gtkwidget.c (gtk_widget_get_draw_rectangle): Don't
606 leak draw_border. (#387170, Kjartan Maraas)
608 2006-12-21 Matthias Clasen <mclasen@redhat.com>
610 * gtk/gtkfilechooserembed.c (_gtk_file_chooser_embed_set_delegate()):
611 Typo fix. (#388123, Murray Cumming)
613 * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event):
614 Generate double-click events. (#380421, Tommi Komulainen)
616 * gdk/x1/gdkinput-xfree.c (_gdk_input_configure_event):
617 (_gdk_input_enter_event): Correct return_if_fail checks.
618 (#379803, Tommi Komulainen)
620 * gdk/gdkdisplay.c: Improve the docs of some functions operating
621 on the default display. (##353438, Mariano Suárez-Alvarez)
623 2006-12-21 Matthew Barnes <mbarnes@redhat.com>
625 * docs/reference/gdk/gdk-sections.txt:
626 * gdk/gdkcolor.[ch] (gdk_color_to_string): Add a function for
627 converting a GdkColor to a string (#373856).
629 * configure.in: Bump pango requirement to 1.15.2.
631 2006-12-20 Matthias Clasen <mclasen@redhat.com>
633 * gdk/keynames.txt: Mark arrow keys as translatable. (#369506,
636 * gdk/keyname-table.h: Regenerated
638 * gtk/gtktextbuffer.c: Add signal documentation. (#317064,
641 * gtk/gtktextview.c (gtk_text_view_start_selection_drag):
642 Silently return if a drag is already in progress, rather
643 than asserting. (#335622, Li Yuan, testcase by Erwann Chenede)
645 * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_new_with_dialog):
646 Allow any GtkDialog that implements GtkFileChooser as
647 dialog. (#335473, Tommi Komulainen)
649 2006-12-20 Mikael Hallendal <micke@imendio.com>
651 * gtk/gtkstatusicon.c: (gtk_status_icon_init): Fixed a last minute
652 change in the quartz backend.
654 2006-12-20 Mikael Hallendal <micke@imendio.com>
656 * gtk/Makefile.am: Added gtkstatusicon-quartz.c
657 * gtk/gtkstatusicon-quartz.c: Implements the quartz backend for the
659 * gtk/gtkstatusicon.c: Hooked in the new quartz backend. Bug #387874.
661 2006-12-19 Matthias Clasen <mclasen@redhat.com>
663 * gtk/gtkprintunixdialog.c: Add a tooltip explaining the
664 format of page ranges, and improve the page sequence icon
665 for the case of n_copies == 1.
667 2006-12-19 Mikael Hallendal <micke@imendio.com>
669 * gdk/quartz/gdkcursor-quartz.c: Splitted out the GdkPixbuf to NSImage
670 routine so that it can be used from libgtk as well (needed for
671 upcoming GtkStatusIcon support in the Quartz port).
672 * gdk/quartz/gdkevents-quartz.c: Don't assume that all NSWindows are
673 created from GDK, this is not true for the status icon.
674 * gdk/quartz/gdkprivate-quartz.h:
675 * gdk/quartz/gdkquartz.h: Added
676 gdk_quartz_pixbuf_to_ns_image_libgtk_only so that it is available to
677 the status icon code.
679 2006-12-16 Tristan Van Berkom <tvb@gnome.org>
681 * gtk/gtkmessagedialog.c: Added return_if_fail (image) to
682 gtk_message_dialog_set_image ()
684 * gtk/gtkscrolledwindow.c: Fixed a bug in set_property()
685 (setting "window-placement-set" could result in a crash because
686 of boolean/enum mixup)
688 2006-12-15 Federico Mena Quintero <federico@novell.com>
690 Merged from gtk-2-10:
692 * gtk/gtkmenu.c (gtk_menu_set_title): Don't try to optimize for
693 the case where the new title is the same as the old title, to
694 preserve the behavior from GTK+ 2.8 (NULL and "" titles are not
695 equivalent). Handle the case where title == priv->title. This
696 was found by the LSB compatibility tests:
697 https://bugzilla.novell.com/show_bug.cgi?id=223882
699 2006-12-15 Dom Lachowicz <domlachowicz@gmail.com>
701 * gtk/gtkcombobox.c: Make GtkComboBox in "appears-as-list" mode
702 more closely resemble its Win32 counterpart. Bug #340204.
704 2006-12-14 Carlos Garnacho <carlosg@gnome.org>
706 * gtk/gtkcalendar.c: draw arrows pointing to the right correctly
707 placed inside their GdkWindow. Bug #385672.
709 2006-12-14 Christian Persch <chpe@cvs.gnome.org>
711 * gtk/gtkiconview.c: Fix docs typo. Bug #385642.
713 2006-12-13 Dom Lachowicz <domlachowicz@gmail.com>
715 * src/modules/engines/ms-windows/msw_style.c: Bug 351679 - Notebooks
716 drawn with extra line below tab in MS-Windows theme. Patch by
719 2006-12-13 Matthias Clasen <mclasen@redhat.com>
721 * gtk/Makefile.am: Add --unlink-tempfile to the evince call
722 for print preview. (#370041, Ghee Teo)
724 2006-12-11 Matthias Clasen <mclasen@redhat.com>
726 * gtk/gtkprogressbar.c (gtk_progress_bar_paint_text): Be more
727 careful when overdrawing antialiased text. (#352435, Alex Jones,
728 patch by Benjamin Otte)
730 * gtk/gtksettings.c: Change the way in which color scheme information
731 is merged to correctly handle vanishing colors. (#374420,
732 Benjamin Berg, patch by Callum McKenzie)
733 Also allow to separate entries in color schemes by ';'
736 2006-12-10 Matthias Clasen <mclasen@redhat.com>
738 * modules/printbackends/cups/gtkcupsutils.c (gtk_cups_request_encode_option):
739 Properly pass multi-value options to cups. (#355350, Jürg Billeter)
741 2006-12-10 Kristian Rietveld <kris@gtk.org>
743 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_focus_out_event):
744 cancel editing (ie. don't accept changes) when the entry loses
745 focus. (Fixes #164494, reported by Chris Rouch).
747 2006-12-10 Matthias Clasen <mclasen@redhat.com>
749 * configure.in: Correct a misapplied patch.
751 2006-12-10 Tor Lillqvist <tml@novell.com>
753 * gtk-zip.sh.in: Put gdk-pixbuf-query-loaders.exe and
754 gtk-query-immodules-2.0.exe in the runtime zipfile instead of
755 developer zipfile. Users might add pixbuf loaders or immodules
756 even if they are not interested in developing gtk+-using software.
758 2006-12-10 Matthias Clasen <mclasen@redhat.com>
760 * configure.in: Check for crt_extern.h and _NSGetEnviron.
761 * gdk/x11/gdkspawn-x11.c: Fix compilation on Darwin where
762 environ is not available. (#384168, Min Sik Kim)
764 2006-12-07 Paolo Maggi <paolo@gnome.org>
768 * gtk/gtkentry.c (gtk_entry_set_text): check for
769 completion->priv->changed_id > 0 before calling
770 g_signal_handler_[un]block.
771 (gtk_entry_completion_key_press): does not block/unblock the "changed"
772 signal before calling gtk_entry_set_text.
774 2006-12-07 Carlos Garnacho <carlosg@gnome.org>
776 * gtk/gtkcellrendererprogress (compute_dimensions): do not use
777 xthickness/ythickness, they aren't used any longer for drawing.
779 2006-12-07 Matthias Clasen <mclasen@redhat.com>
781 * gtk/gtkrc.c (_gtk_rc_init): Fix clipping of accelerator
782 underlines by giving labels a small draw-border.
784 2006-12-06 Kristian Rietveld <kris@gtk.org>
786 * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_render):
787 draw progress bar through theme engine instead of using our own
788 custom cairo drawing code (#377244, patch from Carlos Garnacho).
790 2006-12-06 Matthias Clasen <mclasen@redhat.com>
792 * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities):
793 Update the sensitivity of the collate checkbutton more frequently,
794 proposed by Tim Waugh.
796 2006-12-04 Matthias Clasen <mclasen@redhat.com>
798 * gtk/gtkmessagedialog.c (setup_type): Set a11y name and role
799 since we no longer set window titles.
801 2006-12-04 Christian Persch <chpe@cvs.gnome.org>
803 * gtk/gtkpagesetup.c: (gtk_page_setup_get_paper_size),
804 (gtk_page_setup_set_paper_size): Don't leak the old page size when
805 setting a new one. Bug #382314.
807 2006-12-03 Michael Natterer <mitch@gimp.org>
809 * gtk/gtktextview.c: remove FIXME #include that is no longer needed.
811 2006-12-03 Kristian Rietveld <kris@gtk.org>
813 Make sure [xy]_offset are always being initialized, fix pixbuf
814 renderer padding. (#108235, Sven Neumann).
816 * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_get_size),
817 (gtk_cell_renderer_pixbuf_render): add padding in _render instead
820 * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_get_size):
821 always initialize [xy]_offset.
822 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): ditto.
823 * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_size):
826 2006-12-03 Kristian Rietveld <kris@gtk.org>
828 * gtk/gtktreeview.c (validate_visible_area): when not using an
829 explicit alignment, use the full area of the row (not just dy)
830 to determine how to implicitly align it. (Fixes #363191, reported
831 by Federico Mena Quintero).
833 2006-12-02 Matthias Clasen <mclasen@redhat.com>
835 * gtk/gtkicontheme.c (insert_theme): Properly clean up
836 if an icon theme index file has no directories. (#381236)
838 2006-12-02 Dom Lachowicz <domlachowicz@gmail.com>
840 * src/modules/engines/ms-windows/msw_style.c: Bug 351678 - Notebooks
841 not with PositionType.Top drawn incorrectly. Patch by Cody Russell
843 2006-11-28 Behdad Esfahbod <behdad@gnome.org>
845 Remove the broken Thai input method and add a functional Thai and Lao
846 input method by Theppitak Karoonboonyanan. (#81031)
848 * modules/input/imthai.c:
849 * modules/input/gtkimcontextthai.c:
850 * modules/input/gtkimcontextthai.h:
851 * modules/input/thai-charprop.c:
852 * modules/input/thai-charprop.h:
855 * modules/input/imthai-broken.c:
858 * modules/input/Makefile.am:
861 2006-11-27 Christian Persch <chpe@cvs.gnome.org>
863 * gtk/gtkstatusicon.c: Notify when the screen changes. Bug #379793.
865 Mon Nov 27 12:27:06 2006 Tim Janik <timj@imendio.com>
867 * gtk/gtktextview.c: applied patch by Colin Leroy for
868 Control+GDK_KP_Left to move one word to the left, #356255.
870 2006-11-26 Benjamin Berg <benjamin@sipsolutions.net>
872 * gtk/gtkstyle.c: (gtk_default_draw_flat_box): Protect against NULL
875 2006-11-25 Matthias Clasen <mclasen@redhat.com>
877 * modules/printbackends/cups/gtkprintbackendcups.c: Make
878 print dialog work when 'BrowseShortNames Off' is specified
879 in cups configuration. Patch by Tim Waugh.
881 2006-11-24 Michael Natterer <mitch@imendio.com>
883 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): if we
884 can't go up/down, consult gtk_widget_keynav_failed() and leave the
885 widget if it returns FALSE (bug #322640).
887 2006-11-23 Behdad Esfahbod <behdad@gnome.org>
889 * gtk/gtkmain.c: Fix minor typo in docs. (#378632, Hannes Mueller)
891 2006-11-22 Emmanuele Bassi <ebassi@gnome.org>
893 * gtk/gtkrecentmanager.c:
894 (get_uri_shortname_for_display): g_filename_from_uri() might
895 fail; catch the failure and fall back to the non-local URI
898 2006-11-19 Mark McLoughlin <mark@skynet.ie>
900 Fixes bug #376502 - multi-screen support for GtkStatusIcon
902 * gtk/gtkstatusicon.[ch]:
903 (gtk_status_icon_set_screen),
904 (gtk_status_icon_get_screen): add multi-screen API. Allows
905 an app to display an icon on a non-default screen
906 (gtk_status_icon_class_init),
907 (gtk_status_icon_set_property),
908 (gtk_status_icon_get_property): add a "screen" property
910 * tests/teststatusicon.c: update to test on multiple screens
912 2006-11-17 Matthias Clasen <mclasen@redhat.com>
914 Fix problems with drag cancellation. (#376535, Michael Natterer)
916 * gtk/gtkdnd.c (gtk_drag_source_info_destroy): Disconnect signal
917 handlers before emitting drag-end.
918 (gtk_drag_end): Disconnect signal handlers before removing
921 2006-11-16 Mariano Suárez-Alvarez <mariano@gnome.org>
923 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
924 add gtk-doc blurb on GtkCellRendererText::edited (#376094)
926 2006-11-16 Michael Natterer <mitch@imendio.com>
928 * gtk/gtkradiobutton.c (gtk_radio_button_focus): don't use
929 gtk_widget_keynav_failed(). Instead, look at gtk-keynav-cursor-only
930 and gtk-keynav-wrap-around and wrap around, beep or continue outside
931 the group manually (bug #322640).
933 2006-11-16 Michael Natterer <mitch@imendio.com>
935 Add new infrastructure for notifications of failed keyboard
936 navigation and navigation with restricted set of keys.
938 The patch handles configurable beeping, navigating the GUI with
939 cursor keys only (as in phone environments), and configurable
940 wrap-around. Fixes bugs #322640, #70986, #318827, #334726, #334742
943 * gtk/gtksettings.c: added properties gtk-keynav-cursor-only,
944 gtk-keynav-wrap-around and gtk-error-bell.
946 * gtk/gtkwidget.[ch]: added new signal "keynav-failed" and public
947 API to emit it. Added New function gtk_widget_error_bell() which
948 looks at the gtk-error-bell setting and calls gdk_window_beep()
951 * gtk/gtk.symbols: add the new widget symbols.
953 * gtk/gtkcellrendereraccel.c
954 * gtk/gtkimcontextsimple.c
956 * gtk/gtknotebook.c: use gtk_widget_error_bell() or look at the
957 gtk-error-bell setting instead of calling gdk_display_beep()
965 * gtk/gtkspinbutton.c
967 * gtk/gtktreeview.c: call gtk_widget_error_bell() on failed keynav.
972 * gtk/gtktextview.c: consult gtk_widget_keynav_failed() on failed
973 cursor navigation and leave the widget if it returns FALSE.
976 * gtk/gtknotebook.c: only wrap around if gtk-keynav-wrap-around
979 * gtk/gtkradiobutton.c: ask gtk_widget_keynav_failed() to decide
980 whether to to wrap-around, and don't select active items on cursor
981 navigation if gtk-keynav-cursor-only is TRUE. Should look at
982 gtk-keynav-wrap-around too, will look into that.
984 2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
986 * gtk/gtkrecentmanager.c:
987 (gtk_recent_info_get_uri_display): Return the URI
988 of the GtkRecentInfo object (upgraded to UTF-8 if
989 needed) in case of non-local file. (#351945)
991 2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
993 * gtk/gtkrecentchoosermenu.c:
994 (gtk_recent_chooser_menu_add_tip): Apply the tip only
995 if we have a displayable name for the item. (#365031,
996 patch by padraig.obriain(at)sun.com)
998 2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
1000 * gtk/gtkrecentmanager.c: Provide a fast path returning
1001 NULL when the limit is set to 0.
1003 * gtk/gtkrecentchooserdefault.c:
1004 * gtk/gtkrecentchoosermenu.c: Add the same fast path
1005 inside the RecentChooser implementation; add a check
1006 in the list clamping code. (#373466 and duplicates)
1008 2006-11-15 Matthias Clasen <mclasen@redhat.com>
1010 * modules/printbackends/cups/gtkprintbackendcups.c (cups_printer_get_options):
1011 Don't pass NULL to strncpy. (#359537, patch by Carlos Garcia Campos)
1013 2006-11-15 Michael Natterer <mitch@imendio.com>
1015 * gtk/gtkrange.[ch]: added properties "fill-level",
1016 "show-fill-level" and "restrict-to-fill-level" and getters/setters
1017 for them. The "fill level" is an additional marker on the range's
1018 trough than can be e.g. used to indicate the amount of
1019 pre-buffering in a range showing the play position of streamed
1020 media. See the embedded API docs for details. Made GtkRangeLayout
1021 a GTypeInstance private struct and removed finalize()
1022 implementation. Fixes bug #349808
1024 * gtk/gtk.symbols: added the new symbols.
1026 2006-11-14 Behdad Esfahbod <behdad@gnome.org>
1028 * configure.in: Make libtool magic robust. (#352795)
1030 2006-11-13 Paolo Borelli <pborelli@katamail.com>
1032 * gtk/gtkrc.c (gtk_rc_parse_icon_source): plug small memory
1035 2006-11-09 Kristian Rietveld <kris@imendio.com>
1037 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): disable
1038 don't move cursor case for SELECTION_NONE. (#371756, John Ellis).
1040 2006-11-09 Carlos Garnacho <carlosg@gnome.org>
1042 * gtk/gtkpathbar.c (on_slider_unmap): Fix parenthesis confusion.
1044 2006-11-08 Carlos Garnacho <carlosg@gnome.org>
1046 * gtk/gtkpathbar.c (on_slider_unmap): added, do not leave the scroll
1047 timeout running if the slider buttons are hidden. (#372527)
1049 2006-11-08 Christian Persch <chpe@cvs.gnome.org>
1051 * gtk/gtkfilechooserdefault.c (browse_widgets_create): Don't make
1052 the "Location" label bold. Bug #372449.
1054 2006-11-07 Carlos Garnacho <carlosg@gnome.org>
1056 * gtk/gtknotebook.c (gtk_notebook_calculate_tabs_allocation): make
1057 non-focused tabs xthickness/ythickness thinner. (#353962)
1059 2006-11-07 Paolo Borelli <pborelli@katamail.com>
1061 * gtk/gtktextbtree.c (_gtk_text_btree_delete): avoid memory
1062 corruption (#357050).
1064 2006-11-06 Alexander Larsson <alexl@redhat.com>
1066 * gtk/gtkdnd.c: (gtk_drag_begin_internal),
1067 (gtk_drag_source_info_destroy), (gtk_drag_end),
1068 (gtk_drag_grab_notify_cb):
1069 Cancel drag when the grab is shadowed. (#122688)
1071 2006-11-01 Kristian Rietveld <kris@imendio.com>
1073 * gtk/gtkcombobox.c (gtk_combo_box_class_init),
1074 (gtk_combo_box_size_request): add arrow-size property to control
1075 the minimum size of the arrow, have the arrow scale up with the
1076 font by default. (#357950).
1078 2006-10-30 Kristian Rietveld <kris@gtk.org>
1080 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): don't
1081 forget to queue a draw for the new cursor node. (Fixes #366548,
1082 reported by Sven Herzberg).
1084 2006-10-30 Michael Natterer <mitch@imendio.com>
1086 * gtk/gtkrange.c (gtk_range_key_press): consume the Escape key
1087 only if we actually cancel a drag. Fixes bug #58389.
1089 2006-10-30 Kristian Rietveld <kris@gtk.org>
1091 * gtk/gtktreeview.c (gtk_tree_view_class_init): change left/right
1092 keybindings to collapse/expand rows instead of moving the focus
1093 cursor. (#105895, Brian Bober and others).
1095 2006-10-29 Kristian Rietveld <kris@gtk.org>
1097 * gtk/gtktreeview.c (gtk_tree_view_real_expand_row): guard against
1098 child removal in row-expanded callback. (#366782, John Ellis).
1100 2006-10-29 Tor Lillqvist <tml@novell.com>
1102 * gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Improve handling
1103 of the small icon of the window class. (#152620, Kazuki Iwamoto)
1105 2006-10-29 Tor Lillqvist <tml@novell.com>
1107 * gdk/win32/gdkcursor-win32.c
1108 (gdk_win32_icon_to_pixbuf_libgtk_only): Implement for B&W cursors,
1109 for instance the built-in GDK ones.
1111 2006-10-27 Kristian Rietveld <kris@gtk.org>
1113 * gtk/gtktreeview.c (validate_visible_area): rework the area_above == 0
1114 case to not overwrite the variables in the lower scope (which are
1115 used later on ...), get the path correctly and bail out when there
1116 isn't a node above us. (#359231).
1118 2006-10-26 Christian Persch <chpe@cvs.gnome.org>
1120 * gtk/gtkaboutdialog.c: Put initial focus on Close button (#337261).
1122 2006-10-25 Johan Dahlin <jdahlin@async.com.br>
1124 * gtk/gtk.symbols: Add missing symbols to so make check can pass
1126 2006-10-23 Dom Lachowicz <domlachowicz@gmail.com>
1128 * src/modules/engines/ms-windows/msw_style.c (draw_expander): Remember
1129 to free GDI Pen resources, introduced by bug 340201.(#364514)
1131 2006-10-18 Kristian Rietveld <kris@imendio.com>
1133 * tests/testcombo.c (main): connect to notify::popup-shown instead of
1134 popup-show (the latter does not exist).
1136 2006-10-15 Paolo Borelli <pborelli@katamail.com>
1138 * gtk/gtkicontheme.c (pixbuf_supports_svg): plug memory leak.
1141 2006-10-12 Michael Natterer <mitch@imendio.com>
1143 * gtk/gtkcombobox.c (gtk_combo_box_class_init): fix commit below
1144 (committed the wrong patch).
1146 2006-10-12 Michael Natterer <mitch@imendio.com>
1148 * gtk/gtkcombobox.c: added "move-active" and "popup" signals and
1149 bindings to trigger them. Removed gtk_combo_box_key_press(), it's
1150 obsolete now. Fixes bug #358293.
1152 2006-10-11 Michael Emmel <mike.emmel@gmail.com>
1154 * gdkpixmap-directfb.c: add missing RGB24 case (#361176)
1156 2006-10-11 Tor Lillqvist <tml@novell.com>
1158 * configure.in: Enable having some gdk-pixbuf loaders built-in
1159 even if loading the others dynamically. Define Automake
1160 conditional INCLUDE_FOO for each loader as TRUE if that loader is
1161 built-in. See also gdk-pixbuf/ChangeLog.
1163 Wed Oct 11 14:31:30 2006 Tim Janik <timj@imendio.com>
1165 * docs/reference/gtk/gtk-sections.txt:
1166 * gtk/gtkbindings.c: document gtk_binding_entry_skip().
1168 2006-10-11 Tor Lillqvist <tml@novell.com>
1170 * gtk/gtk.symbols: Remove gtk_combo_string_key, which is a static
1173 2006-10-11 Tor Lillqvist <tml@novell.com>
1175 Merge from 2.10 branch:
1177 * gtk/gtkmain.c (do_pre_parse_initialization): On Win32, if
1178 environment variable LC_ALL or LANG is set, set the Win32 thread
1179 locale to the corresponding locale. Then call the C library
1180 setlocale() to set the C library locale accordingly. The
1181 inconsistency mentioned below is gone. (#339756) Do some special
1182 casing for Serbia and Montenegro. Handle the Latin and Cyrillic
1183 scripts for Azeri, Uzbek and Serbian.
1184 (enum_locale_proc): Helper function for the above functionality.
1186 * gtk/gtkcalendar.c (gtk_calendar_init): No longer need to check
1187 if the environment variables are set here, as they have already
1188 been taken into account and the Win32 thread locale has been
1191 Tue Oct 10 16:38:23 2006 Tim Janik <timj@imendio.com>
1193 * gtk/tmpl/gtkbindings.sgml:
1194 * gtk/gtkbindings.c: applied patch from Michael Natterer to move to
1195 inline docs. applied wording fixes suggested by Martyn Russell.
1197 2006-10-09 Matthias Clasen <mclasen@redhat.com>
1199 * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
1200 Update the docs to state which out parameters may be NULL.
1201 (#360870, Attilio Fiandrotti)
1203 2006-10-08 Matthias Clasen <mclasen@redhat.com>
1205 * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities): Fix
1206 a typo. (#359542, Ghee Teo)
1208 2006-10-08 Matthias Clasen <mclasen@redhat.com>
1210 * gtk/gtknotebook.c (gtk_notebook_reorder_tab): Only
1211 reorder tabs if the focus is in the tab. (#350342, Carlos
1214 2006-10-08 Michael Emmel <mike.emmel@gmail.com>
1216 * gdk/directfb/gdkproperty-directfb.c strdup atom name (#357611)
1218 2006-10-08 Kristian Rietveld <kris@gtk.org>
1220 * gtk/gtktreeview.[ch] (gtk_tree_view_set_property),
1221 (gtk_tree_view_set_show_expanders),
1222 (gtk_tree_view_get_show_expanders): add getter/setter for
1223 show-expanders property, queue a redraw when this property
1224 is toggled (#351167, Martin Ejdestig),
1225 (gtk_tree_view_set_level_indentation),
1226 (gtk_tree_view_get_level_indentation): also add getter/setter
1227 and docs for level-indentation property.
1229 2006-10-08 Matthias Clasen <mclasen@redhat.com>
1231 * gtk/gtkradiobutton.c (gtk_radio_button_focus): Don't
1232 leak a list. (#360350, Benjamin Berg)
1234 * Apply a cleanup patch by Kjartan Maraas (#341812)
1236 2006-10-07 Tor Lillqvist <tml@novell.com>
1238 * gtk/gtkcalendar.c (gtk_calendar_init): Use the Win32 thread
1239 locale's first day of week setting on Win32. (#339752, Bogdan
1240 Nicula) Don't do this if one of the environment variables that
1241 affect gettext is set, though. In that case use the week start day
1242 from the corresponding message catalog.
1244 Unfortunately the same logic isn't possible in the weekday and
1245 month name lookup; there even if you have set one of the
1246 aforementioned environment variables, you still get the weekday
1247 and month names from the Win32 thread locale. Yes, this is
1250 Use only wide-character API in the Win32 code in this file, too.
1252 2006-10-06 Matthias Clasen <mclasen@redhat.com>
1254 * gtk/gtkfilechooser.c (gtk_file_chooser_set_select_multiple):
1255 Fix the docs. (#360112)
1257 * gtk/gtkcellview.c: Don't set the background of the
1258 window in a no-window widget. (#359581, Xan Lopez)
1261 2006-10-05 Behdad Esfahbod <behdad@gnome.org>
1263 * gtk/Makefile.am, gtk/aliasfilescheck.sh: Propagate srcdir into the
1264 test correctly. (#359845)
1266 2006-10-05 Michael Natterer <mitch@imendio.com>
1268 * gtk/gtkrc.[ch]: added new scanner token "unbind" which gets
1269 rid of a key binding (in fact, it only lets it appear unbound).
1271 * gtk/gtkbindings.[ch] (struct GtkBindingEntry): added
1272 "guint marks_unbound : 1"
1274 (gtk_binding_entry_skip): new API which marks the entry as unbound.
1276 Changed code so it returns FALSE when "marks_unbound == TRUE" is
1277 encountered while activating bindings, effectively letting the
1278 binding appear unbound (regardless of still existing bindings in
1279 lower binding priority levels). Fixes bug #358329.
1281 (gtk_binding_entry_add)
1282 (gtk_binding_entry_clear)
1283 (gtk_binding_entry_add_signall)
1284 (gtk_binding_parse_binding): deprected these functions.
1286 (_gtk_binding_parse_binding)
1287 (_gtk_binding_entry_add_signall): new internal API.
1289 * gtk/gtk.symbols: changed accordingly.
1291 2006-10-03 Matthias Clasen <mclasen@redhat.com>
1293 Fix interaction of GtkEntryCompletion with input
1294 methods. (#354495, Diego Escalante Urrelo)
1296 * gtk/gtkentry.c (gtk_entry_completion_key_press): Only reset
1297 the im context if we actually handle the key event.
1299 * gtk/gtkentrycompletion.c: Also propagate key release events
1302 2006-10-03 Matthias Clasen <mclasen@redhat.com>
1304 * gtk/gtkprintsettings.c (gtk_print_settings_get_duplex):
1305 Fix a typo. (#359052, Ghee Teo)
1307 * gtk/*.c, gdk/*.c: Apply a patch by Behdad Esfahbod to
1308 reduce relocations. (#359053)
1310 2006-10-03 Matthias Clasen <mclasen@redhat.com>
1312 * modules/printbackends/cups/gtkcupsutils.c:
1313 * modules/printbackends/cups/gtkprintbackendcups.c: Complete
1314 the fix for bug 357280.
1316 2006-10-02 Behdad Esfahbod <behdad@gnome.org>
1318 * gdk-pixbuf/Makefile.am:
1321 Include pltcheck.sh in EXTRA_DIST.
1323 2006-10-02 Behdad Esfahbod <behdad@gnome.org>
1325 * gdk/x11/gdkevents-x11.c: Move all includes before including
1328 2006-10-02 Behdad Esfahbod <behdad@gnome.org>
1330 * gtk/Makefile.am: Fix typo in file name. (#358931)
1332 2006-10-02 Matthias Clasen <mclasen@redhat.com>
1334 * modules/printbackends/cups/gtkprintbackendcups.c (available_choices):
1335 Only use the group name field if cups is new enough. (#357280)
1337 * gtk/gtksizegroup.c: Make sure that the quarks are
1338 initialized before using them. (#353736)
1340 * gtk/Makefile.am (stamp-icons): Use rm instead of ln -f to
1341 replace existing links. (#354849, James Evans)
1343 2006-10-01 Matthias Clasen <mclasen@redhat.com>
1345 * gtk/gtkexpander.c (gtk_expander_realize)
1346 (gtk_expander_size_allocate): Make the event_window large
1347 enough to cover the full height of the label_widget. (#358351,
1350 2006-10-01 Tor Lillqvist <tml@novell.com>
1352 * gtk/gtkfilesystemwin32.c: Same change as to gtkfilesystemunix.c.
1354 2006-09-30 Matthias Clasen <mclasen@redhat.com>
1356 * gtk/gtkfilechooserbutton.c (update_combo_box): Protect
1357 against base_path being NULL. (#358405, many reporters)
1359 2006-09-29 Matthias Clasen <mclasen@redhat.com>
1361 * gtk/gtkfilesystemunix.c: Apply a patch by Padraig O'Briain
1362 to avoid a deadlock.
1364 2006-09-27 Kristian Rietveld <kris@imendio.com>
1366 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_free_level),
1367 (gtk_tree_model_filter_ref_node),
1368 (gtk_tree_model_filter_real_unref_node): bring zero ref count loops
1369 in sync with each other and the sort model.
1371 2006-09-27 Kristian Rietveld <kris@imendio.com>
1373 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_init),
1374 (gtk_tree_model_filter_finalize), (gtk_tree_model_filter_row_deleted),
1375 (gtk_tree_model_filter_new): unref the virtual root path once that
1376 node (or one if its ancestors) is deleted, set virtual_root_deleted
1377 so we only unref it once.
1379 2006-09-27 Kristian Rietveld <kris@imendio.com>
1381 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_changed),
1382 (gtk_tree_model_sort_sort_level): ref count nodes the proper way,
1383 (gtk_tree_model_sort_ref_node), (gtk_tree_model_sort_real_unref_node),
1384 (gtk_tree_model_sort_free_level): bring zero ref count loops in
1386 (gtk_tree_model_sort_free_level): free child levels before
1387 decreasing the zero ref count of the current level,
1388 (gtk_tree_model_sort_clear_cache): only clear cache if zero_ref_count
1391 2006-09-25 Matthias Clasen <mclasen@redhat.com>
1393 * demos/gtk-demo/*.c:
1394 * gtk/gtkeventbox.c:
1395 * gtk/gtkprintoperation.c: Fix typos. String change.
1397 2006-09-25 Kristian Rietveld <kris@gtk.org>
1399 * gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): if the tree view
1400 has already been realized; scroll to background area instead of
1401 cell area. (Fixes #330683, Johan Dahlin, Tommi Komulainen).
1403 2006-09-25 Kristian Rietveld <kris@gtk.org>
1405 * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): only attempt
1406 to create the GCs if the widget is realized. (Fixes #357578).
1408 2006-09-25 Matthias Clasen <mclasen@redhat.com>
1410 * gtk/gtkuimanager.c (_gtk_menu_is_empty): Don't leak
1411 the list of children (#357454, Paolo Borelli)
1413 2006-09-25 Michael Natterer <mitch@imendio.com>
1415 * gdk/x11/gdkdisplay-x11.c (gdk_display_x11_finalize): free
1416 display->input_windows with g_free(), not g_object_unref()
1417 (#357566, Tommi Komulainen).
1419 2006-09-24 Kristian Rietveld <kris@gtk.org>
1421 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init),
1422 (gtk_cell_renderer_text_[sg]et_property): actually add align-set
1423 property to the API (left-over patch from #157439).
1425 2006-09-24 Kristian Rietveld <kris@gtk.org>
1427 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button): draw
1428 the indicator if the column has a sort column id (and the model is
1429 sortable) or if the user explicitly requested the indicator
1430 to be shown. (Fixes #352738, Chris Vine).
1432 2006-09-23 Tor Lillqvist <tml@novell.com>
1434 * gtk/Makefile.am: Use EXEEXT.
1436 2006-09-22 Michael Natterer <mitch@imendio.com>
1438 * gtk/gtkstyle.c (gtk_style_real_copy): also copy icon factories
1439 and color hashes. Fixes bug #357132.
1441 2006-09-22 Matthias Clasen <mclasen@redhat.com>
1443 Make remote bookmarks work better (#354887)
1445 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons):
1446 (shortcuts_insert_path):
1447 * gtk/gtkfilechooserbutton.c (change_icon_theme):
1448 (model_add_bookmarks):
1449 (model_update_current_folder):
1450 (update_label_and_image):
1451 If the bookmark points to a remote file, don't call get_info(),
1452 since that may a) take a long time and b) pop up an auth dialog.
1453 Instead, just use a folder icon and create a display name
1456 * gtk/gtkfilechooserdefault.c (_gtk_file_chooser_label_for_uri):
1457 New function to create a suitable display name for a remote
1458 uri. This should really be done in GtkFileSystem.
1460 2006-09-21 Michael Natterer <mitch@imendio.com>
1462 Implement lots of value setters for GdkGC, based on a heavily
1463 modified patch from Thomas Broyer (bug #328853):
1465 * gdk/quartz/gdkcolor-quartz.c: removed functions which set colors
1466 on the CGContext. Instead, added gdk_quartz_get_rgba_from_pixel()
1467 which simply returns RGBA values from a GdkColor's pixel value.
1468 See gdk_quartz_update_context_from_gc() below.
1470 * gdk/quartz/gdkprivate-quartz.h (struct GdkGCQuartz): added lots
1471 of members for the newly suppored GC values. Added enum
1472 GdkQuartzContextValuesMask which is used for setting up the
1473 CGContext for filling and/or stroking.
1475 * gdk/quartz/gdkgc-quartz.c (gdk_quartz_gc_get_values)
1476 (gdk_quartz_gc_set_values)
1477 (_gdk_windowing_gc_copy): support a lot more GC values.
1479 (gdk_quartz_update_context_from_gc): added
1480 GdkQuartzContextValuesMask parameter and set filling/stroking
1481 parameters accordingly. This function also gained full control
1482 over the FG and BG colors (they can't be set separately any more).
1484 The stipple mask part of the patch doesn't work but seems to take
1485 the right approach and doesn't make things worse, so I applied it.
1487 Did *not* apply the clipping part of the patch since I don't
1488 understand it (I don't understand the version in CVS either, but
1489 it at least works :-)
1491 * gdk/quartz/gdkdrawable-quartz.c: pass the right masks to
1492 gdk_quartz_update_context_from_gc() and removed separate color
1493 setting calls. Some minor fixes.
1495 * gdk/quartz/gdkwindow-quartz.c
1496 (gdk_window_impl_quartz_begin_paint_region): set the CGContext's
1497 fill color manually. We don't have/need a GC here.
1499 2006-09-21 Michael Natterer <mitch@imendio.com>
1501 * gdk/quartz/gdkwindow-quartz.c
1502 (gdk_window_impl_quartz_begin_paint_region): fix cast: it's
1503 drawable_impl->wrapper that is the GdkWindow, not the
1504 drawable_impl itself.
1506 2006-09-20 Behnam Esfahbod <behnam@zwnj.org>
1508 * gdk/x11/gdkkeys-x11.c:
1509 (get_direction): just check the first shift-level of keyboard
1510 layout for RTL and LTR keysyms() (compliment to #116626)
1512 Wed Sep 20 16:59:38 2006 Tim Janik <timj@imendio.com>
1514 * gtk/gtkviewport.c: always update the bin_window position and size
1515 in size_allocate, even if we don't have a visible child. this fixes
1516 expose artefacts as described in #313508.
1518 * gtk/gtkscrolledwindow.c: make hiding of automatic scrollbars when we
1519 have no visible child explicit.
1521 2006-09-19 Ryan Lortie <desrt@desrt.ca>
1523 * docs/reference/gdk/gdk-sections.txt:
1526 * gdk/gdkpango.c: Bug 355343. Add a GdkPangoAttrEmbossColor.
1527 (gdk_pango_layout_get_clip_region): Remove an unused variable.
1528 (gdk_pango_attr_embossed_new): Fix documentation.
1530 Tue Sep 19 17:00:04 2006 Tim Janik <timj@imendio.com>
1532 * gtk/gtkarrow.c: added GtkArrow::arrow-scaling style property to
1533 control the arrow/border ratio within the allocation.
1535 * tests/testgtk.c: added a GtkArrow to handle box test.
1537 * tests/testgtkrc: test ::arrow-scaling property.
1539 2006-09-19 Matthias Clasen <mclasen@redhat.com>
1541 * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
1542 Display an error when we come to the root.
1544 2006-09-16 Matthias Clasen <mclasen@redhat.com>
1546 * gtk/gtkfilechooserbutton.c: Use bookmark labels in
1549 * gtk/gtkfilechooserbutton.c: Don't add remote volumes and
1550 bookmarks to the model in local-only mode, to avoid
1551 authentication dialogs pop up for invisible bookmarks, and
1552 to fix issues with separators not being hidden when
1553 they should. (#354887, Dennis Cranston)
1555 2006-09-16 Matthias Clasen <mclasen@redhat.com>
1557 * gtk/gtkcombobox.c (gtk_combo_box_finalize): Unref the
1558 treeview use in list mode. (#355732, Richard Hult)
1560 * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): Send
1561 change notification for the right property. (#355308,
1564 2006-09-15 Michael Natterer <mitch@imendio.com>
1566 * gtk/gtktreeview.c (gtk_tree_view_key_press): refactored column
1567 header navigation/resizing/reordering to be more readable and lose
1568 one level of nesting.
1570 2006-09-15 Kristian Rietveld <kris@imendio.com>
1572 * gtk/gtktreeview.c (gtk_tree_view_key_press): actually directly
1573 return after handling column button focus; we disable wrap around
1574 with this (which actually happened via a really weird code path).
1577 2006-09-15 Kristian Rietveld <kris@imendio.com>
1579 * gtk/gtktreeview.c (gtk_tree_view_key_press): make column resizing
1580 code RTL aware, also break from the loops after we have seen the
1581 focussed column button (Michael Natterer).
1583 Thu Sep 14 12:28:51 2006 Tim Janik <timj@imendio.com>
1585 * tests/testrichtext.c (main): intialize random number generator state
1586 upon program start, to enable truely random testing.
1588 2006-09-13 Michael Emmel <mike.emmel@gmail.com>
1590 * gdk/directfb/gdkcolor-directfb.c small clean ups include order
1591 * gdk/directfb/gdkwindow-directfb.c fixed beep compile error
1592 * gdk/directfb/Makefile.am removed GDK_PIXBUF_DISABLE_DEPRECATED
1593 GDK_DISABLE_DEPRECATED to allow compile per Behdad
1594 * gdk/quartz/Makefile.am same change as directfb Makefile
1595 * gtk/Makefile.am fixed typo that cause socket stubs not to compile
1597 2006-09-13 Matthias Clasen <mclasen@redhat.com>
1599 * gtk/gtkcolorsel.c: Use a GtkWindow instead of a GtkInvisible
1600 for the grab widget, to make the color picker work with window
1603 2006-09-12 Hong Jen Yee <pcman.tw@gmail.com>
1605 signed off by: Dom Lachowicz
1607 * modules/engines/ms-windows/msw_style.c: Bug 340201. This contains
1608 a large number of improvements to the Microsoft Windows theme engine
1609 which are fully described in the bug report.
1611 Mon Sep 11 14:22:39 2006 Tim Janik <timj@imendio.com>
1613 * tests/testgtk.c: fixed compiler warnings.
1615 2006-09-10 Matthias Clasen <mclasen@redhat.com>
1617 * gtk/gtkfilechooserbutton.c (model_add_special): Request
1618 the display name too, otherwise "Desktop" does not appear
1619 in the file chooser button.
1621 2006-09-10 Tor Lillqvist <tml@novell.com>
1623 * gdk/win32/gdkprivate-win32.h
1624 * gdk/win32/gdkmain-win32.c
1625 * gdk/win32/gdkwindow-win32.c: Define WINVER and _WIN32_WINNT as
1626 0x0500 in gdkprivate-win32.h instead of doing it in two source
1627 files. (#355212, Mike Edenfield)
1629 * gdk/win32/gdkwindow-win32.c: We can also remove the ersatz
1630 GetAncestor() for the _MSC_VER && WINVER < 0x0500 case, I hope.
1632 2006-09-10 Matthias Clasen <mclasen@redhat.com>
1634 * Commit a patch by Behdad to fix typos, omissions and other
1635 errors in the symbol aliasing, and add checks for local PLT
1636 entries. (#354687, Behdad Esfahbod)
1638 * gtk/gtktreeview.c (gtk_tree_view_search_scroll_event): Renew
1639 the flush timeout. (#354043, Nelson Benitez)
1641 * gtk/gtkfilechoosersettings.c (set_unexpected_element_end_error):
1642 Improve wording. String change! (#355126, David Lodge)
1644 * gtk/updateiconcache.c: Improve wording. String change! (#355128,
1647 * gtk/paper_names_offsets.c: Fix a typo. String change! (#355134,
1650 2006-09-09 Matthias Clasen <mclasen@redhat.com>
1652 * gdk/x11/gdkfonts-x11.c: Fix small theoretical memory leaks.
1653 (#353916, Chris Wilson)
1655 * gtk/gtksettings.c (_gtk_settings_reset_rc_values):
1656 Don't leak the to_reset list. (#353914, Chris Wilson)
1658 * gtk/gtkwidget.c: Add docs for the parent-set signal.
1659 (#353772, Mariano Suárez-Alvarez)
1661 2006-09-08 Matthias Clasen <mclasen@redhat.com>
1663 * gtk/gtktextbuffer.c (remove_all_selection_clipboards):
1664 Don't clear clipboards here, since we are called from finalize
1665 and can't emit signals.
1667 * configure.in: Set version to 2.11.0
1669 2006-09-06 Richard Hult <richard@imendio.com>
1671 * gdk/quartz/gdkkeys-quartz.c: (maybe_update_keymap): Special-case
1672 shift-tab and map it to GDK_ISO_Left_Tab, fixes bug #350806.
1674 2006-09-04 Kristian Rietveld <kris@imendio.com>
1676 * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
1677 if setting the given folder failed, try setting the parent folder
1678 until we succeed; display an error box at the end.
1680 2006-09-04 Kristian Rietveld <kris@imendio.com>
1682 * gtk/gtkpathbar.c (gtk_path_bar_dispose): don't cancel the
1683 operations spawned by buttons here,
1684 (set_button_image_get_info_cb): bail out if button is NULL, but
1685 do free button_data,
1686 (button_data_free): only free the data if non NULL (since this
1687 function can be called multiple times for the same data), cancel
1688 handle if pending but don't free button_data in this case (will
1689 happen in the callback).
1691 2006-09-04 Michael Natterer <mitch@imendio.com>
1693 * gtk/gtkrc.c (rc_parse_token_or_compound)
1694 (gtk_rc_parse_assignment): serialize floating point values using
1695 locale-independent functions. (#346751, Frederic Crozat)
1697 2006-09-04 Tor Lillqvist <tml@novell.com>
1699 * gdk/win32/gdkevents-win32.c
1700 * gdk/win32/gdkwindow-win32.c: Use wide-char API for message and
1701 window handling (PeekMessage, PostMessage, SendMessage,
1702 DispatchMessage, DefWindowProc, RegisterClassEx,
1703 CreateWindowEx). (#321597)
1705 2006-09-03 Kristian Rietveld <kris@imendio.com>
1707 * gtk/gtkfilechooserdefault.c (save_entry_get_info_cb),
1708 (file_exists_get_info_cb), (gtk_file_chooser_default_should_respond):
1709 change file_exists_and_is_not_folder checks to get the file info
1710 for the path directly instead of querying the current file folder
1713 * gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault): add
1716 * tests/autotestfilechooser.c (wait_for_idle_idle), (wait_for_idle),
1717 (test_reload_sequence), (test_button_folder_states_for_action): wait
1718 for idle after setting a folder to ensure the async operations to load
1719 the folder are finished,
1720 (test_confirm_overwrite), (test_confirm_overwrite_for_path):
1721 factor out test_confirm_overwrite code so we can add tests for more
1724 2006-09-03 Richard Hult <richard@imendio.com>
1726 * gdk/quartz/GdkQuartzView.c (drawRect): Don't do anything if
1727 exposure isn't in the event mask, plug a leak, and check that the
1728 window isn't destroyed.
1729 (isOpaque): Check that the window isn't destroyed, fixes bug
1732 2006-09-03 Matthias Clasen <mclasen@redhat.com>
1734 * gtk/gtkwidget.c (gtk_widget_class_init): Fix a typo.
1735 (#354035, Mariano Suárez-Alvarez)
1737 * gtk/gtkmain.c (post_parse_hook):
1738 * gdk/gdk.c (gdk_init): Handle display_name being NULL.
1739 (#354004, Chris Wilson)
1741 2006-09-03 Tor Lillqvist <tml@novell.com>
1743 * gdk/win32/gdkwindow-win32.c (gdk_window_beep): No
1744 GDK_WINDOW_DISPLAY in the Win32 backend.
1746 * gtk/gtkfilesystemwin32.c: Copy what Kris did to
1749 2006-09-02 Kristian Rietveld <kris@imendio.com>
1751 First part of file chooser fixes.
1753 * gtk/gtkfilechooserbutton.c (model_add_special): also set the
1754 handle in the model for the desktopdir case.
1756 * gtk/gtkfilechooserdefault.c (shortcuts_add_current_folder): free
1757 volume in case we retrieved it but don't pass it on to insert_path,
1758 (shortcuts_model_create): change the column type for the handles
1759 to pointer instead of GObject so our handle ref counting is not
1761 (show_and_select_paths_finished_loading): don't forget to unref
1764 * gtk/gtkfilesystemunix.c (gtk_file_system_unix_class_init),
1765 (gtk_file_system_unix_init), (gtk_file_system_unix_dispose):
1766 remove pending execute_callbacks_idle during dispose, also
1767 execute all callbacks waiting to be run in the next idle,
1768 (queue_*callback), (execute_callbacks_idle): refactor to maintain
1769 a list of callbacks to call per file system instead of globally,
1770 guard the file system during callback invocation,
1771 (gtk_file_system_unix_get_folder): only add load folder idle if
1772 none has been added yet.
1774 2006-09-01 Matthias Clasen <mclasen@redhat.com>
1776 * gtk/gtkentry.c: Don't unnecessarily reset the im context
1777 when deleting the selection. (#353803, Alex Larsson)
1779 2006-09-01 Abel Cheung <abel@oaka.org>
1781 * configure.in: Added 'ang' 'dz' to ALL_LINGUAS.
1783 2006-08-31 Matthias Clasen <mclasen@redhat.com>
1785 Stop cursor blinking after a configurable timeout.
1786 (#353670, #352442, Arjan van de Ven, Manu Cornet)
1788 * gtk/gtksettings.c (gtk_settings_class_init): Add a
1789 gtk-cursor-blink-timeout setting, which specifies the number
1790 of seconds that the cursor should blink after a user interaction.
1791 The default value is G_MAXINT to preserve the current behaviour.
1793 * gtk/gtkentry.c (blink_cb): Stop blinking after blink-timeout
1796 * gtk/gtkentry.c (gtk_entry_completion_key_press)
1797 (gtk_entry_button_press, gtk_entry_focus_in): Reset the
1800 * gtk/gtktextview.c (blink_cb): Stop blinking after blink-timeout
1803 * gtk/gtktextview.c (gtk_text_view_key_press_event)
1804 (gtk_text_view_button_press_event, gtk_text_view_focus_in_event):
1805 Reset the blink timer.
1807 2006-08-31 Matthias Clasen <mclasen@redhat.com>
1809 * gtk/gtkprintoperation-unix.c (get_print_dialog): Don't specify
1810 explicit format capabilities. (#346505, Christian Persch)
1812 * modules/printbackends/cups/gtkprintbackendcups.c (cups_request_printer_list_cb): Send printer-list-done on error.
1814 2006-08-31 Michael Natterer <mitch@imendio.com>
1816 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Fix build.
1818 2006-08-30 Richard Hult <richard@imendio.com>
1820 * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep): Fix build.
1822 2006-08-30 Matthias Clasen <mclasen@redhat.com>
1824 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Only use XKB
1825 for beeping if we are using XKB.
1827 2006-08-29 Matthias Clasen <mclasen@redhat.com>
1831 * gdk/directfb/gdkwindow-directfb.c (gdk_window_beep):
1832 * gdk/win32/gdkwindow-win32.c (gdk_window_beep):
1833 * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep):
1834 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Add a function
1835 to beep on a window. For X11, implement this with
1836 XkbBell. (#353455, Mariano Suárez-Alvarez)
1838 2006-08-29 Tor Lillqvist <tml@novell.com>
1840 Remove support for Windows 9x/ME. GTK+ hasn't worked on Win9x
1841 since 2.6 or 2.8. It's pointless to keep the Win9x code in here as
1842 it isn't being maintained anyway. If somebody is interested, it
1843 can always be found in older GTK+ versions, and in CVS.
1848 * gdk/win32/Makefile.am
1849 * gdk/win32/libie55uid.la
1850 * gdk/win32/gdkevents-win32.c: Remove the --with-ie55 configure
1851 switch and associated stuff. Active IMM and the <dimm.h> header
1852 was used for IM support on NT4 and Win9x. Win2k and later have IM
1855 * gdk/win32/gdkcursor-win32.c
1856 * gdk/win32/gdkdnd-win32.c
1857 * gdk/win32/gdkdrawable-win32.c
1858 * gdk/win32/gdkevents-win32.c
1859 * gdk/win32/gdkgc-win32.c
1860 * gdk/win32/gdkglobals-win32.c
1861 * gdk/win32/gdkkeys-win32.c
1862 * gdk/win32/gdkmain-win32.c
1863 * gdk/win32/gdkproperty-win32.c
1864 * gdk/win32/gdkselection-win32.c
1865 * gdk/win32/gdkwindow-win32.c: Remove the G_WIN32_IS_NT_BASED()
1866 and G_WIN32_HAVE_WIDECHAR_API() tests and their false (Win9x)
1867 branches, and any variables or static functions used only by the
1870 * gdk/win32/gdkprivate-win32.h: Remove backup definitions for
1871 constants that aren't missing from current mingw and MSVC6
1874 * gdk/win32/gdkmain-win32.c
1875 * gdk/win32/gdkprivate-win32.h: Remove the _gdk_win32_gdi_failed()
1876 function. On NT-based Windows GetLastError() returns error codes
1877 also for failed GDI calls, so we can use _gdk_win32_api_failed()
1880 2006-08-29 Emmanuele Bassi <ebassi@gnome.org>
1882 * gtk/gtkrecentchoosermenu.c
1883 (gtk_recent_chooser_menu_set_current_uri): Break when an item
1884 is found and activated. (#353449, based on a patch by Jan Arne
1887 Fri Jul 14 16:13:37 2006 Tim Janik <timj@gtk.org>
1889 * gtk/gtkprogressbar.c: introduced ::xspacing and ::yspacing style
1890 properties which make all hardcoded padding and spacing values
1891 configurable. properly swap ::text-xalign treatment for RTL widgets.
1893 * gtk/gtkprogress.c: fixed style property blurbs. made alignment
1894 proeprty more consistent with GtkMisc alignment blurbs. mention
1895 RTL treatment for text-xalign.
1897 Tue Aug 29 11:57:40 2006 Tim Janik <timj@imendio.com>
1899 * tests/testgtk.c: allow (most) windows to be resizable.
1900 added ellipsization settings to progress bars.
1902 2006-08-28 Matthias Clasen <mclasen@redhat.com>
1904 * modules/printbackend/cups/gtkprintbackendcups.c: Use a
1905 resonable timeout of 3 seconds when polling for printer
1906 list updates, instead of 300000 seconds...
1908 2006-08-28 Michael Natterer <mitch@imendio.com>
1910 * gtk/gtktextbufferserialize.c (serialize_text): don't write out
1911 </apply_tag> for tags that have already been closed by the logic
1912 which turns overlapping spans into XML-able trees. Fixes broken
1913 XML when there are overlapping tags in the buffer. Also free two
1914 leaked GLists and did some cleanup.
1917 * tests/testrichtext.c: new test which creates randomly tagged
1918 GtkTextBuffers and serializes/deserializes them.
1920 2006-08-26 Matthias Clasen <mclasen@redhat.com>
1922 * gtk/gtkstatusicon.c (gtk_status_icon_reset_image_data):
1923 Don't leak pixbufs. (#352264, Ross Burton)
1925 * gtk/gtklinkbutton.c (set_link_underline): Don't leak
1926 PangoAttributes. (#352391, Paolo Borelli)
1928 2006-08-25 Matthias Clasen <mclasen@redhat.com>
1930 * demos/gtk-demo/Makefile.am:
1931 * demos/gtk-demo/textscroll.c: Add an example of automatic
1932 scrolling, thanks to Yevgen Muntyan. (#351206)
1934 * gtk/gtkmodules.c (find_module): Use local binding when
1935 loading modules. (#351868)
1937 2006-08-24 Michael Natterer <mitch@imendio.com>
1939 * gdk/quartz/gdkdisplay-quartz.c (gdk_display_get_name): return
1940 the hostname instead of NULL.
1942 2006-08-23 Matthias Clasen <mclasen@redhat.com>
1944 * gtk/gtkprinteroptionwidget.[hc]: Fix confusion about
1945 names and values in comboboxes, and clean up some
1946 coding style issues.
1948 2006-08-23 Tor Lillqvist <tml@novell.com>
1950 * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_make_path):
1951 Revert unintended translatable string addition. Use same string
1952 in GError as in gtkfilesystemunix.c.
1954 * gtk/gtkfilesystemwin32.c (_gtk_file_system_win32_path_compare):
1955 Fix logic at the end of strings.
1957 * gtk/gtkfilesystemwin32.c: Maintain a hash table of live
1958 handles and check that we have no outstanding handles at
1959 finalization time. (Copying what Matthias did for
1960 gtkfilesystemunix.c)
1962 2006-08-23 Matthias Clasen <mclasen@redhat.com>
1964 * gtk/gtkfilesystemunix.c: Maintain a hash table
1965 of live handles and check that we have no outstanding
1966 handles at finalization time. (Copying what
1967 Federico did for gtkfilesystemgnomevfs.c)
1969 2007-08-22 Matthias Clasen <mclasen@redhat.com>