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