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