]> Pileus Git - ~andy/gtk/blob - ChangeLog
1266eb293976ed6b2355ad5176c768b83373bb2f
[~andy/gtk] / ChangeLog
1 2007-04-26  Matthias Clasen  <mclasen@redhat.com>
2
3         * Makefile.am:
4         * gtk/Makefile.am: Don't install UNIX-printing headers and
5         support files on non-UNIX platforms.  (#425655, Vincent Geddes)
6
7 2007-04-26  Matthias Clasen  <mclasen@redhat.com>
8
9         * gtk/gtkuimanager.c (gtk_ui_manager_add_ui): Accept
10         unnamed separators.  (#369112, Christian Persch)
11
12 2007-04-26  Matthias Clasen  <mclasen@redhat.com>
13
14         * gtk/gtkaccelgroup.c (gtk_accel_group_finalize): Don't access
15         invalid memory.  (#429732, Armin Burgmeier)
16
17 2007-04-26  Cody Russell  <bratsche@gnome.org>
18
19         * gdk/win32/xcursors.h:
20         * gdk/win32/gdkcursor-win32.c:
21
22         Use Win32 native cursors instead of the ones built into GTK
23         where it makes sense. (#128852, Tim Evans)
24
25 2007-04-25  Cody Russell  <bratsche@gnome.org>
26
27         * gdk/gdkwindow.h:
28         * gtk/gtkwidget.c:
29         * gtk/gtkhandlebox.c:
30         * gdk/directfb/gdkwindow-directfb.c:
31         * gdk/linux-fb/gdkwindow-fb.c:
32         * gdk/quartz/gdkwindow-quartz.c:
33         * gdk/win32/gdkwindow-win32.c:
34         * gdk/x11/gdkwindow-x11.c:
35         Added window type hint and implement drop shadows on Win32
36         for menus, tooltips, etc. (#148535, Tim Evans, Dom Lachowicz)
37
38 2007-04-25  Jakub Steiner <jimmac@ximian.com>
39
40         * gtk/stock-icons/16/gtk-close.{png,svg}: added 16x16 version of
41                 gtk-close as per discussion in bug #431740.
42
43 2007-04-25  Matthias Clasen  <mclasen@redhat.com>
44
45         * gtk/gtktreeview.c (gtk_tree_view_style_set): Set the background
46         of the header window again.  (#431067, Benjamin Berg)
47
48 2007-04-25  Matthias Clasen  <mclasen@redhat.com>
49
50         * gtk/gtkicontheme.c (theme_lookup_icon): Set the filename to
51         NULL for builtin icons, sinc gtk_icon_info_get_builtin_pixbuf()
52         depends on it. 
53
54         * tests/testicontheme.c: Report builtin icons.
55
56 2007-04-25  Matthias Clasen  <mclasen@redhat.com>
57
58         * gtk/gtkprintoperation.c (preview_iface_end_preview): Don't 
59         crash if end_run is not set.  (#424168, Matthias Hasselmann)
60
61 2007-04-25  Michael Natterer  <mitch@imendio.com>
62
63         * gtk/gtkmenu.c (gtk_menu_handle_scrolling): fix ACTIVE state of
64         scroll buttons (we were setting the state to ACTIVE but
65         immediately overwriting it with NORMAL or PRELIGHT). Also got rid
66         of many separate calls to gdk_window_invalidate_rect() by
67         remembering the old button state and only invalidating the area if
68         the state has changed (addresses parts of bug #433242, Tommi
69         Komulainen).
70
71         (gtk_menu_scroll_to): change the arrow states only if changing
72         from or to INSENSITIVE state, so we don't overwrite the ACTIVE
73         state set by above function.
74
75 2007-04-25  Michael Natterer  <mitch@imendio.com>
76
77         * gtk/gtkprintoperation.c (preview_iface_is_selected): fix the
78         build. Dunno if the fix is right, but I think it is.
79
80 2007-04-25  Kristian Rietveld  <kris@imendio.com>
81
82         * gtk/gtktooltip.c (find_topmost_widget_coords_from_event):
83         cleanup/refactor some leftover code.
84
85 2007-04-24  Matthias Clasen  <mclasen@redhat.com>
86
87         * gtk/gtkprintunixdialog.c (dialog_get_page_ranges): Parse
88         half-open ranges like -2 or 3-, and be a bit more liberal
89         about whitespace.
90         (dialog_set_page_ranges): Support half-open ranges.
91
92         * gtk/gtkprintoperation.c (print_pages_idle): Substitute the
93         number of pages in half-open ranges.
94         (preview_iface_is_selected): Support half-open ranges here, too.
95
96 2007-04-24  Chris Wilson  <chris@chris-wilson.co.uk>
97
98         * gtk/gtkicontheme.c (scan_directory): Ensure the 
99         icon_theme->all_icons and dir->icons hash tables use the same string
100         as their keys. (#418531)
101
102 2007-04-23  Cody Russell  <bratsche@gnome.org>
103         * modules/engines/ms-windows/msw_style.c: Fixed one-pixel drawing error on
104         left-most tab when notebooks are top-oriented.  Also general cleanup of
105         notebook tab related code.  (Lieven van der Heide, Cody Russell)
106
107 2007-04-23  Matthias Clasen  <mclasen@redhat.com>
108
109         * modules/printbackends/cups/gtkprintbackendcups.c: Reduce
110         the amount of debug spew if we are not debugging.
111         
112 2007-04-23  Michael Natterer  <mitch@imendio.com>
113
114         * tests/Makefile.am (testtooltips_SOURCES): fix typo:
115         testtoooltips_SOURCES -> testtooltips_SOURCES.
116
117 2007-04-19  Cody Russell <bratsche@gnome.org>
118
119         * modules/engines/ms-windows/msw_style.c: Fix menuitem rendering
120         for Windows Vista.  (#392015, Hiroyuki Yamamoto)
121
122 2007-04-19  Dominic Lachowicz <domlachowicz@gmail.com>
123
124         * modules/engines/ms-windows/msw_style.c: Fix pixbuf leaks in
125         non-WinXP rendering paths. From Daniel Atallah (#403470)
126         
127 2007-04-19  Matthias Clasen  <mclasen@redhat.com>
128
129         * gtk/gtkicontheme.h:
130         * gtk/gtkicontheme.c: Add GTK_ICON_LOOKUP_GENERIC_FALLBACK
131         icon lookup flag and implement it.  (#396901, Luca Ferreti)
132         
133 2007-04-18  Richard Hult  <richard@imendio.com>
134
135         * gdk/quartz/gdkwindow-quartz.c:
136         (gdk_window_quartz_process_updates_internal),
137         (gdk_window_quartz_process_all_updates),
138         (gdk_window_impl_quartz_process_updates): Refactor the process 
139         updates functions to share code between them. Also fixes bug 
140         #427660 by not updating larger regions than necessary.
141
142 2007-04-18  Matthias Clasen  <mclasen@redhat.com>
143
144         * gdk/gdkregion-generic.h (GROWREGION): Handle the case
145         of nRects == 0 correctly.  
146         
147 2007-04-18  Emmanuele Bassi  <ebassi@gnome.org>
148
149         * gtk/gtkrecentmanager.c (gtk_recent_manager_lookup_item): Fix
150         a leak by not increasing the refcount of the GtkRecentInfo
151         object when returning it (thanks to Matthias Clasen).
152
153 2007-04-16  Alexander Larsson  <alexl@redhat.com>
154
155         * gtk/gtkprintoperation.c (gtk_print_operation_run):
156         Make async print preview work by actually starting
157         the print process in that case (#424168)
158
159 2007-04-14  Yevgen Muntyan <muntyan@tamu.edu>
160
161         * gtk/gtkselection.c (selection_get_text_plain): fixed
162         wrong g_convert_with_fallback() call which caused
163         gtk_selection_data_get_text() return invalid UTF-8 for
164         non-ASCII text in text/plain selection (#382824).
165
166 2007-04-12  Jakub Steiner <jimmac@ximian.com>
167
168         * gtk/stock-icons/*: update the stock icons to follow the Tango
169                 style guidelines
170
171 2007-04-11  Chris Wilson  <chris@chris-wilson.co.uk>
172
173         * gtk/gtkiconfactory.c (_gtk_icon_factory_list_ids):
174         * gtk/gtkstock.c (gtk_stock_list_ids):
175             Switch over to use glib's new g_hash_table_get_keys() rather
176             than our own static implementation.
177
178         * gtk/gtkiconfactory.h: Update to return a GList.
179
180         * configure.in: Bump required version to 2.13.1
181
182 2007-04-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
183
184         * gdk/quartz/gdkeventloop-quartz.c: Protect the polling thread
185           setup and shutdown function by mutexes and read the wakeup
186           pipe unconditionally and unblocking. This should make the main
187           loop always be woken up when using g_idle_add() from another
188           thread in the Quartz backend (#425271).
189
190 2007-04-10  Matthias Clasen  <mclasen@redhat.com>
191
192         * gdk/x11/xsettings-client.[hc]: Change the XSettingsWatchFunc
193         to return a Bool to indicate success. Update callers and 
194         implementors. Based on a patch by Owen Taylor.
195         
196         * gdk/x11/gdkevents-x11.c (gdk_xsettings_watch_cb): Don't
197         leak a reference to gdkwin.
198
199 2007-04-07  Xan Lopez  <xan@gnome.org>
200
201         * gtk/gtknotebook.c (gtk_notebook_class_init): 
202         s/arrow-size/arrow-spacing in the arrow-spacing
203         style property docs.
204
205 2007-04-06  Richard Hult  <richard@imendio.com>
206
207         * gdk/quartz/: Clean up namespaces to make the code more
208         maintainable.
209
210         * gdk/quartz/gdkdrawable-quartz.c:
211         * gdk/quartz/gdkgc-quartz.c: Fix bug #418384, alignment of tiled
212         images, by setting the pattern phase for the CG pattern.
213
214 2007-04-04  Kristian Rietveld  <kris@imendio.com>
215
216         * gtk/gtktooltip.c (tooltip_browse_mode_expired),
217         (gtk_tooltip_hide_tooltip), (tooltip_popup_timeout),
218         (gtk_tooltip_start_delay): use new gdk_threads API.
219
220 2007-04-03  Behdad Esfahbod  <behdad@gnome.org>
221
222         * gtk/gtksettings.c (settings_update_font_options): Don't set
223         metrics-hinting font option.  Rely on the default value which is
224         on for all raster cairo surfaces. (#425985)
225
226 2007-04-03  Loïc Minier  <lool@dooz.org>
227
228         * gdk/x11/gdkscreen-x11.c: (check_xfree_xinerama): Revert to
229         non-xinerama mode when XineramaQueryScreens returns NULL; patch from
230         Simon McVittie; #425786.
231
232 2007-04-02  Michael Natterer  <mitch@imendio.com>
233
234         * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): remove
235         artifact from the time when type checking casts warned on NULL,
236         some whitespace cleanup.
237
238 2007-04-01  Cody Russell  <bratsche@gnome.org>
239
240         * modules/engines/ms-windows/msw_style.c: Fix rendering of
241         notebook tabs when they are bottom-oriented.  Fixes #399253.
242
243 2007-03-31  Elijah Newren  <newren gmail com>
244
245         * gdk/x11/gdkwindow-x11.c (setup_toplevel_window,
246           gdk_x11_window_set_user_time):
247         Patch from Matthias to add support for the
248         _NET_WM_USER_TIME_WINDOW EWMH protocol; see #354213.
249
250         WARNING: This patch will make metacity <= 2.18.0 freeze on
251         workspace switch.  This is due to a weird problem that should only
252         affect window managers using gdk in-process for decoration drawing
253         and which make an unsafe assumption relating to doing so (i.e. it
254         should only affect metacity).  Upgrade your version of metacity if
255         you hit this bug.
256
257 2007-03-29  Michael Natterer  <mitch@imendio.com>
258
259         Don't close menus on clicks on their border area (bug #423761).
260         (modified patch from maemo-gtk).
261
262         * gtk/gtkmenu.c (gtk_menu_button_press)
263         (gtk_menu_button_release): bail out early if the click was on the
264         menu's border (not on any item and not outside the window).
265
266         (pointer_in_menu_window): new utility function which checks if
267         passed root coords are inside the menu_shell or one of its
268         parent shells.
269
270 2007-03-29  Michael Natterer  <mitch@imendio.com>
271
272         * gtk/gtkmenu.c: get rid of local GtkSettings variables by moving
273         gtk_widget_get_settings() into the g_object_get() call. Some small
274         indentation fixes.
275
276 2007-03-28  Matthias Clasen  <mclasen@redhat.com>
277
278         * modules/printbackends/cups/gtkcupsutils.[hc]:
279         * modules/printbackends/cups/gtkprintbackendcups.c: Apply
280         a patch by John Palmieri to make the cups print backend support
281         raw printers.  
282
283 2007-03-28  Kristian Rietveld  <kris@imendio.com>
284
285         * gtk/gtkwidget.c (gtk_widget_set_tooltip_window): don't unref
286         tooltip_window, since this is handled by set_qdata_full() already.
287         (#412001, Torsten Schoenfeld).
288
289 2007-03-27  Tor Lillqvist  <tml@novell.com>
290
291         * modules/input/Makefile.am: Use LDADDS for im-multipress.la, too: 
292
293 2007-03-26  Christian Persch  <chpe@gnome.org>
294
295         * gtk/gtkrc.c: (gtk_rc_context_get): Initialise variable. Bug #423064.
296
297 2007-03-24  Kristian Rietveld  <kris@gtk.org>
298
299         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
300         calculate the depth with the corrected real_cell_area and don't
301         subtract horizontal_separator/2.
302
303 2007-03-24  Andreas Nilsson <andreas@andreasn.se>
304
305         * gtk-yes.png
306         * gtk-no: More Tango love.
307
308 2007-03-23  Jakub Steiner <jimmac@ximian.com>
309
310         * gtk-dialog-authentication.svg
311         * gtk-dialog-error.svg
312         * gtk-dialog-info.svg
313         * gtk-dialog-question.svg
314         * gtk-dialog-warning.svg: Start with a Tango face-lift.
315
316 2007-03-23  Rodney Dawes  <dobey@novell.com>
317
318         * gtk/gtkicontheme.c: Fix a couple of comment typos (#421627)
319
320 2007-03-23  Matthias Clasen  <mclasen@redhat.com>
321
322         * gtk/gtkfilechooserdefault.c: Add a keybinding (C-h) to
323         toggle whether to show hidden files.  (#344657, 
324         Wouter Bolsterlee, Priit Laes, et al)
325
326 2007-03-23  Matthias Clasen  <mclasen@redhat.com>
327
328         * gtk/gtkfilechooserdefault.c: Add a keybinding (C-l) to
329         toggle the visibility of the location entry.  (#383354, 
330         John Pye, patch by Carlos Garnacho)
331
332 2007-03-22  Matthias Clasen  <mclasen@redhat.com>
333
334         * gtk/gtksettings.c (merge_color_scheme): Freeze property
335         notification.
336         * gtk/gtksettings.c (_gtk_settings_handle_event): Handle
337         the gtk-color-scheme xsetting being unset.
338
339         * gtk/gtkrc.c (gtk_rc_reparse_all_for_settings): Handle
340         recursion locally.
341
342 2007-03-21  Matthias Clasen  <mclasen@redhat.com>
343
344         * gtk/gtkprintoperation-unix.c: Remove leftover debug spew.
345
346 2007-03-21  Rodney Dawes  <dobey@novell.com>
347
348         * gtk/gtk.symbols:
349         * gtk/gtkicontheme.[ch]:
350         * docs/reference/gtk/gtk-sections.txt:
351         * tests/testicontheme.c:
352         Add a new API call gtk_icon_theme_list_contexts so that one can
353         choose icons from a theme by context (#420719)
354         
355 2007-03-21  Ross Burton  <ross@burtonini.com>
356
357         * gtk/gtktexttag.c:
358         Document the ::event signal (#420703).
359
360 2007-03-20  Kristian Rietveld  <kris@gtk.org>
361
362         * gtk/gtktreeviewcolumn.c:
363         * gtk/gtktreeprivate.h: add _gtk_tree_view_column_get_focus_area().
364
365         * gtk/gtktreeview.c (gtk_tree_view_clamp_column_visible): add
366         focus_to_cell parameter, rework to handle clamping columns which
367         are bigger than the available page size better,
368         (gtk_tree_view_key_press): remove code handling moving the focus
369         to other column headers,
370         (gtk_tree_view_header_focus): add clamp_column_visible parameter,
371         fix RTL support, don't wrap around when moving focus to other
372         column headers, call gtk_tree_view_clamp_column_visible() instead
373         of duplicating code,
374         (gtk_tree_view_focus): only clamp the column visible when we are
375         explicitly moving to another column header (fixes #399555, Charles
376         Kerr),
377         (gtk_tree_view_move_cursor_left_right): update call to
378         gtk_tree_view_clamp_column_visible().
379
380 2007-03-19  Matthias Clasen <mclasen@redhat.com> 
381
382         * demos/gtk-demo/appwindow.c: Explicitly set the title on the
383         about dialog.
384
385 2007-03-18  Matthias Clasen <mclasen@redhat.com> 
386
387         * gtk/gtkentrycompletion.c (gtk_entry_completion_compute_prefix):
388         Ensure that the prefix is valid UTF-8.  (#419568, Nickolay V. Shmyrev)
389
390 2007-03-18  Matthias Clasen <mclasen@redhat.com> 
391
392         * modules/input/gtkimcontextmultipress.[hc]:
393         * modules/input/im-multipress.conf:
394         * modules/input/immultipress.c:
395         * modules/input/README.multipress: Add the multipress input
396         method.  (#417446, Johannes Schmid, Murray Cumming)
397
398         * modules/input/Makefile.am: Glue
399
400 2007-03-17  Chris Wilson  <chris@chris-wilson.co.uk>
401
402         * gdk/x11/gdkvisual-x11.c (_gdk_visual_init):
403         Initialise nxvisuals to 0 in order to handle XGetVisualInfo()
404         failures gracefully. (#419171)
405
406 2007-03-17  Emmanuele Bassi  <ebassi@gnome.org>
407
408         * gtk/gtkrecentaction.c (recent_chooser_set_property),
409         (gtk_recent_action_set_property): Remove useless inlined
410         function and propagate the properties to the GtkRecentChooser
411         objects we create, instead of all the proxies.
412
413         (set_current_filter): Remove 'inline' marker.
414
415 2007-03-16  Emmanuele Bassi  <ebassi@gnome.org>
416
417         Apply changes suggested by Michael Natterer. (#338843)
418
419         * gtk/gtkaction.h:
420         * gtk/gtkaction.c: Rename get_submenu() to create_menu();
421         rename gtk_action_get_submenu() to gtk_action_create_menu().
422
423         * gtk/gtkrecentaction.c: Update for GtkAction change.
424
425         * gtk/gtkuimanager.c (update_node): Update for GtkAction change;
426         also, use the menu from the GtkAction for both menuitem and
427         toolitem nodes.
428
429 2007-03-16  Xan Lopez  <xan@gnome.org>
430
431         * gtk/gtkwidget.c: Fix documentation error in
432         gtk_widget_set_redraw_on_allocate.
433
434 2007-03-16  Matthias Clasen  <mclasen@redhat.com>
435
436         * gtk/gtkprintunixdialog.c (printer_added_cb): Scroll to
437         make the selected printer visible.  (#418403, Nickolay V. Shmyrev,
438         patch by Christian Persch)
439
440 2007-03-15  Federico Mena Quintero  <federico@novell.com>
441
442         Merged from gtk-2-10:
443
444         * gtk/gtkfilechooserdefault.c (find_good_size_from_style):
445         PANGO_PIXELS() gives us device units, which are *points* in
446         pangocairo's parlance, but we want actual pixels.  So, get the
447         screen's resolution to compute the actual number of pixels.
448         Fixes bug #418585.
449
450 2007-03-15  Emmanuele Bassi  <ebassi@gnome.org>
451
452         * gtk/gtkrecentmanager.c (gtk_recent_manager_add_item): Remove
453         unused GError; do not allocate GtkRecentData and use a variable
454         on the stack. (#418673, Morten Welinder)
455
456 2007-03-15  Emmanuele Bassi  <ebassi@gnome.org>
457
458         * gtk/gtkaction.[ch]: Add GtkActionClass::get_submenu() vfunc:
459         actions providing a menu item or a menu tool button with already
460         a submenu should return the GtkMenu widget.
461
462         * gtk/gtkuimanager.c (update_node): If an action provides its
463         own submenu, use it instead of adding an empty one
464
465         * gtk/gtkrecentaction.[ch]: Add GtkRecentAction, an action
466         implementing the GtkRecentChooser interface for displaying the
467         list of recently used files into menus and toolbars generated
468         using GtkUIManager. (#338843)
469
470         * gtk/Makefile.am:
471         * gtk/gtk.h:
472         * gtk/gtk.symbols: Add GtkRecentAction API to the build.
473
474         * tests/testactions.c: Exercise the GtkRecentAction API.
475
476 2007-03-15  Chris Wilson  <chris@chris-wilson.co.uk>
477
478         * gtk/gtkicontheme.c (ensure_valid_themes), (rescan_themes),
479         (gtk_icon_theme_rescan_if_needed): Protect ensure_valid_themes()
480         from recursion, which can happen for example if the app tries to
481         reload an icon from within a theme-changed handler. (#418531)
482
483 2007-03-15  Richard Hult  <richard@imendio.com>
484
485         * gdk/quartz/gdkmain-quartz.c: Add stubs for
486         gdk_notify_startup_complete_with_id and gdk_window_set_startup_id
487         here too.
488
489 2007-03-15  Emmanuele Bassi  <ebassi@gnome.org>
490
491         * gtk/gtkrecentmanager.c: Fix documentation errors. (Morten
492         Welinder)
493
494 2007-03-15  Tor Lillqvist  <tml@novell.com>
495
496         * gdk/gdk.symbols: Add gdk_notify_startup_complete_with_id and
497         gdk_window_set_startup_id.
498
499         * gdk/win32/gdkmain-win32.c: Add dummy implementations of the above.
500
501 2007-03-15  Emmanuele Bassi  <ebassi@gnome.org>
502
503         * gtk/gtkrecentchooserprivate.h:
504         * gtk/gtkrecentchooserutils.c: Move filtering of the recent
505         files list into the shared implementation; do the filtering
506         before the sorting, so that we always clamp on the desired
507         size. (#418219)
508
509         * gtk/gtkrecentchoosermenu.c: Remove the filtering of the
510         list, as it's already been done.
511
512         * gtk/gtkrecentchooserdefault.c: Ditto; also remove the
513         GtkTreeModelFilter: just reload the view if the sorting and
514         filtering properties change.
515
516         * gtk/testrecentchoosermenu.c: Exercise the limit property.
517
518 2007-03-14  Michael Natterer  <mitch@imendio.com>
519
520         Make gtk_widget_set_extension_events() work on already realized
521         widgets (bug #379550, Tommi Komulainen)
522
523         * gdk/x11/gdkinput.c (gdk_input_set_extension_events): allow to be
524         called multiple times without leaking and work correctly when
525         already realized (don't rely on a configure event following).
526
527         * gtk/gtkwidget.c (gtk_widget_set_extension_events_internal): new
528         internal function which walks the GdkWindow tree and sets the
529         extension events on all windows that belong to the widget.
530
531         (gtk_widget_realize)
532         (gtk_widget_set_extension_events): use the new function.
533
534 2007-03-14  Emmanuele Bassi  <ebassi@gnome.org>
535
536         Various clean ups in the GtkRecent code. (see #338843)
537
538         * gtk/gtkrecentchooserdefault.c:
539         * gtk/gtkrecentchoosermenu.c:
540         * gtk/gtkrecentchooserprivate.h:
541         * gtk/gtkrecentchooserutils.c: Move the recent chooser function
542         for getting the sorted and clamped list of recent files from the
543         manager outside the implementations.
544
545         * gtk/gtkrecentchooserdefault.c (chooser_set_sort_type): Repopulate
546         the list when the sorting order changes.
547
548         (gtk_recent_chooser_default_dispose),
549         (gtk_recent_chooser_default_finalize): Move object unref and
550         source removal from finalize to dispose.
551
552         * gtk/gtkrecentchooser.c (gtk_recent_chooser_type_init): Relax the
553         prerequisite for the GtkRecentChooser interface implementations,
554         from GtkObject to GObject.
555
556         (gtk_recent_chooser_class_init): Use GTK_PARAM_* instead of
557         G_PARAM_*
558
559 2007-03-13  Emmanuele Bassi  <ebassi@gnome.org>
560
561         Apply patch by Vytautas Liuolia for changing the startup
562         notification id on a window in the X11 backend. (#347375)
563
564         * gdk/gdk.h:
565         * gdk/gdkx.h:
566         * gdk/x11/gdkdisplay-x11.c: Add gdk_notify_startup_complete_with_id()
567         and gdk_x11_display_get_startup_notification_id().
568
569         * gdk/gdkwindow.h:
570         * gdk/x11/gdkwindow-x11.c: Add gdk_window_set_startup_id().
571
572         * gtk/gtkwindow.h:
573         * gtk/gtkwindow.c: Add gtk_window_set_startup_id(), used to
574         change the startup notification id.
575         
576         (gtk_window_class_init), (gtk_window_init),
577         (gtk_window_set_property): Add write-only "startup-id" property
578         to GtkWindow.
579
580         (gtk_window_realize): Set the startup notification id
581         on a GtkWindow if it's valid.
582
583         (gtk_window_map): If we have another valid startup notification
584         id then finish the notification process.
585
586 2007-03-13  Matthias Clasen  <mclasen@redhat.com>
587
588         * gtk/gtknotebook.c (gtk_notebook_real_insert_page):
589         Fix tabbed browsing in epiphany.  (#413664, Christian Persch)
590
591 2007-03-12  Matthias Clasen  <mclasen@redhat.com>
592
593         * gtk/gtksizegroup.c (gtk_size_group_add_widget): Clarify
594         docs.  (#345844, Torsten Schoenfeld)
595
596         * gdk/x11/gdkevents-x11.c (gdk_display_add_client_message_filter):
597         * gdk/gdkwindow.c (gdk_window_add_filter): Add
598         cross-references.  (#351252, Vincent Untz)
599
600         * gtk/gtkprintoperation.c: Fix an oversight in an
601         example.  (#381083, Ian Puleston)
602
603         * gtk/gtkcombobox.c: Clean up and clarify docs.  (#412484)
604
605 2007-03-12  Matthias Clasen  <mclasen@redhat.com>
606
607         * gtk/gtkspinbutton.c (gtk_spin_button_style_set): Set
608         the background of the panel window on style changes. (#402144,
609         Benjamin Berg)
610
611 2007-03-12  Matthias Clasen  <mclasen@redhat.com>
612
613         * gtk/gtkbindings.c (gtk_binding_entry_add_signal): Remove
614         an obsolete comment.  (#402169, Xan Lopez)
615
616 2007-03-12  Matthias Clasen  <mclasen@redhat.com>
617
618         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_property):
619         Don't copy PangoLanguage.  (#340031, Morten Welinder)
620
621 2007-03-12  Matthias Clasen  <mclasen@redhat.com>
622
623         * gtk/gtkfilechooserbutton.c (change_icon_theme_get_info_cb):
624         Handle the row reference path being NULL.  (#410565, Joe Markus
625         Clarke, patch by Chris Wilson)
626
627 2007-03-11  Matthias Clasen  <mclasen@redhat.com>
628
629         * tests/testiconview.c: Handle Menu key presses without
630         crash.  (#385637, Christian Persch)
631
632 2007-03-11  Matthias Clasen  <mclasen@redhat.com>
633
634         * gtk/gtktooltips.c (gtk_tooltips_get_info_from_tip_window):
635         Don't crash if active_tips_data is NULL.  (#382904, Li Yuan)
636
637 2007-03-11  Matthias Clasen  <mclasen@redhat.com>
638
639         * gtk/gtktextview.c (gtk_text_view_set_buffer): Set first_para_mark
640         to NULL.  (#396805, Colin Leroy, patch by Mariano Suárez-Alvarez)
641         
642 2007-03-12  Kristian Rietveld  <kris@gtk.org>
643
644         * gtk/gtkfilechooserdefault.c (check_save_entry): immediately
645         bail out if current_folder is NULL. (#350988, lots of reporters,
646         modified patch by Jan Darmochwal).
647
648 2007-03-10  Kristian Rietveld  <kris@gtk.org>
649
650         * gtk/gtktreeview.c (gtk_tree_view_search_dialog_hide): only
651         hide the search dialog and send focus events if the search dialog
652         is currently visible.
653
654 2007-03-10  Richard Hult  <richard@imendio.com>
655
656         * gdk/quartz/gdkdrawable-quartz.c:
657         (gdk_quartz_ref_cairo_surface): Reuse the surface during its lifetime.
658         (gdk_quartz_drawable_get_context): Update for the new quartz cairo 
659         surface API (#410442). Don't lock focus unless called outside of an 
660         expose event.
661         (gdk_quartz_drawable_release_context): Only flush the CG context and 
662         unlock focus if called outside of expose.
663         (_gdk_quartz_drawable_finish): New function, used to free the cached
664         cairo surface.
665
666         * gdk/quartz/gdkwindow-quartz.c:
667         (gdk_window_impl_quartz_begin_paint_region): A few small style changes.
668         (_gdk_window_impl_quartz_get_type): No need to make the type info
669         static.
670         (gdk_window_quartz_process_all_updates): Move the autorelease pool
671         allocation and freeing outside the loop.
672         (_gdk_windowing_window_destroy): Finish the drawable.
673         (move_resize_window_internal): Small cleanup and remove comment.
674
675         * gdk/quartz/gdkpixmap-quartz.c: Finish the drawable.
676
677 2007-03-10  Richard Hult  <richard@imendio.com>
678
679         * gdk/quartz/gdkprivate-quartz.h: Add missing function signature to fix
680         a build warning.
681
682 2007-03-10  Richard Hult  <richard@imendio.com>
683
684         * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_get_name): Plug a leak.
685
686 2007-03-10  Richard Hult  <richard@imendio.com>
687
688         * gdk/quartz/GdkQuartzView.c: Remove unneccesary exposure mask check.
689
690 2007-03-10  Richard Hult  <richard@imendio.com>
691
692         * gdk/quartz/gdkevents-quartz.c: (gdk_screen_get_setting): Don't set
693         the font name here, leave that to themes, fixes #387508.
694
695 2007-03-10  Kristian Rietveld  <kris@gtk.org>
696
697         * gtk/gtktreemodelsort.c (gtk_tree_model_sort_ref_node),
698         (gtk_tree_model_sort_real_unref_node): when (un)reffing an
699         element, also (un)ref its parent elements. (Fixes #364946,
700         reported by many, testcase by Andreas Koehler).
701
702 2007-03-10  Matthias Clasen <mclasen@redhat.com>
703
704         * gtk/gtkprintoperation-unix.c: Initialize the do_preview
705         field of PrintResponseData.  (#396703, Christian Persch)
706
707         * tests/print-editor.c: Plug some leaks.
708
709 2007-03-09  Matthias Clasen <mclasen@redhat.com>
710
711         * gtk/gtktextview.c (gtk_text_view_end_selection_drag):
712         Get rid of the unused event argument. Update all callers.
713
714         * gtk/gtktextview.c (gtk_text_view_focus_out): Call
715         gtk_text_view_end_selection_drag.  (#351671, Boyd Timothy)
716
717 2007-03-09  Matthias Clasen <mclasen@redhat.com>
718
719         * modules/input/gtkimcontextxim.c 
720         (gtk_im_context_xim_filter_keypress): Don't commit
721         modifier-adorned characters.  (#331369, #335796, Lin Ma
722         and others)
723
724 2007-03-09  Matthias Clasen <mclasen@redhat.com>
725
726         * Everywhere: Remove unnecessary NULL checks before
727         g_free().  (#369666, Morten Welinder, Djihed Afifi)
728
729         * configure.in: Check for ftw.h
730
731 2007-03-09  Matthias Clasen <mclasen@redhat.com>
732
733         * gtk/gtkfilesystemwin32.c (get_icon_path): Remove
734         C99isms.  (#416525, Kazuki Iwamoto)
735
736 2007-03-09  Tor Lillqvist  <tml@novell.com>
737
738         * README.win32: Update.
739
740 2007-03-08  Matthias Clasen <mclasen@redhat.com>
741
742         * gdk/x11/gdkasync.c (send_event_handler): Defer the callbacks
743         to an idle to avoid deadlock with xcb-ified libX11.  (#413032,
744         Sebastian Dröge)
745
746 2007-03-08  Matthias Clasen <mclasen@redhat.com>
747
748         * gtk/gtknotebook.c (gtk_notebook_real_insert_page):
749         Set child visibility to FALSE here; it will be turned
750         back on in switch_page.  (#413664, Carlos Garnacho)
751         
752 2007-03-08  Mathias Hasselmann <mathias.hasselmann@gmx.de>
753
754         * modules/engines/ms-windows/msw_style.c: Use proper border style
755         when drawing shadow of scrolled windows on Windows XP (#168326)
756         * modules/engines/ms-windows/xp_theme.c: Explicitly set size of
757         element_part_map array to ensure it always is large enough.
758         
759 2007-03-08  Mathias Hasselmann <mathias.hasselmann@gmx.de>      
760
761         * gtk/gtkcombobox.c: Add shadow-type style property, set shadow-type
762         property of GtkEntry accordingly, unify size-allocation of toggle
763         button (#411123, patch from Mathias Hasselmann).
764         * gtk/gtkentry.c: Add shadow-type property. Query style properties
765         on style changes only (#411123, patch from Mathias Hasselmann).
766         * modules/engines/ms-windows/msw_style.c: Drop combo_box_draw_box
767         hack as GtkComboBox emits drawing requests now (#411123, patch 
768         from Mathias Hasselmann).
769         
770 2007-03-08  Mathias Hasselmann <mathias.hasselmann@gmx.de>
771
772         * gtk/gtkscrolledindow.c: Improve look of GtkScrolledWindow on Windows
773         by implementing a scrollbars-within-bevel style property. (#168326)
774         
775 2007-03-08  Mathias Hasselmann <mathias.hasselmann@gmx.de>
776
777         * gtk/gtkfilesystemwin32.c: Use Windows shell icons. Icons are
778         stored in the current theme with the name
779         "gtk-win32-shell-icon;PATH;INDEX". PATH and INDEX reference shell
780         icons as reported by SHGetFileInfoW. (#412221)
781
782 2007-03-07  Matthias Clasen <mclasen@redhat.com>
783
784         * gtk/gtkexpander.c (gtk_expander_paint_focus): Draw the
785         focus around the arrow if there is no label widget.  
786         (#124045, Cody Russell)
787
788 2007-03-07  Matthias Clasen <mclasen@redhat.com>
789
790         * gtk/gtkcombo.c: (gtk_combo_init):
791         * gtk/gtkcombobox.c: (gtk_combo_box_set_popup_widget),
792         (gtk_combo_box_menu_setup):
793         Set names on the popup widgets to make them themable. (#414975, 
794         Benjamin Berg)
795
796 2007-03-07  Michael Natterer  <mitch@imendio.com>
797
798         * gtk/gtkcellrendereraccel.c: use multihead safe ungrab functions
799         instead of gdk_keyboard_ungrab() and gdk_pointer_ungrab(), remove
800         empty finalize() implementation, some cosmetic cleanup
801         (bug #415645).
802
803 2007-03-06  Chris Wilson  <chris@chris-wilson.co.uk>
804
805         * gtk/gtkicontheme.c (update_current_theme), (gtk_icon_theme_init),
806         (do_theme_change), (gtk_icon_theme_set_custom_theme),
807         (load_themes):
808         Be careful not to trigger a style reset before we have loaded
809         the icon theme. (#414875).
810
811 2007-03-06  Tor Lillqvist  <tml@novell.com>
812
813         * gdk/Makefile.am
814         * gtk/Makefile.am: Further fixes for building on Win32 outside
815         srcdir. (#413492, Mathias Hasselmann)
816
817 2007-03-04  Ihar Hrachyshka <iharh@gnome.org>
818
819         * configure.in: Added be@latin to ALL_LINGUAS. Problems seems to be
820         fixed.
821
822 2007-03-04  Claudio Saavedra  <csaavedra@alumnos.utalca.cl>
823
824         * configure.in: Removed be@latin from ALL_LINGUAS, as it's currently
825         breaking the build.
826
827 2007-03-04  Ihar Hrachyshka <iharh@gnome.org>
828
829         * configure.in: Added be@latin to ALL_LINGUAS
830
831 2007-03-03  Guillaume Savaton <llumeao@gmail.com>
832
833         * configure.in: Added Esperanto (eo) to ALL_LINGUAS
834
835 2007-03-01  Matthias Clasen <mclasen@redhat.com>
836
837         * gtk/gtksettings.c: Always store gtk-color-scheme
838         values from all sources in the ColorSchemeData struct
839         and ignore the property_value for gtk-color-scheme.
840         This fixes #412596, reported by Thomas Wood.
841
842 2007-02-28  Matthias Clasen <mclasen@redhat.com>
843
844         * gtk/gtksettings.c: Make color scheme update properly
845         when changing themes.  (#402131, Benjamin Berg)
846
847 2007-02-28  Matthias Clasen <mclasen@redhat.com>
848
849         * gtk/gtkrc.c: Don't leak references to the color-hash 
850         gotten from GtkSettings.  (#409357, Benjamin Berg)
851
852 2007-02-28  Tristan Van Berkom <tvb@gnome.org>
853
854         * gtk/gtkradiobutton.c: Fixed a warning from
855         g_object_set (radiobutton, "group", NULL, NULL).
856
857 2007-02-26  Matthias Clasen <mclasen@redhat.com>
858
859         Apply a patch by Carlos Garnacho to fix several problems
860         with filechooser size handling (#325477, #151169, 143213,
861         #153785)
862
863         * gtk/gtkfilechooserdefault.c: Increase NUM_LINES slightly.
864         (browse_widgets_create): Don't force the paned position to 200.
865         (find_good_size_from_style): Take the size of the extra widget
866         into account.
867
868         * gtk/gtkfilechooserdialog.c (file_chooser_widget_update_hints):
869         Accept a minimal width parameter. Update all callers.
870
871 2007-02-26  Matthias Clasen <mclasen@redhat.com>
872
873         * gtk/gtkprintunixdialog.c: Change the label to "Pages per side",
874         which is more accurate, suggested by Tim Waugh. String change! 
875
876 2007-02-26  Matthias Clasen <mclasen@redhat.com>
877
878         * gtk/gtkprinteroptionwidget.c: Make the folder selection for
879         print-to-file work. Reported by Ian Collier.
880
881 2007-02-26  Chris Wilson  <chris@chris-wilson.co.uk>
882
883         Bug 409101 – invalid read to gtkicontheme.c insert_theme(), might cause gnome-panel crash
884
885         * gtk/gtkicontheme.c: (scan_directory):
886                 Reorder the replacement of the shared base_name key, so that we
887                 avoid dereferencing the string in the icon_theme->all_icon
888                 hash table after freeing it from the dir->icons hash table.
889
890 2007-02-26  Tor Lillqvist  <tml@novell.com>
891
892         * gdk/win32/gdkwindow-win32.c (gdk_window_set_icon_name): Add
893         comment clarifying that "icon name" here is not related to the
894         freedesktop.org icon naming stuff.
895
896 2007-02-23  Dom Lachowicz  <domlachowicz@gmail.com>
897
898         * modules/engines/ms-windows/msw_style.c: Bug 411118 - bad bevel for
899         progress bar on windows classic. Match from Mathias Hasselmann.
900         
901 2007-02-19  Tor Lillqvist  <tml@novell.com>
902
903         * gdk/win32/gdkinput.c
904         (gdk_device_finalize, gdk_device_class_init): Remove.
905         (gdk_device_get_type): Drop class init function. The X11 version
906         doesn't have one either.
907         (gdk_devices_list): Call gdk_display_list_devices() on _gdk_display.
908         (gdk_display_list_devices): Check that the argument is
909         _gdk_display.
910
911         * gdk/win32/gdkinput-win32.h (GdkAxisInfo, GdkDevicePrivate):
912         Cleanup: remove unused fields.
913         * gdk/win32/gdkinput-win32.c: Corresponding changes. Fix function
914         names in a few debugging printouts.
915
916 2007-02-18  Matthias Clasen  <mclasen@redhat.com>
917
918         * gtk/gtktextlayout.c (gtk_text_layout_move_iter_visually):
919         Ignore invisible text when going to end of the previous line.
920         (#382565)
921
922 2007-02-18  Richard Hult  <richard@imendio.com>
923
924         * gdk/quartz/gdkwindow-quartz.c:
925         (gdk_window_quartz_process_all_updates),
926         (_gdk_windowing_window_destroy): Setup release pools to plug two leaks,
927         patch from Erik van Pienbroek, fixes bug #396649.
928
929 2007-02-18  Richard Hult  <richard@imendio.com>
930
931         * gdk/quartz/gdkevents-quartz.c: Add stub for 
932         gdk_display_add_client_message_filter, patch from Taybin Rutkin. Fixes
933         bug #405870.
934
935         * gdk/quartz/gdkprivate-quartz.h: Add prototypes to fix build warnings.
936
937 2007-02-18  Richard Hult  <richard@imendio.com>
938
939         * gdk/quartz/GdkQuartzView.h:
940         * gdk/quartz/GdkQuartzWindow.h:
941         * gdk/quartz/gdkquartz.h: Import AppKit.h instead of Quartz.h.
942         * gdk/quartz/gdkscreen-quartz.c: (get_mm_from_pixels): Don't use 
943         userSpaceScaleFactor for 10.3. Those changes bring us closer to working
944         on panther, patch from Mathias Hasselmann.
945         
946         * gdk/quartz/gdkeventloop-quartz.c: Add includes to fix build warnings.
947
948 2007-02-16  Behdad Esfahbod  <behdad@gnome.org>
949
950         * gdk/gdkpango.c (gdk_pango_layout_get_clip_region): Use PANGO_PIXELS
951         instead of division. (#334617)
952
953 2007-02-16  Kristian Rietveld  <kris@gtk.org>
954
955         * gtk/gtktreeprivate.h: add cursor_offset field.
956
957         * gtk/gtktreeview.c (gtk_tree_view_init),
958         (gtk_tree_view_move_cursor_page_up_down): fix off by one error
959         in page up/down handling by memorizing the offset into the cursor
960         row.  (Fixes #399809, reported by Bruce Bowler).
961
962 2007-02-16  Kristian Rietveld  <kris@gtk.org>
963
964         * gtk/gtktreeview.c (gtk_tree_view_search_dialog_hide): send
965         a focus-in event to the tree view after hiding the search dialog.
966         (#356515, Rich Burridge, Peter Parente).
967
968 2007-02-16  Kristian Rietveld  <kris@imendio.com>
969
970         * tests/testtooltips.c (query_tooltip_text_view_cb): also handle
971         keyboard tooltips. (#408325, Matthias Clasen).
972
973 2007-02-16  Xan Lopez  <xan@gnome.org>
974
975         * gtk/gtkcombobox.c (gtk_combo_box_expose_event): Cleanup the logic
976         in expose event handler. Reviewed by Matthias Clasen, #406112
977
978 2007-02-16  Matthias Clasen  <mclasen@redhat.com>
979
980         * gtk/gtkmain.c: Run pre_parse_hook only once.  (#403139, Kjartan
981         Maraas)
982
983 2007-02-15  Matthias Clasen  <mclasen@redhat.com>
984
985         * gdk/x11/gdmain-x11.c (_gdk_xgrab_check_button_event): Be more
986         careful when checking for ButtonRelease events that end implicit
987         grabs.  (#386618, Christof Krüger)
988
989 2007-02-15  Matthias Clasen  <mclasen@redhat.com>
990
991         * gtk/gtktextbtree.c (_gtk_text_btree_delete): Free the lines
992         even if there are no views.  (#408018, Albert Huang)
993
994 2007-02-15  Cody Russell  <bratsche@gnome.org>
995
996         * gdk/win32/gdkevents-win32.c: Make sure we get enough main context 
997         iterations while we're resizing so that the window contents are resized 
998         more smoothly (#389765).
999
1000         * gdk/win32/gdkevents-win32.c: Fix flickering widgets when window contents
1001         are resized (#310522).
1002
1003 2007-02-15  Matthias Clasen  <mclasen@redhat.com>
1004
1005         * gtk/updateiconcache.c: Handle symlinked .icon files 
1006         intelligently; also avoid storing duplicate strings.
1007
1008 2007-02-15  Michael Natterer  <mitch@imendio.com>
1009
1010         * gtk/gtkmenushell.c: remove two antique function typedefs that
1011         are probably obsolete for ages.
1012
1013 2007-02-14  Stefan Kost  <ensonic@users.sf.net>
1014
1015         reviewed by: Matthias Clasen  <mclasen@redhat.com>
1016
1017         * configure.in: determine installation prefixes of dependent libs to
1018         crossreference docs (#407146).
1019
1020 2007-02-14  Kristian Rietveld  <kris@imendio.com>
1021
1022         * gtk/gtktooltip.c (child_location_foreach): check return value
1023         of gtk_widget_translate_coordinates() so we cannot end up
1024         using uninitialized x, y values.  (#407863, patch from Carlos
1025         Garnacho).
1026
1027 2007-02-14  Kristian Rietveld  <kris@imendio.com>
1028
1029         * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_realize_button):
1030         use TREE_VIEW_DRAG_WIDTH/2 when calculating the drag window
1031         position instead of a hardcoded value.  (Taken from maemo-gtk).
1032
1033 2007-02-14  Michael Natterer  <mitch@imendio.com>
1034
1035         * gtk/gtkmenu.c (gtk_menu_motion_notify): don't forget to set the
1036         state of the synthesized GDK_ENTER_NOTIFY event. Fix taken from
1037         maemo-gtk.
1038
1039 2007-02-13  Kristian Rietveld  <kris@imendio.com>
1040
1041         * gtk/gtktooltip.c (gtk_tooltip_hide_tooltip): stop any
1042         pending tooltip timeout. (Fixes #406110, Carlos Garnacho).
1043
1044 2007-02-10  Emmanuele Bassi  <ebassi@gnome.org>
1045
1046         * gtk/gtkrecentchoosermenu.c: Fix the english of the comment;
1047         remove some type checking; use better variable naming for the
1048         internal menu item markers.
1049
1050 2007-02-09  Emmanuele Bassi  <ebassi@gnome.org>
1051
1052         * gtk/gtkrecentchoosermenu.c: Add support for both prepending
1053         and appending custom menu items.
1054
1055         (gtk_recent_chooser_menu_constructor): Add a placeholder menu
1056         item for the empty menu case, and for giving us a starting
1057         point for the recent items populating process.
1058
1059         (gtk_recent_chooser_menu_insert_item),
1060         (gtk_recent_chooser_menu_dispose_items): Insert an item at
1061         the position following the placeholder (and find that position
1062         if needed).
1063
1064         (idle_populate_func), (idle_populate_clean_up): Show the
1065         placeholder menu item, instead of creating one each time.
1066
1067         (gtk_recent_chooser_menu_populate): Kill some indirections
1068         and hide the placeholder before populating the menu.
1069
1070         (set_recent_manager): Remember to remove the idle population
1071         source if the manager changes.
1072
1073         * tests/testrecentchoosermenu.c: Test the appending and
1074         prepending of the menu items to the recent chooser menu
1075         widget.
1076
1077 2007-02-08  Emmanuele Bassi  <ebassi@gnome.org>
1078
1079         * gtk/gtkrecentchoosermenu.c (idle_populate_func): Keep count
1080         of the displayed items to build the menu items mnemonic instead
1081         of the overall item count. (#377164)
1082
1083         (idle_populate_clean_up): Append a menu item if all the items
1084         got filtered in the idle populate function. (#405696)
1085
1086         * tests/Makefile.am:
1087         * tests/testrecentchoosermenu.c: Add a test for the
1088         GtkRecentChooserMenu widget.
1089
1090 Thu Feb  8 13:07:08 2007  Tim Janik  <timj@imendio.com>
1091
1092         * applied patch from Xan Lopez which adds GTK_BUTTONBOX_CENTER to
1093         GtkButtonBox (bug #336159).
1094
1095         * gtk/gtkenums.h:
1096         * gtk/gtkvbbox.c, gtk/gtkhbbox.c, gtk/gtkbbox.c:
1097         support GTK_BUTTONBOX_CENTER.
1098
1099         * tests/testbbox.c: new button box test, which allows testing of 
1100         the various button box properties.
1101
1102         * tests/testgtk.c: added GTK_BUTTONBOX_CENTER. to button box test.
1103
1104 2007-02-07  Cody Russell  <bratsche@gnome.org>
1105
1106         * gdk/gdk.symbols: Add gdk_event_request_motions
1107
1108 Wed Feb  7 19:03:28 2007  Tim Janik  <timj@gtk.org>
1109
1110         * gtk/gtkentry.c (gtk_entry_motion_notify): fixed motion request 
1111         condition which was wrongly ported with my last commit.
1112
1113 Tue Feb  6 15:53:59 2007  Tim Janik  <timj@imendio.com>
1114
1115         * gtk/gtktextview.c (gtk_text_view_motion_event):
1116         * gtk/gtkspinbutton.c (gtk_spin_button_motion_notify):
1117         * gtk/gtkaboutdialog.c (credits_motion_notify_event):
1118         * gtk/gtkhruler.c (gtk_hruler_motion_notify):
1119         * gtk/gtkvruler.c (gtk_vruler_motion_notify): 
1120         * gtk/gtkentry.c (gtk_entry_motion_notify):
1121         * gtk/gtktooltip.c (_gtk_tooltip_handle_event):
1122         * gtk/gtkhsv.c (gtk_hsv_motion): call gdk_event_request_motions()
1123         for new motion events after receiving motion hints.
1124
1125         * gdk/gdkevents.[hc]: added gdk_event_request_motions().
1126
1127 2007-02-06  Kristian Rietveld  <kris@imendio.com>
1128
1129         * gtk/gtktooltip.c (find_topmost_widget_coords_from_event):
1130         remove unused get of has_tooltip.
1131
1132         * tests/testtooltips.c (query_tooltip_tree_view_cb): use the
1133         portable g_snprintf instead of snprintf.
1134
1135 2007-02-06  Michael Natterer  <mitch@imendio.com>
1136
1137         * gtk/gtktooltip.c (gtk_tooltip_finalize): chain up.
1138
1139         (gtk_tooltip_show_tooltip): move variables and code to local
1140         scope. Fixes warnings about maybe uninitialized variables.
1141
1142 2007-02-06  Kristian Rietveld  <kris@imendio.com>
1143
1144         New tooltips API.
1145
1146         * gtk/Makefile.am
1147         * gtk/gtk.h
1148         * gtk/gtk.symbols: build system foo.
1149
1150         * gtk/gtkmain.c (gtk_main_do_event): call tooltip event handler
1151         hook for appropriate events.
1152
1153         * gtk/gtkmarshalers.list: add BOOLEAN:INT,INT,BOOLEAN,OBJECT.
1154
1155         * gtk/gtkrc.c: add style for gtk-tooltip.
1156
1157         * gtk/gtksettings.c (gtk_settings_class_init): make the
1158         different tooltip timeouts configurable.
1159
1160         * gtk/gtkwidget.[ch]: add new properties, signals, make sure
1161         tooltips are hidden on unmap, destroy, update window event
1162         mask on realize, hook into focus change and show help
1163         handlers.
1164
1165         * gtk/gtkwindow.h: move GtkWindow typdef to gtkwidget.h ...
1166
1167         * gtk/gtktooltip.[ch]: new files.
1168
1169         * tests/Makefile.am
1170         * tests/testtooltips.c: add test application.
1171
1172 2007-02-05  Dom Lachowicz <domlachowicz@gmail.com>
1173
1174         * modules/engines/ms-windows/msw_style.c: Fix bug 404506, caused
1175         by prematurely releasing a DC. By Hiroyuki Yamamoto
1176         * modules/engines/ms-windows/msw_style.c: Fix bug 403470 - leaking 
1177         pixbufs when drawing rotated tabs. By Daniel Atallah
1178         
1179 2007-02-05  Michael Natterer  <mitch@imendio.com>
1180
1181         * gtk/gtksettings.c: add new boolean settings gtk-enable-accels
1182         and gtk-enable-mnemonics which enable/disable accelerators and
1183         mnemonics (bug #72375, based on a patch from Tommi Komulainen).
1184
1185         * gtk/gtkwindow.c (gtk_window_activate_key)
1186         * gtk/gtkmenushell.c (gtk_menu_shell_key_press): don't invoke them
1187         if the resp. setting is FALSE.
1188
1189         * gtk/gtkaccellabel.c (gtk_accel_label_refetch)
1190         * gtk/gtklabel.c (gtk_label_set_pattern_internal): don't display
1191         them if the setting is FALSE.
1192
1193         * gtk/gtklabel.c: added signal connection to the screen's settings
1194         object and traverse all widgets on the screen when the setting
1195         changes. It's slightly ugly to also update GtkAccelLabels here,
1196         but less ugly than connecting and traversing all widgets twice.
1197
1198 2007-02-05  Michael Natterer  <mitch@imendio.com>
1199
1200         * gtk/gtktextbuffer.h (enum GtkTextBufferTargetInfo): changed
1201         values from G_MAXUINT-0, -1, -2 to -1, -2, -3 so we stay within
1202         ansi C enum value limits. Fixes bug #46757.
1203
1204 2007-02-03  Soren Sandmann <sandmann@daimi.au.dk>
1205
1206         * gtk/gtksequence.[ch]: Remove these files since GSequence has
1207         been moved into GLib.
1208
1209         * gtk/gtkliststore.c: Port to GSequence instead of GtkSequence.
1210
1211         * configure.in: Require glib-2.13.0
1212         
1213 2007-02-04  Tor Lillqvist  <tml@novell.com>
1214
1215         * gdk/win32/gdkcursor-win32.c: Don't define BITMAPV5HEADER on
1216         mingw with w32api >= 3.8, which has it in wingdi.h. (#403896)
1217
1218 2007-02-02  Kristian Rietveld  <kris@gtk.org>
1219
1220         * gtk/gtktreeview.c (gtk_tree_view_row_changed): remove unused
1221         style_get of vertical-separator. (#403165, Chris Wilson).
1222
1223 2007-02-02  Christian Persch  <chpe@svn.gnome.org>
1224
1225         * gtk/gtkfilechoosersettings.c: (get_config_filename),
1226         (ensure_settings_read), (_gtk_file_chooser_settings_init),
1227         (_gtk_file_chooser_settings_set_show_hidden),
1228         (_gtk_file_chooser_settings_set_expand_folders),
1229         (_gtk_file_chooser_settings_save): Use a simple key file instead of a
1230         markup file. Bug #399592.
1231
1232 2007-02-02  Mariano Suárez-Alvarez  <mariano@gnome.org>
1233
1234         * gtk/gtkcellrenderertext.c(gtk_cell_renderer_text_class_init):
1235         be a little more helpful with the docs on GtkCellRendererText:alignment.
1236         Bug #403409.
1237
1238 2007-02-01  Michael Natterer  <mitch@imendio.com>
1239
1240         * gtk/gtkmenu.c (gtk_menu_paint): pass &event->area to
1241         gtk_paint_box() calls.
1242
1243 2007-02-01  Michael Natterer  <mitch@imendio.com>
1244
1245         * gtk/gtkmenu.c (gtk_menu_button_press)
1246         (gtk_menu_button_release)
1247         (gtk_menu_button_scroll): remove redundant and confusing
1248         if (GTK_IS_MENU (widget)) checks because "widget" is always a
1249         GtkMenu here.
1250
1251 Thu Feb  1 12:22:06 2007  Tim Janik  <timj@imendio.com>
1252
1253         * gtk/gtkcombobox.c (gtk_combo_box_list_destroy): remove extra reference
1254         that gtkcombobox keeps on priv->popup_widget if it's a tree view.
1255
1256 2007-01-31  Christian Persch  <chpe@svn.gnome.org>
1257
1258         * gtk/gtkaboutdialog.c: (update_credits_button_visibility),
1259         (gtk_about_dialog_set_authors), (gtk_about_dialog_set_documenters),
1260         (gtk_about_dialog_set_artists),
1261         (gtk_about_dialog_set_translator_credits): Hide the Credits button iff
1262         there are no credits to show. Bug #402806.
1263
1264 2007-01-31  Tor Lillqvist  <tml@novell.com>
1265
1266         * gdk/win32/gdkinput-win32.c (print_cursor): New debugging
1267         function.
1268         (_gdk_input_wintab_init_check): Call it when debugging output is
1269         requested.
1270         (_gdk_input_wintab_init_check): Skip duplicated cursors for Wacom
1271         tablets. The Wacom driver reports duplicated cursors with
1272         physid==0. Fix verified by Robert Ögren.
1273
1274 2007-01-30  Felix Riemann  <friemann@svn.gnome.org>
1275
1276         * modules/printbackends/file/gtkprintbackendfile.c:
1277         (file_printer_get_options): Fix leaked string. Fixes bug #402565.
1278
1279 2007-01-30  Matthias Clasen  <mclasen@redhat.com>
1280
1281         * gdk/x11/gdkwindow-x11.c (gdk_x11_window_move_to_current_desktop):
1282         (gdk_x11_window_set_user_time): Be more careful about toplevel
1283         possibly being NULL.  (#402453, Sebastian Bacher)
1284
1285 Tue Jan 30 12:09:56 2007  Tim Janik  <timj@gtk.org>
1286
1287         * gtk/gtksettings.c: cleaned up ::color-hash registration to not abuse
1288         class_n_properties and leave an uninitialized value array behind.
1289
1290 2007-01-29  Michael Natterer  <mitch@imendio.com>
1291
1292         * gtk/gtkmenuitem.c (gtk_menu_item_select)
1293         (gtk_menu_item_deselect): queue a draw on the parent_menu_item of
1294         this menu item's menu, to enable themeing menu items depending on
1295         whether something is selected in their submenu (patch taken from
1296         maemo-gtk).
1297
1298 2007-01-28  Matthias Clasen  <mclasen@redhat.com>
1299
1300         * gtk/gtktoolbar.c: Reinstate gtk_toolbar_content_new_compatibility()
1301         that was mistakenly "cleaned up" a while ago. Also
1302         revert a problematic change to the screen_changed
1303         handler.  (#401598, Søren Sandmann)
1304
1305 2007-01-28  Matthias Clasen  <mclasen@redhat.com>
1306
1307         * gtk/gtkframe.c (gtk_frame_size_allocation): Fix a 
1308         problem with large y thickness.  (#136592, Xan Lopez)
1309
1310 2007-01-28  Matthias Clasen  <mclasen@redhat.com>
1311
1312         * gtk/gtkaction.c (gtk_action_new): Use canonical
1313         property names.  
1314
1315 2007-01-27  Matthias Clasen  <mclasen@redhat.com>
1316
1317         * gtk/gtknotebook.c (gtk_notebook_draw_arrow):
1318         (gtk_notebook_draw_focus): Avoid some unnecessary 
1319         gtk_widget_get_style() calls.
1320
1321 2007-01-27  Matthias Clasen  <mclasen@redhat.com>
1322
1323         * gtk/gtktoolbar.c:
1324         * gtk/gtktoolitem.c:
1325         * gtk/gtktoolbutton.c: Rearrange things so that setting
1326         multiple properties causes not more than a single 
1327         reconstruction of the contents.
1328
1329         * gtk/gtkaction.c (connect_proxy): Set all tool button 
1330         properties in one go.
1331
1332 2007-01-27  Matthias Clasen  <mclasen@redhat.com>
1333
1334         * gtk/gtkstatusicon.c:
1335         * gtk/gtktrayicon-x11.c: Fix GtkStatusIcon to not
1336         take up space on the panel if it is invisible.  (340110, Christian
1337         Persch)
1338
1339         * tests/teststatusicon.c:
1340         * tests/Makefile.am: Updates
1341
1342 2007-01-27  Matthias Clasen  <mclasen@redhat.com>
1343
1344         * gtk/gtkfilesel.h:
1345         * gtk/gtkrc.h:
1346         * gtk/gtk.symbols: Add deprecation guards for gtk_rc_style_ref/unref
1347         and the old file selector.  (#348256)
1348
1349 2007-01-26  Matthias Clasen  <mclasen@redhat.com>
1350
1351         * gtk/gtkiconview.c: Documentation fixes (#400530, Anders Brander)
1352
1353 2007-01-26  Matthias Clasen  <mclasen@redhat.com>
1354
1355         * gtk/updateiconcache.c: Check the mtime of all directories,
1356         not just the toplevel, if ftw() is available.  (#331671, Behdad
1357         Esfahbod)
1358
1359         * configure.in: Check for ftw.h.
1360
1361 2007-01-26  Michael Natterer  <mitch@imendio.com>
1362
1363         * modules/input/gtkimcontextxim.c (gtk_im_context_xim_finalize):
1364         destroy the XIM only if it exists. While the code does look safe
1365         in general, there can be corner cases where the "reconnecting"
1366         boolean being FALSE does not correspond to the XIM being
1367         allocated (fixes #329450, fix taken from maemo-gtk).
1368
1369 Fri Jan 26 13:07:07 2007  Tim Janik  <timj@imendio.com>
1370
1371         * gtk/gtkstyle.c (draw_insertion_cursor): clamp cursor coordinates to
1372         window bounds (fix from Maemo Gtk).
1373
1374 2007-01-26  Michael Natterer  <mitch@imendio.com>
1375
1376         * gtk/gtkentrycompletion.c (gtk_entry_completion_insert_prefix):
1377         only block/unblock completion->priv->insert_text_id if it is
1378         actually connected. While this can't happen the way GtkEntry
1379         itself uses the completion, it's still public API and should not
1380         blindly call functions that will spit warnings (fix taken from
1381         maemo-gtk).
1382
1383 2007-01-25  Matthias Clasen  <mclasen@redhat.com>
1384
1385         * gdk/gdkwindow.c: Reduce locking overhead by not repeatedly getting
1386         the paintable iface.  
1387
1388 2007-01-24  Michael Natterer  <mitch@imendio.com>
1389
1390         * gtk/gtkwidget.c (gtk_widget_set_state): revert generic disabling
1391         of PRELIGHT state for the reasons given in bug #135666. Widget
1392         states are sometimes abused or otherwise used wrongly for historic
1393         reasons, causing this part of the patch to break e.g. menu items.
1394
1395 2007-01-24  Roozbeh Pournader  <roozbeh@farsiweb.info>
1396
1397         * README: Remove mention of no-longer-existing PATCH
1398         keyword in bugzilla. (#396899)
1399
1400 2007-01-23  Carlos Garcia Campos  <carlosgc@gnome.org>
1401
1402         * gtk/gtkpagesetup.c
1403         (gtk_page_setup_set_paper_size_and_default_margins): Fix memory leak.
1404         Fixes bug #399907. 
1405
1406 2007-01-22  Chris Wilson <chris@chris-wilson.co.uk>
1407
1408         Bug 399314 – Add G_GNUC_WARN_UNUSED_RESULT to gtk_style_attach
1409
1410         * gtk/gtkstyle.h:
1411                 Cause gcc to issue a warning if the style returned from
1412                 gtk_style_attach is not used. Failure to update
1413                 widget->style causes some very difficult to reproduce bugs,
1414                 eg Bug 353498 – crash in Terminal: changing icon theme.
1415
1416 2007-01-19  Michael Emmel  <mike.emmel@gmail.com>
1417
1418         * gdk/directfb/gdkevents-directfb.c: added fixes for window
1419         crossing events frm Attilio Fiandrotti<attilio.fiandrotti@gmail.com>
1420
1421 2007-01-19  Matthias Clasen  <mclasen@redhat.com>
1422
1423         * gtk/gtkcalendar.c: Fix build breakage.
1424
1425 2007-01-19  Kristian Rietveld  <kris@imendio.com>
1426
1427         * gtk/gtktreeview.c (gtk_tree_view_motion_bin_window),
1428         (add_scroll_timeout), (gtk_tree_view_drag_motion): factor out
1429         add_scroll_timeout().  (taken from maemo-gtk).
1430
1431 2007-01-18  Matthias Clasen  <mclasen@redhat.com>
1432
1433         * gtk/gtkcalendar.c: Fix problems with the initial
1434         focus in GtkCalendar.  (#397783, Vincent Untz)
1435
1436 2007-01-19  Robert Ögren  <gtk@roboros.com>
1437
1438         Fix for bug #143460 - missed tablet clicks on Windows
1439
1440         * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check):
1441         Request absolute reporting of tablet button state, and cut down
1442         the packet queue size a bit.
1443         (_gdk_input_other_event): Change button state handling
1444         accordingly. Also drop the no longer necessary code that detects
1445         missed clicks/releases for button 1. The switch to absolute button
1446         state should prevent missed events for all buttons. Additionally,
1447         swap button 2 and 3.
1448         (_gdk_input_grab_pointer): Don't reset button_state, that will only
1449         cause a new press event as soon as the next tablet packet arrives.
1450
1451 2007-01-19  Tor Lillqvist  <tml@novell.com>
1452
1453         Build Wintab support always on Windows. Don't require the Wintab
1454         SDK.
1455
1456         * configure.in: Drop the --with-wintab option. Drop the
1457         HAVE_WINTAB feature test macro and Automake variable.
1458
1459         * acconfig.h
1460         * config.h.win32.in: Drop HAVE_WINTAB.
1461
1462         * gdk/win32/gdkevents-win32.c
1463         * gdk/win32/gdkinput.c
1464         * gdk/win32/gdkinput-win32.h
1465         * gdk/win32/gdkinput-win32.c
1466         * gdk/win32/gdkmain-win32.c: Make HAVE_WINTAB ifdef blocks
1467         unconditional.
1468
1469         * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Try
1470         to load wintab32.dll dynamically here. If it is found look up the
1471         handful Wintab functions we use.
1472         (rest of file): Use these function pointers instead of calling the
1473         functions from wntab32x.lib. The code in wntab32x.lib did the same
1474         thing anyway: tried to load wintab32.dll, and looked up the
1475         addresses of the actual functions from it.
1476
1477         * gdk/Makefile.am
1478         * gdk/win32/Makefile.am: Drop the libwntab32x hacks.
1479
1480         * gdk/win32/wintab.h
1481         * gdk/win32/pktdef.h: New files. Copied from the Wintab
1482         SDK. Copyright blurb says: "The text and information contained in
1483         this file may be freely used, copied, or distributed without
1484         compensation or licensing restrictions."
1485
1486         * README.win32: Update a bit. Remove the text about the Wintab
1487         SDK.
1488
1489 2007-01-18  Tor Lillqvist  <tml@novell.com>
1490
1491         * gdk-pixbuf/Makefile.am
1492         * gdk/Makefile.am
1493         * gdk/win32/Makefile.am
1494         * gtk/Makefile.am: Fixes for building outside srcdir on
1495         Win32. (#336819, #340013) Drop distributing the handmade .la
1496         libtool wrapper for the wntab32x library. It's too much trouble
1497         making it work when building outside srcdir. Just link to the
1498         library direcly using -Wl,win32/libwntab32x.a.
1499
1500 2007-01-18  Michael Natterer  <mitch@imendio.com>
1501
1502         * gtk/gtkcheckbutton.c
1503         * gtk/gtkdnd.c
1504         * gtk/gtkentry.c
1505         * gtk/gtkmenu.c
1506         * gtk/gtktreeview.c
1507         * gtk/gtkviewport.c: pass more clip rectangles to gtk_paint_foo()
1508         functions. Based on a patch from maemo-gtk (bug #398023).
1509
1510 2007-01-17  Tor Lillqvist  <tml@novell.com>
1511
1512         * gtk-zip.sh.in: Include also the COPYING file.
1513
1514 2007-01-17  Matthias Clasen  <mclasen@redhat.com>
1515
1516         * modules/printbackends/cups/gtkprintbackendcups.c: Don't use
1517         httpGetFd() when building against cups 1.1
1518
1519 2007-01-17  Tor Lillqvist  <tml@novell.com>
1520
1521         Proper fix for #396175:
1522
1523         * gtk/gtkimmulticontext.c: Revert change by Hans Breuer below: Do
1524         include gtkprivate.h. On Win32 we do want to use the redefinition
1525         of GTK_LOCALEDIR as a call to the function _gtk_get_localedir().
1526
1527         * gtk/gtkimmodule.c: Instead, correct the prefix also on
1528         simple_context_info.domain_dirname. Do the prefix corrections
1529         always on Win32, not just when GTK_LIBDIR is defined. i.e., until
1530         now they were done only in the autoconfiscated gcc builds. Hans
1531         needs to make sure GTK_LIBDIR and GTK_LOCALEDIR are defined also
1532         in MSVC builds now.
1533         (correct_localedir_prefix): New function, like
1534         correct_libdir_prefix(), but for GTK_LOCALEDIR, in case
1535         GTK_LOCALEDIR is not a descendant of GTK_LIBDIR.
1536         (gtk_im_module_initialize): Thus call correct_localedir_prefix()
1537         on the domain_dirname instead of correct_libdir_prefix().
1538         (_gtk_im_module_list): Call correct_localedir_prefix() on
1539         simple_context_info.domain_dirname.
1540
1541 2007-01-16  Matthias Clasen  <mclasen@redhat.com>
1542
1543         * gtk/gtkrange.c (range_grab_remove): Queue a redraw when the
1544         grab changes.  (#396470, Benjamin Berg)
1545
1546 2007-01-15  Emmanuele Bassi  <ebassi@gnome.org>
1547
1548         * gtk/gtkrecentchoosermenu.c: Ellipsize the menu items label
1549         if they grow too much. (#357303)
1550
1551 2007-01-14  Matthias Clasen  <mclasen@redhat.com>
1552
1553         * gtk/gtkicontheme.c (theme_lookup_icon): When finding a matching
1554         non-scalable dir, keep going and look for a closer match.
1555         (#395830, Luca Ferretti)
1556
1557 2007-01-14  Christian Persch  <chpe@svn.gnome.org>
1558
1559         * gtk/gtkclipboard.c: (gtk_clipboard_set_text),
1560         (gtk_clipboard_set_image): Use gtk_target_table_new_from_list and
1561         gtk_target_table_free instead of duplicating the code. Bug #396493.
1562
1563 2007-01-13  Matthias Clasen  <mclasen@redhat.com>
1564
1565         * gtk/gtkuimanager.c: Don't crash if menu or toolbar
1566         positions can't be found.  (#396161, Hans Breuer)
1567
1568 2007-01-13  Matthias Clasen  <mclasen@redhat.com>
1569
1570         * gtk/gtkselection.c (_gtk_selection_request): Plug 
1571         memory leaks.  (#396160, Carlos Garcia Campos)
1572
1573 2007-01-13  Matthias Clasen  <mclasen@redhat.com>
1574
1575         * configure.in: Link libgtk against Xfixes.  (#396074,
1576         Tommi Komulainen)
1577
1578 2007-01-13  Matthias Clasen  <mclasen@redhat.com>
1579
1580         * gtk/gtkradiobutton.c (gtk_radio_button_focus): Avoid
1581         a compiler warning.  (#395045, Chris Wilson)
1582
1583 2007-01-13  Hans Breuer <hans@breuer.org>
1584
1585         * gtk/gtkprintoperation-win32.c : take the custom tab label from
1586         gtk_print_operation_set_custom_tab_label() into account (bug #390746).
1587
1588         * gtk/gtkimmulticontext.c : don't include "gtkprivate.h" to avoid
1589         differing definitions of GTK_LOCALEDIR (bug #396175).
1590
1591         * gtk/gtktreeview.c : use g_snprintf instead of snprintf, which is
1592         not available everywhere
1593
1594         * gtk/makefile.msc.in : updated
1595
1596 2007-01-12  Michael Natterer  <mitch@imendio.com>
1597
1598         * gtk/gtkentry.c (gtk_entry_button_press): don't add
1599         entry->scroll_offset to entry->drag_start_y. Fixes the entry
1600         starting drags after ridiculously small mouse movements.
1601
1602 2007-01-11  Richard Hult  <richard@imendio.com>
1603
1604         * demos/gtk-demo/main.c: (load_file): Close the file after it's
1605         loaded (bug #395316).
1606
1607 2007-01-11  Kjartan Maraas  <kmaraas@gnome.org>
1608
1609         * gtk/gtkfilesystemunix.c: (expand_tilde):
1610         Make a single tilde go to $HOME in the location entry.
1611         Patch from Yevgen Muntyan. Closes the gtk+ part of
1612         bug #334168.
1613
1614 2007-01-10  Behdad Esfahbod  <behdad@gnome.org>
1615
1616         * gdk/gdkpango.c (gdk_draw_layout_with_colors):
1617         * gtk/gtklabel.c (gtk_label_size_request):
1618         Use pango_matrix_transform_rectangle(). (#340141)
1619
1620         * configure.in: Bump pango requirement to 1.15.3.
1621
1622 2007-01-10  Kristian Rietveld  <kris@imendio.com>
1623
1624         * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_init):
1625         refactor to initialize indicator_size to TOGGLE_WIDTH instead
1626         of the hardcoded value of 12.
1627
1628 2007-01-09  Matthias Clasen  <mclasen@redhat.com>
1629
1630         * configure.in: Fix the directfb cairo test. (#394855, 
1631         Josselin Mouette)
1632
1633 2007-01-09  Behdad Esfahbod  <behdad@gnome.org>
1634
1635         * configure.in: Fix comment for --with-included-loaders.  That option
1636         affects builds with module loading enabled too.
1637
1638 2006-01-08  Peter Teichman  <peter@novell.com>
1639
1640         * gtk/gtkfilechooserdefault.c:
1641         * gtk/gtkfilechooserprivate.h:
1642         * gtk/gtkfilechoosersettings.c:
1643         * gtk/gtkfilechoosersettings.h:
1644         Save the expanded state of the folder browser with the file
1645         chooser settings.  Resolves the expander portions of (#153828,
1646         Lemmit Kaplinski)
1647
1648 2007-01-08  Emmanuele Bassi  <ebassi@gnome.org>
1649
1650         * gtk/gtkrecentchoosermenu.c (gtk_recent_chooser_menu_create_item):
1651         Don't leak the icon pixbuf after setting it to the image menu
1652         item.  Found by Paolo Borelli.
1653
1654 2007-01-08  Matthias Clasen  <mclasen@redhat.com>
1655
1656         * gtk/gtktreemodel.c (gtk_tree_path_to_string): Don't 
1657         corrupt memory when faced with paths with ridiculously
1658         large indices. Found by the GTKVTS test suite.  
1659
1660 2007-01-08  Matthias Clasen  <mclasen@redhat.com>
1661
1662         * gtk/gtkmodules.c (_gtk_modules_init): Set 
1663         default_display_opened before loading modules.  (#393102,
1664         Brian Cameron)
1665  
1666 2007-01-07  Matthias Clasen  <mclasen@redhat.com>
1667
1668         * gtk/gtktextview.c (gtk_text_view_set_border_window_size):
1669         Call text_window_realize() with the correct parameters.
1670         (#393813, Yevgen Muntyan)
1671
1672 2007-01-07  Matthias Clasen  <mclasen@redhat.com>
1673
1674         * gtk/gtkstatusbar.c: Move docs inline, and expand them 
1675         a bit.
1676
1677 2007-01-06  Matthias Clasen  <mclasen@redhat.com>
1678
1679         * gtk/gtklabel.c: Make line wrapping work with width-chars
1680         and max-width-chars, and simplify the storage of wrap-width.
1681         (#322580, Itai Bar-Haim)
1682
1683 2007-01-06  Tor Lillqvist  <tml@novell.com>
1684
1685         * gdk/win32/cursor.bdf: New file. Downloaded from
1686         freedesktop.org's webcvs. Slighly edited cursors "crosshair",
1687         "diamond_cross", "draft_large", "gobbler" and "target" to fix
1688         #392504. It is possible that the same end result could have been
1689         achieved by tweaking bdfcursor.c instead.
1690         
1691         * gdk/win32/bdfcursor.c: Add optional debugging output.
1692
1693         * gdk/win32/xcursors.h: Regenerated.
1694
1695 2007-01-05  Matthias Clasen  <mclasen@redhat.com>
1696
1697         * gtk/gtknotebook.c (gtk_notebook_set_menu_label_text): Left-align
1698         menu labels.  (#393255, Michail Crayson)
1699
1700 2007-01-05  Kristian Rietveld  <kris@gtk.org>
1701
1702         * gtk/gtktreeview.c (gtk_tree_view_dy_to_top_row): handle tree
1703         == NULL.  (Fixes #392685, reported by Yevgen Muntyan).
1704
1705 2007-01-05  Kristian Rietveld  <kris@gtk.org>
1706
1707         * gtk/gtktreeview.c (gtk_tree_view_row_changed): do allow to
1708         invalidate nodes if the tree view is not realized. (#363147,
1709         Carlos Garnacho, Miguel Cabrera).
1710
1711 2007-01-05  Matthias Clasen  <mclasen@redhat.com>
1712
1713         * gtk/gtkmenu.c (gtk_menu_paint): Take the scroll arrow into
1714         account when drawing the background.  (#393166, Benjamin Berg)
1715
1716 2007-01-05  Behdad Esfahbod  <behdad@gnome.org>
1717
1718         * gtk/gtklabel.c (get_layout_location): Fix broken width computation,
1719         again.
1720
1721 2007-01-05  Carlos Garnacho  <carlosg@gnome.org>
1722
1723         * gtk/gtknotebook.c (gtk_notebook_size_request): take into account
1724         both scroll arrows when calculating size request in GTK_POS_LEFT or
1725         GTK_POS_RIGHT notebooks. (#393124, reported by Christian Persch)
1726
1727 2007-01-05  Michael Natterer  <mitch@imendio.com>
1728
1729         * gtk/gtkwindow.c (gtk_window_key_release_event): chain up to
1730         the right function (fix taken from maemo-gtk).
1731
1732 2007-01-05  Behdad Esfahbod  <behdad@gnome.org>
1733
1734         * gdk/gdkprivate.h:
1735         * gdk/gdkpango.c (gdk_draw_layout_line_with_colors),
1736         (gdk_draw_layout_with_colors):
1737         * gdk/gdkwindow.c (gdk_window_draw_glyphs_transformed):
1738         Avoid overflow when converting coordinates to Pango units. (#332266,
1739         Jody Goldberg)
1740
1741 2007-01-04  Matthias Clasen  <mclasen@redhat.com>
1742
1743         * gtk/gtkcombobox.c (gtk_combo_box_popup): move set_cursor
1744         after realization of the popup window, so clamp node doesn't fail.
1745         (#346616, Tommi Komulainen, patch by Kristian Rietveld).
1746
1747 2007-01-04  Behdad Esfahbod  <behdad@gnome.org>
1748
1749         * gtk/gtklabel.c (get_layout_location): Fix uninitialized width
1750         variable.
1751
1752 2007-01-04  Matthias Clasen  <mclasen@redhat.com>
1753
1754         * gtk/Makefile.am:
1755         * gdk-pixbuf/Makefile.am:
1756         * configure.in:
1757         * gdk/win32/rc/gdk.rc.in: Cross-compilation fixes.
1758         (#392646, Yevgen Muntyan)
1759
1760 2007-01-04  Matthias Clasen  <mclasen@redhat.com>
1761
1762         * demos/gtk-demo/textscroll.c:
1763         * gtk/gtkhandlebox.c:
1764         * gtk/gtkcolorsel.c: Fix some compiler warnings.
1765
1766 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
1767
1768         * gtk/gtktextview.c: Rework the beep-on-uninserted-text
1769         by calling the input method regardless of editability,
1770         and beeping from the commit/preedit-changed handlers.
1771         (#390514, Yevgen Muntyan)
1772
1773 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
1774
1775         Fix #332604, reported by Joe Wreschnig, patch
1776         by Jan Arne Petersen and Behdad Esfahbod.
1777
1778         * gtk/gtklabel.c (gtk_label_size_allocate): Only
1779         set the width of the layout when necessary.
1780         (get_layout_location): Use pango_layout_get_pixel_extents()
1781         instead of pango_layout_get_width().
1782
1783 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
1784
1785         * modules/printbackends/cups/gtkprintbackendcups.c 
1786         (available_choices): Don't leak conflicts.
1787
1788         * gtk/gtkprintoperation.c (gtk_print_operation_finalize):
1789         Don't leak the status string.
1790
1791 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
1792
1793         * gtk/gtkfilechooserdefault.c (update_chooser_entry):
1794         Exit early if we can't get file info - this happens
1795         if the iter points to the row where we are editing
1796         the name for a newly created folder.  (#392191, Michael
1797         Partridge, patch by Kristian Rietveld)
1798
1799 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
1800
1801         * gtk/*.c:
1802         * gdk/x11/*.c: Apply a patch by Chris Wilson to
1803         avoid spurious valgrind warnings from XSendEvent() 
1804         calls.  (#392532)
1805
1806         * modules/printbackends/cups/gtkprintbackendcups.c: Close
1807         the http connection after getting the PPD.
1808
1809         * gtk/gtkprinteroptionwidget.c (filesave_changed_cb):
1810         Fix memory leaks.  
1811
1812 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
1813
1814         * gtk/gtkassistant.c (remove_page): If the current page
1815         is removed, always pick a different one.  (#392457, 
1816         Colin Watson)
1817
1818 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
1819
1820         * modules/printbackend/cups/*.c: Coding style cleanups.
1821
1822 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
1823
1824         * configure.in: Export SED to make sourcing of
1825         libtool work. Tighten up the directfb pkgconfig check.
1826
1827 2007-01-03  Michael Natterer  <mitch@imendio.com>
1828
1829         * gtk/gtkstyle.c (option_menu_get_props)
1830         * gtk/gtkoptionmenu.c (gtk_option_menu_get_props): Use 
1831         gtk_border_free when freeing borders.
1832
1833 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
1834
1835         * gtk/gtkentry.c (get_text_area_size): Work when the
1836         entry is not realized.  (#392315, Yevgen Muntyan)
1837
1838         * gtk/gtkentry.c (gtk_entry_queue_draw): Use 
1839         GTK_WIDGET_DRAWABLE() here.  (#392227, Chris Wilson)
1840
1841         * gtk/gtkentry.c (cursor_blinks): Don't get settings
1842         unnecessarily.  (#392227)
1843
1844 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
1845
1846         * gtk/gtkwindow.c (gtk_window_move_resize): Only process
1847         updates on the window at hand, not on all windows, to
1848         avoid violating resize/redraw ordering constraints.
1849         (#362406, Owen Taylor)
1850         
1851 2007-01-03  Kristian Rietveld  <kris@gtk.org>
1852
1853         * gtk/gtkcellrendererprogress.c
1854         (gtk_cell_renderer_progress_class_init): fix docs.
1855
1856 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
1857         
1858         * gtk/updateiconcache.c: Include locale.h
1859
1860 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
1861
1862         * gtk/updateiconcache.c (main): Call setlocale().
1863
1864         * gtk/gtkfilesel.c:
1865         * gtk/gtkfilesystemunix.c:
1866         * gtk/gtkfilesystemwin32.c:
1867         * gtk/gtkfilechoosersettings.c:
1868         * gtk/updateiconcache.c: Consistently use folder instead of
1869         directory in translated messages.  (#344584, Javier F. Serrador)
1870
1871 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
1872
1873         Try to fix #315732, reported by Luke Hutchinson:
1874
1875         * gdk/x11/xsettings-client.[hc]:
1876         * gdk/x11/gdkdevents-x11.c: Don't assume that ref'ing a GdkWindow
1877         will guarantee that it can be looked up in the xid hash later.
1878         Also, use the nesting server grab function during the xsettings
1879         client initialization. Finally, make xsettings client not
1880         eat DestroyNotifys so that GDK can do its regular cleanup. 
1881
1882 2007-01-02  Michael Natterer  <mitch@imendio.com>
1883
1884         * gtk/gtkrange.c (gtk_range_scroll) (gtk_range_move_slider): beep
1885         when a keybinding didn't change adjustment->value.
1886
1887 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
1888
1889         * gtk/gtktextbuffer.c (gtk_text_view_key_press_event):
1890         Try harder not to beep on events which are not meant to
1891         insert stuff in the buffer.  (#390514, Yevgen Muntyan) 
1892
1893 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
1894
1895         * gtk/gtktextbufferrichtext.c: Small documentation fixes.
1896
1897 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
1898
1899         * gtk/gtkentry.c (get_text_area_size): Center in the frame.  
1900         (#304482, Rob Staudinger, patch by  Richard Stellingwerff)
1901
1902 2007-01-02  Michael Emmel  <mike.emmel@gmail.com>
1903
1904         * gdkwindow-directfb.c: fixed leak of dfb resource on destroy 
1905
1906 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
1907
1908         * gtk/gtkscrolledwindow.h:
1909         * gtk/gtkscrolledwindow.c: Only handle key bindings
1910         for scrolling if the scrollbars are visible.
1911         (#340135, Christian Persch)
1912
1913 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
1914
1915         * gtk/gtktextview.c (gtk_text_view_scroll_hpages):
1916         Don't segfault on horizontal scrolling.  
1917
1918 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
1919
1920         * gtk/gtknotebook.h:
1921         * gtk/gtknotebook.c: Only handle key bindings for
1922         tab reordering if the tabs are shown and reorderable. 
1923         (#390468, Yevgen Muntyan)
1924
1925         * gtk/gtkmarshalers.list: Add required marshaler
1926
1927 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
1928
1929         * gtk/gtkcontainer.c (gtk_container_class_list_child_properties):
1930         Mention in the docs that the return value is
1931         NULL-terminated.  (#383373, Christian Neumair)
1932
1933 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
1934
1935         * gtk/gtkicontheme.c (load_themes): Waste less time
1936         with non-directories.  (#391725, Chris Wilson)
1937
1938 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
1939
1940         * gtk/gtkcellrendererprogress.c: Implement activity mode
1941         for GtkCellRendererProgress.  (#377851, Brad Taylor)
1942
1943 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
1944
1945         Fix some IPP compliance issues.  (#391523, Albrecht Dress)
1946
1947         * modules/printbackends/cups/gtkcupsutils.c
1948         (gtk_cups_request_encode_option): Use IPP_TAG_JOB, not
1949         IPP_TAG_OPERATION.
1950         * modules/printbackends/cups/gtkprintbackendcups.c
1951         (gtk_print_backend_cups_print_stream): Don't add the
1952         requesting-user-name attribute a second time. 
1953
1954 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
1955
1956         * gtk/gtkimcontextsimple.c: Fix en/em dash confusion.  (#378462)
1957
1958 2006-12-31  Emmanuele Bassi  <ebassi@gnome.org>
1959
1960         * gtk/gtkrecentchoosermenu.c (set_recent_manager): Use the
1961         right object when disconnecting from the GtkRecentManager::changed
1962         signal; save us a few indirections using a variable.
1963
1964 2006-12-31  Emmanuele Bassi  <ebassi@gnome.org>
1965
1966         * gtk/gtkrecentchoosermenu.c: Move the signal and idle
1967         disconnections into the dispose function, as well as the
1968         object unrefs; reset every handler id and the
1969         pointers. (suggested by Paolo Borelli, #390873)
1970
1971 2006-12-31  Matthias Clasen  <mclasen@redhat.com>
1972
1973         * gtk/gtkprintoperation-win32.c: Include windows.h (#391229,
1974         Kazuki Iwamoto)
1975
1976 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
1977
1978         * gtk/gtktextview.c (gtk_text_view_destroy): Remove the
1979         scroll timeout.  (#390872, Yevgen Muntyan)
1980
1981 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
1982
1983         * gtk/gtkprintoperation-unix.c:
1984         * gtk/gtkprintbackend.c:
1985         * gtk/gtkfilechooserdefault.c:
1986         * gtk/gtksettings.c: Move a few settings to gtksettings.c
1987         to make sure they show up in the docs.  (#365364, Christian
1988         Persch)
1989
1990 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
1991
1992         * gtk/gtkassistant.c: Redraw assistant on reallocate
1993         to avoid rendering glitches.  (#343956, Christian
1994         Persch, Carlos Garnacho)
1995
1996 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
1997
1998         * gtk/gtkrange.c: Typo fix.  (#352121, Clytie Siddall)
1999
2000 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
2001
2002         * gtk/gtkaction.c: Improve the docs of the "label" 
2003         property.  (#341730, Kristof Vansant)
2004
2005 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
2006
2007         * gtk/gtkwindow.c (gtk_window_compute_configure_request_size):
2008         Correctly handle min size. (#320465, Philipp Langdale)
2009
2010 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
2011
2012         * gtk/prop-editor.c: Implement editing of flags.
2013
2014 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
2015
2016         * gtk/gtkentry.c:
2017         * gtk/gtklabel.c:
2018         * gtk/gtkpaned.c:
2019         * gtk/gtkstatusbar.c:
2020         * gtk/gtktextview.c: Don't install cursors on insensitive
2021         widgets.  (#358864, Jan Schampera)
2022
2023 2006-12-29  Matthias Clasen  <mclasen@redhat.com>
2024
2025         * gtk/gtkrecentmanager.h:
2026         * gtk/gtkprintoperation.c: Fix doc typos.  (#370909,
2027         Shiino Yuki)
2028
2029         * gtk/gtkstyle.c (gtk_style_attach): Clarify docs.  (#353423,
2030         Christian Persch)
2031
2032         * gtk/gtkentry.c (blink_cb):
2033         * gtk/gtktextview.c (blink_cb): Don't die in an assertion
2034         if focus went missing. Just warn, clean up and continue.
2035         (#374378)
2036
2037 2006-12-29  Carlos Garnacho  <carlosg@gnome.org>
2038
2039         * gtk/gtknotebook.c (gtk_notebook_scroll): return if the widget that
2040         originally received the event is a notebook page. (#315440, reported
2041         by Mateusz Stefek)
2042
2043 2006-12-29  Matthias Clasen  <mclasen@redhat.com>
2044
2045         * gdk/gdkcolor.c (gdk_color_hash): Fix a typo. (#390613,
2046         Paolo Borelli)
2047
2048 2006-12-29  Matthias Clasen  <mclasen@redhat.com>
2049
2050         * tests/prop-editor.c: Display children of containers
2051         and cell renderers of cell layouts.
2052
2053         * gtk/gtk.symbols:
2054         * gtk/gtkcelllayout.[hc] (gtk_cell_layout_get_cells):
2055         New function to get the cell renderers of a cell layout.
2056
2057         * gtk/gtktreeviewcolumn.c:
2058         * gtk/gtkcellview.c:
2059         * gtk/gtkiconview.c: Implement get_cells.
2060
2061 2006-12-28  Matthias Clasen  <mclasen@redhat.com>
2062
2063         * gtk/gtkiconview.c: Use word wrapping by default, and
2064         center multiline labels.  (#318763, Ross Burton)
2065
2066         * gtk/gtkcellrenderertext.c (get_layout): Remove a special
2067         case for single-line layouts.
2068
2069 2006-12-28  Matthias Clasen  <mclasen@redhat.com>
2070
2071         * gtk/gtkarrow.c: Fix a typo in the docs.  (#390423,
2072         David Lodge)
2073
2074         * gtk/gtkuimanager.c (update_node): Only use the results
2075         of find_menu/toolbar_position() if they succeed. May fix
2076         bug #388041.
2077
2078 2006-12-28  Matthias Clasen  <mclasen@redhat.com>
2079
2080         * gdk/gdk.c: Fix some formatting errors in docs.  
2081
2082 2006-12-28  Tor Lillqvist  <tml@novell.com>
2083
2084         * gtk/gtkstatusicon.c (gtk_status_icon_finalize)
2085         (gtk_status_icon_update_image): Don't leak HICONs on
2086         Win32. (#364868, Hiroyuki Yamamoto)
2087
2088 2006-12-28  Carlos Garnacho  <carlosg@gnome.org>
2089
2090         Make GtkNotebook able to drop detached tabs anywhere. Bug #360225.
2091
2092         * gtk/gtkwidget.c (gtk_widget_class_init): add "drag-failed" signal.
2093         * gtk/gtkmarshalers.list: add new marshaler definition.
2094         * gtk/gtkenums.h: add GtkDragResult enum.
2095
2096         * gtk/gtkdnd.c (gtk_drag_drop_finished): emit "drag-failed" if DND
2097         operation wasn't successful.
2098         (_gtk_drag_source_handle_event) (gtk_drag_drop)
2099         (gtk_drag_selection_get) (gtk_drag_cancel) (gtk_drag_key_cb)
2100         (gtk_drag_grab_broken_event_cb) (gtk_drag_grab_notify_cb)
2101         (gtk_drag_button_release_cb) (gtk_drag_abort_timeout): tell
2102         gtk_drag_drop_finished() the operation result.
2103
2104         * gtk/gtknotebook.c (gtk_notebook_drag_failed): new function.
2105         (gtk_notebook_drag_data_get): do not call window creation hook here.
2106         (gtk_notebook_init): do not set "application/x-rootwindow-drop"
2107         target, instead connect to "drag-failed".
2108         (gtk_notebook_draw_focus): fix potential crasher if cur_page is NULL.
2109
2110 2006-12-28  Mikael Hallendal  <micke@imendio.com>
2111
2112         * gdk/quartz/gdkevents-quartz.c: Factored out the event loop 
2113         integration into gdkeventloop-quartz.c.
2114
2115         * gdk/quartz/Makefile.am: Added gdkeventloop-quartz.c
2116
2117         * gdk/quartz/gdkeventloop-quartz.c: New file containing the event loop 
2118         integration.
2119
2120 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
2121
2122         * modules/printbackends/lpr/gtkprintbackendlpr.c 
2123         (gtk_print_backend_lpr_print_stream): Close the io channel
2124         on unref.  (#390159, Joe Markus Clarke)
2125
2126 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
2127
2128         * gdk/gdk.h: Remove redundant declarations (#390097,
2129         Christian Persch)
2130
2131 2006-12-27  Kristian Rietveld  <kris@gtk.org>
2132
2133         Support inverting arrows via XSetting. (#377979, Yevgen Muntyan).
2134
2135         * gtk/gtksettings.c (gtk_settings_class_init): add new setting
2136         gtk-alternative-sort-arrows.
2137
2138         * gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting): add
2139         new setting.
2140
2141         * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: set new
2142         gtk-alternative-sort-arrows setting to true.
2143
2144         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
2145         invert direction if gtk-alternative-sort-arrows is TRUE.
2146
2147 2006-12-27  Tor Lillqvist  <tml@novell.com>
2148
2149         * gtk/gtk.symbols: Add gtk_status_icon_get_screen and
2150         gtk_status_icon_set_screen.
2151
2152         * gtk/gtkstatusicon.c: Implement gtk_status_icon_position_menu()
2153         on Windows. Keep track of where the last button click on the
2154         taskbar icon took place, and return that. Obviously not correct if
2155         no button has ever been clicked on the icon, or if the geometry of
2156         the taskbar has changed since. But for most use cases where a menu
2157         is going to be displayed as a direct result of a button click on
2158         the status icon, works fine. (#377349)
2159
2160         Implement getting the orientation property on Windows.
2161
2162         (gtk_status_icon_embedded_changed)
2163         (gtk_status_icon_orientation_changed): Ifdefify these functions
2164         that are used only on X11.
2165
2166 2006-12-27  Tor Lillqvist  <tml@novell.com>
2167
2168         * gtk/gtkfilesystemwin32.c (execute_callbacks): Fix
2169         typo. (#390035, Kazuki Iwamoto)
2170
2171 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
2172
2173         * gtk/gtkcellview.c (gtk_cell_view_set_model): Accept NULL.
2174
2175         * gtk/gtkcombobox.c (gtk_combo_box_set_model):
2176         (gtk_combo_box_unset_model): Handle repeated unsetting
2177         of models without warnings.  (#367529, Robert Ancell)
2178
2179 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
2180
2181         * modules/printbackends/cups/gtkcupsutils.c: 
2182         * modules/printbackends/cups/gtkprintbackendcups.c: Use
2183         getters for http fields where available.  (#364866, 
2184         Björn Lindqvist)
2185
2186 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
2187
2188         * gtk/gtkwidget.c (gtk_widget_show): Add a g_return_if_fail.
2189         (#362614, Xan Lopez)
2190
2191 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
2192
2193         * gtk/gtkuimanager.c (update_node): If a required action
2194         is missing, don't recurse over the children.  (#349119,
2195         Chris Moller)
2196
2197 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
2198
2199         Fix a few problems with nested menus in comboboxes
2200         (#386694, Yevgen Muntyan)
2201
2202         * gtk/gtkcombobox.c (gtk_combo_box_menu_fill_level): Always
2203         connect the activate callback.
2204         (gtk_combo_box_menu_item_activate): Do nothing if called on
2205         an item with a submenu.
2206         (gtk_combo_box_menu_row_deleted): Remove a submenu when it
2207         is empty.
2208
2209 2006-12-26  Mariano Suárez-Alvarez  <mariano@gnome.org>
2210
2211         * gtk/gtkfilechooserbuuton.[hc]: Add a file-set signal to the
2212         filechooser button. Bug 353196.
2213
2214 2006-12-26  Kristian Rietveld  <kris@gtk.org>
2215
2216         * gtk/gtktreeview.c (gtk_tree_view_search_init): fix typo causing
2217         the search dialog timeout never to be refreshed. (#389581,
2218         Andrzej Szombierski).
2219
2220 2006-12-26  Kristian Rietveld  <kris@gtk.org>
2221
2222         Lots of scrolling fixes.  Made scrolling work properly in not fully
2223         validated tree views; fixed a bunch of corner cases.
2224
2225         * gtk/gtktreeview.c (validate_visible_area): if a row's dy is past
2226         upper - page_size, we know it is located at the end so the test for
2227         dy + height has been dropped.
2228         In the same case if area_below < 0, we know this is the last node
2229         in the tree view so area_above is page_size - height of this row.
2230         (validate_visible_area): got rid of subtracting new_height -
2231         old_height from area_{below,above}, it didn't make any sense at
2232         all and the full height of the row should be subtracted instead.
2233         (validate_visible_area): when scrolling to a given path, set the
2234         top row directly together with the dy offset, then sync that top_row
2235         to the dy.
2236         (gtk_tree_view_set_top_row): new function to directly set a top_row.
2237         (gtk_tree_view_dy_to_top_row): refactored to use
2238         gtk_tree_view_set_top_row().
2239         (gtk_tree_view_top_row_to_dy): make sure dy >= 0 when done.
2240         (gtk_tree_view_adjustment_changed): only update our dy and
2241         top_row if the adjustment's dy actually changed.
2242
2243 2006-12-26  Christian Persch  <chpe@cvs.gnome.org>
2244
2245         * gtk/gtknotebook.c: (gtk_notebook_real_insert_page):
2246         Return the correct value from gtk_notebook_insert_page if the
2247         page-added handler reorders the tabs. Bug #345094.
2248
2249 2006-12-26  Carlos Garnacho  <carlosg@gnome.org>
2250
2251         Fix small regressions in GtkNotebook tab detaching. Bug #378852.
2252
2253         * gtk/gtknotebook.c (gtk_notebook_do_arrow): grab focus to allow tabs
2254         scrolling when hovering with a detached tab.
2255         (gtk_notebook_stop_reorder): Do not deparent the wrong tab if the
2256         focus tab has changed during a tab DND operation.
2257         (gtk_notebook_drag_end): ensure that the dropped tab gets focused.
2258         (gtk_notebook_paint): do not take cur_page as a reference to paint the
2259         box if it's detached.
2260         (gtk_notebook_calculate_tabs_allocation): focus_tab may be different
2261         to the detached tab if we hover the arrows during a tabs detaching 
2262         operation, do not allocate it unconditionally in 0,0.
2263
2264 2006-12-26  Carlos Garnacho  <carlosg@gnome.org>
2265
2266         Expose improvements for GtkNotebook. Bug #383435
2267
2268         * gtk/gtknotebook.c (gtk_notebook_expose): propagate the event to tab
2269         labels.
2270         (gtk_notebook_draw_focus): do not repaint the whole focused tab again.
2271         (gtk_notebook_draw_tab): do not send handmade expose events to tab
2272         labels.
2273
2274 2006-12-26  Matthias Clasen  <mclasen@redhat.com>
2275
2276         * gtk/gtkfilesystemunix.c (execute_callbacks): Return
2277         FALSE.  (#389623, Carlos Garnacho Parro)
2278
2279         * gtk/gtkrange.c (stop_scrolling): Avoid spurious
2280         redraws.
2281
2282 2006-12-25  Christian Persch  <chpe@cvs.gnome.org>
2283
2284         * gtk/gtkplug.c: (gtk_plug_construct_for_display),
2285         (gtk_plug_unrealize): Notify the "embedded" property also on
2286         normal construction and when destroying the socket window.
2287         Bug #388738.
2288
2289 2006-12-25  Christian Persch  <chpe@cvs.gnome.org>
2290
2291         * gtk/gtkaboutdialog.c: (gtk_about_dialog_class_init),
2292         (gtk_about_dialog_init), (display_credits_dialog),
2293         (display_license_dialog):
2294         * gtk/gtkfilechooserdialog.c: (gtk_file_chooser_dialog_class_init),
2295         (gtk_file_chooser_dialog_init),
2296         (gtk_file_chooser_dialog_constructor),
2297         (gtk_file_chooser_dialog_unmap):
2298         * gtk/gtkrecentchooserdefault.c:
2299         (_gtk_recent_chooser_default_init):
2300         * gtk/gtkrecentchooserdialog.c:
2301         (gtk_recent_chooser_dialog_class_init),
2302         (gtk_recent_chooser_dialog_init),
2303         (gtk_recent_chooser_dialog_constructor),
2304         (gtk_recent_chooser_dialog_unmap): Set the HIG spacings directly
2305         instead of using style-set handlers. Fix the filechooser's spacing
2306         between content and action area to 12px. Bug #372447.
2307
2308 2006-12-25  Christian Persch  <chpe@cvs.gnome.org>
2309
2310         * gtk/gtkstatusbar.c: (gtk_statusbar_size_allocate):
2311         Don't assume statusbar->label is the statusbar's frame's child when
2312         shrinking the size allocation when the grip is shown. Bug #372452.
2313
2314 2006-12-25  Christian Persch  <chpe@cvs.gnome.org>
2315
2316         * gtk/gtkpagesetupunixdialog.c: (printer_status_cb),
2317         (add_custom_paper): Fix mem leaks. Bug #389194.
2318
2319 2006-12-24  Matthias Clasen  <mclasen@redhat.com>
2320
2321         * gtk/gtktextutil.c: Remove debug output.
2322
2323         * gtk/gtktextview.c: Improve the DND scrolling
2324         behaviour.  (#92387, Carlos Garnacho Parro)
2325
2326         * gtk/gtkaccellabel.c: Improve translators comments.  
2327         (#389298, Christian Persch)
2328
2329 2006-12-24  Bastien Nocera  <hadess@hadess.net>
2330
2331         * gtk/gtkrecentmanager.c: Fix typo (s/expansive/expensive)
2332         (#389183)
2333
2334 2006-12-24  Christian Persch  <chpe@cvs.gnome.org>
2335
2336         * docs/reference/gtk/gtk-sections.txt:
2337         * gtk/gtk.symbols:
2338         * gtk/gtkpagesetupunixdialog.c: (fill_paper_sizes_from_printer):
2339         * gtk/gtkprinter-private.h:
2340         * gtk/gtkprinter.c: (gtk_printer_list_papers):
2341         * gtk/gtkprinter.h: Make gtk_printer_list_papers public. Bug #345587.
2342
2343 2006-12-24  Carlos Garcia Campos  <carlosgc@gnome.org>
2344
2345         * gtk/gtkpagesetupunixdialog.c: Don't ignore reverse portrait option
2346         when is selected in page setup dialog. Fixes bug #365047.
2347
2348 2006-12-24  Behdad Esfahbod  <behdad@gnome.org>
2349
2350         * gtk/gtkentry.c (_gtk_entry_effective_inner_border):
2351         Use gtk_border_free when freeing border.
2352
2353 2006-12-24  Matthias Clasen  <mclasen@redhat.com>
2354
2355         * gtk/gtkentry.c (gtk_entry_button_press): When
2356         shift-clicking, keep the larger part of the selection
2357         selected.  (#353709, Benjamin Otte)
2358
2359         * gtk/gtkbutton.c (gtk_button_get_props): Use 
2360         gtk_border_free when freeing borders.
2361
2362         * gtk/gtkbutton.c (gtk_button_grab_notify): Be more
2363         careful when faking a button release.  (#323146,
2364         Travis Abbott)
2365
2366         * gtk/gtkhandlebox.c (draw_textured_frame): Draw the
2367         handle with the right orientation, depending on the
2368         position of the handlebox.  (#159764, Benjamin Berg)
2369
2370 2006-12-24  Behdad Esfahbod  <behdad@gnome.org>
2371
2372         * gtk/gtkstyle.c (gtk_border_copy), (gtk_border_free): Use gslice for
2373         GtkBorder (#383557).
2374
2375 2006-12-24  Behdad Esfahbod  <behdad@gnome.org>
2376
2377         Bug 340141 – Update to Pango 1.16 API
2378
2379         * gdk/gdkpango.c (layout_iter_get_line_clip_region),
2380         (gdk_pango_layout_line_get_clip_region):
2381         * gtk/gtkcalendar.c (gtk_calendar_size_request):
2382         * gtk/gtkentry.c (gtk_entry_get_pixel_ranges),
2383         (get_layout_position), (gtk_entry_find_position),
2384         (gtk_entry_adjust_scroll):
2385         * gtk/gtkiconview.c (get_pango_text_offsets):
2386         * gtk/gtklabel.c (get_cursor_direction):
2387         * gtk/gtkstyle.c (get_insensitive_layout):
2388         * gtk/gtktextdisplay.c (render_para):
2389         * gtk/gtktextlayout.c (allocate_child_widgets),
2390         (find_display_line_below), (find_display_line_above),
2391         (gtk_text_layout_move_iter_to_previous_line),
2392         (gtk_text_layout_move_iter_to_next_line),
2393         (gtk_text_layout_move_iter_to_line_end),
2394         (gtk_text_layout_iter_starts_line),
2395         (gtk_text_layout_move_iter_to_x):
2396         * gtk/gtktextutil.c (limit_layout_lines):
2397         Use the _readonly version of pango_layout_iter_get_line(),
2398         pango_layout_iter_get_run(), pango_layout_get_line(), and
2399         pango_layout_get_lines().
2400
2401         * gtk/gtkmain.c (gtk_get_default_language): Use
2402         pango_get_default_language().
2403
2404 2006-12-24  Matthias Clasen  <mclasen@redhat.com>
2405
2406         * gtk/gtkentry.c (gtk_entry_set_text): Emit changed
2407         and notify:text only once. The same fix was applied
2408         for replacing the selection via DND or copy-and-paste.
2409         (#64998, Damon Chaplin, Sven Herzberg)
2410
2411 2006-12-23  Matthias Clasen  <mclasen@redhat.com>
2412
2413         * gtk/gtkimmulticontext.c: Be careful to not override
2414         GTK+ translations with the translations of the input
2415         method.  (#317080, Tor Lillqvist)
2416
2417         * modules/input/imcedilla.c: Use standard macros
2418         for translation domain and locale dir.
2419
2420         * gtk/gtkimcontextsimple.c: Allow composing l with 
2421         stroke.  (#349638, Daniel Lublin)
2422
2423         * gtk/gen-paper-names.c: Fix a thinko in the suffix
2424         calculation.  (#382369, Christian Persch)
2425
2426         * gtk/paper_names_offsets.c: Regenerated.
2427
2428 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
2429
2430         * modules/engines/pixbuf/pixbuf.h:
2431         * modules/engines/pixbuf/pixbuf-rc-style.h:
2432         * modules/engines/pixbuf/pixbuf-style.h: Move 
2433         G_GNUC_INTERNAL before function declarations.  (#352276,
2434         Damien Carbery)
2435
2436 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
2437
2438         * demos/gtk-demo/*.c: Fix some leaks.  (#348108, Chris
2439         Wilson)
2440
2441 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
2442
2443         * *.c: Replace a lot of idle and timeout calls by
2444         the new gdk_threads api. 
2445
2446         * gdk/gdk.symbols:
2447         * gdk/gdk.h:
2448         * gdk/gdk.c: Add functions to allow threadsafe handling
2449         of idles and timeouts wrt. to the GDK lock.  (#321886,
2450         Chris Wilson)
2451         
2452 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
2453         
2454         * gdk/gdkpango.c: Use pango_cairo_show_error_underline.  
2455         (#340141, Behdad Esfahbod)
2456
2457         * configure.in: Check for getc_unlocked.
2458
2459         * gtk/xdgmime/xdgmimemagic.c: Use getc if getc_unlocked is
2460         unavailable.   (#381499)
2461
2462         * tests/teststatusicon.c: Fix a typo
2463
2464 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
2465
2466         Make it possible to track the embeddedness of
2467         statusicon (#387215, Martyn Russell, patch by Christian
2468         Persch)
2469
2470         * gtk/gtkstatusicon.c: Add orientation and embedded properties.
2471         * gtk/gtkplug.c: 
2472         * gtk/gtkplug-x11.c: Add an embedded property.
2473         * tests/teststatusicon.c: Test the new properties.
2474
2475         * gtk/gtkwidget.c (gtk_widget_get_draw_rectangle): Don't
2476         leak draw_border.  (#387170, Kjartan Maraas)
2477
2478 2006-12-21  Matthias Clasen  <mclasen@redhat.com>
2479
2480          * gtk/gtkfilechooserembed.c (_gtk_file_chooser_embed_set_delegate()):
2481         Typo fix.  (#388123, Murray Cumming)
2482         
2483         * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event):
2484         Generate double-click events.  (#380421, Tommi Komulainen)
2485
2486         * gdk/x1/gdkinput-xfree.c (_gdk_input_configure_event):
2487         (_gdk_input_enter_event): Correct return_if_fail checks.
2488         (#379803, Tommi Komulainen)
2489
2490         * gdk/gdkdisplay.c: Improve the docs of some functions operating
2491         on the default display.  (##353438, Mariano Suárez-Alvarez)
2492
2493 2006-12-21  Matthew Barnes  <mbarnes@redhat.com>
2494
2495         * docs/reference/gdk/gdk-sections.txt:
2496         * gdk/gdkcolor.[ch] (gdk_color_to_string): Add a function for
2497         converting a GdkColor to a string (#373856).
2498
2499         * configure.in: Bump pango requirement to 1.15.2.
2500
2501 2006-12-20  Matthias Clasen  <mclasen@redhat.com>
2502         
2503         * gdk/keynames.txt: Mark arrow keys as translatable.  (#369506,
2504         Bastian Nocera)
2505
2506         * gdk/keyname-table.h: Regenerated
2507
2508         * gtk/gtktextbuffer.c: Add signal documentation.  (#317064,
2509         Søren Wedel Nielsen)
2510
2511         * gtk/gtktextview.c (gtk_text_view_start_selection_drag):
2512         Silently return if a drag is already in progress, rather
2513         than asserting.  (#335622, Li Yuan, testcase by Erwann Chenede)
2514
2515         * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_new_with_dialog):
2516         Allow any GtkDialog that implements GtkFileChooser as
2517         dialog.  (#335473, Tommi Komulainen)
2518
2519 2006-12-20  Mikael Hallendal  <micke@imendio.com>
2520
2521         * gtk/gtkstatusicon.c: (gtk_status_icon_init): Fixed a last minute
2522         change in the quartz backend.
2523
2524 2006-12-20  Mikael Hallendal  <micke@imendio.com>
2525
2526         * gtk/Makefile.am: Added gtkstatusicon-quartz.c
2527         * gtk/gtkstatusicon-quartz.c: Implements the quartz backend for the
2528         status icon.
2529         * gtk/gtkstatusicon.c: Hooked in the new quartz backend. Bug #387874.
2530
2531 2006-12-19  Matthias Clasen  <mclasen@redhat.com>
2532
2533         * gtk/gtkprintunixdialog.c: Add a tooltip explaining the
2534         format of page ranges, and improve the page sequence icon
2535         for the case of n_copies == 1.
2536  
2537 2006-12-19  Mikael Hallendal  <micke@imendio.com>
2538
2539         * gdk/quartz/gdkcursor-quartz.c: Splitted out the GdkPixbuf to NSImage
2540         routine so that it can be used from libgtk as well (needed for
2541         upcoming GtkStatusIcon support in the Quartz port).
2542         * gdk/quartz/gdkevents-quartz.c: Don't assume that all NSWindows are
2543         created from GDK, this is not true for the status icon.
2544         * gdk/quartz/gdkprivate-quartz.h:
2545         * gdk/quartz/gdkquartz.h: Added 
2546         gdk_quartz_pixbuf_to_ns_image_libgtk_only so that it is available to 
2547         the status icon code.
2548
2549 2006-12-16  Tristan Van Berkom <tvb@gnome.org>
2550
2551         * gtk/gtkmessagedialog.c: Added return_if_fail (image) to
2552         gtk_message_dialog_set_image ()
2553
2554         * gtk/gtkscrolledwindow.c: Fixed a bug in set_property()
2555         (setting "window-placement-set" could result in a crash because
2556         of boolean/enum mixup)
2557
2558 2006-12-15  Federico Mena Quintero  <federico@novell.com>
2559
2560         Merged from gtk-2-10:
2561
2562         * gtk/gtkmenu.c (gtk_menu_set_title): Don't try to optimize for
2563         the case where the new title is the same as the old title, to
2564         preserve the behavior from GTK+ 2.8 (NULL and "" titles are not
2565         equivalent).  Handle the case where title == priv->title.  This
2566         was found by the LSB compatibility tests:
2567         https://bugzilla.novell.com/show_bug.cgi?id=223882
2568
2569 2006-12-15  Dom Lachowicz <domlachowicz@gmail.com>
2570
2571         * gtk/gtkcombobox.c: Make GtkComboBox in "appears-as-list" mode
2572         more closely resemble its Win32 counterpart. Bug #340204.
2573
2574 2006-12-14  Carlos Garnacho  <carlosg@gnome.org>
2575
2576         * gtk/gtkcalendar.c: draw arrows pointing to the right correctly
2577         placed inside their GdkWindow. Bug #385672.
2578
2579 2006-12-14  Christian Persch  <chpe@cvs.gnome.org>
2580
2581         * gtk/gtkiconview.c: Fix docs typo. Bug #385642.
2582
2583 2006-12-13  Dom Lachowicz <domlachowicz@gmail.com>
2584
2585         * src/modules/engines/ms-windows/msw_style.c: Bug 351679 - Notebooks 
2586         drawn with extra line below tab in MS-Windows theme. Patch by 
2587         Cody Russell
2588         
2589 2006-12-13  Matthias Clasen  <mclasen@redhat.com>
2590
2591         * gtk/Makefile.am: Add --unlink-tempfile to the evince call
2592         for print preview.  (#370041, Ghee Teo)
2593
2594 2006-12-11  Matthias Clasen  <mclasen@redhat.com>
2595
2596         * gtk/gtkprogressbar.c (gtk_progress_bar_paint_text): Be more
2597         careful when overdrawing antialiased text.  (#352435, Alex Jones,
2598         patch by Benjamin Otte)
2599
2600         * gtk/gtksettings.c: Change the way in which color scheme information
2601         is merged to correctly handle vanishing colors.  (#374420, 
2602         Benjamin Berg, patch by Callum McKenzie) 
2603         Also allow to separate entries in color schemes by ';' 
2604         instead of newline.  
2605
2606 2006-12-10  Matthias Clasen  <mclasen@redhat.com>
2607
2608         * modules/printbackends/cups/gtkcupsutils.c (gtk_cups_request_encode_option): 
2609         Properly pass multi-value options to cups.  (#355350, Jürg Billeter) 
2610
2611 2006-12-10  Kristian Rietveld  <kris@gtk.org>
2612
2613         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_focus_out_event):
2614         cancel editing (ie. don't accept changes) when the entry loses
2615         focus. (Fixes #164494, reported by Chris Rouch).
2616
2617 2006-12-10  Matthias Clasen  <mclasen@redhat.com>
2618
2619         * configure.in: Correct a misapplied patch. 
2620
2621 2006-12-10  Tor Lillqvist  <tml@novell.com>
2622
2623         * gtk-zip.sh.in: Put gdk-pixbuf-query-loaders.exe and
2624         gtk-query-immodules-2.0.exe in the runtime zipfile instead of
2625         developer zipfile. Users might add pixbuf loaders or immodules
2626         even if they are not interested in developing gtk+-using software.
2627
2628 2006-12-10  Matthias Clasen  <mclasen@redhat.com>
2629
2630         * configure.in: Check for crt_extern.h and _NSGetEnviron.
2631         * gdk/x11/gdkspawn-x11.c: Fix compilation on Darwin where
2632         environ is not available.  (#384168, Min Sik Kim)
2633
2634 2006-12-07  Paolo Maggi  <paolo@gnome.org>
2635
2636         Fixes bug #383407
2637         
2638         * gtk/gtkentry.c (gtk_entry_set_text): check for
2639         completion->priv->changed_id > 0 before calling 
2640         g_signal_handler_[un]block.
2641         (gtk_entry_completion_key_press): does not block/unblock the "changed"
2642         signal before calling gtk_entry_set_text.
2643         
2644 2006-12-07  Carlos Garnacho  <carlosg@gnome.org>
2645
2646         * gtk/gtkcellrendererprogress (compute_dimensions): do not use
2647         xthickness/ythickness, they aren't used any longer for drawing.
2648
2649 2006-12-07  Matthias Clasen  <mclasen@redhat.com>
2650
2651         * gtk/gtkrc.c (_gtk_rc_init): Fix clipping of accelerator
2652         underlines by giving labels a small draw-border.
2653
2654 2006-12-06  Kristian Rietveld  <kris@gtk.org>
2655
2656         * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_render):
2657         draw progress bar through theme engine instead of using our own
2658         custom cairo drawing code (#377244, patch from Carlos Garnacho).
2659
2660 2006-12-06  Matthias Clasen  <mclasen@redhat.com>
2661
2662         * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities):
2663         Update the sensitivity of the collate checkbutton more frequently,
2664         proposed by Tim Waugh.
2665
2666 2006-12-04  Matthias Clasen  <mclasen@redhat.com>
2667
2668         * gtk/gtkmessagedialog.c (setup_type): Set a11y name and role
2669         since we no longer set window titles.
2670
2671 2006-12-04  Christian Persch  <chpe@cvs.gnome.org>
2672
2673         * gtk/gtkpagesetup.c: (gtk_page_setup_get_paper_size),
2674         (gtk_page_setup_set_paper_size): Don't leak the old page size when
2675         setting a new one. Bug #382314.
2676
2677 2006-12-03  Michael Natterer  <mitch@gimp.org>
2678
2679         * gtk/gtktextview.c: remove FIXME #include that is no longer needed.
2680
2681 2006-12-03  Kristian Rietveld  <kris@gtk.org>
2682
2683         Make sure [xy]_offset are always being initialized, fix pixbuf
2684         renderer padding.  (#108235, Sven Neumann).
2685
2686         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_get_size),
2687         (gtk_cell_renderer_pixbuf_render): add padding in _render instead
2688         of _get_size.
2689
2690         * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_get_size):
2691         always initialize [xy]_offset.
2692         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): ditto.
2693         * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_size):
2694         ditto.
2695
2696 2006-12-03  Kristian Rietveld  <kris@gtk.org>
2697
2698         * gtk/gtktreeview.c (validate_visible_area): when not using an
2699         explicit alignment, use the full area of the row (not just dy)
2700         to determine how to implicitly align it.  (Fixes #363191, reported
2701         by Federico Mena Quintero).
2702
2703 2006-12-02  Matthias Clasen  <mclasen@redhat.com>
2704
2705         * gtk/gtkicontheme.c (insert_theme): Properly clean up
2706         if an icon theme index file has no directories.  (#381236)
2707
2708 2006-12-02  Dom Lachowicz <domlachowicz@gmail.com>
2709
2710         * src/modules/engines/ms-windows/msw_style.c: Bug 351678 - Notebooks 
2711         not with PositionType.Top drawn incorrectly. Patch by Cody Russell
2712         
2713 2006-11-28  Behdad Esfahbod  <behdad@gnome.org>
2714
2715         Remove the broken Thai input method and add a functional Thai and Lao
2716         input method by Theppitak Karoonboonyanan. (#81031)
2717
2718         * modules/input/imthai.c:
2719         * modules/input/gtkimcontextthai.c:
2720         * modules/input/gtkimcontextthai.h:
2721         * modules/input/thai-charprop.c:
2722         * modules/input/thai-charprop.h:
2723         Added.
2724
2725         * modules/input/imthai-broken.c:
2726         Removed.
2727         
2728         * modules/input/Makefile.am:
2729         Updated.
2730
2731 2006-11-27  Christian Persch  <chpe@cvs.gnome.org>
2732
2733         * gtk/gtkstatusicon.c: Notify when the screen changes. Bug #379793.
2734
2735 Mon Nov 27 12:27:06 2006  Tim Janik  <timj@imendio.com>
2736
2737         * gtk/gtktextview.c: applied patch by  Colin Leroy for
2738         Control+GDK_KP_Left to move one word to the left, #356255.
2739
2740 2006-11-26  Benjamin Berg  <benjamin@sipsolutions.net>
2741
2742         * gtk/gtkstyle.c: (gtk_default_draw_flat_box): Protect against NULL
2743           widget. (#379503)
2744
2745 2006-11-25  Matthias Clasen  <mclasen@redhat.com>
2746
2747         * modules/printbackends/cups/gtkprintbackendcups.c: Make
2748         print dialog work when 'BrowseShortNames Off' is specified
2749         in cups configuration. Patch by Tim Waugh.
2750
2751 2006-11-24  Michael Natterer  <mitch@imendio.com>
2752
2753         * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): if we
2754         can't go up/down, consult gtk_widget_keynav_failed() and leave the
2755         widget if it returns FALSE (bug #322640).
2756
2757 2006-11-23  Behdad Esfahbod  <behdad@gnome.org>
2758
2759         * gtk/gtkmain.c: Fix minor typo in docs. (#378632, Hannes Mueller)
2760
2761 2006-11-22  Emmanuele Bassi  <ebassi@gnome.org>
2762
2763         * gtk/gtkrecentmanager.c:
2764         (get_uri_shortname_for_display): g_filename_from_uri() might
2765         fail; catch the failure and fall back to the non-local URI
2766         case. (#363437)
2767
2768 2006-11-19  Mark McLoughlin  <mark@skynet.ie>
2769
2770         Fixes bug #376502 - multi-screen support for GtkStatusIcon
2771
2772         * gtk/gtkstatusicon.[ch]:
2773         (gtk_status_icon_set_screen),
2774         (gtk_status_icon_get_screen): add multi-screen API. Allows
2775         an app to display an icon on a non-default screen
2776         (gtk_status_icon_class_init),
2777         (gtk_status_icon_set_property),
2778         (gtk_status_icon_get_property): add a "screen" property
2779         
2780         * tests/teststatusicon.c: update to test on multiple screens
2781
2782 2006-11-17  Matthias Clasen  <mclasen@redhat.com>
2783
2784         Fix problems with drag cancellation. (#376535, Michael Natterer)
2785         
2786         * gtk/gtkdnd.c (gtk_drag_source_info_destroy): Disconnect signal
2787         handlers before emitting drag-end.
2788         (gtk_drag_end): Disconnect signal handlers before removing
2789         the grab.  
2790
2791 2006-11-16  Mariano Suárez-Alvarez <mariano@gnome.org>
2792
2793         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
2794         add gtk-doc blurb on GtkCellRendererText::edited (#376094)
2795
2796 2006-11-16  Michael Natterer  <mitch@imendio.com>
2797
2798         * gtk/gtkradiobutton.c (gtk_radio_button_focus): don't use
2799         gtk_widget_keynav_failed(). Instead, look at gtk-keynav-cursor-only
2800         and gtk-keynav-wrap-around and wrap around, beep or continue outside
2801         the group manually (bug #322640).
2802
2803 2006-11-16  Michael Natterer  <mitch@imendio.com>
2804
2805         Add new infrastructure for notifications of failed keyboard
2806         navigation and navigation with restricted set of keys.
2807
2808         The patch handles configurable beeping, navigating the GUI with
2809         cursor keys only (as in phone environments), and configurable
2810         wrap-around. Fixes bugs #322640, #70986, #318827, #334726, #334742
2811         and #309291.
2812
2813         * gtk/gtksettings.c: added properties gtk-keynav-cursor-only,
2814         gtk-keynav-wrap-around and gtk-error-bell.
2815
2816         * gtk/gtkwidget.[ch]: added new signal "keynav-failed" and public
2817         API to emit it. Added New function gtk_widget_error_bell() which
2818         looks at the gtk-error-bell setting and calls gdk_window_beep()
2819         accordingly.
2820
2821         * gtk/gtk.symbols: add the new widget symbols.
2822
2823         * gtk/gtkcellrendereraccel.c
2824         * gtk/gtkimcontextsimple.c
2825         * gtk/gtkmenu.c
2826         * gtk/gtknotebook.c: use gtk_widget_error_bell() or look at the
2827         gtk-error-bell setting instead of calling gdk_display_beep()
2828         unconditionally.
2829
2830         * gtk/gtkcombobox.c
2831         * gtk/gtkentry.c
2832         * gtk/gtkiconview.c
2833         * gtk/gtklabel.c
2834         * gtk/gtkmenushell.c
2835         * gtk/gtkspinbutton.c
2836         * gtk/gtktextview.c
2837         * gtk/gtktreeview.c: call gtk_widget_error_bell() on failed keynav.
2838
2839         * gtk/gtkentry.c
2840         * gtk/gtklabel.c
2841         * gtk/gtkrange.c
2842         * gtk/gtktextview.c: consult gtk_widget_keynav_failed() on failed
2843         cursor navigation and leave the widget if it returns FALSE.
2844
2845         * gtk/gtkmenushell.c
2846         * gtk/gtknotebook.c: only wrap around if gtk-keynav-wrap-around
2847         is TRUE.
2848
2849         * gtk/gtkradiobutton.c: ask gtk_widget_keynav_failed() to decide
2850         whether to to wrap-around, and don't select active items on cursor
2851         navigation if gtk-keynav-cursor-only is TRUE. Should look at
2852         gtk-keynav-wrap-around too, will look into that.
2853
2854 2006-11-16  Emmanuele Bassi  <ebassi@gnome.org>
2855
2856         * gtk/gtkrecentmanager.c:
2857         (gtk_recent_info_get_uri_display): Return the URI
2858         of the GtkRecentInfo object (upgraded to UTF-8 if
2859         needed) in case of non-local file. (#351945)
2860
2861 2006-11-16  Emmanuele Bassi  <ebassi@gnome.org>
2862         
2863         * gtk/gtkrecentchoosermenu.c:
2864         (gtk_recent_chooser_menu_add_tip): Apply the tip only
2865         if we have a displayable name for the item. (#365031,
2866         patch by padraig.obriain(at)sun.com)
2867
2868 2006-11-16  Emmanuele Bassi  <ebassi@gnome.org>
2869
2870         * gtk/gtkrecentmanager.c: Provide a fast path returning
2871         NULL when the limit is set to 0.
2872
2873         * gtk/gtkrecentchooserdefault.c:
2874         * gtk/gtkrecentchoosermenu.c: Add the same fast path
2875         inside the RecentChooser implementation; add a check
2876         in the list clamping code. (#373466 and duplicates)
2877
2878 2006-11-15  Matthias Clasen  <mclasen@redhat.com>
2879
2880         * modules/printbackends/cups/gtkprintbackendcups.c (cups_printer_get_options): 
2881         Don't pass NULL to strncpy.  (#359537, patch by  Carlos Garcia Campos)
2882
2883 2006-11-15  Michael Natterer  <mitch@imendio.com>
2884
2885         * gtk/gtkrange.[ch]: added properties "fill-level",
2886         "show-fill-level" and "restrict-to-fill-level" and getters/setters
2887         for them. The "fill level" is an additional marker on the range's
2888         trough than can be e.g. used to indicate the amount of
2889         pre-buffering in a range showing the play position of streamed
2890         media. See the embedded API docs for details. Made GtkRangeLayout
2891         a GTypeInstance private struct and removed finalize()
2892         implementation. Fixes bug #349808
2893
2894         * gtk/gtk.symbols: added the new symbols.
2895
2896 2006-11-14  Behdad Esfahbod  <behdad@gnome.org>
2897
2898         * configure.in: Make libtool magic robust. (#352795)
2899
2900 2006-11-13  Paolo Borelli  <pborelli@katamail.com>
2901
2902         * gtk/gtkrc.c (gtk_rc_parse_icon_source): plug small memory
2903         leak (#370395)
2904
2905 2006-11-09  Kristian Rietveld  <kris@imendio.com>
2906
2907         * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): disable
2908         don't move cursor case for SELECTION_NONE. (#371756, John Ellis).
2909
2910 2006-11-09  Carlos Garnacho  <carlosg@gnome.org>
2911
2912         * gtk/gtkpathbar.c (on_slider_unmap): Fix parenthesis confusion.
2913
2914 2006-11-08  Carlos Garnacho  <carlosg@gnome.org>
2915
2916         * gtk/gtkpathbar.c (on_slider_unmap): added, do not leave the scroll
2917         timeout running if the slider buttons are hidden. (#372527)
2918
2919 2006-11-08  Christian Persch  <chpe@cvs.gnome.org>
2920
2921         * gtk/gtkfilechooserdefault.c (browse_widgets_create): Don't make
2922         the "Location" label bold. Bug #372449.
2923
2924 2006-11-07  Carlos Garnacho  <carlosg@gnome.org>
2925
2926         * gtk/gtknotebook.c (gtk_notebook_calculate_tabs_allocation): make
2927         non-focused tabs xthickness/ythickness thinner. (#353962)
2928
2929 2006-11-07  Paolo Borelli  <pborelli@katamail.com>
2930
2931         * gtk/gtktextbtree.c (_gtk_text_btree_delete): avoid memory
2932         corruption (#357050).
2933
2934 2006-11-06  Alexander Larsson  <alexl@redhat.com>
2935
2936         * gtk/gtkdnd.c: (gtk_drag_begin_internal),
2937         (gtk_drag_source_info_destroy), (gtk_drag_end),
2938         (gtk_drag_grab_notify_cb):
2939         Cancel drag when the grab is shadowed. (#122688)
2940
2941 2006-11-01  Kristian Rietveld  <kris@imendio.com>
2942
2943         * gtk/gtkcombobox.c (gtk_combo_box_class_init),
2944         (gtk_combo_box_size_request): add arrow-size property to control
2945         the minimum size of the arrow, have the arrow scale up with the
2946         font by default. (#357950).
2947
2948 2006-10-30  Kristian Rietveld  <kris@gtk.org>
2949
2950         * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): don't
2951         forget to queue a draw for the new cursor node. (Fixes #366548,
2952         reported by Sven Herzberg).
2953
2954 2006-10-30  Michael Natterer  <mitch@imendio.com>
2955
2956         * gtk/gtkrange.c (gtk_range_key_press): consume the Escape key
2957         only if we actually cancel a drag. Fixes bug #58389.
2958
2959 2006-10-30  Kristian Rietveld  <kris@gtk.org>
2960
2961         * gtk/gtktreeview.c (gtk_tree_view_class_init): change left/right
2962         keybindings to collapse/expand rows instead of moving the focus
2963         cursor. (#105895, Brian Bober and others).
2964
2965 2006-10-29  Kristian Rietveld  <kris@gtk.org>
2966
2967         * gtk/gtktreeview.c (gtk_tree_view_real_expand_row): guard against
2968         child removal in row-expanded callback. (#366782, John Ellis).
2969
2970 2006-10-29  Tor Lillqvist  <tml@novell.com>
2971
2972         * gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Improve handling
2973         of the small icon of the window class. (#152620, Kazuki Iwamoto)
2974
2975 2006-10-29  Tor Lillqvist  <tml@novell.com>
2976
2977         * gdk/win32/gdkcursor-win32.c
2978         (gdk_win32_icon_to_pixbuf_libgtk_only): Implement for B&W cursors,
2979         for instance the built-in GDK ones.
2980
2981 2006-10-27  Kristian Rietveld  <kris@gtk.org>
2982
2983         * gtk/gtktreeview.c (validate_visible_area): rework the area_above == 0
2984         case to not overwrite the variables in the lower scope (which are
2985         used later on ...), get the path correctly and bail out when there
2986         isn't a node above us. (#359231).
2987
2988 2006-10-26  Christian Persch  <chpe@cvs.gnome.org>
2989
2990         * gtk/gtkaboutdialog.c: Put initial focus on Close button (#337261).
2991
2992 2006-10-25  Johan Dahlin  <jdahlin@async.com.br>
2993
2994         * gtk/gtk.symbols: Add missing symbols to so make check can pass
2995
2996 2006-10-23  Dom Lachowicz <domlachowicz@gmail.com>
2997
2998         * src/modules/engines/ms-windows/msw_style.c (draw_expander): Remember
2999         to free GDI Pen resources, introduced by bug 340201.(#364514)
3000         
3001 2006-10-18  Kristian Rietveld  <kris@imendio.com>
3002
3003         * tests/testcombo.c (main): connect to notify::popup-shown instead of
3004         popup-show (the latter does not exist).
3005
3006 2006-10-15  Paolo Borelli  <pborelli@katamail.com>
3007
3008         * gtk/gtkicontheme.c (pixbuf_supports_svg): plug memory leak.
3009         Fixes bug #362439.
3010
3011 2006-10-12  Michael Natterer  <mitch@imendio.com>
3012
3013         * gtk/gtkcombobox.c (gtk_combo_box_class_init): fix commit below
3014         (committed the wrong patch).
3015
3016 2006-10-12  Michael Natterer  <mitch@imendio.com>
3017
3018         * gtk/gtkcombobox.c: added "move-active" and "popup" signals and
3019         bindings to trigger them. Removed gtk_combo_box_key_press(), it's
3020         obsolete now. Fixes bug #358293.
3021
3022 2006-10-11  Michael Emmel  <mike.emmel@gmail.com>
3023
3024         * gdkpixmap-directfb.c: add missing RGB24 case (#361176) 
3025
3026 2006-10-11  Tor Lillqvist  <tml@novell.com>
3027
3028         * configure.in: Enable having some gdk-pixbuf loaders built-in
3029         even if loading the others dynamically. Define Automake
3030         conditional INCLUDE_FOO for each loader as TRUE if that loader is
3031         built-in. See also gdk-pixbuf/ChangeLog.
3032
3033 Wed Oct 11 14:31:30 2006  Tim Janik  <timj@imendio.com>
3034
3035         * docs/reference/gtk/gtk-sections.txt:
3036         * gtk/gtkbindings.c: document gtk_binding_entry_skip().
3037
3038 2006-10-11  Tor Lillqvist  <tml@novell.com>
3039
3040         * gtk/gtk.symbols: Remove gtk_combo_string_key, which is a static
3041         variable.
3042
3043 2006-10-11  Tor Lillqvist  <tml@novell.com>
3044
3045         Merge from 2.10 branch:
3046
3047         * gtk/gtkmain.c (do_pre_parse_initialization): On Win32, if
3048         environment variable LC_ALL or LANG is set, set the Win32 thread
3049         locale to the corresponding locale. Then call the C library
3050         setlocale() to set the C library locale accordingly. The
3051         inconsistency mentioned below is gone. (#339756) Do some special
3052         casing for Serbia and Montenegro. Handle the Latin and Cyrillic
3053         scripts for Azeri, Uzbek and Serbian.
3054         (enum_locale_proc): Helper function for the above functionality.
3055
3056         * gtk/gtkcalendar.c (gtk_calendar_init): No longer need to check
3057         if the environment variables are set here, as they have already
3058         been taken into account and the Win32 thread locale has been
3059         set.
3060
3061 Tue Oct 10 16:38:23 2006  Tim Janik  <timj@imendio.com>
3062
3063         * gtk/tmpl/gtkbindings.sgml: 
3064         * gtk/gtkbindings.c: applied patch from Michael Natterer to move to 
3065         inline docs. applied wording fixes suggested by Martyn Russell.
3066
3067 2006-10-09  Matthias Clasen  <mclasen@redhat.com>
3068
3069         * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
3070         Update the docs to state which out parameters may be NULL.
3071         (#360870, Attilio Fiandrotti)
3072
3073 2006-10-08  Matthias Clasen  <mclasen@redhat.com>
3074
3075         * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities): Fix
3076         a typo.  (#359542, Ghee Teo)
3077
3078 2006-10-08 Matthias Clasen <mclasen@redhat.com>
3079
3080         * gtk/gtknotebook.c (gtk_notebook_reorder_tab): Only
3081         reorder tabs if the focus is in the tab.  (#350342, Carlos
3082         Garnacho Parro)
3083
3084 2006-10-08 Michael Emmel <mike.emmel@gmail.com>
3085
3086         * gdk/directfb/gdkproperty-directfb.c strdup atom name (#357611) 
3087
3088 2006-10-08  Kristian Rietveld  <kris@gtk.org>
3089
3090         * gtk/gtktreeview.[ch] (gtk_tree_view_set_property),
3091         (gtk_tree_view_set_show_expanders),
3092         (gtk_tree_view_get_show_expanders): add getter/setter for
3093         show-expanders property, queue a redraw when this property
3094         is toggled (#351167, Martin Ejdestig),
3095         (gtk_tree_view_set_level_indentation),
3096         (gtk_tree_view_get_level_indentation): also add getter/setter
3097         and docs for level-indentation property.
3098
3099 2006-10-08  Matthias Clasen  <mclasen@redhat.com>
3100
3101         * gtk/gtkradiobutton.c (gtk_radio_button_focus): Don't 
3102         leak a list.  (#360350, Benjamin Berg)
3103
3104         * Apply a cleanup patch by Kjartan Maraas  (#341812)
3105
3106 2006-10-07  Tor Lillqvist  <tml@novell.com>
3107
3108         * gtk/gtkcalendar.c (gtk_calendar_init): Use the Win32 thread
3109         locale's first day of week setting on Win32. (#339752, Bogdan
3110         Nicula) Don't do this if one of the environment variables that
3111         affect gettext is set, though. In that case use the week start day
3112         from the corresponding message catalog.
3113
3114         Unfortunately the same logic isn't possible in the weekday and
3115         month name lookup; there even if you have set one of the
3116         aforementioned environment variables, you still get the weekday
3117         and month names from the Win32 thread locale. Yes, this is
3118         inconsistent.
3119
3120         Use only wide-character API in the Win32 code in this file, too.
3121
3122 2006-10-06  Matthias Clasen  <mclasen@redhat.com>
3123
3124         * gtk/gtkfilechooser.c (gtk_file_chooser_set_select_multiple):
3125         Fix the docs.  (#360112)
3126
3127         * gtk/gtkcellview.c: Don't set the background of the
3128         window in a no-window widget.  (#359581, Xan Lopez)
3129
3130
3131 2006-10-05  Behdad Esfahbod  <behdad@gnome.org>
3132
3133         * gtk/Makefile.am, gtk/aliasfilescheck.sh:  Propagate srcdir into the
3134         test correctly. (#359845)
3135
3136 2006-10-05  Michael Natterer  <mitch@imendio.com>
3137
3138         * gtk/gtkrc.[ch]: added new scanner token "unbind" which gets
3139         rid of a key binding (in fact, it only lets it appear unbound).
3140
3141         * gtk/gtkbindings.[ch] (struct GtkBindingEntry): added
3142         "guint marks_unbound : 1"
3143
3144         (gtk_binding_entry_skip): new API which marks the entry as unbound.
3145
3146         Changed code so it returns FALSE when "marks_unbound == TRUE" is
3147         encountered while activating bindings, effectively letting the
3148         binding appear unbound (regardless of still existing bindings in
3149         lower binding priority levels). Fixes bug #358329.
3150
3151         (gtk_binding_entry_add)
3152         (gtk_binding_entry_clear)
3153         (gtk_binding_entry_add_signall)
3154         (gtk_binding_parse_binding): deprected these functions.
3155
3156         (_gtk_binding_parse_binding)
3157         (_gtk_binding_entry_add_signall): new internal API.
3158
3159         * gtk/gtk.symbols: changed accordingly.
3160
3161 2006-10-03  Matthias Clasen  <mclasen@redhat.com>
3162
3163         Fix interaction of GtkEntryCompletion with input
3164         methods.  (#354495, Diego Escalante Urrelo)
3165
3166         * gtk/gtkentry.c (gtk_entry_completion_key_press): Only reset
3167         the im context if we actually handle the key event.
3168
3169         * gtk/gtkentrycompletion.c: Also propagate key release events
3170         to the entry.
3171
3172 2006-10-03  Matthias Clasen  <mclasen@redhat.com>
3173
3174         * gtk/gtkprintsettings.c (gtk_print_settings_get_duplex):
3175         Fix a typo.  (#359052, Ghee Teo)
3176
3177         * gtk/*.c, gdk/*.c: Apply a patch by Behdad Esfahbod to
3178         reduce relocations. (#359053)
3179
3180 2006-10-03  Matthias Clasen  <mclasen@redhat.com>
3181
3182         * modules/printbackends/cups/gtkcupsutils.c:
3183         * modules/printbackends/cups/gtkprintbackendcups.c: Complete
3184         the fix for bug 357280.
3185
3186 2006-10-02  Behdad Esfahbod  <behdad@gnome.org>
3187
3188         * gdk-pixbuf/Makefile.am:
3189         * gdk/Makefile.am:
3190         * gtk/Makefile.am:
3191         Include pltcheck.sh in EXTRA_DIST.
3192
3193 2006-10-02  Behdad Esfahbod  <behdad@gnome.org>
3194
3195         * gdk/x11/gdkevents-x11.c: Move all includes before including
3196         gdkalias.h.
3197
3198 2006-10-02  Behdad Esfahbod  <behdad@gnome.org>
3199
3200         * gtk/Makefile.am: Fix typo in file name.  (#358931)
3201
3202 2006-10-02  Matthias Clasen  <mclasen@redhat.com>
3203
3204         * modules/printbackends/cups/gtkprintbackendcups.c (available_choices): 
3205         Only use the group name field if cups is new enough.  (#357280)
3206
3207         * gtk/gtksizegroup.c: Make sure that the quarks are 
3208         initialized before using them.  (#353736)
3209
3210         * gtk/Makefile.am (stamp-icons): Use rm instead of ln -f to
3211         replace existing links.  (#354849, James Evans)
3212
3213 2006-10-01  Matthias Clasen  <mclasen@redhat.com>
3214
3215         * gtk/gtkexpander.c (gtk_expander_realize) 
3216         (gtk_expander_size_allocate): Make the event_window large
3217         enough to cover the full height of the label_widget.  (#358351,
3218         Scott Horowitz)
3219
3220 2006-10-01  Tor Lillqvist  <tml@novell.com>
3221
3222         * gtk/gtkfilesystemwin32.c: Same change as to gtkfilesystemunix.c.
3223
3224 2006-09-30  Matthias Clasen  <mclasen@redhat.com>
3225
3226         * gtk/gtkfilechooserbutton.c (update_combo_box): Protect
3227         against base_path being NULL.  (#358405, many reporters)
3228
3229 2006-09-29  Matthias Clasen  <mclasen@redhat.com>
3230
3231         * gtk/gtkfilesystemunix.c: Apply a patch by Padraig O'Briain
3232         to avoid a deadlock.
3233
3234 2006-09-27  Kristian Rietveld  <kris@imendio.com>
3235
3236         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_free_level),
3237         (gtk_tree_model_filter_ref_node),
3238         (gtk_tree_model_filter_real_unref_node): bring zero ref count loops
3239         in sync with each other and the sort model.
3240
3241 2006-09-27  Kristian Rietveld  <kris@imendio.com>
3242
3243         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_init),
3244         (gtk_tree_model_filter_finalize), (gtk_tree_model_filter_row_deleted),
3245         (gtk_tree_model_filter_new): unref the virtual root path once that
3246         node (or one if its ancestors) is deleted, set virtual_root_deleted
3247         so we only unref it once.
3248
3249 2006-09-27  Kristian Rietveld  <kris@imendio.com>
3250
3251         * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_changed),
3252         (gtk_tree_model_sort_sort_level): ref count nodes the proper way,
3253         (gtk_tree_model_sort_ref_node), (gtk_tree_model_sort_real_unref_node),
3254         (gtk_tree_model_sort_free_level): bring zero ref count loops in
3255         sync,
3256         (gtk_tree_model_sort_free_level): free child levels before
3257         decreasing the zero ref count of the current level,
3258         (gtk_tree_model_sort_clear_cache): only clear cache if zero_ref_count
3259         is > 0.
3260
3261 2006-09-25  Matthias Clasen  <mclasen@redhat.com>
3262
3263         * demos/gtk-demo/*.c:
3264         * gtk/gtkeventbox.c:
3265         * gtk/gtkprintoperation.c: Fix typos. String change.
3266
3267 2006-09-25  Kristian Rietveld  <kris@gtk.org>
3268
3269         * gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): if the tree view
3270         has already been realized; scroll to background area instead of
3271         cell area. (Fixes #330683, Johan Dahlin, Tommi Komulainen).
3272
3273 2006-09-25  Kristian Rietveld  <kris@gtk.org>
3274
3275         * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): only attempt
3276         to create the GCs if the widget is realized. (Fixes #357578).
3277
3278 2006-09-25  Matthias Clasen  <mclasen@redhat.com>
3279
3280         * gtk/gtkuimanager.c (_gtk_menu_is_empty): Don't leak
3281         the list of children (#357454, Paolo Borelli)
3282
3283 2006-09-25  Michael Natterer  <mitch@imendio.com>
3284
3285         * gdk/x11/gdkdisplay-x11.c (gdk_display_x11_finalize): free
3286         display->input_windows with g_free(), not g_object_unref()
3287         (#357566, Tommi Komulainen).
3288
3289 2006-09-24  Kristian Rietveld  <kris@gtk.org>
3290
3291         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init),
3292         (gtk_cell_renderer_text_[sg]et_property): actually add align-set
3293         property to the API (left-over patch from #157439).
3294
3295 2006-09-24  Kristian Rietveld  <kris@gtk.org>
3296
3297         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button): draw
3298         the indicator if the column has a sort column id (and the model is
3299         sortable) or if the user explicitly requested the indicator
3300         to be shown.  (Fixes #352738, Chris Vine).
3301
3302 2006-09-23  Tor Lillqvist  <tml@novell.com>
3303
3304         * gtk/Makefile.am: Use EXEEXT.
3305
3306 2006-09-22  Michael Natterer  <mitch@imendio.com>
3307
3308         * gtk/gtkstyle.c (gtk_style_real_copy): also copy icon factories
3309         and color hashes. Fixes bug #357132.
3310
3311 2006-09-22  Matthias Clasen  <mclasen@redhat.com>
3312
3313         Make remote bookmarks work better (#354887)
3314         
3315         * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): 
3316         (shortcuts_insert_path): 
3317         * gtk/gtkfilechooserbutton.c (change_icon_theme): 
3318         (model_add_bookmarks): 
3319         (model_update_current_folder): 
3320         (update_label_and_image): 
3321         If the bookmark points to a remote file, don't call get_info(), 
3322         since that may a) take a long time and b) pop up an auth dialog.
3323         Instead, just use a folder icon and create a display name
3324         from the uri.
3325
3326         * gtk/gtkfilechooserdefault.c (_gtk_file_chooser_label_for_uri): 
3327         New function to create a suitable display name for a remote
3328         uri. This should really be done in GtkFileSystem.
3329         
3330 2006-09-21  Michael Natterer  <mitch@imendio.com>
3331
3332        Implement lots of value setters for GdkGC, based on a heavily
3333        modified patch from Thomas Broyer (bug #328853):
3334
3335         * gdk/quartz/gdkcolor-quartz.c: removed functions which set colors
3336         on the CGContext. Instead, added gdk_quartz_get_rgba_from_pixel()
3337         which simply returns RGBA values from a GdkColor's pixel value.
3338         See gdk_quartz_update_context_from_gc() below.
3339
3340         * gdk/quartz/gdkprivate-quartz.h (struct GdkGCQuartz): added lots
3341         of members for the newly suppored GC values. Added enum
3342         GdkQuartzContextValuesMask which is used for setting up the
3343         CGContext for filling and/or stroking.
3344
3345         * gdk/quartz/gdkgc-quartz.c (gdk_quartz_gc_get_values)
3346         (gdk_quartz_gc_set_values)
3347         (_gdk_windowing_gc_copy): support a lot more GC values.
3348
3349         (gdk_quartz_update_context_from_gc): added
3350         GdkQuartzContextValuesMask parameter and set filling/stroking
3351         parameters accordingly. This function also gained full control
3352         over the FG and BG colors (they can't be set separately any more).
3353
3354         The stipple mask part of the patch doesn't work but seems to take
3355         the right approach and doesn't make things worse, so I applied it.
3356
3357         Did *not* apply the clipping part of the patch since I don't
3358         understand it (I don't understand the version in CVS either, but
3359         it at least works :-)
3360
3361         * gdk/quartz/gdkdrawable-quartz.c: pass the right masks to
3362         gdk_quartz_update_context_from_gc() and removed separate color
3363         setting calls. Some minor fixes.
3364
3365         * gdk/quartz/gdkwindow-quartz.c
3366         (gdk_window_impl_quartz_begin_paint_region): set the CGContext's
3367         fill color manually. We don't have/need a GC here.
3368
3369 2006-09-21  Michael Natterer  <mitch@imendio.com>
3370
3371         * gdk/quartz/gdkwindow-quartz.c
3372         (gdk_window_impl_quartz_begin_paint_region): fix cast: it's
3373         drawable_impl->wrapper that is the GdkWindow, not the
3374         drawable_impl itself.
3375
3376 2006-09-20  Behnam Esfahbod <behnam@zwnj.org>
3377
3378         * gdk/x11/gdkkeys-x11.c:
3379           (get_direction): just check the first shift-level of keyboard
3380         layout for RTL and LTR keysyms() (compliment to #116626)
3381
3382 Wed Sep 20 16:59:38 2006  Tim Janik  <timj@imendio.com>
3383
3384         * gtk/gtkviewport.c: always update the bin_window position and size
3385         in size_allocate, even if we don't have a visible child. this fixes
3386         expose artefacts as described in #313508.
3387
3388         * gtk/gtkscrolledwindow.c: make hiding of automatic scrollbars when we
3389         have no visible child explicit.
3390
3391 2006-09-19  Ryan Lortie  <desrt@desrt.ca>
3392
3393         * docs/reference/gdk/gdk-sections.txt:
3394         * gdk/gdk.symbols:
3395         * gdk/gdkpango.h:
3396         * gdk/gdkpango.c: Bug 355343.  Add a GdkPangoAttrEmbossColor.
3397           (gdk_pango_layout_get_clip_region): Remove an unused variable.
3398           (gdk_pango_attr_embossed_new): Fix documentation.
3399
3400 Tue Sep 19 17:00:04 2006  Tim Janik  <timj@imendio.com>
3401
3402         * gtk/gtkarrow.c: added GtkArrow::arrow-scaling style property to 
3403         control the arrow/border ratio within the allocation.
3404
3405         * tests/testgtk.c: added a GtkArrow to handle box test.
3406
3407         * tests/testgtkrc: test ::arrow-scaling property.
3408
3409 2006-09-19  Matthias Clasen  <mclasen@redhat.com>
3410
3411         * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
3412         Display an error when we come to the root.  
3413
3414 2006-09-16  Matthias Clasen  <mclasen@redhat.com>
3415
3416         * gtk/gtkfilechooserbutton.c: Use bookmark labels in 
3417         the combobox. 
3418
3419         * gtk/gtkfilechooserbutton.c: Don't add remote volumes and 
3420         bookmarks to the model in local-only mode, to avoid 
3421         authentication dialogs pop up for invisible bookmarks, and
3422         to fix issues with separators not being hidden when
3423         they should.  (#354887, Dennis Cranston)
3424
3425 2006-09-16  Matthias Clasen  <mclasen@redhat.com>
3426
3427         * gtk/gtkcombobox.c (gtk_combo_box_finalize): Unref the
3428         treeview use in list mode.  (#355732, Richard Hult)
3429
3430         * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): Send
3431         change notification for the right property.  (#355308,
3432         Torsten Schoenfeld)
3433
3434 2006-09-15  Michael Natterer  <mitch@imendio.com>
3435
3436         * gtk/gtktreeview.c (gtk_tree_view_key_press): refactored column
3437         header navigation/resizing/reordering to be more readable and lose
3438         one level of nesting.
3439
3440 2006-09-15  Kristian Rietveld  <kris@imendio.com>
3441
3442         * gtk/gtktreeview.c (gtk_tree_view_key_press): actually directly
3443         return after handling column button focus; we disable wrap around
3444         with this (which actually happened via a really weird code path).
3445         (Michael Natterer)
3446
3447 2006-09-15  Kristian Rietveld  <kris@imendio.com>
3448
3449         * gtk/gtktreeview.c (gtk_tree_view_key_press): make column resizing
3450         code RTL aware, also break from the loops after we have seen the
3451         focussed column button (Michael Natterer).
3452
3453 Thu Sep 14 12:28:51 2006  Tim Janik  <timj@imendio.com>
3454
3455         * tests/testrichtext.c (main): intialize random number generator state
3456         upon program start, to enable truely random testing.
3457
3458 2006-09-13 Michael Emmel <mike.emmel@gmail.com>
3459
3460         * gdk/directfb/gdkcolor-directfb.c small clean ups include order
3461         * gdk/directfb/gdkwindow-directfb.c fixed beep compile error
3462         * gdk/directfb/Makefile.am removed GDK_PIXBUF_DISABLE_DEPRECATED
3463                 GDK_DISABLE_DEPRECATED to allow compile per Behdad
3464         * gdk/quartz/Makefile.am same change as directfb Makefile
3465         * gtk/Makefile.am fixed typo that cause socket stubs not to compile
3466
3467 2006-09-13 Matthias Clasen <mclasen@redhat.com>
3468
3469         * gtk/gtkcolorsel.c: Use a GtkWindow instead of a GtkInvisible
3470         for the grab widget, to make the color picker work with window
3471         groups.  
3472
3473 2006-09-12 Hong Jen Yee <pcman.tw@gmail.com>
3474
3475         signed off by: Dom Lachowicz
3476         
3477         * modules/engines/ms-windows/msw_style.c: Bug 340201. This contains
3478         a large number of improvements to the Microsoft Windows theme engine
3479         which are fully described in the bug report.
3480         
3481 Mon Sep 11 14:22:39 2006  Tim Janik  <timj@imendio.com>
3482
3483         * tests/testgtk.c: fixed compiler warnings.
3484
3485 2006-09-10  Matthias Clasen  <mclasen@redhat.com>
3486
3487         * gtk/gtkfilechooserbutton.c (model_add_special): Request
3488         the display name too, otherwise "Desktop" does not appear
3489         in the file chooser button. 
3490
3491 2006-09-10  Tor Lillqvist  <tml@novell.com>
3492
3493         * gdk/win32/gdkprivate-win32.h
3494         * gdk/win32/gdkmain-win32.c
3495         * gdk/win32/gdkwindow-win32.c: Define WINVER and _WIN32_WINNT as
3496         0x0500 in gdkprivate-win32.h instead of doing it in two source
3497         files. (#355212, Mike Edenfield)
3498
3499         * gdk/win32/gdkwindow-win32.c: We can also remove the ersatz
3500         GetAncestor() for the _MSC_VER && WINVER < 0x0500 case, I hope.
3501
3502 2006-09-10  Matthias Clasen  <mclasen@redhat.com>
3503
3504         * Commit a patch by Behdad to fix typos, omissions and other
3505         errors in the symbol aliasing, and add checks for local PLT
3506         entries.  (#354687, Behdad Esfahbod)
3507
3508         * gtk/gtktreeview.c (gtk_tree_view_search_scroll_event): Renew
3509         the flush timeout.  (#354043, Nelson Benitez)
3510         
3511         * gtk/gtkfilechoosersettings.c (set_unexpected_element_end_error): 
3512         Improve wording. String change!  (#355126, David Lodge)
3513
3514         * gtk/updateiconcache.c: Improve wording. String change!  (#355128,
3515         David Lodge)
3516
3517         * gtk/paper_names_offsets.c: Fix a typo. String change!  (#355134,
3518         David Lodge)
3519
3520 2006-09-09  Matthias Clasen <mclasen@redhat.com>
3521
3522         * gdk/x11/gdkfonts-x11.c: Fix small theoretical memory leaks.
3523         (#353916, Chris Wilson)
3524
3525         * gtk/gtksettings.c (_gtk_settings_reset_rc_values):
3526         Don't leak the to_reset list.  (#353914, Chris Wilson)
3527
3528         * gtk/gtkwidget.c: Add docs for the parent-set signal.
3529         (#353772, Mariano Suárez-Alvarez)
3530
3531 2006-09-08  Matthias Clasen <mclasen@redhat.com>
3532
3533         * gtk/gtktextbuffer.c (remove_all_selection_clipboards):
3534         Don't clear clipboards here, since we are called from finalize
3535         and can't emit signals.
3536
3537         * configure.in: Set version to 2.11.0
3538
3539 2006-09-06  Richard Hult  <richard@imendio.com>
3540
3541         * gdk/quartz/gdkkeys-quartz.c: (maybe_update_keymap): Special-case 
3542         shift-tab and map it to GDK_ISO_Left_Tab, fixes bug #350806.
3543
3544 2006-09-04  Kristian Rietveld  <kris@imendio.com>
3545
3546         * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
3547         if setting the given folder failed, try setting the parent folder
3548         until we succeed; display an error box at the end.
3549
3550 2006-09-04  Kristian Rietveld  <kris@imendio.com>
3551
3552         * gtk/gtkpathbar.c (gtk_path_bar_dispose): don't cancel the
3553         operations spawned by buttons here,
3554         (set_button_image_get_info_cb): bail out if button is NULL, but
3555         do free button_data,
3556         (button_data_free): only free the data if non NULL (since this
3557         function can be called multiple times for the same data), cancel
3558         handle if pending but don't free button_data in this case (will
3559         happen in the callback).
3560
3561 2006-09-04  Michael Natterer  <mitch@imendio.com>
3562
3563         * gtk/gtkrc.c (rc_parse_token_or_compound)
3564         (gtk_rc_parse_assignment): serialize floating point values using
3565         locale-independent functions. (#346751, Frederic Crozat)
3566
3567 2006-09-04  Tor Lillqvist  <tml@novell.com>
3568
3569         * gdk/win32/gdkevents-win32.c
3570         * gdk/win32/gdkwindow-win32.c: Use wide-char API for message and
3571         window handling (PeekMessage, PostMessage, SendMessage,
3572         DispatchMessage, DefWindowProc, RegisterClassEx,
3573         CreateWindowEx). (#321597)
3574
3575 2006-09-03  Kristian Rietveld  <kris@imendio.com>
3576
3577         * gtk/gtkfilechooserdefault.c (save_entry_get_info_cb),
3578         (file_exists_get_info_cb), (gtk_file_chooser_default_should_respond):
3579         change file_exists_and_is_not_folder checks to get the file info
3580         for the path directly instead of querying the current file folder
3581         of the save entry.
3582
3583         * gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault): add
3584         new field.
3585
3586         * tests/autotestfilechooser.c (wait_for_idle_idle), (wait_for_idle),
3587         (test_reload_sequence), (test_button_folder_states_for_action): wait
3588         for idle after setting a folder to ensure the async operations to load
3589         the folder are finished,
3590         (test_confirm_overwrite), (test_confirm_overwrite_for_path):
3591         factor out test_confirm_overwrite code so we can add tests for more
3592         paths more easily.
3593
3594 2006-09-03  Richard Hult  <richard@imendio.com>
3595
3596         * gdk/quartz/GdkQuartzView.c (drawRect): Don't do anything if
3597         exposure isn't in the event mask, plug a leak, and check that the
3598         window isn't destroyed.
3599         (isOpaque): Check that the window isn't destroyed, fixes bug 
3600         #353028.
3601
3602 2006-09-03  Matthias Clasen  <mclasen@redhat.com>
3603
3604         * gtk/gtkwidget.c (gtk_widget_class_init): Fix a typo.  
3605         (#354035, Mariano Suárez-Alvarez)
3606
3607         * gtk/gtkmain.c (post_parse_hook): 
3608         * gdk/gdk.c (gdk_init): Handle display_name being NULL.
3609         (#354004, Chris Wilson)
3610
3611 2006-09-03  Tor Lillqvist  <tml@novell.com>
3612
3613         * gdk/win32/gdkwindow-win32.c (gdk_window_beep): No
3614         GDK_WINDOW_DISPLAY in the Win32 backend.
3615
3616         * gtk/gtkfilesystemwin32.c: Copy what Kris did to
3617         gtkfilesystemunix.c
3618
3619 2006-09-02  Kristian Rietveld  <kris@imendio.com>
3620
3621         First part of file chooser fixes.
3622
3623         * gtk/gtkfilechooserbutton.c (model_add_special): also set the
3624         handle in the model for the desktopdir case.
3625
3626         * gtk/gtkfilechooserdefault.c (shortcuts_add_current_folder): free
3627         volume in case we retrieved it but don't pass it on to insert_path,
3628         (shortcuts_model_create): change the column type for the handles
3629         to pointer instead of GObject so our handle ref counting is not
3630         disturbed,
3631         (show_and_select_paths_finished_loading): don't forget to unref
3632         the dialog.
3633
3634         * gtk/gtkfilesystemunix.c (gtk_file_system_unix_class_init),
3635         (gtk_file_system_unix_init), (gtk_file_system_unix_dispose):
3636         remove pending execute_callbacks_idle during dispose, also
3637         execute all callbacks waiting to be run in the next idle,
3638         (queue_*callback), (execute_callbacks_idle): refactor to maintain
3639         a list of callbacks to call per file system instead of globally,
3640         guard the file system during callback invocation,
3641         (gtk_file_system_unix_get_folder): only add load folder idle if
3642         none has been added yet.
3643
3644 2006-09-01  Matthias Clasen  <mclasen@redhat.com>
3645
3646         * gtk/gtkentry.c: Don't unnecessarily reset the im context
3647         when deleting the selection.  (#353803, Alex Larsson)
3648
3649 2006-09-01  Abel Cheung  <abel@oaka.org>
3650
3651         * configure.in: Added 'ang' 'dz' to ALL_LINGUAS.
3652
3653 2006-08-31  Matthias Clasen  <mclasen@redhat.com>
3654
3655         Stop cursor blinking after a configurable timeout.
3656         (#353670, #352442, Arjan van de Ven, Manu Cornet)
3657         
3658         * gtk/gtksettings.c (gtk_settings_class_init): Add a 
3659         gtk-cursor-blink-timeout setting, which specifies the number
3660         of seconds that the cursor should blink after a user interaction.
3661         The default value is G_MAXINT to preserve the current behaviour.
3662
3663         * gtk/gtkentry.c (blink_cb): Stop blinking after blink-timeout
3664         seconds.
3665
3666         * gtk/gtkentry.c (gtk_entry_completion_key_press) 
3667         (gtk_entry_button_press, gtk_entry_focus_in): Reset the
3668         blink timer.
3669
3670         * gtk/gtktextview.c (blink_cb): Stop blinking after blink-timeout
3671         seconds. 
3672
3673         * gtk/gtktextview.c (gtk_text_view_key_press_event) 
3674         (gtk_text_view_button_press_event, gtk_text_view_focus_in_event): 
3675         Reset the blink timer.
3676         
3677 2006-08-31  Matthias Clasen  <mclasen@redhat.com>
3678
3679         * gtk/gtkprintoperation-unix.c (get_print_dialog): Don't specify
3680         explicit format capabilities.  (#346505, Christian Persch)
3681
3682         * modules/printbackends/cups/gtkprintbackendcups.c (cups_request_printer_list_cb): Send printer-list-done on error. 
3683
3684 2006-08-31  Michael Natterer  <mitch@imendio.com>
3685
3686         * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Fix build.
3687
3688 2006-08-30  Richard Hult  <richard@imendio.com>
3689
3690         * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep): Fix build.
3691
3692 2006-08-30  Matthias Clasen  <mclasen@redhat.com>
3693
3694         * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Only use XKB
3695         for beeping if we are using XKB.  
3696
3697 2006-08-29  Matthias Clasen  <mclasen@redhat.com>
3698
3699         * gdk/gdkwindow.h: 
3700         * gdk/gdk.symbols: 
3701         * gdk/directfb/gdkwindow-directfb.c (gdk_window_beep): 
3702         * gdk/win32/gdkwindow-win32.c (gdk_window_beep): 
3703         * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep): 
3704         * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Add a function
3705         to beep on a window. For X11, implement this with
3706         XkbBell.  (#353455, Mariano Suárez-Alvarez)
3707         
3708 2006-08-29  Tor Lillqvist  <tml@novell.com>
3709
3710         Remove support for Windows 9x/ME. GTK+ hasn't worked on Win9x
3711         since 2.6 or 2.8. It's pointless to keep the Win9x code in here as
3712         it isn't being maintained anyway. If somebody is interested, it
3713         can always be found in older GTK+ versions, and in CVS.
3714
3715         * configure.in
3716         * acconfig.h
3717         * gdk/Makefile.am
3718         * gdk/win32/Makefile.am
3719         * gdk/win32/libie55uid.la
3720         * gdk/win32/gdkevents-win32.c: Remove the --with-ie55 configure
3721         switch and associated stuff. Active IMM and the <dimm.h> header
3722         was used for IM support on NT4 and Win9x. Win2k and later have IM
3723         support built-in.
3724
3725         * gdk/win32/gdkcursor-win32.c
3726         * gdk/win32/gdkdnd-win32.c
3727         * gdk/win32/gdkdrawable-win32.c
3728         * gdk/win32/gdkevents-win32.c
3729         * gdk/win32/gdkgc-win32.c
3730         * gdk/win32/gdkglobals-win32.c
3731         * gdk/win32/gdkkeys-win32.c
3732         * gdk/win32/gdkmain-win32.c
3733         * gdk/win32/gdkproperty-win32.c
3734         * gdk/win32/gdkselection-win32.c
3735         * gdk/win32/gdkwindow-win32.c: Remove the G_WIN32_IS_NT_BASED()
3736         and G_WIN32_HAVE_WIDECHAR_API() tests and their false (Win9x)
3737         branches, and any variables or static functions used only by the
3738         Win9x branches.
3739
3740         * gdk/win32/gdkprivate-win32.h: Remove backup definitions for
3741         constants that aren't missing from current mingw and MSVC6
3742         headers.
3743
3744         * gdk/win32/gdkmain-win32.c
3745         * gdk/win32/gdkprivate-win32.h: Remove the _gdk_win32_gdi_failed()
3746         function. On NT-based Windows GetLastError() returns error codes
3747         also for failed GDI calls, so we can use _gdk_win32_api_failed()
3748         always.
3749
3750 2006-08-29  Emmanuele Bassi  <ebassi@gnome.org>
3751
3752         * gtk/gtkrecentchoosermenu.c
3753         (gtk_recent_chooser_menu_set_current_uri): Break when an item
3754         is found and activated. (#353449, based on a patch by Jan Arne
3755         Petersen)
3756
3757 Fri Jul 14 16:13:37 2006  Tim Janik  <timj@gtk.org>
3758
3759         * gtk/gtkprogressbar.c: introduced ::xspacing and ::yspacing style 
3760         properties which make all hardcoded padding and spacing values
3761         configurable. properly swap ::text-xalign treatment for RTL widgets.
3762
3763         * gtk/gtkprogress.c: fixed style property blurbs. made alignment 
3764         proeprty more consistent with GtkMisc alignment blurbs. mention
3765         RTL treatment for text-xalign.
3766
3767 Tue Aug 29 11:57:40 2006  Tim Janik  <timj@imendio.com>
3768
3769         * tests/testgtk.c: allow (most) windows to be resizable.
3770         added ellipsization settings to progress bars. 
3771
3772 2006-08-28  Matthias Clasen   <mclasen@redhat.com>
3773
3774         * modules/printbackend/cups/gtkprintbackendcups.c: Use a
3775         resonable timeout of 3 seconds when polling for printer
3776         list updates, instead of 300000 seconds...
3777
3778 2006-08-28  Michael Natterer  <mitch@imendio.com>
3779
3780         * gtk/gtktextbufferserialize.c (serialize_text): don't write out
3781         </apply_tag> for tags that have already been closed by the logic
3782         which turns overlapping spans into XML-able trees. Fixes broken
3783         XML when there are overlapping tags in the buffer. Also free two
3784         leaked GLists and did some cleanup.
3785
3786         * tests/Makefile.am
3787         * tests/testrichtext.c: new test which creates randomly tagged
3788         GtkTextBuffers and serializes/deserializes them.
3789
3790 2006-08-26  Matthias Clasen  <mclasen@redhat.com>
3791
3792         * gtk/gtkstatusicon.c (gtk_status_icon_reset_image_data): 
3793         Don't leak pixbufs.  (#352264, Ross Burton)
3794
3795         * gtk/gtklinkbutton.c (set_link_underline): Don't leak
3796         PangoAttributes.  (#352391, Paolo Borelli)
3797
3798 2006-08-25  Matthias Clasen  <mclasen@redhat.com>
3799
3800         * demos/gtk-demo/Makefile.am:
3801         * demos/gtk-demo/textscroll.c: Add an example of automatic
3802         scrolling, thanks to Yevgen Muntyan.  (#351206)
3803         
3804         * gtk/gtkmodules.c (find_module): Use local binding when
3805         loading modules.  (#351868)
3806
3807 2006-08-24  Michael Natterer  <mitch@imendio.com>
3808
3809         * gdk/quartz/gdkdisplay-quartz.c (gdk_display_get_name): return
3810         the hostname instead of NULL.
3811
3812 2006-08-23  Matthias Clasen  <mclasen@redhat.com>
3813
3814         * gtk/gtkprinteroptionwidget.[hc]: Fix confusion about
3815         names and values in comboboxes, and clean up some
3816         coding style issues.
3817
3818 2006-08-23  Tor Lillqvist  <tml@novell.com>
3819
3820         * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_make_path):
3821         Revert unintended translatable string addition. Use same string
3822         in GError as in gtkfilesystemunix.c.
3823
3824         * gtk/gtkfilesystemwin32.c (_gtk_file_system_win32_path_compare):
3825         Fix logic at the end of strings. 
3826
3827         * gtk/gtkfilesystemwin32.c: Maintain a hash table of live
3828         handles and check that we have no outstanding handles at
3829         finalization time. (Copying what Matthias did for
3830         gtkfilesystemunix.c)
3831
3832 2006-08-23  Matthias Clasen  <mclasen@redhat.com>
3833
3834         * gtk/gtkfilesystemunix.c: Maintain a hash table
3835         of live handles and check that we have no outstanding
3836         handles at finalization time. (Copying what
3837         Federico did for gtkfilesystemgnomevfs.c)
3838
3839 2007-08-22  Matthias Clasen  <mclasen@redhat.com> 
3840
3841         * Branch for 2.10
3842