]> Pileus Git - ~andy/gtk/blob - ChangeLog
New function to get the cell renderers of a cell layout.
[~andy/gtk] / ChangeLog
1 2006-12-29  Matthias Clasen  <mclasen@redhat.com>
2
3         * gtk/gtk.symbols:
4         * gtk/gtkcelllayout.[hc] (gtk_cell_layout_get_cells):
5         New function to get the cell renderers of a cell layout.
6
7         * gtk/gtktreeviewcolumn.c:
8         * gtk/gtkcellview.c:
9         * gtk/gtkiconview.c: Implement get_cells.
10
11 2006-12-28  Matthias Clasen  <mclasen@redhat.com>
12
13         * gtk/gtkiconview.c: Use word wrapping by default, and
14         center multiline labels.  (#318763, Ross Burton)
15
16         * gtk/gtkcellrenderertext.c (get_layout): Remove a special
17         case for single-line layouts.
18
19 2006-12-28  Matthias Clasen  <mclasen@redhat.com>
20
21         * gtk/gtkarrow.c: Fix a typo in the docs.  (#390423,
22         David Lodge)
23
24         * gtk/gtkuimanager.c (update_node): Only use the results
25         of find_menu/toolbar_position() if they succeed. May fix
26         bug #388041.
27
28 2006-12-28  Matthias Clasen  <mclasen@redhat.com>
29
30         * gdk/gdk.c: Fix some formatting errors in docs.  
31
32 2006-12-28  Tor Lillqvist  <tml@novell.com>
33
34         * gtk/gtkstatusicon.c (gtk_status_icon_finalize)
35         (gtk_status_icon_update_image): Don't leak HICONs on
36         Win32. (#364868, Hiroyuki Yamamoto)
37
38 2006-12-28  Carlos Garnacho  <carlosg@gnome.org>
39
40         Make GtkNotebook able to drop detached tabs anywhere. Bug #360225.
41
42         * gtk/gtkwidget.c (gtk_widget_class_init): add "drag-failed" signal.
43         * gtk/gtkmarshalers.list: add new marshaler definition.
44         * gtk/gtkenums.h: add GtkDragResult enum.
45
46         * gtk/gtkdnd.c (gtk_drag_drop_finished): emit "drag-failed" if DND
47         operation wasn't successful.
48         (_gtk_drag_source_handle_event) (gtk_drag_drop)
49         (gtk_drag_selection_get) (gtk_drag_cancel) (gtk_drag_key_cb)
50         (gtk_drag_grab_broken_event_cb) (gtk_drag_grab_notify_cb)
51         (gtk_drag_button_release_cb) (gtk_drag_abort_timeout): tell
52         gtk_drag_drop_finished() the operation result.
53
54         * gtk/gtknotebook.c (gtk_notebook_drag_failed): new function.
55         (gtk_notebook_drag_data_get): do not call window creation hook here.
56         (gtk_notebook_init): do not set "application/x-rootwindow-drop"
57         target, instead connect to "drag-failed".
58         (gtk_notebook_draw_focus): fix potential crasher if cur_page is NULL.
59
60 2006-12-28  Mikael Hallendal  <micke@imendio.com>
61
62         * gdk/quartz/gdkevents-quartz.c: Factored out the event loop 
63         integration into gdkeventloop-quartz.c.
64
65         * gdk/quartz/Makefile.am: Added gdkeventloop-quartz.c
66
67         * gdk/quartz/gdkeventloop-quartz.c: New file containing the event loop 
68         integration.
69
70 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
71
72         * modules/printbackends/lpr/gtkprintbackendlpr.c 
73         (gtk_print_backend_lpr_print_stream): Close the io channel
74         on unref.  (#390159, Joe Markus Clarke)
75
76 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
77
78         * gdk/gdk.h: Remove redundant declarations (#390097,
79         Christian Persch)
80
81 2006-12-27  Kristian Rietveld  <kris@gtk.org>
82
83         Support inverting arrows via XSetting. (#377979, Yevgen Muntyan).
84
85         * gtk/gtksettings.c (gtk_settings_class_init): add new setting
86         gtk-alternative-sort-arrows.
87
88         * gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting): add
89         new setting.
90
91         * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: set new
92         gtk-alternative-sort-arrows setting to true.
93
94         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
95         invert direction if gtk-alternative-sort-arrows is TRUE.
96
97 2006-12-27  Tor Lillqvist  <tml@novell.com>
98
99         * gtk/gtk.symbols: Add gtk_status_icon_get_screen and
100         gtk_status_icon_set_screen.
101
102         * gtk/gtkstatusicon.c: Implement gtk_status_icon_position_menu()
103         on Windows. Keep track of where the last button click on the
104         taskbar icon took place, and return that. Obviously not correct if
105         no button has ever been clicked on the icon, or if the geometry of
106         the taskbar has changed since. But for most use cases where a menu
107         is going to be displayed as a direct result of a button click on
108         the status icon, works fine. (#377349)
109
110         Implement getting the orientation property on Windows.
111
112         (gtk_status_icon_embedded_changed)
113         (gtk_status_icon_orientation_changed): Ifdefify these functions
114         that are used only on X11.
115
116 2006-12-27  Tor Lillqvist  <tml@novell.com>
117
118         * gtk/gtkfilesystemwin32.c (execute_callbacks): Fix
119         typo. (#390035, Kazuki Iwamoto)
120
121 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
122
123         * gtk/gtkcellview.c (gtk_cell_view_set_model): Accept NULL.
124
125         * gtk/gtkcombobox.c (gtk_combo_box_set_model):
126         (gtk_combo_box_unset_model): Handle repeated unsetting
127         of models without warnings.  (#367529, Robert Ancell)
128
129 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
130
131         * modules/printbackends/cups/gtkcupsutils.c: 
132         * modules/printbackends/cups/gtkprintbackendcups.c: Use
133         getters for http fields where available.  (#364866, 
134         Björn Lindqvist)
135
136 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
137
138         * gtk/gtkwidget.c (gtk_widget_show): Add a g_return_if_fail.
139         (#362614, Xan Lopez)
140
141 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
142
143         * gtk/gtkuimanager.c (update_node): If a required action
144         is missing, don't recurse over the children.  (#349119,
145         Chris Moller)
146
147 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
148
149         Fix a few problems with nested menus in comboboxes
150         (#386694, Yevgen Muntyan)
151
152         * gtk/gtkcombobox.c (gtk_combo_box_menu_fill_level): Always
153         connect the activate callback.
154         (gtk_combo_box_menu_item_activate): Do nothing if called on
155         an item with a submenu.
156         (gtk_combo_box_menu_row_deleted): Remove a submenu when it
157         is empty.
158
159 2006-12-26  Mariano Suárez-Alvarez  <mariano@gnome.org>
160
161         * gtk/gtkfilechooserbuuton.[hc]: Add a file-set signal to the
162         filechooser button. Bug 353196.
163
164 2006-12-26  Kristian Rietveld  <kris@gtk.org>
165
166         * gtk/gtktreeview.c (gtk_tree_view_search_init): fix typo causing
167         the search dialog timeout never to be refreshed. (#389581,
168         Andrzej Szombierski).
169
170 2006-12-26  Kristian Rietveld  <kris@gtk.org>
171
172         Lots of scrolling fixes.  Made scrolling work properly in not fully
173         validated tree views; fixed a bunch of corner cases.
174
175         * gtk/gtktreeview.c (validate_visible_area): if a row's dy is past
176         upper - page_size, we know it is located at the end so the test for
177         dy + height has been dropped.
178         In the same case if area_below < 0, we know this is the last node
179         in the tree view so area_above is page_size - height of this row.
180         (validate_visible_area): got rid of subtracting new_height -
181         old_height from area_{below,above}, it didn't make any sense at
182         all and the full height of the row should be subtracted instead.
183         (validate_visible_area): when scrolling to a given path, set the
184         top row directly together with the dy offset, then sync that top_row
185         to the dy.
186         (gtk_tree_view_set_top_row): new function to directly set a top_row.
187         (gtk_tree_view_dy_to_top_row): refactored to use
188         gtk_tree_view_set_top_row().
189         (gtk_tree_view_top_row_to_dy): make sure dy >= 0 when done.
190         (gtk_tree_view_adjustment_changed): only update our dy and
191         top_row if the adjustment's dy actually changed.
192
193 2006-12-26  Christian Persch  <chpe@cvs.gnome.org>
194
195         * gtk/gtknotebook.c: (gtk_notebook_real_insert_page):
196         Return the correct value from gtk_notebook_insert_page if the
197         page-added handler reorders the tabs. Bug #345094.
198
199 2006-12-26  Carlos Garnacho  <carlosg@gnome.org>
200
201         Fix small regressions in GtkNotebook tab detaching. Bug #378852.
202
203         * gtk/gtknotebook.c (gtk_notebook_do_arrow): grab focus to allow tabs
204         scrolling when hovering with a detached tab.
205         (gtk_notebook_stop_reorder): Do not deparent the wrong tab if the
206         focus tab has changed during a tab DND operation.
207         (gtk_notebook_drag_end): ensure that the dropped tab gets focused.
208         (gtk_notebook_paint): do not take cur_page as a reference to paint the
209         box if it's detached.
210         (gtk_notebook_calculate_tabs_allocation): focus_tab may be different
211         to the detached tab if we hover the arrows during a tabs detaching 
212         operation, do not allocate it unconditionally in 0,0.
213
214 2006-12-26  Carlos Garnacho  <carlosg@gnome.org>
215
216         Expose improvements for GtkNotebook. Bug #383435
217
218         * gtk/gtknotebook.c (gtk_notebook_expose): propagate the event to tab
219         labels.
220         (gtk_notebook_draw_focus): do not repaint the whole focused tab again.
221         (gtk_notebook_draw_tab): do not send handmade expose events to tab
222         labels.
223
224 2006-12-26  Matthias Clasen  <mclasen@redhat.com>
225
226         * gtk/gtkfilesystemunix.c (execute_callbacks): Return
227         FALSE.  (#389623, Carlos Garnacho Parro)
228
229         * gtk/gtkrange.c (stop_scrolling): Avoid spurious
230         redraws.
231
232 2006-12-25  Christian Persch  <chpe@cvs.gnome.org>
233
234         * gtk/gtkplug.c: (gtk_plug_construct_for_display),
235         (gtk_plug_unrealize): Notify the "embedded" property also on
236         normal construction and when destroying the socket window.
237         Bug #388738.
238
239 2006-12-25  Christian Persch  <chpe@cvs.gnome.org>
240
241         * gtk/gtkaboutdialog.c: (gtk_about_dialog_class_init),
242         (gtk_about_dialog_init), (display_credits_dialog),
243         (display_license_dialog):
244         * gtk/gtkfilechooserdialog.c: (gtk_file_chooser_dialog_class_init),
245         (gtk_file_chooser_dialog_init),
246         (gtk_file_chooser_dialog_constructor),
247         (gtk_file_chooser_dialog_unmap):
248         * gtk/gtkrecentchooserdefault.c:
249         (_gtk_recent_chooser_default_init):
250         * gtk/gtkrecentchooserdialog.c:
251         (gtk_recent_chooser_dialog_class_init),
252         (gtk_recent_chooser_dialog_init),
253         (gtk_recent_chooser_dialog_constructor),
254         (gtk_recent_chooser_dialog_unmap): Set the HIG spacings directly
255         instead of using style-set handlers. Fix the filechooser's spacing
256         between content and action area to 12px. Bug #372447.
257
258 2006-12-25  Christian Persch  <chpe@cvs.gnome.org>
259
260         * gtk/gtkstatusbar.c: (gtk_statusbar_size_allocate):
261         Don't assume statusbar->label is the statusbar's frame's child when
262         shrinking the size allocation when the grip is shown. Bug #372452.
263
264 2006-12-25  Christian Persch  <chpe@cvs.gnome.org>
265
266         * gtk/gtkpagesetupunixdialog.c: (printer_status_cb),
267         (add_custom_paper): Fix mem leaks. Bug #389194.
268
269 2006-12-24  Matthias Clasen  <mclasen@redhat.com>
270
271         * gtk/gtktextutil.c: Remove debug output.
272
273         * gtk/gtktextview.c: Improve the DND scrolling
274         behaviour.  (#92387, Carlos Garnacho Parro)
275
276         * gtk/gtkaccellabel.c: Improve translators comments.  
277         (#389298, Christian Persch)
278
279 2006-12-24  Bastien Nocera  <hadess@hadess.net>
280
281         * gtk/gtkrecentmanager.c: Fix typo (s/expansive/expensive)
282         (#389183)
283
284 2006-12-24  Christian Persch  <chpe@cvs.gnome.org>
285
286         * docs/reference/gtk/gtk-sections.txt:
287         * gtk/gtk.symbols:
288         * gtk/gtkpagesetupunixdialog.c: (fill_paper_sizes_from_printer):
289         * gtk/gtkprinter-private.h:
290         * gtk/gtkprinter.c: (gtk_printer_list_papers):
291         * gtk/gtkprinter.h: Make gtk_printer_list_papers public. Bug #345587.
292
293 2006-12-24  Carlos Garcia Campos  <carlosgc@gnome.org>
294
295         * gtk/gtkpagesetupunixdialog.c: Don't ignore reverse portrait option
296         when is selected in page setup dialog. Fixes bug #365047.
297
298 2006-12-24  Behdad Esfahbod  <behdad@gnome.org>
299
300         * gtk/gtkentry.c (_gtk_entry_effective_inner_border):
301         Use gtk_border_free when freeing border.
302
303 2006-12-24  Matthias Clasen  <mclasen@redhat.com>
304
305         * gtk/gtkentry.c (gtk_entry_button_press): When
306         shift-clicking, keep the larger part of the selection
307         selected.  (#353709, Benjamin Otte)
308
309         * gtk/gtkbutton.c (gtk_button_get_props): Use 
310         gtk_border_free when freeing borders.
311
312         * gtk/gtkbutton.c (gtk_button_grab_notify): Be more
313         careful when faking a button release.  (#323146,
314         Travis Abbott)
315
316         * gtk/gtkhandlebox.c (draw_textured_frame): Draw the
317         handle with the right orientation, depending on the
318         position of the handlebox.  (#159764, Benjamin Berg)
319
320 2006-12-24  Behdad Esfahbod  <behdad@gnome.org>
321
322         * gtk/gtkstyle.c (gtk_border_copy), (gtk_border_free): Use gslice for
323         GtkBorder (#383557).
324
325 2006-12-24  Behdad Esfahbod  <behdad@gnome.org>
326
327         Bug 340141 – Update to Pango 1.16 API
328
329         * gdk/gdkpango.c (layout_iter_get_line_clip_region),
330         (gdk_pango_layout_line_get_clip_region):
331         * gtk/gtkcalendar.c (gtk_calendar_size_request):
332         * gtk/gtkentry.c (gtk_entry_get_pixel_ranges),
333         (get_layout_position), (gtk_entry_find_position),
334         (gtk_entry_adjust_scroll):
335         * gtk/gtkiconview.c (get_pango_text_offsets):
336         * gtk/gtklabel.c (get_cursor_direction):
337         * gtk/gtkstyle.c (get_insensitive_layout):
338         * gtk/gtktextdisplay.c (render_para):
339         * gtk/gtktextlayout.c (allocate_child_widgets),
340         (find_display_line_below), (find_display_line_above),
341         (gtk_text_layout_move_iter_to_previous_line),
342         (gtk_text_layout_move_iter_to_next_line),
343         (gtk_text_layout_move_iter_to_line_end),
344         (gtk_text_layout_iter_starts_line),
345         (gtk_text_layout_move_iter_to_x):
346         * gtk/gtktextutil.c (limit_layout_lines):
347         Use the _readonly version of pango_layout_iter_get_line(),
348         pango_layout_iter_get_run(), pango_layout_get_line(), and
349         pango_layout_get_lines().
350
351         * gtk/gtkmain.c (gtk_get_default_language): Use
352         pango_get_default_language().
353
354 2006-12-24  Matthias Clasen  <mclasen@redhat.com>
355
356         * gtk/gtkentry.c (gtk_entry_set_text): Emit changed
357         and notify:text only once. The same fix was applied
358         for replacing the selection via DND or copy-and-paste.
359         (#64998, Damon Chaplin, Sven Herzberg)
360
361 2006-12-23  Matthias Clasen  <mclasen@redhat.com>
362
363         * gtk/gtkimmulticontext.c: Be careful to not override
364         GTK+ translations with the translations of the input
365         method.  (#317080, Tor Lillqvist)
366
367         * modules/input/imcedilla.c: Use standard macros
368         for translation domain and locale dir.
369
370         * gtk/gtkimcontextsimple.c: Allow composing l with 
371         stroke.  (#349638, Daniel Lublin)
372
373         * gtk/gen-paper-names.c: Fix a thinko in the suffix
374         calculation.  (#382369, Christian Persch)
375
376         * gtk/paper_names_offsets.c: Regenerated.
377
378 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
379
380         * modules/engines/pixbuf/pixbuf.h:
381         * modules/engines/pixbuf/pixbuf-rc-style.h:
382         * modules/engines/pixbuf/pixbuf-style.h: Move 
383         G_GNUC_INTERNAL before function declarations.  (#352276,
384         Damien Carbery)
385
386 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
387
388         * demos/gtk-demo/*.c: Fix some leaks.  (#348108, Chris
389         Wilson)
390
391 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
392
393         * *.c: Replace a lot of idle and timeout calls by
394         the new gdk_threads api. 
395
396         * gdk/gdk.symbols:
397         * gdk/gdk.h:
398         * gdk/gdk.c: Add functions to allow threadsafe handling
399         of idles and timeouts wrt. to the GDK lock.  (#321886,
400         Chris Wilson)
401         
402 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
403         
404         * gdk/gdkpango.c: Use pango_cairo_show_error_underline.  
405         (#340141, Behdad Esfahbod)
406
407         * configure.in: Check for getc_unlocked.
408
409         * gtk/xdgmime/xdgmimemagic.c: Use getc if getc_unlocked is
410         unavailable.   (#381499)
411
412         * tests/teststatusicon.c: Fix a typo
413
414 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
415
416         Make it possible to track the embeddedness of
417         statusicon (#387215, Martyn Russell, patch by Christian
418         Persch)
419
420         * gtk/gtkstatusicon.c: Add orientation and embedded properties.
421         * gtk/gtkplug.c: 
422         * gtk/gtkplug-x11.c: Add an embedded property.
423         * tests/teststatusicon.c: Test the new properties.
424
425         * gtk/gtkwidget.c (gtk_widget_get_draw_rectangle): Don't
426         leak draw_border.  (#387170, Kjartan Maraas)
427
428 2006-12-21  Matthias Clasen  <mclasen@redhat.com>
429
430          * gtk/gtkfilechooserembed.c (_gtk_file_chooser_embed_set_delegate()):
431         Typo fix.  (#388123, Murray Cumming)
432         
433         * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event):
434         Generate double-click events.  (#380421, Tommi Komulainen)
435
436         * gdk/x1/gdkinput-xfree.c (_gdk_input_configure_event):
437         (_gdk_input_enter_event): Correct return_if_fail checks.
438         (#379803, Tommi Komulainen)
439
440         * gdk/gdkdisplay.c: Improve the docs of some functions operating
441         on the default display.  (##353438, Mariano Suárez-Alvarez)
442
443 2006-12-21  Matthew Barnes  <mbarnes@redhat.com>
444
445         * docs/reference/gdk/gdk-sections.txt:
446         * gdk/gdkcolor.[ch] (gdk_color_to_string): Add a function for
447         converting a GdkColor to a string (#373856).
448
449         * configure.in: Bump pango requirement to 1.15.2.
450
451 2006-12-20  Matthias Clasen  <mclasen@redhat.com>
452         
453         * gdk/keynames.txt: Mark arrow keys as translatable.  (#369506,
454         Bastian Nocera)
455
456         * gdk/keyname-table.h: Regenerated
457
458         * gtk/gtktextbuffer.c: Add signal documentation.  (#317064,
459         Søren Wedel Nielsen)
460
461         * gtk/gtktextview.c (gtk_text_view_start_selection_drag):
462         Silently return if a drag is already in progress, rather
463         than asserting.  (#335622, Li Yuan, testcase by Erwann Chenede)
464
465         * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_new_with_dialog):
466         Allow any GtkDialog that implements GtkFileChooser as
467         dialog.  (#335473, Tommi Komulainen)
468
469 2006-12-20  Mikael Hallendal  <micke@imendio.com>
470
471         * gtk/gtkstatusicon.c: (gtk_status_icon_init): Fixed a last minute
472         change in the quartz backend.
473
474 2006-12-20  Mikael Hallendal  <micke@imendio.com>
475
476         * gtk/Makefile.am: Added gtkstatusicon-quartz.c
477         * gtk/gtkstatusicon-quartz.c: Implements the quartz backend for the
478         status icon.
479         * gtk/gtkstatusicon.c: Hooked in the new quartz backend. Bug #387874.
480
481 2006-12-19  Matthias Clasen  <mclasen@redhat.com>
482
483         * gtk/gtkprintunixdialog.c: Add a tooltip explaining the
484         format of page ranges, and improve the page sequence icon
485         for the case of n_copies == 1.
486  
487 2006-12-19  Mikael Hallendal  <micke@imendio.com>
488
489         * gdk/quartz/gdkcursor-quartz.c: Splitted out the GdkPixbuf to NSImage
490         routine so that it can be used from libgtk as well (needed for
491         upcoming GtkStatusIcon support in the Quartz port).
492         * gdk/quartz/gdkevents-quartz.c: Don't assume that all NSWindows are
493         created from GDK, this is not true for the status icon.
494         * gdk/quartz/gdkprivate-quartz.h:
495         * gdk/quartz/gdkquartz.h: Added 
496         gdk_quartz_pixbuf_to_ns_image_libgtk_only so that it is available to 
497         the status icon code.
498
499 2006-12-16  Tristan Van Berkom <tvb@gnome.org>
500
501         * gtk/gtkmessagedialog.c: Added return_if_fail (image) to
502         gtk_message_dialog_set_image ()
503
504         * gtk/gtkscrolledwindow.c: Fixed a bug in set_property()
505         (setting "window-placement-set" could result in a crash because
506         of boolean/enum mixup)
507
508 2006-12-15  Federico Mena Quintero  <federico@novell.com>
509
510         Merged from gtk-2-10:
511
512         * gtk/gtkmenu.c (gtk_menu_set_title): Don't try to optimize for
513         the case where the new title is the same as the old title, to
514         preserve the behavior from GTK+ 2.8 (NULL and "" titles are not
515         equivalent).  Handle the case where title == priv->title.  This
516         was found by the LSB compatibility tests:
517         https://bugzilla.novell.com/show_bug.cgi?id=223882
518
519 2006-12-15  Dom Lachowicz <domlachowicz@gmail.com>
520
521         * gtk/gtkcombobox.c: Make GtkComboBox in "appears-as-list" mode
522         more closely resemble its Win32 counterpart. Bug #340204.
523
524 2006-12-14  Carlos Garnacho  <carlosg@gnome.org>
525
526         * gtk/gtkcalendar.c: draw arrows pointing to the right correctly
527         placed inside their GdkWindow. Bug #385672.
528
529 2006-12-14  Christian Persch  <chpe@cvs.gnome.org>
530
531         * gtk/gtkiconview.c: Fix docs typo. Bug #385642.
532
533 2006-12-13  Dom Lachowicz <domlachowicz@gmail.com>
534
535         * src/modules/engines/ms-windows/msw_style.c: Bug 351679 - Notebooks 
536         drawn with extra line below tab in MS-Windows theme. Patch by 
537         Cody Russell
538         
539 2006-12-13  Matthias Clasen  <mclasen@redhat.com>
540
541         * gtk/Makefile.am: Add --unlink-tempfile to the evince call
542         for print preview.  (#370041, Ghee Teo)
543
544 2006-12-11  Matthias Clasen  <mclasen@redhat.com>
545
546         * gtk/gtkprogressbar.c (gtk_progress_bar_paint_text): Be more
547         careful when overdrawing antialiased text.  (#352435, Alex Jones,
548         patch by Benjamin Otte)
549
550         * gtk/gtksettings.c: Change the way in which color scheme information
551         is merged to correctly handle vanishing colors.  (#374420, 
552         Benjamin Berg, patch by Callum McKenzie) 
553         Also allow to separate entries in color schemes by ';' 
554         instead of newline.  
555
556 2006-12-10  Matthias Clasen  <mclasen@redhat.com>
557
558         * modules/printbackends/cups/gtkcupsutils.c (gtk_cups_request_encode_option): 
559         Properly pass multi-value options to cups.  (#355350, Jürg Billeter) 
560
561 2006-12-10  Kristian Rietveld  <kris@gtk.org>
562
563         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_focus_out_event):
564         cancel editing (ie. don't accept changes) when the entry loses
565         focus. (Fixes #164494, reported by Chris Rouch).
566
567 2006-12-10  Matthias Clasen  <mclasen@redhat.com>
568
569         * configure.in: Correct a misapplied patch. 
570
571 2006-12-10  Tor Lillqvist  <tml@novell.com>
572
573         * gtk-zip.sh.in: Put gdk-pixbuf-query-loaders.exe and
574         gtk-query-immodules-2.0.exe in the runtime zipfile instead of
575         developer zipfile. Users might add pixbuf loaders or immodules
576         even if they are not interested in developing gtk+-using software.
577
578 2006-12-10  Matthias Clasen  <mclasen@redhat.com>
579
580         * configure.in: Check for crt_extern.h and _NSGetEnviron.
581         * gdk/x11/gdkspawn-x11.c: Fix compilation on Darwin where
582         environ is not available.  (#384168, Min Sik Kim)
583
584 2006-12-07  Paolo Maggi  <paolo@gnome.org>
585
586         Fixes bug #383407
587         
588         * gtk/gtkentry.c (gtk_entry_set_text): check for
589         completion->priv->changed_id > 0 before calling 
590         g_signal_handler_[un]block.
591         (gtk_entry_completion_key_press): does not block/unblock the "changed"
592         signal before calling gtk_entry_set_text.
593         
594 2006-12-07  Carlos Garnacho  <carlosg@gnome.org>
595
596         * gtk/gtkcellrendererprogress (compute_dimensions): do not use
597         xthickness/ythickness, they aren't used any longer for drawing.
598
599 2006-12-07  Matthias Clasen  <mclasen@redhat.com>
600
601         * gtk/gtkrc.c (_gtk_rc_init): Fix clipping of accelerator
602         underlines by giving labels a small draw-border.
603
604 2006-12-06  Kristian Rietveld  <kris@gtk.org>
605
606         * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_render):
607         draw progress bar through theme engine instead of using our own
608         custom cairo drawing code (#377244, patch from Carlos Garnacho).
609
610 2006-12-06  Matthias Clasen  <mclasen@redhat.com>
611
612         * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities):
613         Update the sensitivity of the collate checkbutton more frequently,
614         proposed by Tim Waugh.
615
616 2006-12-04  Matthias Clasen  <mclasen@redhat.com>
617
618         * gtk/gtkmessagedialog.c (setup_type): Set a11y name and role
619         since we no longer set window titles.
620
621 2006-12-04  Christian Persch  <chpe@cvs.gnome.org>
622
623         * gtk/gtkpagesetup.c: (gtk_page_setup_get_paper_size),
624         (gtk_page_setup_set_paper_size): Don't leak the old page size when
625         setting a new one. Bug #382314.
626
627 2006-12-03  Michael Natterer  <mitch@gimp.org>
628
629         * gtk/gtktextview.c: remove FIXME #include that is no longer needed.
630
631 2006-12-03  Kristian Rietveld  <kris@gtk.org>
632
633         Make sure [xy]_offset are always being initialized, fix pixbuf
634         renderer padding.  (#108235, Sven Neumann).
635
636         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_get_size),
637         (gtk_cell_renderer_pixbuf_render): add padding in _render instead
638         of _get_size.
639
640         * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_get_size):
641         always initialize [xy]_offset.
642         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): ditto.
643         * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_size):
644         ditto.
645
646 2006-12-03  Kristian Rietveld  <kris@gtk.org>
647
648         * gtk/gtktreeview.c (validate_visible_area): when not using an
649         explicit alignment, use the full area of the row (not just dy)
650         to determine how to implicitly align it.  (Fixes #363191, reported
651         by Federico Mena Quintero).
652
653 2006-12-02  Matthias Clasen  <mclasen@redhat.com>
654
655         * gtk/gtkicontheme.c (insert_theme): Properly clean up
656         if an icon theme index file has no directories.  (#381236)
657
658 2006-12-02  Dom Lachowicz <domlachowicz@gmail.com>
659
660         * src/modules/engines/ms-windows/msw_style.c: Bug 351678 - Notebooks 
661         not with PositionType.Top drawn incorrectly. Patch by Cody Russell
662         
663 2006-11-28  Behdad Esfahbod  <behdad@gnome.org>
664
665         Remove the broken Thai input method and add a functional Thai and Lao
666         input method by Theppitak Karoonboonyanan. (#81031)
667
668         * modules/input/imthai.c:
669         * modules/input/gtkimcontextthai.c:
670         * modules/input/gtkimcontextthai.h:
671         * modules/input/thai-charprop.c:
672         * modules/input/thai-charprop.h:
673         Added.
674
675         * modules/input/imthai-broken.c:
676         Removed.
677         
678         * modules/input/Makefile.am:
679         Updated.
680
681 2006-11-27  Christian Persch  <chpe@cvs.gnome.org>
682
683         * gtk/gtkstatusicon.c: Notify when the screen changes. Bug #379793.
684
685 Mon Nov 27 12:27:06 2006  Tim Janik  <timj@imendio.com>
686
687         * gtk/gtktextview.c: applied patch by  Colin Leroy for
688         Control+GDK_KP_Left to move one word to the left, #356255.
689
690 2006-11-26  Benjamin Berg  <benjamin@sipsolutions.net>
691
692         * gtk/gtkstyle.c: (gtk_default_draw_flat_box): Protect against NULL
693           widget. (#379503)
694
695 2006-11-25  Matthias Clasen  <mclasen@redhat.com>
696
697         * modules/printbackends/cups/gtkprintbackendcups.c: Make
698         print dialog work when 'BrowseShortNames Off' is specified
699         in cups configuration. Patch by Tim Waugh.
700
701 2006-11-24  Michael Natterer  <mitch@imendio.com>
702
703         * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): if we
704         can't go up/down, consult gtk_widget_keynav_failed() and leave the
705         widget if it returns FALSE (bug #322640).
706
707 2006-11-23  Behdad Esfahbod  <behdad@gnome.org>
708
709         * gtk/gtkmain.c: Fix minor typo in docs. (#378632, Hannes Mueller)
710
711 2006-11-22  Emmanuele Bassi  <ebassi@gnome.org>
712
713         * gtk/gtkrecentmanager.c:
714         (get_uri_shortname_for_display): g_filename_from_uri() might
715         fail; catch the failure and fall back to the non-local URI
716         case. (#363437)
717
718 2006-11-19  Mark McLoughlin  <mark@skynet.ie>
719
720         Fixes bug #376502 - multi-screen support for GtkStatusIcon
721
722         * gtk/gtkstatusicon.[ch]:
723         (gtk_status_icon_set_screen),
724         (gtk_status_icon_get_screen): add multi-screen API. Allows
725         an app to display an icon on a non-default screen
726         (gtk_status_icon_class_init),
727         (gtk_status_icon_set_property),
728         (gtk_status_icon_get_property): add a "screen" property
729         
730         * tests/teststatusicon.c: update to test on multiple screens
731
732 2006-11-17  Matthias Clasen  <mclasen@redhat.com>
733
734         Fix problems with drag cancellation. (#376535, Michael Natterer)
735         
736         * gtk/gtkdnd.c (gtk_drag_source_info_destroy): Disconnect signal
737         handlers before emitting drag-end.
738         (gtk_drag_end): Disconnect signal handlers before removing
739         the grab.  
740
741 2006-11-16  Mariano Suárez-Alvarez <mariano@gnome.org>
742
743         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
744         add gtk-doc blurb on GtkCellRendererText::edited (#376094)
745
746 2006-11-16  Michael Natterer  <mitch@imendio.com>
747
748         * gtk/gtkradiobutton.c (gtk_radio_button_focus): don't use
749         gtk_widget_keynav_failed(). Instead, look at gtk-keynav-cursor-only
750         and gtk-keynav-wrap-around and wrap around, beep or continue outside
751         the group manually (bug #322640).
752
753 2006-11-16  Michael Natterer  <mitch@imendio.com>
754
755         Add new infrastructure for notifications of failed keyboard
756         navigation and navigation with restricted set of keys.
757
758         The patch handles configurable beeping, navigating the GUI with
759         cursor keys only (as in phone environments), and configurable
760         wrap-around. Fixes bugs #322640, #70986, #318827, #334726, #334742
761         and #309291.
762
763         * gtk/gtksettings.c: added properties gtk-keynav-cursor-only,
764         gtk-keynav-wrap-around and gtk-error-bell.
765
766         * gtk/gtkwidget.[ch]: added new signal "keynav-failed" and public
767         API to emit it. Added New function gtk_widget_error_bell() which
768         looks at the gtk-error-bell setting and calls gdk_window_beep()
769         accordingly.
770
771         * gtk/gtk.symbols: add the new widget symbols.
772
773         * gtk/gtkcellrendereraccel.c
774         * gtk/gtkimcontextsimple.c
775         * gtk/gtkmenu.c
776         * gtk/gtknotebook.c: use gtk_widget_error_bell() or look at the
777         gtk-error-bell setting instead of calling gdk_display_beep()
778         unconditionally.
779
780         * gtk/gtkcombobox.c
781         * gtk/gtkentry.c
782         * gtk/gtkiconview.c
783         * gtk/gtklabel.c
784         * gtk/gtkmenushell.c
785         * gtk/gtkspinbutton.c
786         * gtk/gtktextview.c
787         * gtk/gtktreeview.c: call gtk_widget_error_bell() on failed keynav.
788
789         * gtk/gtkentry.c
790         * gtk/gtklabel.c
791         * gtk/gtkrange.c
792         * gtk/gtktextview.c: consult gtk_widget_keynav_failed() on failed
793         cursor navigation and leave the widget if it returns FALSE.
794
795         * gtk/gtkmenushell.c
796         * gtk/gtknotebook.c: only wrap around if gtk-keynav-wrap-around
797         is TRUE.
798
799         * gtk/gtkradiobutton.c: ask gtk_widget_keynav_failed() to decide
800         whether to to wrap-around, and don't select active items on cursor
801         navigation if gtk-keynav-cursor-only is TRUE. Should look at
802         gtk-keynav-wrap-around too, will look into that.
803
804 2006-11-16  Emmanuele Bassi  <ebassi@gnome.org>
805
806         * gtk/gtkrecentmanager.c:
807         (gtk_recent_info_get_uri_display): Return the URI
808         of the GtkRecentInfo object (upgraded to UTF-8 if
809         needed) in case of non-local file. (#351945)
810
811 2006-11-16  Emmanuele Bassi  <ebassi@gnome.org>
812         
813         * gtk/gtkrecentchoosermenu.c:
814         (gtk_recent_chooser_menu_add_tip): Apply the tip only
815         if we have a displayable name for the item. (#365031,
816         patch by padraig.obriain(at)sun.com)
817
818 2006-11-16  Emmanuele Bassi  <ebassi@gnome.org>
819
820         * gtk/gtkrecentmanager.c: Provide a fast path returning
821         NULL when the limit is set to 0.
822
823         * gtk/gtkrecentchooserdefault.c:
824         * gtk/gtkrecentchoosermenu.c: Add the same fast path
825         inside the RecentChooser implementation; add a check
826         in the list clamping code. (#373466 and duplicates)
827
828 2006-11-15  Matthias Clasen  <mclasen@redhat.com>
829
830         * modules/printbackends/cups/gtkprintbackendcups.c (cups_printer_get_options): 
831         Don't pass NULL to strncpy.  (#359537, patch by  Carlos Garcia Campos)
832
833 2006-11-15  Michael Natterer  <mitch@imendio.com>
834
835         * gtk/gtkrange.[ch]: added properties "fill-level",
836         "show-fill-level" and "restrict-to-fill-level" and getters/setters
837         for them. The "fill level" is an additional marker on the range's
838         trough than can be e.g. used to indicate the amount of
839         pre-buffering in a range showing the play position of streamed
840         media. See the embedded API docs for details. Made GtkRangeLayout
841         a GTypeInstance private struct and removed finalize()
842         implementation. Fixes bug #349808
843
844         * gtk/gtk.symbols: added the new symbols.
845
846 2006-11-14  Behdad Esfahbod  <behdad@gnome.org>
847
848         * configure.in: Make libtool magic robust. (#352795)
849
850 2006-11-13  Paolo Borelli  <pborelli@katamail.com>
851
852         * gtk/gtkrc.c (gtk_rc_parse_icon_source): plug small memory
853         leak (#370395)
854
855 2006-11-09  Kristian Rietveld  <kris@imendio.com>
856
857         * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): disable
858         don't move cursor case for SELECTION_NONE. (#371756, John Ellis).
859
860 2006-11-09  Carlos Garnacho  <carlosg@gnome.org>
861
862         * gtk/gtkpathbar.c (on_slider_unmap): Fix parenthesis confusion.
863
864 2006-11-08  Carlos Garnacho  <carlosg@gnome.org>
865
866         * gtk/gtkpathbar.c (on_slider_unmap): added, do not leave the scroll
867         timeout running if the slider buttons are hidden. (#372527)
868
869 2006-11-08  Christian Persch  <chpe@cvs.gnome.org>
870
871         * gtk/gtkfilechooserdefault.c (browse_widgets_create): Don't make
872         the "Location" label bold. Bug #372449.
873
874 2006-11-07  Carlos Garnacho  <carlosg@gnome.org>
875
876         * gtk/gtknotebook.c (gtk_notebook_calculate_tabs_allocation): make
877         non-focused tabs xthickness/ythickness thinner. (#353962)
878
879 2006-11-07  Paolo Borelli  <pborelli@katamail.com>
880
881         * gtk/gtktextbtree.c (_gtk_text_btree_delete): avoid memory
882         corruption (#357050).
883
884 2006-11-06  Alexander Larsson  <alexl@redhat.com>
885
886         * gtk/gtkdnd.c: (gtk_drag_begin_internal),
887         (gtk_drag_source_info_destroy), (gtk_drag_end),
888         (gtk_drag_grab_notify_cb):
889         Cancel drag when the grab is shadowed. (#122688)
890
891 2006-11-01  Kristian Rietveld  <kris@imendio.com>
892
893         * gtk/gtkcombobox.c (gtk_combo_box_class_init),
894         (gtk_combo_box_size_request): add arrow-size property to control
895         the minimum size of the arrow, have the arrow scale up with the
896         font by default. (#357950).
897
898 2006-10-30  Kristian Rietveld  <kris@gtk.org>
899
900         * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): don't
901         forget to queue a draw for the new cursor node. (Fixes #366548,
902         reported by Sven Herzberg).
903
904 2006-10-30  Michael Natterer  <mitch@imendio.com>
905
906         * gtk/gtkrange.c (gtk_range_key_press): consume the Escape key
907         only if we actually cancel a drag. Fixes bug #58389.
908
909 2006-10-30  Kristian Rietveld  <kris@gtk.org>
910
911         * gtk/gtktreeview.c (gtk_tree_view_class_init): change left/right
912         keybindings to collapse/expand rows instead of moving the focus
913         cursor. (#105895, Brian Bober and others).
914
915 2006-10-29  Kristian Rietveld  <kris@gtk.org>
916
917         * gtk/gtktreeview.c (gtk_tree_view_real_expand_row): guard against
918         child removal in row-expanded callback. (#366782, John Ellis).
919
920 2006-10-29  Tor Lillqvist  <tml@novell.com>
921
922         * gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Improve handling
923         of the small icon of the window class. (#152620, Kazuki Iwamoto)
924
925 2006-10-29  Tor Lillqvist  <tml@novell.com>
926
927         * gdk/win32/gdkcursor-win32.c
928         (gdk_win32_icon_to_pixbuf_libgtk_only): Implement for B&W cursors,
929         for instance the built-in GDK ones.
930
931 2006-10-27  Kristian Rietveld  <kris@gtk.org>
932
933         * gtk/gtktreeview.c (validate_visible_area): rework the area_above == 0
934         case to not overwrite the variables in the lower scope (which are
935         used later on ...), get the path correctly and bail out when there
936         isn't a node above us. (#359231).
937
938 2006-10-26  Christian Persch  <chpe@cvs.gnome.org>
939
940         * gtk/gtkaboutdialog.c: Put initial focus on Close button (#337261).
941
942 2006-10-25  Johan Dahlin  <jdahlin@async.com.br>
943
944         * gtk/gtk.symbols: Add missing symbols to so make check can pass
945
946 2006-10-23  Dom Lachowicz <domlachowicz@gmail.com>
947
948         * src/modules/engines/ms-windows/msw_style.c (draw_expander): Remember
949         to free GDI Pen resources, introduced by bug 340201.(#364514)
950         
951 2006-10-18  Kristian Rietveld  <kris@imendio.com>
952
953         * tests/testcombo.c (main): connect to notify::popup-shown instead of
954         popup-show (the latter does not exist).
955
956 2006-10-15  Paolo Borelli  <pborelli@katamail.com>
957
958         * gtk/gtkicontheme.c (pixbuf_supports_svg): plug memory leak.
959         Fixes bug #362439.
960
961 2006-10-12  Michael Natterer  <mitch@imendio.com>
962
963         * gtk/gtkcombobox.c (gtk_combo_box_class_init): fix commit below
964         (committed the wrong patch).
965
966 2006-10-12  Michael Natterer  <mitch@imendio.com>
967
968         * gtk/gtkcombobox.c: added "move-active" and "popup" signals and
969         bindings to trigger them. Removed gtk_combo_box_key_press(), it's
970         obsolete now. Fixes bug #358293.
971
972 2006-10-11  Michael Emmel  <mike.emmel@gmail.com>
973
974         * gdkpixmap-directfb.c: add missing RGB24 case (#361176) 
975
976 2006-10-11  Tor Lillqvist  <tml@novell.com>
977
978         * configure.in: Enable having some gdk-pixbuf loaders built-in
979         even if loading the others dynamically. Define Automake
980         conditional INCLUDE_FOO for each loader as TRUE if that loader is
981         built-in. See also gdk-pixbuf/ChangeLog.
982
983 Wed Oct 11 14:31:30 2006  Tim Janik  <timj@imendio.com>
984
985         * docs/reference/gtk/gtk-sections.txt:
986         * gtk/gtkbindings.c: document gtk_binding_entry_skip().
987
988 2006-10-11  Tor Lillqvist  <tml@novell.com>
989
990         * gtk/gtk.symbols: Remove gtk_combo_string_key, which is a static
991         variable.
992
993 2006-10-11  Tor Lillqvist  <tml@novell.com>
994
995         Merge from 2.10 branch:
996
997         * gtk/gtkmain.c (do_pre_parse_initialization): On Win32, if
998         environment variable LC_ALL or LANG is set, set the Win32 thread
999         locale to the corresponding locale. Then call the C library
1000         setlocale() to set the C library locale accordingly. The
1001         inconsistency mentioned below is gone. (#339756) Do some special
1002         casing for Serbia and Montenegro. Handle the Latin and Cyrillic
1003         scripts for Azeri, Uzbek and Serbian.
1004         (enum_locale_proc): Helper function for the above functionality.
1005
1006         * gtk/gtkcalendar.c (gtk_calendar_init): No longer need to check
1007         if the environment variables are set here, as they have already
1008         been taken into account and the Win32 thread locale has been
1009         set.
1010
1011 Tue Oct 10 16:38:23 2006  Tim Janik  <timj@imendio.com>
1012
1013         * gtk/tmpl/gtkbindings.sgml: 
1014         * gtk/gtkbindings.c: applied patch from Michael Natterer to move to 
1015         inline docs. applied wording fixes suggested by Martyn Russell.
1016
1017 2006-10-09  Matthias Clasen  <mclasen@redhat.com>
1018
1019         * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
1020         Update the docs to state which out parameters may be NULL.
1021         (#360870, Attilio Fiandrotti)
1022
1023 2006-10-08  Matthias Clasen  <mclasen@redhat.com>
1024
1025         * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities): Fix
1026         a typo.  (#359542, Ghee Teo)
1027
1028 2006-10-08 Matthias Clasen <mclasen@redhat.com>
1029
1030         * gtk/gtknotebook.c (gtk_notebook_reorder_tab): Only
1031         reorder tabs if the focus is in the tab.  (#350342, Carlos
1032         Garnacho Parro)
1033
1034 2006-10-08 Michael Emmel <mike.emmel@gmail.com>
1035
1036         * gdk/directfb/gdkproperty-directfb.c strdup atom name (#357611) 
1037
1038 2006-10-08  Kristian Rietveld  <kris@gtk.org>
1039
1040         * gtk/gtktreeview.[ch] (gtk_tree_view_set_property),
1041         (gtk_tree_view_set_show_expanders),
1042         (gtk_tree_view_get_show_expanders): add getter/setter for
1043         show-expanders property, queue a redraw when this property
1044         is toggled (#351167, Martin Ejdestig),
1045         (gtk_tree_view_set_level_indentation),
1046         (gtk_tree_view_get_level_indentation): also add getter/setter
1047         and docs for level-indentation property.
1048
1049 2006-10-08  Matthias Clasen  <mclasen@redhat.com>
1050
1051         * gtk/gtkradiobutton.c (gtk_radio_button_focus): Don't 
1052         leak a list.  (#360350, Benjamin Berg)
1053
1054         * Apply a cleanup patch by Kjartan Maraas  (#341812)
1055
1056 2006-10-07  Tor Lillqvist  <tml@novell.com>
1057
1058         * gtk/gtkcalendar.c (gtk_calendar_init): Use the Win32 thread
1059         locale's first day of week setting on Win32. (#339752, Bogdan
1060         Nicula) Don't do this if one of the environment variables that
1061         affect gettext is set, though. In that case use the week start day
1062         from the corresponding message catalog.
1063
1064         Unfortunately the same logic isn't possible in the weekday and
1065         month name lookup; there even if you have set one of the
1066         aforementioned environment variables, you still get the weekday
1067         and month names from the Win32 thread locale. Yes, this is
1068         inconsistent.
1069
1070         Use only wide-character API in the Win32 code in this file, too.
1071
1072 2006-10-06  Matthias Clasen  <mclasen@redhat.com>
1073
1074         * gtk/gtkfilechooser.c (gtk_file_chooser_set_select_multiple):
1075         Fix the docs.  (#360112)
1076
1077         * gtk/gtkcellview.c: Don't set the background of the
1078         window in a no-window widget.  (#359581, Xan Lopez)
1079
1080
1081 2006-10-05  Behdad Esfahbod  <behdad@gnome.org>
1082
1083         * gtk/Makefile.am, gtk/aliasfilescheck.sh:  Propagate srcdir into the
1084         test correctly. (#359845)
1085
1086 2006-10-05  Michael Natterer  <mitch@imendio.com>
1087
1088         * gtk/gtkrc.[ch]: added new scanner token "unbind" which gets
1089         rid of a key binding (in fact, it only lets it appear unbound).
1090
1091         * gtk/gtkbindings.[ch] (struct GtkBindingEntry): added
1092         "guint marks_unbound : 1"
1093
1094         (gtk_binding_entry_skip): new API which marks the entry as unbound.
1095
1096         Changed code so it returns FALSE when "marks_unbound == TRUE" is
1097         encountered while activating bindings, effectively letting the
1098         binding appear unbound (regardless of still existing bindings in
1099         lower binding priority levels). Fixes bug #358329.
1100
1101         (gtk_binding_entry_add)
1102         (gtk_binding_entry_clear)
1103         (gtk_binding_entry_add_signall)
1104         (gtk_binding_parse_binding): deprected these functions.
1105
1106         (_gtk_binding_parse_binding)
1107         (_gtk_binding_entry_add_signall): new internal API.
1108
1109         * gtk/gtk.symbols: changed accordingly.
1110
1111 2006-10-03  Matthias Clasen  <mclasen@redhat.com>
1112
1113         Fix interaction of GtkEntryCompletion with input
1114         methods.  (#354495, Diego Escalante Urrelo)
1115
1116         * gtk/gtkentry.c (gtk_entry_completion_key_press): Only reset
1117         the im context if we actually handle the key event.
1118
1119         * gtk/gtkentrycompletion.c: Also propagate key release events
1120         to the entry.
1121
1122 2006-10-03  Matthias Clasen  <mclasen@redhat.com>
1123
1124         * gtk/gtkprintsettings.c (gtk_print_settings_get_duplex):
1125         Fix a typo.  (#359052, Ghee Teo)
1126
1127         * gtk/*.c, gdk/*.c: Apply a patch by Behdad Esfahbod to
1128         reduce relocations. (#359053)
1129
1130 2006-10-03  Matthias Clasen  <mclasen@redhat.com>
1131
1132         * modules/printbackends/cups/gtkcupsutils.c:
1133         * modules/printbackends/cups/gtkprintbackendcups.c: Complete
1134         the fix for bug 357280.
1135
1136 2006-10-02  Behdad Esfahbod  <behdad@gnome.org>
1137
1138         * gdk-pixbuf/Makefile.am:
1139         * gdk/Makefile.am:
1140         * gtk/Makefile.am:
1141         Include pltcheck.sh in EXTRA_DIST.
1142
1143 2006-10-02  Behdad Esfahbod  <behdad@gnome.org>
1144
1145         * gdk/x11/gdkevents-x11.c: Move all includes before including
1146         gdkalias.h.
1147
1148 2006-10-02  Behdad Esfahbod  <behdad@gnome.org>
1149
1150         * gtk/Makefile.am: Fix typo in file name.  (#358931)
1151
1152 2006-10-02  Matthias Clasen  <mclasen@redhat.com>
1153
1154         * modules/printbackends/cups/gtkprintbackendcups.c (available_choices): 
1155         Only use the group name field if cups is new enough.  (#357280)
1156
1157         * gtk/gtksizegroup.c: Make sure that the quarks are 
1158         initialized before using them.  (#353736)
1159
1160         * gtk/Makefile.am (stamp-icons): Use rm instead of ln -f to
1161         replace existing links.  (#354849, James Evans)
1162
1163 2006-10-01  Matthias Clasen  <mclasen@redhat.com>
1164
1165         * gtk/gtkexpander.c (gtk_expander_realize) 
1166         (gtk_expander_size_allocate): Make the event_window large
1167         enough to cover the full height of the label_widget.  (#358351,
1168         Scott Horowitz)
1169
1170 2006-10-01  Tor Lillqvist  <tml@novell.com>
1171
1172         * gtk/gtkfilesystemwin32.c: Same change as to gtkfilesystemunix.c.
1173
1174 2006-09-30  Matthias Clasen  <mclasen@redhat.com>
1175
1176         * gtk/gtkfilechooserbutton.c (update_combo_box): Protect
1177         against base_path being NULL.  (#358405, many reporters)
1178
1179 2006-09-29  Matthias Clasen  <mclasen@redhat.com>
1180
1181         * gtk/gtkfilesystemunix.c: Apply a patch by Padraig O'Briain
1182         to avoid a deadlock.
1183
1184 2006-09-27  Kristian Rietveld  <kris@imendio.com>
1185
1186         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_free_level),
1187         (gtk_tree_model_filter_ref_node),
1188         (gtk_tree_model_filter_real_unref_node): bring zero ref count loops
1189         in sync with each other and the sort model.
1190
1191 2006-09-27  Kristian Rietveld  <kris@imendio.com>
1192
1193         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_init),
1194         (gtk_tree_model_filter_finalize), (gtk_tree_model_filter_row_deleted),
1195         (gtk_tree_model_filter_new): unref the virtual root path once that
1196         node (or one if its ancestors) is deleted, set virtual_root_deleted
1197         so we only unref it once.
1198
1199 2006-09-27  Kristian Rietveld  <kris@imendio.com>
1200
1201         * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_changed),
1202         (gtk_tree_model_sort_sort_level): ref count nodes the proper way,
1203         (gtk_tree_model_sort_ref_node), (gtk_tree_model_sort_real_unref_node),
1204         (gtk_tree_model_sort_free_level): bring zero ref count loops in
1205         sync,
1206         (gtk_tree_model_sort_free_level): free child levels before
1207         decreasing the zero ref count of the current level,
1208         (gtk_tree_model_sort_clear_cache): only clear cache if zero_ref_count
1209         is > 0.
1210
1211 2006-09-25  Matthias Clasen  <mclasen@redhat.com>
1212
1213         * demos/gtk-demo/*.c:
1214         * gtk/gtkeventbox.c:
1215         * gtk/gtkprintoperation.c: Fix typos. String change.
1216
1217 2006-09-25  Kristian Rietveld  <kris@gtk.org>
1218
1219         * gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): if the tree view
1220         has already been realized; scroll to background area instead of
1221         cell area. (Fixes #330683, Johan Dahlin, Tommi Komulainen).
1222
1223 2006-09-25  Kristian Rietveld  <kris@gtk.org>
1224
1225         * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): only attempt
1226         to create the GCs if the widget is realized. (Fixes #357578).
1227
1228 2006-09-25  Matthias Clasen  <mclasen@redhat.com>
1229
1230         * gtk/gtkuimanager.c (_gtk_menu_is_empty): Don't leak
1231         the list of children (#357454, Paolo Borelli)
1232
1233 2006-09-25  Michael Natterer  <mitch@imendio.com>
1234
1235         * gdk/x11/gdkdisplay-x11.c (gdk_display_x11_finalize): free
1236         display->input_windows with g_free(), not g_object_unref()
1237         (#357566, Tommi Komulainen).
1238
1239 2006-09-24  Kristian Rietveld  <kris@gtk.org>
1240
1241         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init),
1242         (gtk_cell_renderer_text_[sg]et_property): actually add align-set
1243         property to the API (left-over patch from #157439).
1244
1245 2006-09-24  Kristian Rietveld  <kris@gtk.org>
1246
1247         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button): draw
1248         the indicator if the column has a sort column id (and the model is
1249         sortable) or if the user explicitly requested the indicator
1250         to be shown.  (Fixes #352738, Chris Vine).
1251
1252 2006-09-23  Tor Lillqvist  <tml@novell.com>
1253
1254         * gtk/Makefile.am: Use EXEEXT.
1255
1256 2006-09-22  Michael Natterer  <mitch@imendio.com>
1257
1258         * gtk/gtkstyle.c (gtk_style_real_copy): also copy icon factories
1259         and color hashes. Fixes bug #357132.
1260
1261 2006-09-22  Matthias Clasen  <mclasen@redhat.com>
1262
1263         Make remote bookmarks work better (#354887)
1264         
1265         * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): 
1266         (shortcuts_insert_path): 
1267         * gtk/gtkfilechooserbutton.c (change_icon_theme): 
1268         (model_add_bookmarks): 
1269         (model_update_current_folder): 
1270         (update_label_and_image): 
1271         If the bookmark points to a remote file, don't call get_info(), 
1272         since that may a) take a long time and b) pop up an auth dialog.
1273         Instead, just use a folder icon and create a display name
1274         from the uri.
1275
1276         * gtk/gtkfilechooserdefault.c (_gtk_file_chooser_label_for_uri): 
1277         New function to create a suitable display name for a remote
1278         uri. This should really be done in GtkFileSystem.
1279         
1280 2006-09-21  Michael Natterer  <mitch@imendio.com>
1281
1282        Implement lots of value setters for GdkGC, based on a heavily
1283        modified patch from Thomas Broyer (bug #328853):
1284
1285         * gdk/quartz/gdkcolor-quartz.c: removed functions which set colors
1286         on the CGContext. Instead, added gdk_quartz_get_rgba_from_pixel()
1287         which simply returns RGBA values from a GdkColor's pixel value.
1288         See gdk_quartz_update_context_from_gc() below.
1289
1290         * gdk/quartz/gdkprivate-quartz.h (struct GdkGCQuartz): added lots
1291         of members for the newly suppored GC values. Added enum
1292         GdkQuartzContextValuesMask which is used for setting up the
1293         CGContext for filling and/or stroking.
1294
1295         * gdk/quartz/gdkgc-quartz.c (gdk_quartz_gc_get_values)
1296         (gdk_quartz_gc_set_values)
1297         (_gdk_windowing_gc_copy): support a lot more GC values.
1298
1299         (gdk_quartz_update_context_from_gc): added
1300         GdkQuartzContextValuesMask parameter and set filling/stroking
1301         parameters accordingly. This function also gained full control
1302         over the FG and BG colors (they can't be set separately any more).
1303
1304         The stipple mask part of the patch doesn't work but seems to take
1305         the right approach and doesn't make things worse, so I applied it.
1306
1307         Did *not* apply the clipping part of the patch since I don't
1308         understand it (I don't understand the version in CVS either, but
1309         it at least works :-)
1310
1311         * gdk/quartz/gdkdrawable-quartz.c: pass the right masks to
1312         gdk_quartz_update_context_from_gc() and removed separate color
1313         setting calls. Some minor fixes.
1314
1315         * gdk/quartz/gdkwindow-quartz.c
1316         (gdk_window_impl_quartz_begin_paint_region): set the CGContext's
1317         fill color manually. We don't have/need a GC here.
1318
1319 2006-09-21  Michael Natterer  <mitch@imendio.com>
1320
1321         * gdk/quartz/gdkwindow-quartz.c
1322         (gdk_window_impl_quartz_begin_paint_region): fix cast: it's
1323         drawable_impl->wrapper that is the GdkWindow, not the
1324         drawable_impl itself.
1325
1326 2006-09-20  Behnam Esfahbod <behnam@zwnj.org>
1327
1328         * gdk/x11/gdkkeys-x11.c:
1329           (get_direction): just check the first shift-level of keyboard
1330         layout for RTL and LTR keysyms() (compliment to #116626)
1331
1332 Wed Sep 20 16:59:38 2006  Tim Janik  <timj@imendio.com>
1333
1334         * gtk/gtkviewport.c: always update the bin_window position and size
1335         in size_allocate, even if we don't have a visible child. this fixes
1336         expose artefacts as described in #313508.
1337
1338         * gtk/gtkscrolledwindow.c: make hiding of automatic scrollbars when we
1339         have no visible child explicit.
1340
1341 2006-09-19  Ryan Lortie  <desrt@desrt.ca>
1342
1343         * docs/reference/gdk/gdk-sections.txt:
1344         * gdk/gdk.symbols:
1345         * gdk/gdkpango.h:
1346         * gdk/gdkpango.c: Bug 355343.  Add a GdkPangoAttrEmbossColor.
1347           (gdk_pango_layout_get_clip_region): Remove an unused variable.
1348           (gdk_pango_attr_embossed_new): Fix documentation.
1349
1350 Tue Sep 19 17:00:04 2006  Tim Janik  <timj@imendio.com>
1351
1352         * gtk/gtkarrow.c: added GtkArrow::arrow-scaling style property to 
1353         control the arrow/border ratio within the allocation.
1354
1355         * tests/testgtk.c: added a GtkArrow to handle box test.
1356
1357         * tests/testgtkrc: test ::arrow-scaling property.
1358
1359 2006-09-19  Matthias Clasen  <mclasen@redhat.com>
1360
1361         * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
1362         Display an error when we come to the root.  
1363
1364 2006-09-16  Matthias Clasen  <mclasen@redhat.com>
1365
1366         * gtk/gtkfilechooserbutton.c: Use bookmark labels in 
1367         the combobox. 
1368
1369         * gtk/gtkfilechooserbutton.c: Don't add remote volumes and 
1370         bookmarks to the model in local-only mode, to avoid 
1371         authentication dialogs pop up for invisible bookmarks, and
1372         to fix issues with separators not being hidden when
1373         they should.  (#354887, Dennis Cranston)
1374
1375 2006-09-16  Matthias Clasen  <mclasen@redhat.com>
1376
1377         * gtk/gtkcombobox.c (gtk_combo_box_finalize): Unref the
1378         treeview use in list mode.  (#355732, Richard Hult)
1379
1380         * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): Send
1381         change notification for the right property.  (#355308,
1382         Torsten Schoenfeld)
1383
1384 2006-09-15  Michael Natterer  <mitch@imendio.com>
1385
1386         * gtk/gtktreeview.c (gtk_tree_view_key_press): refactored column
1387         header navigation/resizing/reordering to be more readable and lose
1388         one level of nesting.
1389
1390 2006-09-15  Kristian Rietveld  <kris@imendio.com>
1391
1392         * gtk/gtktreeview.c (gtk_tree_view_key_press): actually directly
1393         return after handling column button focus; we disable wrap around
1394         with this (which actually happened via a really weird code path).
1395         (Michael Natterer)
1396
1397 2006-09-15  Kristian Rietveld  <kris@imendio.com>
1398
1399         * gtk/gtktreeview.c (gtk_tree_view_key_press): make column resizing
1400         code RTL aware, also break from the loops after we have seen the
1401         focussed column button (Michael Natterer).
1402
1403 Thu Sep 14 12:28:51 2006  Tim Janik  <timj@imendio.com>
1404
1405         * tests/testrichtext.c (main): intialize random number generator state
1406         upon program start, to enable truely random testing.
1407
1408 2006-09-13 Michael Emmel <mike.emmel@gmail.com>
1409
1410         * gdk/directfb/gdkcolor-directfb.c small clean ups include order
1411         * gdk/directfb/gdkwindow-directfb.c fixed beep compile error
1412         * gdk/directfb/Makefile.am removed GDK_PIXBUF_DISABLE_DEPRECATED
1413                 GDK_DISABLE_DEPRECATED to allow compile per Behdad
1414         * gdk/quartz/Makefile.am same change as directfb Makefile
1415         * gtk/Makefile.am fixed typo that cause socket stubs not to compile
1416
1417 2006-09-13 Matthias Clasen <mclasen@redhat.com>
1418
1419         * gtk/gtkcolorsel.c: Use a GtkWindow instead of a GtkInvisible
1420         for the grab widget, to make the color picker work with window
1421         groups.  
1422
1423 2006-09-12 Hong Jen Yee <pcman.tw@gmail.com>
1424
1425         signed off by: Dom Lachowicz
1426         
1427         * modules/engines/ms-windows/msw_style.c: Bug 340201. This contains
1428         a large number of improvements to the Microsoft Windows theme engine
1429         which are fully described in the bug report.
1430         
1431 Mon Sep 11 14:22:39 2006  Tim Janik  <timj@imendio.com>
1432
1433         * tests/testgtk.c: fixed compiler warnings.
1434
1435 2006-09-10  Matthias Clasen  <mclasen@redhat.com>
1436
1437         * gtk/gtkfilechooserbutton.c (model_add_special): Request
1438         the display name too, otherwise "Desktop" does not appear
1439         in the file chooser button. 
1440
1441 2006-09-10  Tor Lillqvist  <tml@novell.com>
1442
1443         * gdk/win32/gdkprivate-win32.h
1444         * gdk/win32/gdkmain-win32.c
1445         * gdk/win32/gdkwindow-win32.c: Define WINVER and _WIN32_WINNT as
1446         0x0500 in gdkprivate-win32.h instead of doing it in two source
1447         files. (#355212, Mike Edenfield)
1448
1449         * gdk/win32/gdkwindow-win32.c: We can also remove the ersatz
1450         GetAncestor() for the _MSC_VER && WINVER < 0x0500 case, I hope.
1451
1452 2006-09-10  Matthias Clasen  <mclasen@redhat.com>
1453
1454         * Commit a patch by Behdad to fix typos, omissions and other
1455         errors in the symbol aliasing, and add checks for local PLT
1456         entries.  (#354687, Behdad Esfahbod)
1457
1458         * gtk/gtktreeview.c (gtk_tree_view_search_scroll_event): Renew
1459         the flush timeout.  (#354043, Nelson Benitez)
1460         
1461         * gtk/gtkfilechoosersettings.c (set_unexpected_element_end_error): 
1462         Improve wording. String change!  (#355126, David Lodge)
1463
1464         * gtk/updateiconcache.c: Improve wording. String change!  (#355128,
1465         David Lodge)
1466
1467         * gtk/paper_names_offsets.c: Fix a typo. String change!  (#355134,
1468         David Lodge)
1469
1470 2006-09-09  Matthias Clasen <mclasen@redhat.com>
1471
1472         * gdk/x11/gdkfonts-x11.c: Fix small theoretical memory leaks.
1473         (#353916, Chris Wilson)
1474
1475         * gtk/gtksettings.c (_gtk_settings_reset_rc_values):
1476         Don't leak the to_reset list.  (#353914, Chris Wilson)
1477
1478         * gtk/gtkwidget.c: Add docs for the parent-set signal.
1479         (#353772, Mariano Suárez-Alvarez)
1480
1481 2006-09-08  Matthias Clasen <mclasen@redhat.com>
1482
1483         * gtk/gtktextbuffer.c (remove_all_selection_clipboards):
1484         Don't clear clipboards here, since we are called from finalize
1485         and can't emit signals.
1486
1487         * configure.in: Set version to 2.11.0
1488
1489 2006-09-06  Richard Hult  <richard@imendio.com>
1490
1491         * gdk/quartz/gdkkeys-quartz.c: (maybe_update_keymap): Special-case 
1492         shift-tab and map it to GDK_ISO_Left_Tab, fixes bug #350806.
1493
1494 2006-09-04  Kristian Rietveld  <kris@imendio.com>
1495
1496         * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
1497         if setting the given folder failed, try setting the parent folder
1498         until we succeed; display an error box at the end.
1499
1500 2006-09-04  Kristian Rietveld  <kris@imendio.com>
1501
1502         * gtk/gtkpathbar.c (gtk_path_bar_dispose): don't cancel the
1503         operations spawned by buttons here,
1504         (set_button_image_get_info_cb): bail out if button is NULL, but
1505         do free button_data,
1506         (button_data_free): only free the data if non NULL (since this
1507         function can be called multiple times for the same data), cancel
1508         handle if pending but don't free button_data in this case (will
1509         happen in the callback).
1510
1511 2006-09-04  Michael Natterer  <mitch@imendio.com>
1512
1513         * gtk/gtkrc.c (rc_parse_token_or_compound)
1514         (gtk_rc_parse_assignment): serialize floating point values using
1515         locale-independent functions. (#346751, Frederic Crozat)
1516
1517 2006-09-04  Tor Lillqvist  <tml@novell.com>
1518
1519         * gdk/win32/gdkevents-win32.c
1520         * gdk/win32/gdkwindow-win32.c: Use wide-char API for message and
1521         window handling (PeekMessage, PostMessage, SendMessage,
1522         DispatchMessage, DefWindowProc, RegisterClassEx,
1523         CreateWindowEx). (#321597)
1524
1525 2006-09-03  Kristian Rietveld  <kris@imendio.com>
1526
1527         * gtk/gtkfilechooserdefault.c (save_entry_get_info_cb),
1528         (file_exists_get_info_cb), (gtk_file_chooser_default_should_respond):
1529         change file_exists_and_is_not_folder checks to get the file info
1530         for the path directly instead of querying the current file folder
1531         of the save entry.
1532
1533         * gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault): add
1534         new field.
1535
1536         * tests/autotestfilechooser.c (wait_for_idle_idle), (wait_for_idle),
1537         (test_reload_sequence), (test_button_folder_states_for_action): wait
1538         for idle after setting a folder to ensure the async operations to load
1539         the folder are finished,
1540         (test_confirm_overwrite), (test_confirm_overwrite_for_path):
1541         factor out test_confirm_overwrite code so we can add tests for more
1542         paths more easily.
1543
1544 2006-09-03  Richard Hult  <richard@imendio.com>
1545
1546         * gdk/quartz/GdkQuartzView.c (drawRect): Don't do anything if
1547         exposure isn't in the event mask, plug a leak, and check that the
1548         window isn't destroyed.
1549         (isOpaque): Check that the window isn't destroyed, fixes bug 
1550         #353028.
1551
1552 2006-09-03  Matthias Clasen  <mclasen@redhat.com>
1553
1554         * gtk/gtkwidget.c (gtk_widget_class_init): Fix a typo.  
1555         (#354035, Mariano Suárez-Alvarez)
1556
1557         * gtk/gtkmain.c (post_parse_hook): 
1558         * gdk/gdk.c (gdk_init): Handle display_name being NULL.
1559         (#354004, Chris Wilson)
1560
1561 2006-09-03  Tor Lillqvist  <tml@novell.com>
1562
1563         * gdk/win32/gdkwindow-win32.c (gdk_window_beep): No
1564         GDK_WINDOW_DISPLAY in the Win32 backend.
1565
1566         * gtk/gtkfilesystemwin32.c: Copy what Kris did to
1567         gtkfilesystemunix.c
1568
1569 2006-09-02  Kristian Rietveld  <kris@imendio.com>
1570
1571         First part of file chooser fixes.
1572
1573         * gtk/gtkfilechooserbutton.c (model_add_special): also set the
1574         handle in the model for the desktopdir case.
1575
1576         * gtk/gtkfilechooserdefault.c (shortcuts_add_current_folder): free
1577         volume in case we retrieved it but don't pass it on to insert_path,
1578         (shortcuts_model_create): change the column type for the handles
1579         to pointer instead of GObject so our handle ref counting is not
1580         disturbed,
1581         (show_and_select_paths_finished_loading): don't forget to unref
1582         the dialog.
1583
1584         * gtk/gtkfilesystemunix.c (gtk_file_system_unix_class_init),
1585         (gtk_file_system_unix_init), (gtk_file_system_unix_dispose):
1586         remove pending execute_callbacks_idle during dispose, also
1587         execute all callbacks waiting to be run in the next idle,
1588         (queue_*callback), (execute_callbacks_idle): refactor to maintain
1589         a list of callbacks to call per file system instead of globally,
1590         guard the file system during callback invocation,
1591         (gtk_file_system_unix_get_folder): only add load folder idle if
1592         none has been added yet.
1593
1594 2006-09-01  Matthias Clasen  <mclasen@redhat.com>
1595
1596         * gtk/gtkentry.c: Don't unnecessarily reset the im context
1597         when deleting the selection.  (#353803, Alex Larsson)
1598
1599 2006-09-01  Abel Cheung  <abel@oaka.org>
1600
1601         * configure.in: Added 'ang' 'dz' to ALL_LINGUAS.
1602
1603 2006-08-31  Matthias Clasen  <mclasen@redhat.com>
1604
1605         Stop cursor blinking after a configurable timeout.
1606         (#353670, #352442, Arjan van de Ven, Manu Cornet)
1607         
1608         * gtk/gtksettings.c (gtk_settings_class_init): Add a 
1609         gtk-cursor-blink-timeout setting, which specifies the number
1610         of seconds that the cursor should blink after a user interaction.
1611         The default value is G_MAXINT to preserve the current behaviour.
1612
1613         * gtk/gtkentry.c (blink_cb): Stop blinking after blink-timeout
1614         seconds.
1615
1616         * gtk/gtkentry.c (gtk_entry_completion_key_press) 
1617         (gtk_entry_button_press, gtk_entry_focus_in): Reset the
1618         blink timer.
1619
1620         * gtk/gtktextview.c (blink_cb): Stop blinking after blink-timeout
1621         seconds. 
1622
1623         * gtk/gtktextview.c (gtk_text_view_key_press_event) 
1624         (gtk_text_view_button_press_event, gtk_text_view_focus_in_event): 
1625         Reset the blink timer.
1626         
1627 2006-08-31  Matthias Clasen  <mclasen@redhat.com>
1628
1629         * gtk/gtkprintoperation-unix.c (get_print_dialog): Don't specify
1630         explicit format capabilities.  (#346505, Christian Persch)
1631
1632         * modules/printbackends/cups/gtkprintbackendcups.c (cups_request_printer_list_cb): Send printer-list-done on error. 
1633
1634 2006-08-31  Michael Natterer  <mitch@imendio.com>
1635
1636         * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Fix build.
1637
1638 2006-08-30  Richard Hult  <richard@imendio.com>
1639
1640         * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep): Fix build.
1641
1642 2006-08-30  Matthias Clasen  <mclasen@redhat.com>
1643
1644         * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Only use XKB
1645         for beeping if we are using XKB.  
1646
1647 2006-08-29  Matthias Clasen  <mclasen@redhat.com>
1648
1649         * gdk/gdkwindow.h: 
1650         * gdk/gdk.symbols: 
1651         * gdk/directfb/gdkwindow-directfb.c (gdk_window_beep): 
1652         * gdk/win32/gdkwindow-win32.c (gdk_window_beep): 
1653         * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep): 
1654         * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Add a function
1655         to beep on a window. For X11, implement this with
1656         XkbBell.  (#353455, Mariano Suárez-Alvarez)
1657         
1658 2006-08-29  Tor Lillqvist  <tml@novell.com>
1659
1660         Remove support for Windows 9x/ME. GTK+ hasn't worked on Win9x
1661         since 2.6 or 2.8. It's pointless to keep the Win9x code in here as
1662         it isn't being maintained anyway. If somebody is interested, it
1663         can always be found in older GTK+ versions, and in CVS.
1664
1665         * configure.in
1666         * acconfig.h
1667         * gdk/Makefile.am
1668         * gdk/win32/Makefile.am
1669         * gdk/win32/libie55uid.la
1670         * gdk/win32/gdkevents-win32.c: Remove the --with-ie55 configure
1671         switch and associated stuff. Active IMM and the <dimm.h> header
1672         was used for IM support on NT4 and Win9x. Win2k and later have IM
1673         support built-in.
1674
1675         * gdk/win32/gdkcursor-win32.c
1676         * gdk/win32/gdkdnd-win32.c
1677         * gdk/win32/gdkdrawable-win32.c
1678         * gdk/win32/gdkevents-win32.c
1679         * gdk/win32/gdkgc-win32.c
1680         * gdk/win32/gdkglobals-win32.c
1681         * gdk/win32/gdkkeys-win32.c
1682         * gdk/win32/gdkmain-win32.c
1683         * gdk/win32/gdkproperty-win32.c
1684         * gdk/win32/gdkselection-win32.c
1685         * gdk/win32/gdkwindow-win32.c: Remove the G_WIN32_IS_NT_BASED()
1686         and G_WIN32_HAVE_WIDECHAR_API() tests and their false (Win9x)
1687         branches, and any variables or static functions used only by the
1688         Win9x branches.
1689
1690         * gdk/win32/gdkprivate-win32.h: Remove backup definitions for
1691         constants that aren't missing from current mingw and MSVC6
1692         headers.
1693
1694         * gdk/win32/gdkmain-win32.c
1695         * gdk/win32/gdkprivate-win32.h: Remove the _gdk_win32_gdi_failed()
1696         function. On NT-based Windows GetLastError() returns error codes
1697         also for failed GDI calls, so we can use _gdk_win32_api_failed()
1698         always.
1699
1700 2006-08-29  Emmanuele Bassi  <ebassi@gnome.org>
1701
1702         * gtk/gtkrecentchoosermenu.c
1703         (gtk_recent_chooser_menu_set_current_uri): Break when an item
1704         is found and activated. (#353449, based on a patch by Jan Arne
1705         Petersen)
1706
1707 Fri Jul 14 16:13:37 2006  Tim Janik  <timj@gtk.org>
1708
1709         * gtk/gtkprogressbar.c: introduced ::xspacing and ::yspacing style 
1710         properties which make all hardcoded padding and spacing values
1711         configurable. properly swap ::text-xalign treatment for RTL widgets.
1712
1713         * gtk/gtkprogress.c: fixed style property blurbs. made alignment 
1714         proeprty more consistent with GtkMisc alignment blurbs. mention
1715         RTL treatment for text-xalign.
1716
1717 Tue Aug 29 11:57:40 2006  Tim Janik  <timj@imendio.com>
1718
1719         * tests/testgtk.c: allow (most) windows to be resizable.
1720         added ellipsization settings to progress bars. 
1721
1722 2006-08-28  Matthias Clasen   <mclasen@redhat.com>
1723
1724         * modules/printbackend/cups/gtkprintbackendcups.c: Use a
1725         resonable timeout of 3 seconds when polling for printer
1726         list updates, instead of 300000 seconds...
1727
1728 2006-08-28  Michael Natterer  <mitch@imendio.com>
1729
1730         * gtk/gtktextbufferserialize.c (serialize_text): don't write out
1731         </apply_tag> for tags that have already been closed by the logic
1732         which turns overlapping spans into XML-able trees. Fixes broken
1733         XML when there are overlapping tags in the buffer. Also free two
1734         leaked GLists and did some cleanup.
1735
1736         * tests/Makefile.am
1737         * tests/testrichtext.c: new test which creates randomly tagged
1738         GtkTextBuffers and serializes/deserializes them.
1739
1740 2006-08-26  Matthias Clasen  <mclasen@redhat.com>
1741
1742         * gtk/gtkstatusicon.c (gtk_status_icon_reset_image_data): 
1743         Don't leak pixbufs.  (#352264, Ross Burton)
1744
1745         * gtk/gtklinkbutton.c (set_link_underline): Don't leak
1746         PangoAttributes.  (#352391, Paolo Borelli)
1747
1748 2006-08-25  Matthias Clasen  <mclasen@redhat.com>
1749
1750         * demos/gtk-demo/Makefile.am:
1751         * demos/gtk-demo/textscroll.c: Add an example of automatic
1752         scrolling, thanks to Yevgen Muntyan.  (#351206)
1753         
1754         * gtk/gtkmodules.c (find_module): Use local binding when
1755         loading modules.  (#351868)
1756
1757 2006-08-24  Michael Natterer  <mitch@imendio.com>
1758
1759         * gdk/quartz/gdkdisplay-quartz.c (gdk_display_get_name): return
1760         the hostname instead of NULL.
1761
1762 2006-08-23  Matthias Clasen  <mclasen@redhat.com>
1763
1764         * gtk/gtkprinteroptionwidget.[hc]: Fix confusion about
1765         names and values in comboboxes, and clean up some
1766         coding style issues.
1767
1768 2006-08-23  Tor Lillqvist  <tml@novell.com>
1769
1770         * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_make_path):
1771         Revert unintended translatable string addition. Use same string
1772         in GError as in gtkfilesystemunix.c.
1773
1774         * gtk/gtkfilesystemwin32.c (_gtk_file_system_win32_path_compare):
1775         Fix logic at the end of strings. 
1776
1777         * gtk/gtkfilesystemwin32.c: Maintain a hash table of live
1778         handles and check that we have no outstanding handles at
1779         finalization time. (Copying what Matthias did for
1780         gtkfilesystemunix.c)
1781
1782 2006-08-23  Matthias Clasen  <mclasen@redhat.com>
1783
1784         * gtk/gtkfilesystemunix.c: Maintain a hash table
1785         of live handles and check that we have no outstanding
1786         handles at finalization time. (Copying what
1787         Federico did for gtkfilesystemgnomevfs.c)
1788
1789 2007-08-22  Matthias Clasen  <mclasen@redhat.com> 
1790
1791         * Branch for 2.10
1792