1 2007-01-01 Matthias Clasen <mclasen@redhat.com>
3 * gtk/gtkscrolledwindow.h:
4 * gtk/gtkscrolledwindow.c: Only handle key bindings
5 for scrolling if the scrollbars are visible.
6 (#340135, Christian Persch)
8 2007-01-01 Matthias Clasen <mclasen@redhat.com>
10 * gtk/gtktextview.c (gtk_text_view_scroll_hpages):
11 Don't segfault on horizontal scrolling.
13 2007-01-01 Matthias Clasen <mclasen@redhat.com>
16 * gtk/gtknotebook.c: Only handle key bindings for
17 tab reordering if the tabs are shown and reorderable.
18 (#390468, Yevgen Muntyan)
20 * gtk/gtkmarshalers.list: Add required marshaler
22 2007-01-01 Matthias Clasen <mclasen@redhat.com>
24 * gtk/gtkcontainer.c (gtk_container_class_list_child_properties):
25 Mention in the docs that the return value is
26 NULL-terminated. (#383373, Christian Neumair)
28 2007-01-01 Matthias Clasen <mclasen@redhat.com>
30 * gtk/gtkicontheme.c (load_themes): Waste less time
31 with non-directories. (#391725, Chris Wilson)
33 2007-01-01 Matthias Clasen <mclasen@redhat.com>
35 * gtk/gtkcellrendererprogress.c: Implement activity mode
36 for GtkCellRendererProgress. (#377851, Brad Taylor)
38 2007-01-01 Matthias Clasen <mclasen@redhat.com>
40 Fix some IPP compliance issues. (#391523, Albrecht Dress)
42 * modules/printbackends/cups/gtkcupsutils.c
43 (gtk_cups_request_encode_option): Use IPP_TAG_JOB, not
45 * modules/printbackends/cups/gtkprintbackendcups.c
46 (gtk_print_backend_cups_print_stream): Don't add the
47 requesting-user-name attribute a second time.
49 2007-01-01 Matthias Clasen <mclasen@redhat.com>
51 * gtk/gtkimcontextsimple.c: Fix en/em dash confusion. (#378462)
53 2006-12-31 Emmanuele Bassi <ebassi@gnome.org>
55 * gtk/gtkrecentchoosermenu.c (set_recent_manager): Use the
56 right object when disconnecting from the GtkRecentManager::changed
57 signal; save us a few indirections using a variable.
59 2006-12-31 Emmanuele Bassi <ebassi@gnome.org>
61 * gtk/gtkrecentchoosermenu.c: Move the signal and idle
62 disconnections into the dispose function, as well as the
63 object unrefs; reset every handler id and the
64 pointers. (suggested by Paolo Borelli, #390873)
66 2006-12-31 Matthias Clasen <mclasen@redhat.com>
68 * gtk/gtkprintoperation-win32.c: Include windows.h (#391229,
71 2006-12-30 Matthias Clasen <mclasen@redhat.com>
73 * gtk/gtktextview.c (gtk_text_view_destroy): Remove the
74 scroll timeout. (#390872, Yevgen Muntyan)
76 2006-12-30 Matthias Clasen <mclasen@redhat.com>
78 * gtk/gtkprintoperation-unix.c:
79 * gtk/gtkprintbackend.c:
80 * gtk/gtkfilechooserdefault.c:
81 * gtk/gtksettings.c: Move a few settings to gtksettings.c
82 to make sure they show up in the docs. (#365364, Christian
85 2006-12-30 Matthias Clasen <mclasen@redhat.com>
87 * gtk/gtkassistant.c: Redraw assistant on reallocate
88 to avoid rendering glitches. (#343956, Christian
89 Persch, Carlos Garnacho)
91 2006-12-30 Matthias Clasen <mclasen@redhat.com>
93 * gtk/gtkrange.c: Typo fix. (#352121, Clytie Siddall)
95 2006-12-30 Matthias Clasen <mclasen@redhat.com>
97 * gtk/gtkaction.c: Improve the docs of the "label"
98 property. (#341730, Kristof Vansant)
100 2006-12-30 Matthias Clasen <mclasen@redhat.com>
102 * gtk/gtkwindow.c (gtk_window_compute_configure_request_size):
103 Correctly handle min size. (#320465, Philipp Langdale)
105 2006-12-30 Matthias Clasen <mclasen@redhat.com>
107 * gtk/prop-editor.c: Implement editing of flags.
109 2006-12-30 Matthias Clasen <mclasen@redhat.com>
114 * gtk/gtkstatusbar.c:
115 * gtk/gtktextview.c: Don't install cursors on insensitive
116 widgets. (#358864, Jan Schampera)
118 2006-12-29 Matthias Clasen <mclasen@redhat.com>
120 * gtk/gtkrecentmanager.h:
121 * gtk/gtkprintoperation.c: Fix doc typos. (#370909,
124 * gtk/gtkstyle.c (gtk_style_attach): Clarify docs. (#353423,
127 * gtk/gtkentry.c (blink_cb):
128 * gtk/gtktextview.c (blink_cb): Don't die in an assertion
129 if focus went missing. Just warn, clean up and continue.
132 2006-12-29 Carlos Garnacho <carlosg@gnome.org>
134 * gtk/gtknotebook.c (gtk_notebook_scroll): return if the widget that
135 originally received the event is a notebook page. (#315440, reported
138 2006-12-29 Matthias Clasen <mclasen@redhat.com>
140 * gdk/gdkcolor.c (gdk_color_hash): Fix a typo. (#390613,
143 2006-12-29 Matthias Clasen <mclasen@redhat.com>
145 * tests/prop-editor.c: Display children of containers
146 and cell renderers of cell layouts.
149 * gtk/gtkcelllayout.[hc] (gtk_cell_layout_get_cells):
150 New function to get the cell renderers of a cell layout.
152 * gtk/gtktreeviewcolumn.c:
154 * gtk/gtkiconview.c: Implement get_cells.
156 2006-12-28 Matthias Clasen <mclasen@redhat.com>
158 * gtk/gtkiconview.c: Use word wrapping by default, and
159 center multiline labels. (#318763, Ross Burton)
161 * gtk/gtkcellrenderertext.c (get_layout): Remove a special
162 case for single-line layouts.
164 2006-12-28 Matthias Clasen <mclasen@redhat.com>
166 * gtk/gtkarrow.c: Fix a typo in the docs. (#390423,
169 * gtk/gtkuimanager.c (update_node): Only use the results
170 of find_menu/toolbar_position() if they succeed. May fix
173 2006-12-28 Matthias Clasen <mclasen@redhat.com>
175 * gdk/gdk.c: Fix some formatting errors in docs.
177 2006-12-28 Tor Lillqvist <tml@novell.com>
179 * gtk/gtkstatusicon.c (gtk_status_icon_finalize)
180 (gtk_status_icon_update_image): Don't leak HICONs on
181 Win32. (#364868, Hiroyuki Yamamoto)
183 2006-12-28 Carlos Garnacho <carlosg@gnome.org>
185 Make GtkNotebook able to drop detached tabs anywhere. Bug #360225.
187 * gtk/gtkwidget.c (gtk_widget_class_init): add "drag-failed" signal.
188 * gtk/gtkmarshalers.list: add new marshaler definition.
189 * gtk/gtkenums.h: add GtkDragResult enum.
191 * gtk/gtkdnd.c (gtk_drag_drop_finished): emit "drag-failed" if DND
192 operation wasn't successful.
193 (_gtk_drag_source_handle_event) (gtk_drag_drop)
194 (gtk_drag_selection_get) (gtk_drag_cancel) (gtk_drag_key_cb)
195 (gtk_drag_grab_broken_event_cb) (gtk_drag_grab_notify_cb)
196 (gtk_drag_button_release_cb) (gtk_drag_abort_timeout): tell
197 gtk_drag_drop_finished() the operation result.
199 * gtk/gtknotebook.c (gtk_notebook_drag_failed): new function.
200 (gtk_notebook_drag_data_get): do not call window creation hook here.
201 (gtk_notebook_init): do not set "application/x-rootwindow-drop"
202 target, instead connect to "drag-failed".
203 (gtk_notebook_draw_focus): fix potential crasher if cur_page is NULL.
205 2006-12-28 Mikael Hallendal <micke@imendio.com>
207 * gdk/quartz/gdkevents-quartz.c: Factored out the event loop
208 integration into gdkeventloop-quartz.c.
210 * gdk/quartz/Makefile.am: Added gdkeventloop-quartz.c
212 * gdk/quartz/gdkeventloop-quartz.c: New file containing the event loop
215 2006-12-27 Matthias Clasen <mclasen@redhat.com>
217 * modules/printbackends/lpr/gtkprintbackendlpr.c
218 (gtk_print_backend_lpr_print_stream): Close the io channel
219 on unref. (#390159, Joe Markus Clarke)
221 2006-12-27 Matthias Clasen <mclasen@redhat.com>
223 * gdk/gdk.h: Remove redundant declarations (#390097,
226 2006-12-27 Kristian Rietveld <kris@gtk.org>
228 Support inverting arrows via XSetting. (#377979, Yevgen Muntyan).
230 * gtk/gtksettings.c (gtk_settings_class_init): add new setting
231 gtk-alternative-sort-arrows.
233 * gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting): add
236 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: set new
237 gtk-alternative-sort-arrows setting to true.
239 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
240 invert direction if gtk-alternative-sort-arrows is TRUE.
242 2006-12-27 Tor Lillqvist <tml@novell.com>
244 * gtk/gtk.symbols: Add gtk_status_icon_get_screen and
245 gtk_status_icon_set_screen.
247 * gtk/gtkstatusicon.c: Implement gtk_status_icon_position_menu()
248 on Windows. Keep track of where the last button click on the
249 taskbar icon took place, and return that. Obviously not correct if
250 no button has ever been clicked on the icon, or if the geometry of
251 the taskbar has changed since. But for most use cases where a menu
252 is going to be displayed as a direct result of a button click on
253 the status icon, works fine. (#377349)
255 Implement getting the orientation property on Windows.
257 (gtk_status_icon_embedded_changed)
258 (gtk_status_icon_orientation_changed): Ifdefify these functions
259 that are used only on X11.
261 2006-12-27 Tor Lillqvist <tml@novell.com>
263 * gtk/gtkfilesystemwin32.c (execute_callbacks): Fix
264 typo. (#390035, Kazuki Iwamoto)
266 2006-12-27 Matthias Clasen <mclasen@redhat.com>
268 * gtk/gtkcellview.c (gtk_cell_view_set_model): Accept NULL.
270 * gtk/gtkcombobox.c (gtk_combo_box_set_model):
271 (gtk_combo_box_unset_model): Handle repeated unsetting
272 of models without warnings. (#367529, Robert Ancell)
274 2006-12-27 Matthias Clasen <mclasen@redhat.com>
276 * modules/printbackends/cups/gtkcupsutils.c:
277 * modules/printbackends/cups/gtkprintbackendcups.c: Use
278 getters for http fields where available. (#364866,
281 2006-12-27 Matthias Clasen <mclasen@redhat.com>
283 * gtk/gtkwidget.c (gtk_widget_show): Add a g_return_if_fail.
286 2006-12-27 Matthias Clasen <mclasen@redhat.com>
288 * gtk/gtkuimanager.c (update_node): If a required action
289 is missing, don't recurse over the children. (#349119,
292 2006-12-27 Matthias Clasen <mclasen@redhat.com>
294 Fix a few problems with nested menus in comboboxes
295 (#386694, Yevgen Muntyan)
297 * gtk/gtkcombobox.c (gtk_combo_box_menu_fill_level): Always
298 connect the activate callback.
299 (gtk_combo_box_menu_item_activate): Do nothing if called on
300 an item with a submenu.
301 (gtk_combo_box_menu_row_deleted): Remove a submenu when it
304 2006-12-26 Mariano Suárez-Alvarez <mariano@gnome.org>
306 * gtk/gtkfilechooserbuuton.[hc]: Add a file-set signal to the
307 filechooser button. Bug 353196.
309 2006-12-26 Kristian Rietveld <kris@gtk.org>
311 * gtk/gtktreeview.c (gtk_tree_view_search_init): fix typo causing
312 the search dialog timeout never to be refreshed. (#389581,
313 Andrzej Szombierski).
315 2006-12-26 Kristian Rietveld <kris@gtk.org>
317 Lots of scrolling fixes. Made scrolling work properly in not fully
318 validated tree views; fixed a bunch of corner cases.
320 * gtk/gtktreeview.c (validate_visible_area): if a row's dy is past
321 upper - page_size, we know it is located at the end so the test for
322 dy + height has been dropped.
323 In the same case if area_below < 0, we know this is the last node
324 in the tree view so area_above is page_size - height of this row.
325 (validate_visible_area): got rid of subtracting new_height -
326 old_height from area_{below,above}, it didn't make any sense at
327 all and the full height of the row should be subtracted instead.
328 (validate_visible_area): when scrolling to a given path, set the
329 top row directly together with the dy offset, then sync that top_row
331 (gtk_tree_view_set_top_row): new function to directly set a top_row.
332 (gtk_tree_view_dy_to_top_row): refactored to use
333 gtk_tree_view_set_top_row().
334 (gtk_tree_view_top_row_to_dy): make sure dy >= 0 when done.
335 (gtk_tree_view_adjustment_changed): only update our dy and
336 top_row if the adjustment's dy actually changed.
338 2006-12-26 Christian Persch <chpe@cvs.gnome.org>
340 * gtk/gtknotebook.c: (gtk_notebook_real_insert_page):
341 Return the correct value from gtk_notebook_insert_page if the
342 page-added handler reorders the tabs. Bug #345094.
344 2006-12-26 Carlos Garnacho <carlosg@gnome.org>
346 Fix small regressions in GtkNotebook tab detaching. Bug #378852.
348 * gtk/gtknotebook.c (gtk_notebook_do_arrow): grab focus to allow tabs
349 scrolling when hovering with a detached tab.
350 (gtk_notebook_stop_reorder): Do not deparent the wrong tab if the
351 focus tab has changed during a tab DND operation.
352 (gtk_notebook_drag_end): ensure that the dropped tab gets focused.
353 (gtk_notebook_paint): do not take cur_page as a reference to paint the
354 box if it's detached.
355 (gtk_notebook_calculate_tabs_allocation): focus_tab may be different
356 to the detached tab if we hover the arrows during a tabs detaching
357 operation, do not allocate it unconditionally in 0,0.
359 2006-12-26 Carlos Garnacho <carlosg@gnome.org>
361 Expose improvements for GtkNotebook. Bug #383435
363 * gtk/gtknotebook.c (gtk_notebook_expose): propagate the event to tab
365 (gtk_notebook_draw_focus): do not repaint the whole focused tab again.
366 (gtk_notebook_draw_tab): do not send handmade expose events to tab
369 2006-12-26 Matthias Clasen <mclasen@redhat.com>
371 * gtk/gtkfilesystemunix.c (execute_callbacks): Return
372 FALSE. (#389623, Carlos Garnacho Parro)
374 * gtk/gtkrange.c (stop_scrolling): Avoid spurious
377 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
379 * gtk/gtkplug.c: (gtk_plug_construct_for_display),
380 (gtk_plug_unrealize): Notify the "embedded" property also on
381 normal construction and when destroying the socket window.
384 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
386 * gtk/gtkaboutdialog.c: (gtk_about_dialog_class_init),
387 (gtk_about_dialog_init), (display_credits_dialog),
388 (display_license_dialog):
389 * gtk/gtkfilechooserdialog.c: (gtk_file_chooser_dialog_class_init),
390 (gtk_file_chooser_dialog_init),
391 (gtk_file_chooser_dialog_constructor),
392 (gtk_file_chooser_dialog_unmap):
393 * gtk/gtkrecentchooserdefault.c:
394 (_gtk_recent_chooser_default_init):
395 * gtk/gtkrecentchooserdialog.c:
396 (gtk_recent_chooser_dialog_class_init),
397 (gtk_recent_chooser_dialog_init),
398 (gtk_recent_chooser_dialog_constructor),
399 (gtk_recent_chooser_dialog_unmap): Set the HIG spacings directly
400 instead of using style-set handlers. Fix the filechooser's spacing
401 between content and action area to 12px. Bug #372447.
403 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
405 * gtk/gtkstatusbar.c: (gtk_statusbar_size_allocate):
406 Don't assume statusbar->label is the statusbar's frame's child when
407 shrinking the size allocation when the grip is shown. Bug #372452.
409 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
411 * gtk/gtkpagesetupunixdialog.c: (printer_status_cb),
412 (add_custom_paper): Fix mem leaks. Bug #389194.
414 2006-12-24 Matthias Clasen <mclasen@redhat.com>
416 * gtk/gtktextutil.c: Remove debug output.
418 * gtk/gtktextview.c: Improve the DND scrolling
419 behaviour. (#92387, Carlos Garnacho Parro)
421 * gtk/gtkaccellabel.c: Improve translators comments.
422 (#389298, Christian Persch)
424 2006-12-24 Bastien Nocera <hadess@hadess.net>
426 * gtk/gtkrecentmanager.c: Fix typo (s/expansive/expensive)
429 2006-12-24 Christian Persch <chpe@cvs.gnome.org>
431 * docs/reference/gtk/gtk-sections.txt:
433 * gtk/gtkpagesetupunixdialog.c: (fill_paper_sizes_from_printer):
434 * gtk/gtkprinter-private.h:
435 * gtk/gtkprinter.c: (gtk_printer_list_papers):
436 * gtk/gtkprinter.h: Make gtk_printer_list_papers public. Bug #345587.
438 2006-12-24 Carlos Garcia Campos <carlosgc@gnome.org>
440 * gtk/gtkpagesetupunixdialog.c: Don't ignore reverse portrait option
441 when is selected in page setup dialog. Fixes bug #365047.
443 2006-12-24 Behdad Esfahbod <behdad@gnome.org>
445 * gtk/gtkentry.c (_gtk_entry_effective_inner_border):
446 Use gtk_border_free when freeing border.
448 2006-12-24 Matthias Clasen <mclasen@redhat.com>
450 * gtk/gtkentry.c (gtk_entry_button_press): When
451 shift-clicking, keep the larger part of the selection
452 selected. (#353709, Benjamin Otte)
454 * gtk/gtkbutton.c (gtk_button_get_props): Use
455 gtk_border_free when freeing borders.
457 * gtk/gtkbutton.c (gtk_button_grab_notify): Be more
458 careful when faking a button release. (#323146,
461 * gtk/gtkhandlebox.c (draw_textured_frame): Draw the
462 handle with the right orientation, depending on the
463 position of the handlebox. (#159764, Benjamin Berg)
465 2006-12-24 Behdad Esfahbod <behdad@gnome.org>
467 * gtk/gtkstyle.c (gtk_border_copy), (gtk_border_free): Use gslice for
470 2006-12-24 Behdad Esfahbod <behdad@gnome.org>
472 Bug 340141 – Update to Pango 1.16 API
474 * gdk/gdkpango.c (layout_iter_get_line_clip_region),
475 (gdk_pango_layout_line_get_clip_region):
476 * gtk/gtkcalendar.c (gtk_calendar_size_request):
477 * gtk/gtkentry.c (gtk_entry_get_pixel_ranges),
478 (get_layout_position), (gtk_entry_find_position),
479 (gtk_entry_adjust_scroll):
480 * gtk/gtkiconview.c (get_pango_text_offsets):
481 * gtk/gtklabel.c (get_cursor_direction):
482 * gtk/gtkstyle.c (get_insensitive_layout):
483 * gtk/gtktextdisplay.c (render_para):
484 * gtk/gtktextlayout.c (allocate_child_widgets),
485 (find_display_line_below), (find_display_line_above),
486 (gtk_text_layout_move_iter_to_previous_line),
487 (gtk_text_layout_move_iter_to_next_line),
488 (gtk_text_layout_move_iter_to_line_end),
489 (gtk_text_layout_iter_starts_line),
490 (gtk_text_layout_move_iter_to_x):
491 * gtk/gtktextutil.c (limit_layout_lines):
492 Use the _readonly version of pango_layout_iter_get_line(),
493 pango_layout_iter_get_run(), pango_layout_get_line(), and
494 pango_layout_get_lines().
496 * gtk/gtkmain.c (gtk_get_default_language): Use
497 pango_get_default_language().
499 2006-12-24 Matthias Clasen <mclasen@redhat.com>
501 * gtk/gtkentry.c (gtk_entry_set_text): Emit changed
502 and notify:text only once. The same fix was applied
503 for replacing the selection via DND or copy-and-paste.
504 (#64998, Damon Chaplin, Sven Herzberg)
506 2006-12-23 Matthias Clasen <mclasen@redhat.com>
508 * gtk/gtkimmulticontext.c: Be careful to not override
509 GTK+ translations with the translations of the input
510 method. (#317080, Tor Lillqvist)
512 * modules/input/imcedilla.c: Use standard macros
513 for translation domain and locale dir.
515 * gtk/gtkimcontextsimple.c: Allow composing l with
516 stroke. (#349638, Daniel Lublin)
518 * gtk/gen-paper-names.c: Fix a thinko in the suffix
519 calculation. (#382369, Christian Persch)
521 * gtk/paper_names_offsets.c: Regenerated.
523 2006-12-22 Matthias Clasen <mclasen@redhat.com>
525 * modules/engines/pixbuf/pixbuf.h:
526 * modules/engines/pixbuf/pixbuf-rc-style.h:
527 * modules/engines/pixbuf/pixbuf-style.h: Move
528 G_GNUC_INTERNAL before function declarations. (#352276,
531 2006-12-22 Matthias Clasen <mclasen@redhat.com>
533 * demos/gtk-demo/*.c: Fix some leaks. (#348108, Chris
536 2006-12-22 Matthias Clasen <mclasen@redhat.com>
538 * *.c: Replace a lot of idle and timeout calls by
539 the new gdk_threads api.
543 * gdk/gdk.c: Add functions to allow threadsafe handling
544 of idles and timeouts wrt. to the GDK lock. (#321886,
547 2006-12-22 Matthias Clasen <mclasen@redhat.com>
549 * gdk/gdkpango.c: Use pango_cairo_show_error_underline.
550 (#340141, Behdad Esfahbod)
552 * configure.in: Check for getc_unlocked.
554 * gtk/xdgmime/xdgmimemagic.c: Use getc if getc_unlocked is
555 unavailable. (#381499)
557 * tests/teststatusicon.c: Fix a typo
559 2006-12-22 Matthias Clasen <mclasen@redhat.com>
561 Make it possible to track the embeddedness of
562 statusicon (#387215, Martyn Russell, patch by Christian
565 * gtk/gtkstatusicon.c: Add orientation and embedded properties.
567 * gtk/gtkplug-x11.c: Add an embedded property.
568 * tests/teststatusicon.c: Test the new properties.
570 * gtk/gtkwidget.c (gtk_widget_get_draw_rectangle): Don't
571 leak draw_border. (#387170, Kjartan Maraas)
573 2006-12-21 Matthias Clasen <mclasen@redhat.com>
575 * gtk/gtkfilechooserembed.c (_gtk_file_chooser_embed_set_delegate()):
576 Typo fix. (#388123, Murray Cumming)
578 * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event):
579 Generate double-click events. (#380421, Tommi Komulainen)
581 * gdk/x1/gdkinput-xfree.c (_gdk_input_configure_event):
582 (_gdk_input_enter_event): Correct return_if_fail checks.
583 (#379803, Tommi Komulainen)
585 * gdk/gdkdisplay.c: Improve the docs of some functions operating
586 on the default display. (##353438, Mariano Suárez-Alvarez)
588 2006-12-21 Matthew Barnes <mbarnes@redhat.com>
590 * docs/reference/gdk/gdk-sections.txt:
591 * gdk/gdkcolor.[ch] (gdk_color_to_string): Add a function for
592 converting a GdkColor to a string (#373856).
594 * configure.in: Bump pango requirement to 1.15.2.
596 2006-12-20 Matthias Clasen <mclasen@redhat.com>
598 * gdk/keynames.txt: Mark arrow keys as translatable. (#369506,
601 * gdk/keyname-table.h: Regenerated
603 * gtk/gtktextbuffer.c: Add signal documentation. (#317064,
606 * gtk/gtktextview.c (gtk_text_view_start_selection_drag):
607 Silently return if a drag is already in progress, rather
608 than asserting. (#335622, Li Yuan, testcase by Erwann Chenede)
610 * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_new_with_dialog):
611 Allow any GtkDialog that implements GtkFileChooser as
612 dialog. (#335473, Tommi Komulainen)
614 2006-12-20 Mikael Hallendal <micke@imendio.com>
616 * gtk/gtkstatusicon.c: (gtk_status_icon_init): Fixed a last minute
617 change in the quartz backend.
619 2006-12-20 Mikael Hallendal <micke@imendio.com>
621 * gtk/Makefile.am: Added gtkstatusicon-quartz.c
622 * gtk/gtkstatusicon-quartz.c: Implements the quartz backend for the
624 * gtk/gtkstatusicon.c: Hooked in the new quartz backend. Bug #387874.
626 2006-12-19 Matthias Clasen <mclasen@redhat.com>
628 * gtk/gtkprintunixdialog.c: Add a tooltip explaining the
629 format of page ranges, and improve the page sequence icon
630 for the case of n_copies == 1.
632 2006-12-19 Mikael Hallendal <micke@imendio.com>
634 * gdk/quartz/gdkcursor-quartz.c: Splitted out the GdkPixbuf to NSImage
635 routine so that it can be used from libgtk as well (needed for
636 upcoming GtkStatusIcon support in the Quartz port).
637 * gdk/quartz/gdkevents-quartz.c: Don't assume that all NSWindows are
638 created from GDK, this is not true for the status icon.
639 * gdk/quartz/gdkprivate-quartz.h:
640 * gdk/quartz/gdkquartz.h: Added
641 gdk_quartz_pixbuf_to_ns_image_libgtk_only so that it is available to
642 the status icon code.
644 2006-12-16 Tristan Van Berkom <tvb@gnome.org>
646 * gtk/gtkmessagedialog.c: Added return_if_fail (image) to
647 gtk_message_dialog_set_image ()
649 * gtk/gtkscrolledwindow.c: Fixed a bug in set_property()
650 (setting "window-placement-set" could result in a crash because
651 of boolean/enum mixup)
653 2006-12-15 Federico Mena Quintero <federico@novell.com>
655 Merged from gtk-2-10:
657 * gtk/gtkmenu.c (gtk_menu_set_title): Don't try to optimize for
658 the case where the new title is the same as the old title, to
659 preserve the behavior from GTK+ 2.8 (NULL and "" titles are not
660 equivalent). Handle the case where title == priv->title. This
661 was found by the LSB compatibility tests:
662 https://bugzilla.novell.com/show_bug.cgi?id=223882
664 2006-12-15 Dom Lachowicz <domlachowicz@gmail.com>
666 * gtk/gtkcombobox.c: Make GtkComboBox in "appears-as-list" mode
667 more closely resemble its Win32 counterpart. Bug #340204.
669 2006-12-14 Carlos Garnacho <carlosg@gnome.org>
671 * gtk/gtkcalendar.c: draw arrows pointing to the right correctly
672 placed inside their GdkWindow. Bug #385672.
674 2006-12-14 Christian Persch <chpe@cvs.gnome.org>
676 * gtk/gtkiconview.c: Fix docs typo. Bug #385642.
678 2006-12-13 Dom Lachowicz <domlachowicz@gmail.com>
680 * src/modules/engines/ms-windows/msw_style.c: Bug 351679 - Notebooks
681 drawn with extra line below tab in MS-Windows theme. Patch by
684 2006-12-13 Matthias Clasen <mclasen@redhat.com>
686 * gtk/Makefile.am: Add --unlink-tempfile to the evince call
687 for print preview. (#370041, Ghee Teo)
689 2006-12-11 Matthias Clasen <mclasen@redhat.com>
691 * gtk/gtkprogressbar.c (gtk_progress_bar_paint_text): Be more
692 careful when overdrawing antialiased text. (#352435, Alex Jones,
693 patch by Benjamin Otte)
695 * gtk/gtksettings.c: Change the way in which color scheme information
696 is merged to correctly handle vanishing colors. (#374420,
697 Benjamin Berg, patch by Callum McKenzie)
698 Also allow to separate entries in color schemes by ';'
701 2006-12-10 Matthias Clasen <mclasen@redhat.com>
703 * modules/printbackends/cups/gtkcupsutils.c (gtk_cups_request_encode_option):
704 Properly pass multi-value options to cups. (#355350, Jürg Billeter)
706 2006-12-10 Kristian Rietveld <kris@gtk.org>
708 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_focus_out_event):
709 cancel editing (ie. don't accept changes) when the entry loses
710 focus. (Fixes #164494, reported by Chris Rouch).
712 2006-12-10 Matthias Clasen <mclasen@redhat.com>
714 * configure.in: Correct a misapplied patch.
716 2006-12-10 Tor Lillqvist <tml@novell.com>
718 * gtk-zip.sh.in: Put gdk-pixbuf-query-loaders.exe and
719 gtk-query-immodules-2.0.exe in the runtime zipfile instead of
720 developer zipfile. Users might add pixbuf loaders or immodules
721 even if they are not interested in developing gtk+-using software.
723 2006-12-10 Matthias Clasen <mclasen@redhat.com>
725 * configure.in: Check for crt_extern.h and _NSGetEnviron.
726 * gdk/x11/gdkspawn-x11.c: Fix compilation on Darwin where
727 environ is not available. (#384168, Min Sik Kim)
729 2006-12-07 Paolo Maggi <paolo@gnome.org>
733 * gtk/gtkentry.c (gtk_entry_set_text): check for
734 completion->priv->changed_id > 0 before calling
735 g_signal_handler_[un]block.
736 (gtk_entry_completion_key_press): does not block/unblock the "changed"
737 signal before calling gtk_entry_set_text.
739 2006-12-07 Carlos Garnacho <carlosg@gnome.org>
741 * gtk/gtkcellrendererprogress (compute_dimensions): do not use
742 xthickness/ythickness, they aren't used any longer for drawing.
744 2006-12-07 Matthias Clasen <mclasen@redhat.com>
746 * gtk/gtkrc.c (_gtk_rc_init): Fix clipping of accelerator
747 underlines by giving labels a small draw-border.
749 2006-12-06 Kristian Rietveld <kris@gtk.org>
751 * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_render):
752 draw progress bar through theme engine instead of using our own
753 custom cairo drawing code (#377244, patch from Carlos Garnacho).
755 2006-12-06 Matthias Clasen <mclasen@redhat.com>
757 * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities):
758 Update the sensitivity of the collate checkbutton more frequently,
759 proposed by Tim Waugh.
761 2006-12-04 Matthias Clasen <mclasen@redhat.com>
763 * gtk/gtkmessagedialog.c (setup_type): Set a11y name and role
764 since we no longer set window titles.
766 2006-12-04 Christian Persch <chpe@cvs.gnome.org>
768 * gtk/gtkpagesetup.c: (gtk_page_setup_get_paper_size),
769 (gtk_page_setup_set_paper_size): Don't leak the old page size when
770 setting a new one. Bug #382314.
772 2006-12-03 Michael Natterer <mitch@gimp.org>
774 * gtk/gtktextview.c: remove FIXME #include that is no longer needed.
776 2006-12-03 Kristian Rietveld <kris@gtk.org>
778 Make sure [xy]_offset are always being initialized, fix pixbuf
779 renderer padding. (#108235, Sven Neumann).
781 * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_get_size),
782 (gtk_cell_renderer_pixbuf_render): add padding in _render instead
785 * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_get_size):
786 always initialize [xy]_offset.
787 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): ditto.
788 * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_size):
791 2006-12-03 Kristian Rietveld <kris@gtk.org>
793 * gtk/gtktreeview.c (validate_visible_area): when not using an
794 explicit alignment, use the full area of the row (not just dy)
795 to determine how to implicitly align it. (Fixes #363191, reported
796 by Federico Mena Quintero).
798 2006-12-02 Matthias Clasen <mclasen@redhat.com>
800 * gtk/gtkicontheme.c (insert_theme): Properly clean up
801 if an icon theme index file has no directories. (#381236)
803 2006-12-02 Dom Lachowicz <domlachowicz@gmail.com>
805 * src/modules/engines/ms-windows/msw_style.c: Bug 351678 - Notebooks
806 not with PositionType.Top drawn incorrectly. Patch by Cody Russell
808 2006-11-28 Behdad Esfahbod <behdad@gnome.org>
810 Remove the broken Thai input method and add a functional Thai and Lao
811 input method by Theppitak Karoonboonyanan. (#81031)
813 * modules/input/imthai.c:
814 * modules/input/gtkimcontextthai.c:
815 * modules/input/gtkimcontextthai.h:
816 * modules/input/thai-charprop.c:
817 * modules/input/thai-charprop.h:
820 * modules/input/imthai-broken.c:
823 * modules/input/Makefile.am:
826 2006-11-27 Christian Persch <chpe@cvs.gnome.org>
828 * gtk/gtkstatusicon.c: Notify when the screen changes. Bug #379793.
830 Mon Nov 27 12:27:06 2006 Tim Janik <timj@imendio.com>
832 * gtk/gtktextview.c: applied patch by Colin Leroy for
833 Control+GDK_KP_Left to move one word to the left, #356255.
835 2006-11-26 Benjamin Berg <benjamin@sipsolutions.net>
837 * gtk/gtkstyle.c: (gtk_default_draw_flat_box): Protect against NULL
840 2006-11-25 Matthias Clasen <mclasen@redhat.com>
842 * modules/printbackends/cups/gtkprintbackendcups.c: Make
843 print dialog work when 'BrowseShortNames Off' is specified
844 in cups configuration. Patch by Tim Waugh.
846 2006-11-24 Michael Natterer <mitch@imendio.com>
848 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): if we
849 can't go up/down, consult gtk_widget_keynav_failed() and leave the
850 widget if it returns FALSE (bug #322640).
852 2006-11-23 Behdad Esfahbod <behdad@gnome.org>
854 * gtk/gtkmain.c: Fix minor typo in docs. (#378632, Hannes Mueller)
856 2006-11-22 Emmanuele Bassi <ebassi@gnome.org>
858 * gtk/gtkrecentmanager.c:
859 (get_uri_shortname_for_display): g_filename_from_uri() might
860 fail; catch the failure and fall back to the non-local URI
863 2006-11-19 Mark McLoughlin <mark@skynet.ie>
865 Fixes bug #376502 - multi-screen support for GtkStatusIcon
867 * gtk/gtkstatusicon.[ch]:
868 (gtk_status_icon_set_screen),
869 (gtk_status_icon_get_screen): add multi-screen API. Allows
870 an app to display an icon on a non-default screen
871 (gtk_status_icon_class_init),
872 (gtk_status_icon_set_property),
873 (gtk_status_icon_get_property): add a "screen" property
875 * tests/teststatusicon.c: update to test on multiple screens
877 2006-11-17 Matthias Clasen <mclasen@redhat.com>
879 Fix problems with drag cancellation. (#376535, Michael Natterer)
881 * gtk/gtkdnd.c (gtk_drag_source_info_destroy): Disconnect signal
882 handlers before emitting drag-end.
883 (gtk_drag_end): Disconnect signal handlers before removing
886 2006-11-16 Mariano Suárez-Alvarez <mariano@gnome.org>
888 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
889 add gtk-doc blurb on GtkCellRendererText::edited (#376094)
891 2006-11-16 Michael Natterer <mitch@imendio.com>
893 * gtk/gtkradiobutton.c (gtk_radio_button_focus): don't use
894 gtk_widget_keynav_failed(). Instead, look at gtk-keynav-cursor-only
895 and gtk-keynav-wrap-around and wrap around, beep or continue outside
896 the group manually (bug #322640).
898 2006-11-16 Michael Natterer <mitch@imendio.com>
900 Add new infrastructure for notifications of failed keyboard
901 navigation and navigation with restricted set of keys.
903 The patch handles configurable beeping, navigating the GUI with
904 cursor keys only (as in phone environments), and configurable
905 wrap-around. Fixes bugs #322640, #70986, #318827, #334726, #334742
908 * gtk/gtksettings.c: added properties gtk-keynav-cursor-only,
909 gtk-keynav-wrap-around and gtk-error-bell.
911 * gtk/gtkwidget.[ch]: added new signal "keynav-failed" and public
912 API to emit it. Added New function gtk_widget_error_bell() which
913 looks at the gtk-error-bell setting and calls gdk_window_beep()
916 * gtk/gtk.symbols: add the new widget symbols.
918 * gtk/gtkcellrendereraccel.c
919 * gtk/gtkimcontextsimple.c
921 * gtk/gtknotebook.c: use gtk_widget_error_bell() or look at the
922 gtk-error-bell setting instead of calling gdk_display_beep()
930 * gtk/gtkspinbutton.c
932 * gtk/gtktreeview.c: call gtk_widget_error_bell() on failed keynav.
937 * gtk/gtktextview.c: consult gtk_widget_keynav_failed() on failed
938 cursor navigation and leave the widget if it returns FALSE.
941 * gtk/gtknotebook.c: only wrap around if gtk-keynav-wrap-around
944 * gtk/gtkradiobutton.c: ask gtk_widget_keynav_failed() to decide
945 whether to to wrap-around, and don't select active items on cursor
946 navigation if gtk-keynav-cursor-only is TRUE. Should look at
947 gtk-keynav-wrap-around too, will look into that.
949 2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
951 * gtk/gtkrecentmanager.c:
952 (gtk_recent_info_get_uri_display): Return the URI
953 of the GtkRecentInfo object (upgraded to UTF-8 if
954 needed) in case of non-local file. (#351945)
956 2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
958 * gtk/gtkrecentchoosermenu.c:
959 (gtk_recent_chooser_menu_add_tip): Apply the tip only
960 if we have a displayable name for the item. (#365031,
961 patch by padraig.obriain(at)sun.com)
963 2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
965 * gtk/gtkrecentmanager.c: Provide a fast path returning
966 NULL when the limit is set to 0.
968 * gtk/gtkrecentchooserdefault.c:
969 * gtk/gtkrecentchoosermenu.c: Add the same fast path
970 inside the RecentChooser implementation; add a check
971 in the list clamping code. (#373466 and duplicates)
973 2006-11-15 Matthias Clasen <mclasen@redhat.com>
975 * modules/printbackends/cups/gtkprintbackendcups.c (cups_printer_get_options):
976 Don't pass NULL to strncpy. (#359537, patch by Carlos Garcia Campos)
978 2006-11-15 Michael Natterer <mitch@imendio.com>
980 * gtk/gtkrange.[ch]: added properties "fill-level",
981 "show-fill-level" and "restrict-to-fill-level" and getters/setters
982 for them. The "fill level" is an additional marker on the range's
983 trough than can be e.g. used to indicate the amount of
984 pre-buffering in a range showing the play position of streamed
985 media. See the embedded API docs for details. Made GtkRangeLayout
986 a GTypeInstance private struct and removed finalize()
987 implementation. Fixes bug #349808
989 * gtk/gtk.symbols: added the new symbols.
991 2006-11-14 Behdad Esfahbod <behdad@gnome.org>
993 * configure.in: Make libtool magic robust. (#352795)
995 2006-11-13 Paolo Borelli <pborelli@katamail.com>
997 * gtk/gtkrc.c (gtk_rc_parse_icon_source): plug small memory
1000 2006-11-09 Kristian Rietveld <kris@imendio.com>
1002 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): disable
1003 don't move cursor case for SELECTION_NONE. (#371756, John Ellis).
1005 2006-11-09 Carlos Garnacho <carlosg@gnome.org>
1007 * gtk/gtkpathbar.c (on_slider_unmap): Fix parenthesis confusion.
1009 2006-11-08 Carlos Garnacho <carlosg@gnome.org>
1011 * gtk/gtkpathbar.c (on_slider_unmap): added, do not leave the scroll
1012 timeout running if the slider buttons are hidden. (#372527)
1014 2006-11-08 Christian Persch <chpe@cvs.gnome.org>
1016 * gtk/gtkfilechooserdefault.c (browse_widgets_create): Don't make
1017 the "Location" label bold. Bug #372449.
1019 2006-11-07 Carlos Garnacho <carlosg@gnome.org>
1021 * gtk/gtknotebook.c (gtk_notebook_calculate_tabs_allocation): make
1022 non-focused tabs xthickness/ythickness thinner. (#353962)
1024 2006-11-07 Paolo Borelli <pborelli@katamail.com>
1026 * gtk/gtktextbtree.c (_gtk_text_btree_delete): avoid memory
1027 corruption (#357050).
1029 2006-11-06 Alexander Larsson <alexl@redhat.com>
1031 * gtk/gtkdnd.c: (gtk_drag_begin_internal),
1032 (gtk_drag_source_info_destroy), (gtk_drag_end),
1033 (gtk_drag_grab_notify_cb):
1034 Cancel drag when the grab is shadowed. (#122688)
1036 2006-11-01 Kristian Rietveld <kris@imendio.com>
1038 * gtk/gtkcombobox.c (gtk_combo_box_class_init),
1039 (gtk_combo_box_size_request): add arrow-size property to control
1040 the minimum size of the arrow, have the arrow scale up with the
1041 font by default. (#357950).
1043 2006-10-30 Kristian Rietveld <kris@gtk.org>
1045 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): don't
1046 forget to queue a draw for the new cursor node. (Fixes #366548,
1047 reported by Sven Herzberg).
1049 2006-10-30 Michael Natterer <mitch@imendio.com>
1051 * gtk/gtkrange.c (gtk_range_key_press): consume the Escape key
1052 only if we actually cancel a drag. Fixes bug #58389.
1054 2006-10-30 Kristian Rietveld <kris@gtk.org>
1056 * gtk/gtktreeview.c (gtk_tree_view_class_init): change left/right
1057 keybindings to collapse/expand rows instead of moving the focus
1058 cursor. (#105895, Brian Bober and others).
1060 2006-10-29 Kristian Rietveld <kris@gtk.org>
1062 * gtk/gtktreeview.c (gtk_tree_view_real_expand_row): guard against
1063 child removal in row-expanded callback. (#366782, John Ellis).
1065 2006-10-29 Tor Lillqvist <tml@novell.com>
1067 * gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Improve handling
1068 of the small icon of the window class. (#152620, Kazuki Iwamoto)
1070 2006-10-29 Tor Lillqvist <tml@novell.com>
1072 * gdk/win32/gdkcursor-win32.c
1073 (gdk_win32_icon_to_pixbuf_libgtk_only): Implement for B&W cursors,
1074 for instance the built-in GDK ones.
1076 2006-10-27 Kristian Rietveld <kris@gtk.org>
1078 * gtk/gtktreeview.c (validate_visible_area): rework the area_above == 0
1079 case to not overwrite the variables in the lower scope (which are
1080 used later on ...), get the path correctly and bail out when there
1081 isn't a node above us. (#359231).
1083 2006-10-26 Christian Persch <chpe@cvs.gnome.org>
1085 * gtk/gtkaboutdialog.c: Put initial focus on Close button (#337261).
1087 2006-10-25 Johan Dahlin <jdahlin@async.com.br>
1089 * gtk/gtk.symbols: Add missing symbols to so make check can pass
1091 2006-10-23 Dom Lachowicz <domlachowicz@gmail.com>
1093 * src/modules/engines/ms-windows/msw_style.c (draw_expander): Remember
1094 to free GDI Pen resources, introduced by bug 340201.(#364514)
1096 2006-10-18 Kristian Rietveld <kris@imendio.com>
1098 * tests/testcombo.c (main): connect to notify::popup-shown instead of
1099 popup-show (the latter does not exist).
1101 2006-10-15 Paolo Borelli <pborelli@katamail.com>
1103 * gtk/gtkicontheme.c (pixbuf_supports_svg): plug memory leak.
1106 2006-10-12 Michael Natterer <mitch@imendio.com>
1108 * gtk/gtkcombobox.c (gtk_combo_box_class_init): fix commit below
1109 (committed the wrong patch).
1111 2006-10-12 Michael Natterer <mitch@imendio.com>
1113 * gtk/gtkcombobox.c: added "move-active" and "popup" signals and
1114 bindings to trigger them. Removed gtk_combo_box_key_press(), it's
1115 obsolete now. Fixes bug #358293.
1117 2006-10-11 Michael Emmel <mike.emmel@gmail.com>
1119 * gdkpixmap-directfb.c: add missing RGB24 case (#361176)
1121 2006-10-11 Tor Lillqvist <tml@novell.com>
1123 * configure.in: Enable having some gdk-pixbuf loaders built-in
1124 even if loading the others dynamically. Define Automake
1125 conditional INCLUDE_FOO for each loader as TRUE if that loader is
1126 built-in. See also gdk-pixbuf/ChangeLog.
1128 Wed Oct 11 14:31:30 2006 Tim Janik <timj@imendio.com>
1130 * docs/reference/gtk/gtk-sections.txt:
1131 * gtk/gtkbindings.c: document gtk_binding_entry_skip().
1133 2006-10-11 Tor Lillqvist <tml@novell.com>
1135 * gtk/gtk.symbols: Remove gtk_combo_string_key, which is a static
1138 2006-10-11 Tor Lillqvist <tml@novell.com>
1140 Merge from 2.10 branch:
1142 * gtk/gtkmain.c (do_pre_parse_initialization): On Win32, if
1143 environment variable LC_ALL or LANG is set, set the Win32 thread
1144 locale to the corresponding locale. Then call the C library
1145 setlocale() to set the C library locale accordingly. The
1146 inconsistency mentioned below is gone. (#339756) Do some special
1147 casing for Serbia and Montenegro. Handle the Latin and Cyrillic
1148 scripts for Azeri, Uzbek and Serbian.
1149 (enum_locale_proc): Helper function for the above functionality.
1151 * gtk/gtkcalendar.c (gtk_calendar_init): No longer need to check
1152 if the environment variables are set here, as they have already
1153 been taken into account and the Win32 thread locale has been
1156 Tue Oct 10 16:38:23 2006 Tim Janik <timj@imendio.com>
1158 * gtk/tmpl/gtkbindings.sgml:
1159 * gtk/gtkbindings.c: applied patch from Michael Natterer to move to
1160 inline docs. applied wording fixes suggested by Martyn Russell.
1162 2006-10-09 Matthias Clasen <mclasen@redhat.com>
1164 * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
1165 Update the docs to state which out parameters may be NULL.
1166 (#360870, Attilio Fiandrotti)
1168 2006-10-08 Matthias Clasen <mclasen@redhat.com>
1170 * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities): Fix
1171 a typo. (#359542, Ghee Teo)
1173 2006-10-08 Matthias Clasen <mclasen@redhat.com>
1175 * gtk/gtknotebook.c (gtk_notebook_reorder_tab): Only
1176 reorder tabs if the focus is in the tab. (#350342, Carlos
1179 2006-10-08 Michael Emmel <mike.emmel@gmail.com>
1181 * gdk/directfb/gdkproperty-directfb.c strdup atom name (#357611)
1183 2006-10-08 Kristian Rietveld <kris@gtk.org>
1185 * gtk/gtktreeview.[ch] (gtk_tree_view_set_property),
1186 (gtk_tree_view_set_show_expanders),
1187 (gtk_tree_view_get_show_expanders): add getter/setter for
1188 show-expanders property, queue a redraw when this property
1189 is toggled (#351167, Martin Ejdestig),
1190 (gtk_tree_view_set_level_indentation),
1191 (gtk_tree_view_get_level_indentation): also add getter/setter
1192 and docs for level-indentation property.
1194 2006-10-08 Matthias Clasen <mclasen@redhat.com>
1196 * gtk/gtkradiobutton.c (gtk_radio_button_focus): Don't
1197 leak a list. (#360350, Benjamin Berg)
1199 * Apply a cleanup patch by Kjartan Maraas (#341812)
1201 2006-10-07 Tor Lillqvist <tml@novell.com>
1203 * gtk/gtkcalendar.c (gtk_calendar_init): Use the Win32 thread
1204 locale's first day of week setting on Win32. (#339752, Bogdan
1205 Nicula) Don't do this if one of the environment variables that
1206 affect gettext is set, though. In that case use the week start day
1207 from the corresponding message catalog.
1209 Unfortunately the same logic isn't possible in the weekday and
1210 month name lookup; there even if you have set one of the
1211 aforementioned environment variables, you still get the weekday
1212 and month names from the Win32 thread locale. Yes, this is
1215 Use only wide-character API in the Win32 code in this file, too.
1217 2006-10-06 Matthias Clasen <mclasen@redhat.com>
1219 * gtk/gtkfilechooser.c (gtk_file_chooser_set_select_multiple):
1220 Fix the docs. (#360112)
1222 * gtk/gtkcellview.c: Don't set the background of the
1223 window in a no-window widget. (#359581, Xan Lopez)
1226 2006-10-05 Behdad Esfahbod <behdad@gnome.org>
1228 * gtk/Makefile.am, gtk/aliasfilescheck.sh: Propagate srcdir into the
1229 test correctly. (#359845)
1231 2006-10-05 Michael Natterer <mitch@imendio.com>
1233 * gtk/gtkrc.[ch]: added new scanner token "unbind" which gets
1234 rid of a key binding (in fact, it only lets it appear unbound).
1236 * gtk/gtkbindings.[ch] (struct GtkBindingEntry): added
1237 "guint marks_unbound : 1"
1239 (gtk_binding_entry_skip): new API which marks the entry as unbound.
1241 Changed code so it returns FALSE when "marks_unbound == TRUE" is
1242 encountered while activating bindings, effectively letting the
1243 binding appear unbound (regardless of still existing bindings in
1244 lower binding priority levels). Fixes bug #358329.
1246 (gtk_binding_entry_add)
1247 (gtk_binding_entry_clear)
1248 (gtk_binding_entry_add_signall)
1249 (gtk_binding_parse_binding): deprected these functions.
1251 (_gtk_binding_parse_binding)
1252 (_gtk_binding_entry_add_signall): new internal API.
1254 * gtk/gtk.symbols: changed accordingly.
1256 2006-10-03 Matthias Clasen <mclasen@redhat.com>
1258 Fix interaction of GtkEntryCompletion with input
1259 methods. (#354495, Diego Escalante Urrelo)
1261 * gtk/gtkentry.c (gtk_entry_completion_key_press): Only reset
1262 the im context if we actually handle the key event.
1264 * gtk/gtkentrycompletion.c: Also propagate key release events
1267 2006-10-03 Matthias Clasen <mclasen@redhat.com>
1269 * gtk/gtkprintsettings.c (gtk_print_settings_get_duplex):
1270 Fix a typo. (#359052, Ghee Teo)
1272 * gtk/*.c, gdk/*.c: Apply a patch by Behdad Esfahbod to
1273 reduce relocations. (#359053)
1275 2006-10-03 Matthias Clasen <mclasen@redhat.com>
1277 * modules/printbackends/cups/gtkcupsutils.c:
1278 * modules/printbackends/cups/gtkprintbackendcups.c: Complete
1279 the fix for bug 357280.
1281 2006-10-02 Behdad Esfahbod <behdad@gnome.org>
1283 * gdk-pixbuf/Makefile.am:
1286 Include pltcheck.sh in EXTRA_DIST.
1288 2006-10-02 Behdad Esfahbod <behdad@gnome.org>
1290 * gdk/x11/gdkevents-x11.c: Move all includes before including
1293 2006-10-02 Behdad Esfahbod <behdad@gnome.org>
1295 * gtk/Makefile.am: Fix typo in file name. (#358931)
1297 2006-10-02 Matthias Clasen <mclasen@redhat.com>
1299 * modules/printbackends/cups/gtkprintbackendcups.c (available_choices):
1300 Only use the group name field if cups is new enough. (#357280)
1302 * gtk/gtksizegroup.c: Make sure that the quarks are
1303 initialized before using them. (#353736)
1305 * gtk/Makefile.am (stamp-icons): Use rm instead of ln -f to
1306 replace existing links. (#354849, James Evans)
1308 2006-10-01 Matthias Clasen <mclasen@redhat.com>
1310 * gtk/gtkexpander.c (gtk_expander_realize)
1311 (gtk_expander_size_allocate): Make the event_window large
1312 enough to cover the full height of the label_widget. (#358351,
1315 2006-10-01 Tor Lillqvist <tml@novell.com>
1317 * gtk/gtkfilesystemwin32.c: Same change as to gtkfilesystemunix.c.
1319 2006-09-30 Matthias Clasen <mclasen@redhat.com>
1321 * gtk/gtkfilechooserbutton.c (update_combo_box): Protect
1322 against base_path being NULL. (#358405, many reporters)
1324 2006-09-29 Matthias Clasen <mclasen@redhat.com>
1326 * gtk/gtkfilesystemunix.c: Apply a patch by Padraig O'Briain
1327 to avoid a deadlock.
1329 2006-09-27 Kristian Rietveld <kris@imendio.com>
1331 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_free_level),
1332 (gtk_tree_model_filter_ref_node),
1333 (gtk_tree_model_filter_real_unref_node): bring zero ref count loops
1334 in sync with each other and the sort model.
1336 2006-09-27 Kristian Rietveld <kris@imendio.com>
1338 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_init),
1339 (gtk_tree_model_filter_finalize), (gtk_tree_model_filter_row_deleted),
1340 (gtk_tree_model_filter_new): unref the virtual root path once that
1341 node (or one if its ancestors) is deleted, set virtual_root_deleted
1342 so we only unref it once.
1344 2006-09-27 Kristian Rietveld <kris@imendio.com>
1346 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_changed),
1347 (gtk_tree_model_sort_sort_level): ref count nodes the proper way,
1348 (gtk_tree_model_sort_ref_node), (gtk_tree_model_sort_real_unref_node),
1349 (gtk_tree_model_sort_free_level): bring zero ref count loops in
1351 (gtk_tree_model_sort_free_level): free child levels before
1352 decreasing the zero ref count of the current level,
1353 (gtk_tree_model_sort_clear_cache): only clear cache if zero_ref_count
1356 2006-09-25 Matthias Clasen <mclasen@redhat.com>
1358 * demos/gtk-demo/*.c:
1359 * gtk/gtkeventbox.c:
1360 * gtk/gtkprintoperation.c: Fix typos. String change.
1362 2006-09-25 Kristian Rietveld <kris@gtk.org>
1364 * gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): if the tree view
1365 has already been realized; scroll to background area instead of
1366 cell area. (Fixes #330683, Johan Dahlin, Tommi Komulainen).
1368 2006-09-25 Kristian Rietveld <kris@gtk.org>
1370 * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): only attempt
1371 to create the GCs if the widget is realized. (Fixes #357578).
1373 2006-09-25 Matthias Clasen <mclasen@redhat.com>
1375 * gtk/gtkuimanager.c (_gtk_menu_is_empty): Don't leak
1376 the list of children (#357454, Paolo Borelli)
1378 2006-09-25 Michael Natterer <mitch@imendio.com>
1380 * gdk/x11/gdkdisplay-x11.c (gdk_display_x11_finalize): free
1381 display->input_windows with g_free(), not g_object_unref()
1382 (#357566, Tommi Komulainen).
1384 2006-09-24 Kristian Rietveld <kris@gtk.org>
1386 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init),
1387 (gtk_cell_renderer_text_[sg]et_property): actually add align-set
1388 property to the API (left-over patch from #157439).
1390 2006-09-24 Kristian Rietveld <kris@gtk.org>
1392 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button): draw
1393 the indicator if the column has a sort column id (and the model is
1394 sortable) or if the user explicitly requested the indicator
1395 to be shown. (Fixes #352738, Chris Vine).
1397 2006-09-23 Tor Lillqvist <tml@novell.com>
1399 * gtk/Makefile.am: Use EXEEXT.
1401 2006-09-22 Michael Natterer <mitch@imendio.com>
1403 * gtk/gtkstyle.c (gtk_style_real_copy): also copy icon factories
1404 and color hashes. Fixes bug #357132.
1406 2006-09-22 Matthias Clasen <mclasen@redhat.com>
1408 Make remote bookmarks work better (#354887)
1410 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons):
1411 (shortcuts_insert_path):
1412 * gtk/gtkfilechooserbutton.c (change_icon_theme):
1413 (model_add_bookmarks):
1414 (model_update_current_folder):
1415 (update_label_and_image):
1416 If the bookmark points to a remote file, don't call get_info(),
1417 since that may a) take a long time and b) pop up an auth dialog.
1418 Instead, just use a folder icon and create a display name
1421 * gtk/gtkfilechooserdefault.c (_gtk_file_chooser_label_for_uri):
1422 New function to create a suitable display name for a remote
1423 uri. This should really be done in GtkFileSystem.
1425 2006-09-21 Michael Natterer <mitch@imendio.com>
1427 Implement lots of value setters for GdkGC, based on a heavily
1428 modified patch from Thomas Broyer (bug #328853):
1430 * gdk/quartz/gdkcolor-quartz.c: removed functions which set colors
1431 on the CGContext. Instead, added gdk_quartz_get_rgba_from_pixel()
1432 which simply returns RGBA values from a GdkColor's pixel value.
1433 See gdk_quartz_update_context_from_gc() below.
1435 * gdk/quartz/gdkprivate-quartz.h (struct GdkGCQuartz): added lots
1436 of members for the newly suppored GC values. Added enum
1437 GdkQuartzContextValuesMask which is used for setting up the
1438 CGContext for filling and/or stroking.
1440 * gdk/quartz/gdkgc-quartz.c (gdk_quartz_gc_get_values)
1441 (gdk_quartz_gc_set_values)
1442 (_gdk_windowing_gc_copy): support a lot more GC values.
1444 (gdk_quartz_update_context_from_gc): added
1445 GdkQuartzContextValuesMask parameter and set filling/stroking
1446 parameters accordingly. This function also gained full control
1447 over the FG and BG colors (they can't be set separately any more).
1449 The stipple mask part of the patch doesn't work but seems to take
1450 the right approach and doesn't make things worse, so I applied it.
1452 Did *not* apply the clipping part of the patch since I don't
1453 understand it (I don't understand the version in CVS either, but
1454 it at least works :-)
1456 * gdk/quartz/gdkdrawable-quartz.c: pass the right masks to
1457 gdk_quartz_update_context_from_gc() and removed separate color
1458 setting calls. Some minor fixes.
1460 * gdk/quartz/gdkwindow-quartz.c
1461 (gdk_window_impl_quartz_begin_paint_region): set the CGContext's
1462 fill color manually. We don't have/need a GC here.
1464 2006-09-21 Michael Natterer <mitch@imendio.com>
1466 * gdk/quartz/gdkwindow-quartz.c
1467 (gdk_window_impl_quartz_begin_paint_region): fix cast: it's
1468 drawable_impl->wrapper that is the GdkWindow, not the
1469 drawable_impl itself.
1471 2006-09-20 Behnam Esfahbod <behnam@zwnj.org>
1473 * gdk/x11/gdkkeys-x11.c:
1474 (get_direction): just check the first shift-level of keyboard
1475 layout for RTL and LTR keysyms() (compliment to #116626)
1477 Wed Sep 20 16:59:38 2006 Tim Janik <timj@imendio.com>
1479 * gtk/gtkviewport.c: always update the bin_window position and size
1480 in size_allocate, even if we don't have a visible child. this fixes
1481 expose artefacts as described in #313508.
1483 * gtk/gtkscrolledwindow.c: make hiding of automatic scrollbars when we
1484 have no visible child explicit.
1486 2006-09-19 Ryan Lortie <desrt@desrt.ca>
1488 * docs/reference/gdk/gdk-sections.txt:
1491 * gdk/gdkpango.c: Bug 355343. Add a GdkPangoAttrEmbossColor.
1492 (gdk_pango_layout_get_clip_region): Remove an unused variable.
1493 (gdk_pango_attr_embossed_new): Fix documentation.
1495 Tue Sep 19 17:00:04 2006 Tim Janik <timj@imendio.com>
1497 * gtk/gtkarrow.c: added GtkArrow::arrow-scaling style property to
1498 control the arrow/border ratio within the allocation.
1500 * tests/testgtk.c: added a GtkArrow to handle box test.
1502 * tests/testgtkrc: test ::arrow-scaling property.
1504 2006-09-19 Matthias Clasen <mclasen@redhat.com>
1506 * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
1507 Display an error when we come to the root.
1509 2006-09-16 Matthias Clasen <mclasen@redhat.com>
1511 * gtk/gtkfilechooserbutton.c: Use bookmark labels in
1514 * gtk/gtkfilechooserbutton.c: Don't add remote volumes and
1515 bookmarks to the model in local-only mode, to avoid
1516 authentication dialogs pop up for invisible bookmarks, and
1517 to fix issues with separators not being hidden when
1518 they should. (#354887, Dennis Cranston)
1520 2006-09-16 Matthias Clasen <mclasen@redhat.com>
1522 * gtk/gtkcombobox.c (gtk_combo_box_finalize): Unref the
1523 treeview use in list mode. (#355732, Richard Hult)
1525 * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): Send
1526 change notification for the right property. (#355308,
1529 2006-09-15 Michael Natterer <mitch@imendio.com>
1531 * gtk/gtktreeview.c (gtk_tree_view_key_press): refactored column
1532 header navigation/resizing/reordering to be more readable and lose
1533 one level of nesting.
1535 2006-09-15 Kristian Rietveld <kris@imendio.com>
1537 * gtk/gtktreeview.c (gtk_tree_view_key_press): actually directly
1538 return after handling column button focus; we disable wrap around
1539 with this (which actually happened via a really weird code path).
1542 2006-09-15 Kristian Rietveld <kris@imendio.com>
1544 * gtk/gtktreeview.c (gtk_tree_view_key_press): make column resizing
1545 code RTL aware, also break from the loops after we have seen the
1546 focussed column button (Michael Natterer).
1548 Thu Sep 14 12:28:51 2006 Tim Janik <timj@imendio.com>
1550 * tests/testrichtext.c (main): intialize random number generator state
1551 upon program start, to enable truely random testing.
1553 2006-09-13 Michael Emmel <mike.emmel@gmail.com>
1555 * gdk/directfb/gdkcolor-directfb.c small clean ups include order
1556 * gdk/directfb/gdkwindow-directfb.c fixed beep compile error
1557 * gdk/directfb/Makefile.am removed GDK_PIXBUF_DISABLE_DEPRECATED
1558 GDK_DISABLE_DEPRECATED to allow compile per Behdad
1559 * gdk/quartz/Makefile.am same change as directfb Makefile
1560 * gtk/Makefile.am fixed typo that cause socket stubs not to compile
1562 2006-09-13 Matthias Clasen <mclasen@redhat.com>
1564 * gtk/gtkcolorsel.c: Use a GtkWindow instead of a GtkInvisible
1565 for the grab widget, to make the color picker work with window
1568 2006-09-12 Hong Jen Yee <pcman.tw@gmail.com>
1570 signed off by: Dom Lachowicz
1572 * modules/engines/ms-windows/msw_style.c: Bug 340201. This contains
1573 a large number of improvements to the Microsoft Windows theme engine
1574 which are fully described in the bug report.
1576 Mon Sep 11 14:22:39 2006 Tim Janik <timj@imendio.com>
1578 * tests/testgtk.c: fixed compiler warnings.
1580 2006-09-10 Matthias Clasen <mclasen@redhat.com>
1582 * gtk/gtkfilechooserbutton.c (model_add_special): Request
1583 the display name too, otherwise "Desktop" does not appear
1584 in the file chooser button.
1586 2006-09-10 Tor Lillqvist <tml@novell.com>
1588 * gdk/win32/gdkprivate-win32.h
1589 * gdk/win32/gdkmain-win32.c
1590 * gdk/win32/gdkwindow-win32.c: Define WINVER and _WIN32_WINNT as
1591 0x0500 in gdkprivate-win32.h instead of doing it in two source
1592 files. (#355212, Mike Edenfield)
1594 * gdk/win32/gdkwindow-win32.c: We can also remove the ersatz
1595 GetAncestor() for the _MSC_VER && WINVER < 0x0500 case, I hope.
1597 2006-09-10 Matthias Clasen <mclasen@redhat.com>
1599 * Commit a patch by Behdad to fix typos, omissions and other
1600 errors in the symbol aliasing, and add checks for local PLT
1601 entries. (#354687, Behdad Esfahbod)
1603 * gtk/gtktreeview.c (gtk_tree_view_search_scroll_event): Renew
1604 the flush timeout. (#354043, Nelson Benitez)
1606 * gtk/gtkfilechoosersettings.c (set_unexpected_element_end_error):
1607 Improve wording. String change! (#355126, David Lodge)
1609 * gtk/updateiconcache.c: Improve wording. String change! (#355128,
1612 * gtk/paper_names_offsets.c: Fix a typo. String change! (#355134,
1615 2006-09-09 Matthias Clasen <mclasen@redhat.com>
1617 * gdk/x11/gdkfonts-x11.c: Fix small theoretical memory leaks.
1618 (#353916, Chris Wilson)
1620 * gtk/gtksettings.c (_gtk_settings_reset_rc_values):
1621 Don't leak the to_reset list. (#353914, Chris Wilson)
1623 * gtk/gtkwidget.c: Add docs for the parent-set signal.
1624 (#353772, Mariano Suárez-Alvarez)
1626 2006-09-08 Matthias Clasen <mclasen@redhat.com>
1628 * gtk/gtktextbuffer.c (remove_all_selection_clipboards):
1629 Don't clear clipboards here, since we are called from finalize
1630 and can't emit signals.
1632 * configure.in: Set version to 2.11.0
1634 2006-09-06 Richard Hult <richard@imendio.com>
1636 * gdk/quartz/gdkkeys-quartz.c: (maybe_update_keymap): Special-case
1637 shift-tab and map it to GDK_ISO_Left_Tab, fixes bug #350806.
1639 2006-09-04 Kristian Rietveld <kris@imendio.com>
1641 * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
1642 if setting the given folder failed, try setting the parent folder
1643 until we succeed; display an error box at the end.
1645 2006-09-04 Kristian Rietveld <kris@imendio.com>
1647 * gtk/gtkpathbar.c (gtk_path_bar_dispose): don't cancel the
1648 operations spawned by buttons here,
1649 (set_button_image_get_info_cb): bail out if button is NULL, but
1650 do free button_data,
1651 (button_data_free): only free the data if non NULL (since this
1652 function can be called multiple times for the same data), cancel
1653 handle if pending but don't free button_data in this case (will
1654 happen in the callback).
1656 2006-09-04 Michael Natterer <mitch@imendio.com>
1658 * gtk/gtkrc.c (rc_parse_token_or_compound)
1659 (gtk_rc_parse_assignment): serialize floating point values using
1660 locale-independent functions. (#346751, Frederic Crozat)
1662 2006-09-04 Tor Lillqvist <tml@novell.com>
1664 * gdk/win32/gdkevents-win32.c
1665 * gdk/win32/gdkwindow-win32.c: Use wide-char API for message and
1666 window handling (PeekMessage, PostMessage, SendMessage,
1667 DispatchMessage, DefWindowProc, RegisterClassEx,
1668 CreateWindowEx). (#321597)
1670 2006-09-03 Kristian Rietveld <kris@imendio.com>
1672 * gtk/gtkfilechooserdefault.c (save_entry_get_info_cb),
1673 (file_exists_get_info_cb), (gtk_file_chooser_default_should_respond):
1674 change file_exists_and_is_not_folder checks to get the file info
1675 for the path directly instead of querying the current file folder
1678 * gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault): add
1681 * tests/autotestfilechooser.c (wait_for_idle_idle), (wait_for_idle),
1682 (test_reload_sequence), (test_button_folder_states_for_action): wait
1683 for idle after setting a folder to ensure the async operations to load
1684 the folder are finished,
1685 (test_confirm_overwrite), (test_confirm_overwrite_for_path):
1686 factor out test_confirm_overwrite code so we can add tests for more
1689 2006-09-03 Richard Hult <richard@imendio.com>
1691 * gdk/quartz/GdkQuartzView.c (drawRect): Don't do anything if
1692 exposure isn't in the event mask, plug a leak, and check that the
1693 window isn't destroyed.
1694 (isOpaque): Check that the window isn't destroyed, fixes bug
1697 2006-09-03 Matthias Clasen <mclasen@redhat.com>
1699 * gtk/gtkwidget.c (gtk_widget_class_init): Fix a typo.
1700 (#354035, Mariano Suárez-Alvarez)
1702 * gtk/gtkmain.c (post_parse_hook):
1703 * gdk/gdk.c (gdk_init): Handle display_name being NULL.
1704 (#354004, Chris Wilson)
1706 2006-09-03 Tor Lillqvist <tml@novell.com>
1708 * gdk/win32/gdkwindow-win32.c (gdk_window_beep): No
1709 GDK_WINDOW_DISPLAY in the Win32 backend.
1711 * gtk/gtkfilesystemwin32.c: Copy what Kris did to
1714 2006-09-02 Kristian Rietveld <kris@imendio.com>
1716 First part of file chooser fixes.
1718 * gtk/gtkfilechooserbutton.c (model_add_special): also set the
1719 handle in the model for the desktopdir case.
1721 * gtk/gtkfilechooserdefault.c (shortcuts_add_current_folder): free
1722 volume in case we retrieved it but don't pass it on to insert_path,
1723 (shortcuts_model_create): change the column type for the handles
1724 to pointer instead of GObject so our handle ref counting is not
1726 (show_and_select_paths_finished_loading): don't forget to unref
1729 * gtk/gtkfilesystemunix.c (gtk_file_system_unix_class_init),
1730 (gtk_file_system_unix_init), (gtk_file_system_unix_dispose):
1731 remove pending execute_callbacks_idle during dispose, also
1732 execute all callbacks waiting to be run in the next idle,
1733 (queue_*callback), (execute_callbacks_idle): refactor to maintain
1734 a list of callbacks to call per file system instead of globally,
1735 guard the file system during callback invocation,
1736 (gtk_file_system_unix_get_folder): only add load folder idle if
1737 none has been added yet.
1739 2006-09-01 Matthias Clasen <mclasen@redhat.com>
1741 * gtk/gtkentry.c: Don't unnecessarily reset the im context
1742 when deleting the selection. (#353803, Alex Larsson)
1744 2006-09-01 Abel Cheung <abel@oaka.org>
1746 * configure.in: Added 'ang' 'dz' to ALL_LINGUAS.
1748 2006-08-31 Matthias Clasen <mclasen@redhat.com>
1750 Stop cursor blinking after a configurable timeout.
1751 (#353670, #352442, Arjan van de Ven, Manu Cornet)
1753 * gtk/gtksettings.c (gtk_settings_class_init): Add a
1754 gtk-cursor-blink-timeout setting, which specifies the number
1755 of seconds that the cursor should blink after a user interaction.
1756 The default value is G_MAXINT to preserve the current behaviour.
1758 * gtk/gtkentry.c (blink_cb): Stop blinking after blink-timeout
1761 * gtk/gtkentry.c (gtk_entry_completion_key_press)
1762 (gtk_entry_button_press, gtk_entry_focus_in): Reset the
1765 * gtk/gtktextview.c (blink_cb): Stop blinking after blink-timeout
1768 * gtk/gtktextview.c (gtk_text_view_key_press_event)
1769 (gtk_text_view_button_press_event, gtk_text_view_focus_in_event):
1770 Reset the blink timer.
1772 2006-08-31 Matthias Clasen <mclasen@redhat.com>
1774 * gtk/gtkprintoperation-unix.c (get_print_dialog): Don't specify
1775 explicit format capabilities. (#346505, Christian Persch)
1777 * modules/printbackends/cups/gtkprintbackendcups.c (cups_request_printer_list_cb): Send printer-list-done on error.
1779 2006-08-31 Michael Natterer <mitch@imendio.com>
1781 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Fix build.
1783 2006-08-30 Richard Hult <richard@imendio.com>
1785 * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep): Fix build.
1787 2006-08-30 Matthias Clasen <mclasen@redhat.com>
1789 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Only use XKB
1790 for beeping if we are using XKB.
1792 2006-08-29 Matthias Clasen <mclasen@redhat.com>
1796 * gdk/directfb/gdkwindow-directfb.c (gdk_window_beep):
1797 * gdk/win32/gdkwindow-win32.c (gdk_window_beep):
1798 * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep):
1799 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Add a function
1800 to beep on a window. For X11, implement this with
1801 XkbBell. (#353455, Mariano Suárez-Alvarez)
1803 2006-08-29 Tor Lillqvist <tml@novell.com>
1805 Remove support for Windows 9x/ME. GTK+ hasn't worked on Win9x
1806 since 2.6 or 2.8. It's pointless to keep the Win9x code in here as
1807 it isn't being maintained anyway. If somebody is interested, it
1808 can always be found in older GTK+ versions, and in CVS.
1813 * gdk/win32/Makefile.am
1814 * gdk/win32/libie55uid.la
1815 * gdk/win32/gdkevents-win32.c: Remove the --with-ie55 configure
1816 switch and associated stuff. Active IMM and the <dimm.h> header
1817 was used for IM support on NT4 and Win9x. Win2k and later have IM
1820 * gdk/win32/gdkcursor-win32.c
1821 * gdk/win32/gdkdnd-win32.c
1822 * gdk/win32/gdkdrawable-win32.c
1823 * gdk/win32/gdkevents-win32.c
1824 * gdk/win32/gdkgc-win32.c
1825 * gdk/win32/gdkglobals-win32.c
1826 * gdk/win32/gdkkeys-win32.c
1827 * gdk/win32/gdkmain-win32.c
1828 * gdk/win32/gdkproperty-win32.c
1829 * gdk/win32/gdkselection-win32.c
1830 * gdk/win32/gdkwindow-win32.c: Remove the G_WIN32_IS_NT_BASED()
1831 and G_WIN32_HAVE_WIDECHAR_API() tests and their false (Win9x)
1832 branches, and any variables or static functions used only by the
1835 * gdk/win32/gdkprivate-win32.h: Remove backup definitions for
1836 constants that aren't missing from current mingw and MSVC6
1839 * gdk/win32/gdkmain-win32.c
1840 * gdk/win32/gdkprivate-win32.h: Remove the _gdk_win32_gdi_failed()
1841 function. On NT-based Windows GetLastError() returns error codes
1842 also for failed GDI calls, so we can use _gdk_win32_api_failed()
1845 2006-08-29 Emmanuele Bassi <ebassi@gnome.org>
1847 * gtk/gtkrecentchoosermenu.c
1848 (gtk_recent_chooser_menu_set_current_uri): Break when an item
1849 is found and activated. (#353449, based on a patch by Jan Arne
1852 Fri Jul 14 16:13:37 2006 Tim Janik <timj@gtk.org>
1854 * gtk/gtkprogressbar.c: introduced ::xspacing and ::yspacing style
1855 properties which make all hardcoded padding and spacing values
1856 configurable. properly swap ::text-xalign treatment for RTL widgets.
1858 * gtk/gtkprogress.c: fixed style property blurbs. made alignment
1859 proeprty more consistent with GtkMisc alignment blurbs. mention
1860 RTL treatment for text-xalign.
1862 Tue Aug 29 11:57:40 2006 Tim Janik <timj@imendio.com>
1864 * tests/testgtk.c: allow (most) windows to be resizable.
1865 added ellipsization settings to progress bars.
1867 2006-08-28 Matthias Clasen <mclasen@redhat.com>
1869 * modules/printbackend/cups/gtkprintbackendcups.c: Use a
1870 resonable timeout of 3 seconds when polling for printer
1871 list updates, instead of 300000 seconds...
1873 2006-08-28 Michael Natterer <mitch@imendio.com>
1875 * gtk/gtktextbufferserialize.c (serialize_text): don't write out
1876 </apply_tag> for tags that have already been closed by the logic
1877 which turns overlapping spans into XML-able trees. Fixes broken
1878 XML when there are overlapping tags in the buffer. Also free two
1879 leaked GLists and did some cleanup.
1882 * tests/testrichtext.c: new test which creates randomly tagged
1883 GtkTextBuffers and serializes/deserializes them.
1885 2006-08-26 Matthias Clasen <mclasen@redhat.com>
1887 * gtk/gtkstatusicon.c (gtk_status_icon_reset_image_data):
1888 Don't leak pixbufs. (#352264, Ross Burton)
1890 * gtk/gtklinkbutton.c (set_link_underline): Don't leak
1891 PangoAttributes. (#352391, Paolo Borelli)
1893 2006-08-25 Matthias Clasen <mclasen@redhat.com>
1895 * demos/gtk-demo/Makefile.am:
1896 * demos/gtk-demo/textscroll.c: Add an example of automatic
1897 scrolling, thanks to Yevgen Muntyan. (#351206)
1899 * gtk/gtkmodules.c (find_module): Use local binding when
1900 loading modules. (#351868)
1902 2006-08-24 Michael Natterer <mitch@imendio.com>
1904 * gdk/quartz/gdkdisplay-quartz.c (gdk_display_get_name): return
1905 the hostname instead of NULL.
1907 2006-08-23 Matthias Clasen <mclasen@redhat.com>
1909 * gtk/gtkprinteroptionwidget.[hc]: Fix confusion about
1910 names and values in comboboxes, and clean up some
1911 coding style issues.
1913 2006-08-23 Tor Lillqvist <tml@novell.com>
1915 * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_make_path):
1916 Revert unintended translatable string addition. Use same string
1917 in GError as in gtkfilesystemunix.c.
1919 * gtk/gtkfilesystemwin32.c (_gtk_file_system_win32_path_compare):
1920 Fix logic at the end of strings.
1922 * gtk/gtkfilesystemwin32.c: Maintain a hash table of live
1923 handles and check that we have no outstanding handles at
1924 finalization time. (Copying what Matthias did for
1925 gtkfilesystemunix.c)
1927 2006-08-23 Matthias Clasen <mclasen@redhat.com>
1929 * gtk/gtkfilesystemunix.c: Maintain a hash table
1930 of live handles and check that we have no outstanding
1931 handles at finalization time. (Copying what
1932 Federico did for gtkfilesystemgnomevfs.c)
1934 2007-08-22 Matthias Clasen <mclasen@redhat.com>