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