]> Pileus Git - ~andy/gtk/blob - ChangeLog
Bug 525550 – GTK+ 2.13.0 GtkCurve test fails
[~andy/gtk] / ChangeLog
1 2008-11-12  Christian Dywan  <christian@imendio.com>
2
3         Bug 525550 – GTK+ 2.13.0 GtkCurve test fails
4
5         * gtk/tests/object.c (list_ignore_properties),
6         (object_test_property), (main): Ignore GtkCurve when testing
7
8 2008-11-12  Richard Hult  <richard@imendio.com>
9
10         Bug 550942 – [patch] Rework of gdkeventloop-quartz.c
11
12         * gdk/gdk.c:
13         * gdk/gdkinternals.h: Add eventloop debug facility.
14         * gdk/quartz/gdkeventloop-quartz.c: Big rework of the quartz
15         mainloop integration, patch from Owen Taylor. See bug #550942 for
16         the details.
17
18 2008-11-12  Richard Hult  <richard@imendio.com>
19
20         Bug 558586 – handling of keyboard under darwin (quartz)
21
22         * gdk/quartz/gdkkeys-quartz.c: Follow up on this bug, only use the
23         new API when building on 64-bit, since there are still old non-xml
24         layouts used out there we don't want to break them. (For 64-bit
25         those layouts doesn't work so we don't have a choice there.)
26
27 2008-11-11  Matthias Clasen  <mclasen@redhat.com>
28
29         * gtk/gtkspinbutton.c: Chain up in enter and leave notify handlers.
30
31 2008-11-11  Michael Natterer  <mitch@imendio.com>
32
33         Bug 553765 – Add orientation API to GtkRange
34
35         * gtk/gtkrange.[ch]: implement the GtkOrientable interface. Add
36         evil code that makes sure that the stepper_detail and slider_detail
37         set in GtkRangeClass continue to work with the hacked subclasses
38         below.
39
40         * gtk/gtkscale.[ch]: swallow all code from GtkHScale and GtkVScale
41         and add gtk_scale_new() and gtk_scale_new_with_range() which take
42         a GtkOrientation argument. Set slider_detail to "Xscale" so above
43         evil code works.
44
45         * gtk/gtkscrollbar.[ch]: add gtk_scrollbar_new() which takes a
46         GtkOrientation argument. Set stepper_detail to "Xscrollbar" so
47         above evil code works.
48
49         * gtk/gtkhscale.c
50         * gtk/gtkvscale.c
51         * gtk/gtkhscrollbar.c
52         * gtk/gtkvscrollbar.c: remove all code except the constructor and
53         call gtk_orientable_set_orientation() in init().
54
55         * gtk/gtk.symbols: changed accordingly.
56
57 2008-11-11  Michael Natterer  <mitch@imendio.com>
58
59         * gtk/gtktoolbar.h: move deprecated functions together, move
60         setters and getters together, some indentation cleanup.
61
62 2008-11-11  Michael Natterer  <mitch@imendio.com>
63
64         * gtk/gtktoolbar.[ch]: implement the GtkOrientable interface
65         and deprecate gtk_toolbar_get,set_orientation().
66
67         * gtk/gtk.symbols: changed accordingly.
68
69 2008-11-10  Marek Kasik  <mkasik@redhat.com>
70
71         Bug 560135 - Print when the user double clicks a printer
72
73         * gtk/gtkprintunixdialog.c: add handling of double click to
74         GtkPrintUnixDialog.
75
76 2008-11-07  Michael Natterer  <mitch@imendio.com>
77
78         * gtk/gtkpaned.c: argh, actually call the newly added private
79         gtk_paned_calc_position() instead of the deprecated public
80         version.
81
82 2008-11-07  Michael Natterer  <mitch@imendio.com>
83
84         Bug 553586 – Add orientation API to GtkPaned
85
86         * gtk/gtkpaned.[ch]: implement the GtkOrientable interface
87         and swallow all code from GtkHPaned and GtkVPaned. Add
88         gtk_paned_new() which takes a GtkOrientation argument. Deprecate
89         gtk_paned_compute_position() for good (also for GTK_COMPILATION).
90
91         * gtk/gtkhpaned.[ch]
92         * gtk/gtkvpaned.[ch]: remove all code except the constructor and
93         call gtk_orientable_set_orientation() in init().
94
95         * gtk/gtk.symbols: add gtk_box_new().
96
97 2008-11-07  Johan Dahlin  <jdahlin@async.com.br>
98
99         * gtk/gtkcontainer.c (gtk_container_buildable_add_child):
100         Check for child->parent instead of GTK_WIDGET_TOPLEVEL.
101
102 2008-11-07  Michael Natterer  <mitch@imendio.com>
103
104         * gtk/gtkscrollbar.c: remove bogus newlines in the middle of
105         function calls, fix broken indentation and remove trailing
106         whitespace.
107
108 2008-11-06  Tristan Van Berkom <tvb@gnome.org>
109
110         * gtk/gtkmenuitem.c: Made buildable and added support for adding
111         children of type "submenu"
112
113         * gtk/gtkwindow.c: Added support for custom tag "accel-groups" to
114         add GtkAccelGroups to the window.
115
116         * gtk/gtkcontainer.c: Added builder contextual warnings in
117         buildable_add_child()
118
119         * gtk/tests/builder.c: Added tests for buildable menus (test that
120         accelerators are properly connected on stock items, test the menu
121         hierarchy, test permission to add alien/custom menuitem children).
122
123         * docs/reference/gtk/tmpl/gtkbuilder.sgml
124         * docs/reference/gtk/tmpl/gtkwindow.sgml
125         * docs/reference/gtk/tmpl/gtkmenuitem.sgml: Updated docs for
126         buildable submenus and accel groups.
127
128 2008-11-06  Tristan Van Berkom <tvb@gnome.org>
129
130         * gtk/gtkmenuitem.[ch]: added new apis
131         gtk_menu_item_[set/get]_label() and
132         gtk_menu_item_[set/get]_use_underline() with "label" and
133         "use-underline" properties, constructors cleaned up to use
134         g_object_new().  GtkMenuItemClass take new vfuncs
135         ->get/set_label().
136
137         * gtk/gtkcheckmenuitem.c: constructors cleaned up to use
138         g_object_new().
139
140         * gtk/gtkimagemenuitem.[ch]: added new apis
141         gtk_image_menu_item_[get/set]_use_stock() and
142         gtk_image_menu_item_set_accel_group() with "use-stock" and
143         write-only "accel-group" properties. constructors cleaned up to
144         use g_object_new().
145
146 2008-11-06  Tristan Van Berkom <tvb@gnome.org>
147
148         * gtk/gtkbuilder.h: Fixed a crasher in
149         GTK_BUILDER_WARN_INVALID_CHILD_TYPE()
150
151 2008-11-06  Tristan Van Berkom <tvb@gnome.org>
152
153         * gtk/gtklabel.c: gtk_label_set_attributes() now applies attributes
154         on top of any markup or mnemonic attributes (bug 558409).
155
156         * README: Updated and added release notes for 2.16
157
158 2008-11-06  Richard Hult  <richard@imendio.com>
159
160         Bug 558586 – handling of keyboard under darwin (quartz)
161
162         * gdk/quartz/gdkkeys-quartz.c: (maybe_update_keymap): Patch from
163         Arnaud Charlet to replace use of deprecated keyboard layout API
164         with the new TIS API available in 10.5. The old code is still used
165         when building for 10.4.
166
167 2008-11-05  Richard Hult  <richard@imendio.com>
168
169         * gdk/quartz/gdkevents-quartz.c:
170         (get_keyboard_modifiers_from_ns_event), (create_key_event): Revert
171         (at least for now) the alt/cmd switching since it breaks the
172         "alt-gr" functionality of alt which makes it impossible to input
173         lots of characters.
174
175 2008-11-05  Christian Dywan  <christian@imendio.com>
176
177         Bug 559404 – gtk_editable_insert_text counts length in bytes
178
179         * gtk/gtkeditable.c:
180         Document new_text_length as the number of bytes
181
182 2008-11-05  Richard Hult  <richard@imendio.com>
183
184         * gdk/quartz/gdkwindow-quartz.c:
185         (gdk_window_impl_quartz_begin_paint_region): Set the fill color
186         outside the loop.
187
188 2008-11-05  Richard Hult  <richard@imendio.com>
189
190         * gtk/gtkstatusicon.c: (gtk_status_icon_set_has_tooltip),
191         (gtk_status_icon_get_tooltip_markup): Fix build for win32 and
192         quartz.
193
194 2008-11-04  Tor Lillqvist  <tml@novell.com>
195
196         Bug 557212 - Problem with which window gains focus and is visible
197
198         * gdk/win32/gdkevents-win32.c (ensure_stacking_on_activate_app):
199         Only do the restacking for the active window of the
200         application. Seems to fix the problem.
201
202         (gdk_event_translate): Only call ensure_stacking_on_activate_app()
203         when the application is being activated, not deactivated.
204
205 2008-11-03  Matthias Clasen  <mclasen@redhat.com>
206
207         * gtk/gtk.symbols:
208         * gtk/gtkstatusicon.[hc]: Add new tooltip api.
209
210 2008-11-03  Christian Persch  <chpe@gnome.org>
211
212         Bug 558001 – gtk_icon_view_enable_model_drag_[source|dest] problem
213
214         * gtk/gtkiconview.c: Make gtk_drag_*_add_*_targets() usable with
215         GtkIconView.
216
217 2008-11-02  Matthias Clasen  <mclasen@redhat.com>
218
219         Bug 558929 – gtkstatusicon.c: 'event' is a member of the structure
220
221         * gtk/gtkstatusicon.c: Fix the build.
222
223 2008-11-02  Matthias Clasen  <mclasen@redhat.com>
224
225         * gtk/gtkimagemenuitem.c: Make it possible to overrule the
226         gtk-menu-images setting.
227
228         * gtk/gtkaction.c (connect_proxy): Show the image before adding
229         it to the image menu item.
230
231 2008-11-01  Tor Lillqvist  <tml@novell.com>
232
233         Bug 558278 - Crash when calling a callback set by
234         gdk_add_client_message_filter()
235
236         * gdk/win32/gdkevents-win32.c (apply_event_filters): Rename from
237         apply_filters() so that it is clear that this function is for
238         GdkEventFilters only.
239
240         (print_event): Print more information for GDK_CLIENT_EVENT events.
241
242         (gdk_event_translate): When handling client filters, don't use
243         apply_event_filters(). Use similar code as in the X11 backend,
244         although not exactly, as the parameter list and return value
245         semantics of gdk_event_translate() is different.
246
247         * tests/testclientmessage.c: New interactive test program to
248         verify client message functionality.
249
250         * tests/Makefile.am: Add it.
251
252 2008-11-01  Matthias Clasen  <mclasen@redhat.com>
253
254         Bug 409435 – GtkStatusIcon enhancements: DnD, scroll events, 
255         middle click, rich tooltips
256
257         * gtk/gtkstatusicon.[hc]: Add support for button press/release and
258         scroll events. Patch by Ed Catmur
259
260 2008-11-01  Matthias Clasen  <mclasen@redhat.com>
261
262         Bug 322934 – Replace menu's proxy icons with empty space hiding icons
263
264         * gtk/gtkmenu.c (gtk_menu_size_request): Use consistent padding
265         regardless of imagees or checks being in the menu. Also add
266         padding on the right edge.
267         Proposal by Luca Ferretti, patch by Jon McCann
268
269 2008-11-01  Matthias Clasen  <mclasen@redhat.com>
270
271         Bug 412134 – Add API to query style properties from the style
272
273         * gtk/gtk.symbols:
274         * gtk/gtkstyle.[hc]: Add getters for style properties to
275         avoid the need for ugly workarounds with dummy widget instances.
276         Patch by Mariano Suárez-Alvarez
277
278 2008-10-31  Christian Dywan  <christian@imendio.com>
279
280         Bug 558667 – gtk_font_selection_dialog_get_apply_button - deprecate?
281
282         * gtk/gtk.symbols:
283         * gtk/gtkfontsel.c:
284         * gtk/gtkfontsel.h:
285         Deprecate gtk_font_selection_dialog_get_apply_button
286
287 2008-10-31  Matthias Clasen  <mclasen@redhat.com>
288
289         Bug 558323 – glitches when popping up combos in treeviews
290
291         * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_set_property):
292         Don't set the model property on the combo box, since that leads
293         to loops.
294
295 2008-10-31  Christian Dywan  <christian@imendio.com>
296
297         Bug 347230 – testicontheme shortcomings
298
299         * tests/testicontheme.c (main):
300         Use theme for "display" and quit on window closing
301
302 2008-10-30  Matthias Clasen  <mclasen@redhat.com>
303
304         Bug 558522 – scroll arrow painted insensitive even though there
305         are pages beyond the edge
306
307         * gtk/gtknotebook.c (gtk_notebook_real_insert_page): Redraw
308         arrows. Pointed out by Christian Persch
309
310 2008-10-30  Michael Natterer  <mitch@imendio.com>
311
312         * gtk/gtkcellrenderertext.h
313         * gtk/gtkentry.[ch]
314         * gtk/gtkimcontext.h
315         * gtk/gtklabel.c
316         * gtk/gtkstyle.h: <pango/pango.h> is pulled in by <gdk/gdk.h>,
317         remove its inclusion here.
318
319 2008-10-30  Michael Natterer  <mitch@imendio.com>
320
321         * gtk/*.h: no need to include <gtk/gtkenums.h> in headers which
322         somehow include gtkobject.h or another header which includes it.
323
324 2008-10-30  Marek Kasik  <mkasik@redhat.com>
325
326         Bug 339714 - Set printer dpi on cairo ps/pdf surfaces when printing
327
328         * gtk/gtk.symbols
329         * gtk/gtkprintsettings.c
330         * gtk/gtkprintsettings.h
331         * docs/reference/gtk/gtk-sections.txt
332         * modules/printbackends/file/gtkprintbackendfile.c
333         * modules/printbackends/test/gtkprintbackendtest.c
334         * modules/printbackends/cups/gtkprintbackendcups.c
335         * modules/printbackends/lpr/gtkprintbackendlpr.c:
336         Added lpi (lines per inch) setting to GtkPrintSettings and support
337         for anamorphic dpi. Surface fallback resolution is set to 2*lpi.
338
339 2008-10-30  Michael Natterer  <mitch@imendio.com>
340
341         * gtk/*.h: no need to include <gdk/gdk.h> in any widget header,
342         it's included via gtkwidget.h anyway.
343
344 2008-10-30  Sven Neumann  <sven@gimp.org>
345
346         * gtk/gtkwidget.c (gtk_widget_get_property): removed redundant
347         conditional.
348
349 2008-10-30  Christian Dywan  <christian@imendio.com>
350
351         Bug 557316 – GtkLinkButton should consider user-defined tooltip
352
353         * gtk/gtklinkbutton.c (gtk_link_button_query_tooltip_cb):
354         Only override the tooltip if not previously set
355
356 2008-10-29  Christian Dywan  <christian@imendio.com>
357
358         Bug 557762 – Misleading error message in GDK DirectFB
359
360         * gdk/directfb/gdkdisplay-directfb.c (gdk_display_open):
361         Correctly say GetInputDevice instead of GetDisplayLayer
362
363 2008-10-29  Christian Dywan  <christian@imendio.com>
364
365         Bug 558397 – gtk_widget_error_bell undefined without a screen
366
367         * gtk/gtkwidget.c (gtk_widget_error_bell): Test the settings
368         instance and return silently if unset
369
370 2008-10-28  Michael Natterer  <mitch@imendio.com>
371
372         * gdk/keyname-table.h: fix small typo.
373
374 2008-10-27  Richard Hult  <richard@imendio.com>
375
376         Bug 557894 – Wrong return value for
377         gdk_pointer_grab_info_libgtk_only()
378
379         * gdk/quartz/gdkevents-quartz.c:
380         (gdk_pointer_grab_info_libgtk_only): Return TRUE when there is a
381         pointer grab. Patch by Owen Taylor.
382
383 2008-10-26  Matthias Clasen  <mclasen@redhat.com>
384
385         * gtk/gtktoolshell.c:
386         * gtk/gtktoolitem.c: Remove markup from short descriptions.
387
388 2008-10-26  Matthias Clasen  <mclasen@redhat.com>
389
390         * gdk/keyname-table.h:
391         * gtk/gen-paper-names.c:
392         * gtk/paper_names_offsets.c:
393         * gtk/gtkpapersize.c:
394         * gtk/gtkaccellabel.c:
395         * gtk/gtkprintoperation.c:
396         * gtk/gtkstock.c: More conversion to C_().
397
398 2008-10-26  Matthias Clasen  <mclasen@redhat.com>
399
400         * gtk/gtkaccellabel.c:
401         * gtk/gtkcalendar.c:
402         * gtk/gtkcellrendereraccel.c:
403         * gtk/gtkcellrendererprogress.c:
404         * gtk/gtkimmulticontext.c:
405         * gtk/gtkrecentchoosermenu.c:
406         * gtk/gtkvolumebutton.c: Use C_() instead of Q_(). String change!
407
408 2008-10-26  Christian Persch  <chpe@gnome.org>
409
410         Bug 557065 – gtkcellrendererpixbuf spams console over and over with
411         'could not load image' warnings
412
413         * gtk/gtkcellrendererpixbuf.c:
414         (gtk_cell_renderer_pixbuf_create_themed_pixbuf): Remove noisy
415         g_warning.
416
417 2008-10-26  Philip Withnall  <philip@tecnocode.co.uk>
418
419         Bug 530454 – Clarify page_nr when printing
420
421         * gtk/gtkprintoperation.c (gtk_print_operation_class_init): Point out
422         that page_nr is 0-based in the documentation.
423
424 2008-10-25  Matthias Clasen  <mclasen@redhat.com>
425         
426         Bug 557315 – stale clipboard target cache
427
428         * gtk/gtkclipboard.c (gtk_clipboard_set_contents): Remove cached
429         targets. Pointed out by Evan Stade
430
431 2008-10-24  Tristan Van Berkom  <tvb@gnome.org>
432
433         * gtk/gtkwidget.c: Added a note about GtkWidget:has-tooltip in
434         the docs for GtkWidget::query-tooltip.
435
436 2008-10-24  Matthias Clasen  <mclasen@redhat.com>
437
438         * gtk/gtkmountoperation.c: The "screen" property ought to have
439         type GdkScreen, not GtkWindow. Found by Cosimo Cecchi
440
441 2008-10-24  Matthias Clasen  <mclasen@redhat.com>
442
443         Bug 556954 – gtk+/gtk/gtkrecentchooserdefault.c: mismatching
444         allocation and deallocation
445
446         * gtk/gtkrecentchooserdefault.c (remove_selected_from_list): Don't
447         free a strdup'ed string by g_free. Pointed out by Daniel Marjamäki
448
449 2008-10-24  Matthias Clasen  <mclasen@redhat.com>
450
451         Bug 556835 – gtkentry.c: variable is declared at middle of block
452
453         * gtk/gtkentry.c (gtk_entry_copy_clipboard): Fix a C99ism pointed
454         out by Kazuki Iwamoto
455
456 2008-10-24  Matthias Clasen  <mclasen@redhat.com>
457
458         Bug 557524 – "va_end(args);" should be added into
459         gtk_text_buffer_insert_with_tags_by_name( )
460
461         * gtk/gtktextbuffer.c (gtk_text_buffer_insert_with_tags_by_name):
462         Don't forget to call va_end. Pointed out by Boram Park
463
464 2008-10-23  Alexander Larsson  <alexl@redhat.com>
465
466         Bug 528320 - Incorrect icons displayed for files with custom
467         mimetype icons
468         
469         * gtk/gtkfilesystem.c:
470         (_gtk_file_info_render_icon):
471         Fall back on default file icon if there was no icon or it
472         was not found in the theme. This goes with the corresponding
473         change in glib to not add the fallback icon, but is useful
474         in other cases too.
475
476 2008-10-22  Behdad Esfahbod  <behdad@gnome.org>
477
478         Bug 555920 – gtkentry.c passes wrong enum to
479         pango_layout_set_alignment()
480
481         * gtk/gtkentry.c (gtk_entry_create_layout): Don't set layout
482         adjustment.
483
484 2008-10-22  Matthias Clasen  <mclasen@redhat.com>
485
486         * gdk/x11/gdkscreen-x11.c: Only emit size-changed if the screen
487         size actually changed.
488
489 2008-10-21  Michael Natterer  <mitch@imendio.com>
490
491         * gdk/gdkdraw.c
492         * gdk/gdkimage.c
493         * gdk/gdkscreen.c
494         * gdk/gdkwindow.c: replace assertions for obj != NULL by
495         GDK_IS_OBJ(), remove redundant != NULL checks when there is
496         already a type check, add some g_return_if_fail() that were
497         missing entirely, fix some broken indentation and spacing.
498
499 2008-10-21  Tor Lillqvist  <tml@novell.com>
500
501         Bug 557266 - Window Management Problem
502
503         Also reported in mail to gtk-list, and of course it has been well
504         known in general that window state management is messy and buggy
505         in various ways in gdk/win32.
506
507         * gdk/win32/gdkwindow-win32.c (show_window_internal): Correct
508         handling of GDK_WINDOW_STATE_ABOVE windows. It doesn't work to set
509         the WS_EX_TOPMOST extended style bit using SetWindowLong(). We
510         must call SetWindowPos() on the window using HWND_TOPMOST
511         instead. The description for WS_EX_TOPMOST in the documentation
512         for CreateWindowEx() even implies that if you read it carefully.
513
514 2008-10-21  Michael Natterer  <mitch@imendio.com>
515
516         * gdk/gdkapplaunchcontext.c: reorder functions to be in standard
517         order, add prototypes and namespace to static functions, add
518         g_return_if_fail()s which were missing all over the place.
519
520 2008-10-20  Christian Persch  <chpe@gnome.org>
521
522         Bug 557059 – crash when compositing emblems with icon
523
524         * gtk/gtkicontheme.c: (apply_emblems): Copy the pixbuf before using it
525         with gtk_pixbuf_composite, in case its pixdata is read-only (mmaped
526         from icon cache or builtins).
527
528 2008-10-20  Murray Cumming  <murrayc@murrayc.com>
529
530         * gtk/gtkiconview.c: gtk_icon_view_set_tooltip_row(), 
531         gtk_icon_view_set_tooltip_item():
532         * gtk/gtktreeview.c: gtk_icon_view_set_tooltip_row(), 
533         gtk_icon_view_set_tooltip_cell():
534         Documentation: Mention the simple set_tooltip_column() 
535         alternative.
536
537 2008-10-18  Tor Lillqvist  <tml@novell.com>
538
539         * gdk/win32/gdkevents-win32.c (gdk_event_translate): On
540         WM_WINDOWPOSCHANGING, don't dereference windowpos in the debugging
541         output without setting it first.
542
543 2008-10-18  Tor Lillqvist  <tml@novell.com>
544
545         Bug 556578 - GIMP windows stay on top of other windows
546
547         * gdk/win32/gdkevents-win32.c (ensure_stacking_on_unminimize)
548         (ensure_stacking_on_window_pos_changing)
549         (ensure_stacking_on_activate_app): Ignore unmapped windows in the
550         loops where we look for the lowest "transient-type" window.
551
552         (gdk_event_translate): Don't call
553         ensure_stacking_on_window_pos_changing() or
554         ensure_stacking_on_activate_app() for unmapped windows.
555
556 2008-10-16  Marek Kasik  <mkasik@redhat.com>
557
558         Bug 556527 - The current page property is not passed to
559         GtkPrintUnixDialog
560
561         * gtk/gtkprintoperation-unix.c: pass current-page property
562         to GtkPrintUnixDialog
563
564 2008-10-15  Michael Natterer  <mitch@imendio.com>
565
566         * gdk/gdkapplaunchcontext.h (GDK_IS_APP_LAUNCH_CONTEXT): fix typo
567         in the type name so the macro becomes usable.
568
569 2008-10-14  Christian Dywan  <christian@imendio.com>
570
571         556150 – gtk 'object' property test fixing
572
573         * gtk/tests/object.c (list_ignore_properties):
574         Remove some recently fixed properties from the exception list
575
576 2008-10-13  Matthias Clasen  <mclasen@redhat.com>
577
578         Bug 555779 – GtkCellRendererPixbuf crashed on failed GIcon lookup
579
580         * gtk/gtkcellrendererpixbuf
581         (gtk_cell_renderer_pixbuf_create_themed_pixbuf): Don't crash
582         if a GIcon is not present in the current theme. Patch by 
583         Alex Larsson.
584
585 2008-10-13  Matthias Clasen  <mclasen@redhat.com>
586
587         Bug 552318 – menubar mnemonics consumed even when
588         gtk-enable-mnemonics=false
589
590         * gtk/gtkwindow.c (gtk_window_activate_key): Don't let mnemonic
591         entries block accelerator activation when gtk-enable-mnemonics is
592         FALSE. Problem reported by Andreas Moog.
593
594 2008-10-13  Cody Russell <cody@jhu.edu>
595
596         * test/testfilechooser.c: Fix option parsing so that -a and
597         --action work correctly.
598
599 2008-10-13  Christian Persch <chpe@gnome.org>
600
601         Bug 555386 – format not a string literal and no format arguments
602
603         * gtk/gtkiconfactory.c
604         * gtk/gtkprintbackend.c
605         * gtk/gtkprintoperation.c
606         * gtk/gtkthemes.c
607         * gtk/tests/builder.c
608         * modules/other/gail/gailtextview.c
609         * tests/testmerge.c: Use printf safely.
610
611 2008-10-13  Christian Persch <chpe@gnome.org>
612
613         Bug 555724 – gtkcellrendereraccel not initialised correctly
614
615         * gtk/gtkcellrendereraccel.c: Initialise the cell text.
616
617 2008-10-12  Simos Xenitellis  <simos@gnome.org>
618
619         Bug 555625 – Updated gtk_compose_seqs_compact table 
620         (gtkimcontextsimpleseqs.h)
621         
622         * gtk/gtkimcontextsimpleseqs.c: Updated the compose sequence table.
623         In this update we removed a further set of compose sequences that
624         are otherwise covered by check_algorithmically(). 
625
626         * gtk/gtkimcontextsimple.c: Updated table value that shows how many 
627         distinct first values exist in the compose sequences. 
628         Change from 22 to 20.
629         
630 2008-10-11  Matthias Clasen  <mclasen@redhat.com>
631
632         * gtk/gtktoolbar.c: Revert the GtkSettings::gtk-toolbar-icon-size
633         part of the previous change, since it doesn't work correctly without
634         extra complication, and using custom icon sizes doesn't make too
635         much sense in a desktop-wide setting.
636
637 2008-10-11  Matthias Clasen  <mclasen@redhat.com>
638
639         Bug 555186 – Setting gtk-toolbar-icon-size with custom icon_size
640
641         * gtk/gtktoolbar.c: Turn GtkToolbar::icon-size and
642         GtkSettings::gtk-toolbar-icon-size into int properties, to
643         allow the use of app-registered icon sizes.
644
645 2008-10-11  Christian Dywan  <christian@imendio.com>
646
647         Bug 555676 – gtk_widget_real_grab_focus assumes toplevel == window
648
649         * gtk/gtkwidget.c (gtk_widget_real_grab_focus):
650         Actually test for GTK_IS_WINDOW *and* GTK_WIDGET_TOPLEVEL
651
652 2008-10-10  Behdad Esfahbod  <behdad@gnome.org>
653
654         Bug 551355 – [PATCH] Make glib build with libtool 2.2
655
656         * autogen.sh: Accept libtool 2.2.   We are moving towards having
657         it working.
658
659 2008-10-10  Richard Hult  <richard@imendio.com>
660
661         * gdk/quartz/gdkkeys-quartz.c: (gdk_keymap_get_caps_lock_state)
662         Add empty stub to fix linking.
663
664 2008-10-10  Simos Xenitellis  <simos@gnome.org>
665
666         Bug 555000 – Wrong treatment on non-spacing marks dead keys in 
667         GtkIMContextSimple
668
669         * gtk/gtkimcontextsimple.c: Change IS_DEAD_KEY() macro so that
670         it only checks if input is a deadkey keysym.
671
672 2008-10-09  Christian Dywan  <christian@imendio.com>
673
674         Bug 555676 – gtk_widget_real_grab_focus assumes toplevel == window
675
676         * gtk/gtkwidget.c (gtk_widget_real_grab_focus):
677         Test for GTK_IS_WINDOW instead of GTK_WIDGET_TOPLEVEL
678
679 2008-10-09  Christian Dywan  <christian@imendio.com>
680
681         Bug 555573 – gtk_font_selection_set_font_name
682         shouldn't require a screen
683
684         * gtk/gtkfontsel.c (gtk_font_selection_set_font_name):
685         Don't warn if there is no screen, just return FALSE
686
687 2008-10-09  Christian Dywan  <christian@imendio.com>
688
689         Bug 555523 – gtk_scale_button_set_adjustment should accept NULL
690
691         * gtk/gtkscalebutton.c (gtk_scale_button_set_adjustment):
692         Create a new adjustment if NULL is passed, like other widgets
693
694 2008-10-09  Christian Dywan  <christian@imendio.com>
695
696         Bug 555578 – GtkTable propertiy maxima are wrong
697
698         * gtk/gtktable.c (gtk_table_class_init), (gtk_table_resize):
699         Always use 65535 instead of G_MAXUINT since that is
700         the actually supported maximum number of columns and rows
701
702 2008-10-09  Richard Hult  <richard@imendio.com>
703
704         Bug 550342 – Splash screens have a caption
705
706         * gdk/quartz/gdkwindow-quartz.c: (_gdk_window_new),
707         (gdk_window_set_decorations): Patch from Marianne Gagnon to make
708         splash windows borderless.
709
710 2008-10-09  Michael Natterer  <mitch@imendio.com>
711
712         Bug 516425 – Optionally display accelerators in popups
713
714         * gtk/gtkuimanager.h (enum GtkUIManagerItemType): add value
715         GTK_UI_MANAGER_POPUP_WITH_ACCELS which works like _POPUP but
716         shows the actions' accelerators.
717
718         * gtk/gtkuimanager.c: honor the new enum value for programmatically
719         created UIs, and support <popup accelerators="true"> in the XML
720         for the same purpose.
721
722 2008-10-09  Simos Xenitellis  <simos@gnome.org>
723
724         Bug 554192 – double press on the "circumflex" dead key 
725         (standard french 105 keyboard) no longer produces the "^" character
726
727         * gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress):
728         Changed the order, put check_compact_table() first, then 
729         check_algorithmically().
730
731 2008-10-08  Christian Persch  <chpe@gnome.org>
732
733         Bug 554702 – gtkfilesystem leaks GError
734
735         * gtk/gtkfilesystem.c (_gtk_file_system_init): Free the GError.
736
737 2008-10-08  Matthias Clasen  <mclasen@redhat.com>
738
739         * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
740         Don't forget to reset reload_state when current_folder is already
741         correct. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=465992
742
743 2008-10-08  Christian Dywan  <christian@imendio.com>
744
745         Bug 555270 – Allow unsetting a MessageDialog's image
746
747         * gtk/gtkmessagedialog.c (gtk_message_dialog_set_property),
748         Remove a superfluous cast to GtkWidget*
749         (gtk_message_dialog_set_image): Accept NULL for the image
750         and unset the image in that case.
751
752 2008-10-08  Christian Dywan  <christian@imendio.com>
753
754         Bug 436533 – Allow more space efficient scroll arrows placement
755
756         * gtk/gtkenums.h: Add GtkArrowPlacement
757         * gtk/gtkmenu.c (gtk_menu_class_init), (get_arrows_border),
758         (get_arrows_visible_area), (get_double_arrows),
759         (get_arrows_sensitive_area): Implement GtkMenu::arrow-placement
760         to allow scrolling arrows to be placed at the start, end or both
761         Patch by Tommi Komulainen and myself
762
763 2008-10-08  Christian Dywan  <christian@imendio.com>
764
765         Bug 555387 – Changing the sensitivity of a statusbar
766         mistakenly requires a display
767
768         * gtk/gtkstatusbar.c (set_grip_cursor): Only change the cursor
769         of the resize grip if there is a grip window.
770
771 2008-10-06  Matthias Clasen  <mclasen@redhat.com>
772
773         * gtk/gtktooltip.c (gtk_tooltip_show_tooltip): Avoid unitialized
774         memory warnings from valgrind.
775
776 2008-10-07 11:03:30  Tim Janik  <timj@imendio.com>
777
778         * gtk/gtkbox.h: keep GtkBox as an abstract type and keep _gtk_box_new()
779         as private function until we settle on the exact semantics.
780         renamed _gtk_box_set_old_defaults() as suggested by Mitch.
781
782 2008-10-07  Michael Natterer  <mitch@imendio.com>
783
784         * gtk/gtkbox.c: reindent static prototypes.
785
786 2008-10-07  Michael Natterer  <mitch@imendio.com>
787
788         Bug 553573 – Add orientation API to GtkBox
789
790         * gtk/gtkbox.[hh]: implement the GtkOrientable interface and
791         swallow all code from GtkHBox and GtkVBox. Add gtk_box_new()
792         which takes a GtkOrientation argument. Also move the newly
793         added "spacing_set" boolean from struct GtkBox to the new
794         private struct.
795
796         * gtk/gtkhbox.[ch]
797         * gtk/gtkvbox.[ch]: remove all code except the constructor and
798         call gtk_orientable_set_orientation() in init().
799
800         * gtk/gtk.symbols: add gtk_box_new().
801
802 2008-10-06  Björn Lindqvist  <bjourne@gmail.com>
803
804         Bug 539464 – gtk_cell_view_get_model is missing in GtkCellView
805
806         * gtk/gtkcellview.c (gtk_cell_view_get_model): Add
807         gtk_cell_view_get_model.
808
809 2008-10-06  Matthias Clasen  <mclasen@redhat.com>
810
811         * gtk/gtkprintunixdialog.c (create_main_page): Show the tooltip
812         on the range entry itself, too.
813
814 2008-10-04  Tor Lillqvist  <tml@novell.com>
815
816         Bug 132501 - Make utility window translate to tool window in win32
817
818         Implement the utility window type hint. Such windows are kept on
819         top of other windows of the same process. Makes GIMP's toolbox and
820         dock windows behave more like in GNOME under metacity. Apply the
821         same logic also to windows marked with the dialog window type
822         hint, and windows that are transient for some other window. I'll
823         call such windows "transient-type" below.
824
825         * gdk/win32/gdkevents-win32.c (doesnt_want_key): Drop unused
826         variables.
827
828         (ensure_stacking_on_unminimize)
829         (ensure_stacking_on_window_pos_changing)
830         (ensure_stacking_on_activate_app): New functions to implement the
831         desired stacking order. Make sure that a window that is not
832         transient-type stays below any transient-type windows of the
833         application. When activating a non-transient-type window make sure
834         it rises as high as possible while still staying below the lowest
835         transient-type window.
836
837         (gdk_event_translate): Call above functions on
838         WM_WINDOWPOSCHANGING, WM_ACTIVATEAPP and on WM_SIZE when
839         unminimizing. Improve debugging printout.
840
841         * gdk/win32/gdkwindow-win32.c (get_effective_window_decorations):
842         Handle utility windows like toolbar windows.
843
844         (gdk_window_new_internal) (update_style_bits): Give utility
845         windows the WS_EX_TOOLWINDOW extended style.
846
847         (gdk_window_set_title): If debugging "misc" or "events", make the
848         handle of top-level windows show up in their title bars. Very
849         useful when looking at debugging output.
850
851         (gdk_window_set_transient_for) (gdk_window_set_keep_above)
852         (gdk_window_set_keep_below) (gdk_window_set_modal_hint)
853         (gdk_window_set_skip_taskbar_hint)
854         (gdk_window_set_skip_pager_hint): Add and improve debugging
855         printout.
856
857         (gdk_window_set_type_hint): Print hint symbolically in GDK_NOTE().
858
859 2008-10-04  Tor Lillqvist  <tml@novell.com>
860
861         * gdk/win32/gdkmain-win32.c (_gdk_win32_window_exstyle_to_string)
862         (_gdk_win32_window_pos_bits_to_string): New debugging printout
863         functions. Decode the WS_EX_* and SWP_* bits.
864
865         * gdk/win32/gdkprivate-win32.h: Declare them. Define
866         GDK_DEBUG_MISC_OR_EVENTS for use in GDK_NOTE() to match either
867         "misc" or "events".
868
869 2008-10-03  Matthias Clasen <mclasen@redhat.com>
870
871         * gtk/gtkmodules.c (_gtk_modules_settings_changed): Add some
872         debug output.
873
874 2008-10-02  Matthias Clasen <mclasen@redhat.com>
875
876         Bug 96431 – Can't cut and paste / DND within invisible entry
877
878         * gtk/gtkentry.c: Disable cut, copy and drag out of an invisible
879         entry. Proposed by Owen Taylor
880
881 2008-10-02  Matthias Clasen <mclasen@redhat.com>
882
883         Bug 530575 – GtkEntry with invisible chars has a confused cursor in
884         overwrite mode
885
886         * gtk/gtkentry.c (gtk_entry_draw_cursor): Use the visible text
887         in the layout when positioning the cursor, not the actual text
888         content of the entry. This makes a different when using overwrite
889         mode in an invisible entry. 
890         Problem noticed by Jonathan Blandford
891
892         * gtk/gtktextutil.c: Fix a typo in a comment
893
894 2008-10-02  Christian Persch
895
896         Bug 554704 – gtkfilesystemmodel does too much work
897
898         * gtk/gtkfilesystemmodel.c: Replace g_slist_length()<1 check with a
899         simple NULL check.
900
901 2008-10-02  Christian Persch
902
903         Bug 554701 – filechooser spams console with useless warnings
904
905         * gtk/gtkfilesystem.c.c: Don't warn if the async call was simply
906         cancelled.
907
908 2008-10-02  Christian Persch
909
910         Bug 554698 – mem leak in filechooser
911
912         * gtk/gtkfilechooserdefault.c: Plug a mem leak.
913
914 2008-10-02  Christian Persch
915
916         Bug 554696 – invalid free function used
917
918         * gtk/gtkfilesystemmodel.c: Use the right free func.
919
920 2008-10-02  Christian Persch
921
922         Bug 554691 – mem leak in filechooser
923
924         * gtk/gtkfilesystemmodel.c: Plug a mem leak.
925
926 2008-10-02  Christian Persch
927
928         Bug 554690 – mem leak in filechooser
929
930         * gtk/gtkfilechooserdefault.c: Plug a mem leak.
931
932 2008-10-02  Michael Natterer  <mitch@imendio.com>
933
934         Bug 553585 – Add orientation API to GtkRuler
935
936         * gtk/gtkruler.[ch]: implement the GtkOrientable interface and
937         swallow all code from GtkHRuler and GtkVRuler. Add gtk_ruler_new()
938         which takes a GtkOrientation argument.
939
940         * gtk/gtkhruler.c
941         * gtk/gtkvruler.c: remove all code except the constructor and
942         call gtk_orientable_set_orientation() in init().
943
944         * gtk/gtk.symbols: add gtk_ruler_new().
945
946 2008-10-01  Torsten Schoenfeld  <kaffeetisch@gmx.de>
947
948         * docs/reference/gtk/gtk-sections.txt:
949         * gtk/gtk.symbols:
950         * gtk/gtkselection.c:
951         * gtk/gtkselection.h: Add gtk_selection_data_get_selection to
952         retrieve the sealed struct field GtkSelectionData.selection.
953
954 2008-10-01  Tor Lillqvist  <tml@novell.com>
955
956         * gtk/gtkscalebutton.c: Don't #define _GNU_SOURCE on Windows as it
957         confuses newest mingw headers.
958
959 2008-10-01  Tor Lillqvist  <tml@novell.com>
960
961         * gdk/win32/gdkkeys-win32.c (gdk_keymap_get_caps_lock_state):
962         Implement trivially on Windows. Not sure if something more complex
963         is actually needed, more specifically whether the function needs
964         to differentiate between "Caps Lock" and "Shift Lock" semantics?
965
966 2008-10-01  Simos Xenitellis  <simos@gnome.org>
967
968         Bug 554506 – combining diacritics broken, became deadkeys
969
970         * gtk/gtkimcontextsimple.c: added check if keysym is greater
971         than 0x1000000, in this case it is not a dead key.
972
973 2008-09-30  Michael Natterer  <mitch@imendio.com>
974
975         Bug 553582 – Add orientation API to GtkSeparator
976
977         * gtk/gtkseparator.[ch]: implement the GtkOrientable interface and
978         swallow all code from GtkHSeparator and GtkVSeparator. Add
979         gtk_separator_new() which takes a GtkOrientation argument.
980
981         * gtk/gtkhseparator.c
982         * gtk/gtkvseparator.c: remove all code except the constructor and
983         call gtk_orientable_set_orientation() in init().
984
985         * gtk/gtk.symbols: add gtk_separator_new().
986
987 2008-09-30  Marek Kasik  <mkasik@redhat.com>
988
989         Bug 344522 – support non-local destination files (GtkPrint):
990
991         * gtk/gtkprintunixdialog.c
992         * gtk/gtkprinteroptionwidget.c: Process URI instead of filename.
993         * modules/printbackends/file/gtkprintbackendfile.c: Add ability
994         to save files on non-local filesystems.
995
996 2008-09-30  Michael Natterer  <mitch@imendio.com>
997
998         * gtk/gtk.symbols: forgot the G_GNUC_CONST of
999         gtk_orientable_get_type().
1000
1001 2008-09-30  Michael Natterer  <mitch@imendio.com>
1002
1003         Bug 541009 – Get rid of separate subclasses for horizontal and
1004         vertical orientation:
1005
1006         * gtk/Makefile.am
1007         * gtk/gtk.symbols
1008         * gtk/gtk.h
1009         * gtk/gtkorientable.[ch]: add new interface GtkOrientable which
1010         will be implemented by everything that can switch orientation.
1011
1012 2008-09-30  Christian Dywan  <christian@imendio.com>
1013
1014         Fix a typo in the tutorial.
1015
1016         * docs/tutorial/gtk-tut.sgml: It's mnemonic, not 'mnemnonic'.
1017
1018 2008-09-29  Matthias Clasen  <mclasen@redhat.com>
1019
1020         Bug 553086 – hard to see current immodule
1021
1022         * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems):
1023         Display the actually selected context in the system menuitem.
1024         Complaint by Akira Tagoh.
1025
1026 2008-09-29  Matthias Clasen  <mclasen@redhat.com>
1027
1028         Bug 530568 – Entries with visibility=FALSE should warn for caps-lock
1029         on
1030
1031         * gtk/gtkentry.c: Add a tooltip-like Caps Lock warning for
1032         password entries. The warning is also triggered if an input method
1033         is active. The warning can be turned off using the
1034         GtkEntry::caps-lock-warning property. 
1035         Proposed by Owen Taylor
1036
1037 2008-09-29  Matthias Clasen  <mclasen@redhat.com>
1038
1039         * gtk/gtk.symbols:
1040         * gtk/gtkimmulticontext.[hc] (gtk_im_multicontext_get_context_id): 
1041         Add a getter for the the sealed context_id field.
1042
1043 2008-09-29  Matthias Clasen  <mclasen@redhat.com>
1044
1045         Bug 107000 – Add signals to GdkKeymap for monitoring caps_lock, etc.
1046
1047         * gdk/gdk.symbols:
1048         * gdk/gdkkeys.[ch]: Add a new GdkKeymap::state-changed signal, and
1049         a gdk_keymap_get_caps_lock_state function.
1050
1051         * gdk/x11/gdkkeys-x11.c: Implement it here. For now, only emit
1052         state-changed when caps lock lockedness changes. 
1053
1054         * gdk/x11/gdkdisplay-x11.c: Also select for modifier lock status
1055         changes in the XkbSelectEventDetails call.
1056
1057 2008-09-29  Kristian Rietveld  <kris@imendio.com>
1058
1059         Bug 487624 - Tooltips doesn't get updated if ther's no mouse motion
1060         over widget
1061
1062         * gtk/gtkwidget.c (gtk_widget_set_property): after updating
1063         tooltip text or markup, call gtk_widget_trigger_tooltip_query()
1064         so that existing visible tooltips are updated.
1065
1066 2008-09-29  Matthias Clasen  <mclasen@redhat.com>
1067
1068         Bug 371908 – Password Entry broken
1069         Bug 317002 – Disable input method completely in GtkEntry when it's 
1070         in invisible mode.
1071
1072         * gtk/gtkentry.c (gtk_entry_backspace): Make backspace behave
1073         properly when invisible.
1074
1075         * gtk/gtkentry.c (gtk_entry_create_layout): Show preedit even if
1076         invisible. 
1077
1078         * gtk/gtkentry.c (gtk_entry_set_visibility): Don't disable input
1079         methods when making the entry invisible.
1080         
1081 2008-09-29  Emmanuele Bassi  <ebassi@linux.intel.com>
1082
1083         * gdk/x11/gdkinput.c:
1084         (gdk_device_class_init), (gdk_device_finalize): Correctly chain
1085         up the finalize implementation.
1086
1087 2008-09-29  Richard Hult  <richard@imendio.com>
1088
1089         Bug 554141 – uninitialized data use/free in gtkclipboard-quartz.c
1090
1091         * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
1092         Patch from Jon A. Cruz to initialize the allocated selection data.
1093
1094 2008-09-27  Matthias Clasen  <mclasen@redhat.com>
1095
1096         Bug 339367 – Incorrect spotlocation
1097
1098         * modules/input/gtkimcontextxim.c: Correct the spot location
1099         for on-the-spot style.
1100
1101 2008-09-27  Denis Washington  <denisw@svn.gnome.org>
1102
1103         * gtk/gtkiconview.c: only draw keyboard focus when keyboard navigation
1104         is used, like GtkTreeView. (Bug #553575)
1105
1106 2008-09-26  Matthias Clasen  <mclasen@redhat.com>
1107
1108         Bug 552959 – GtkTrayIcon: _NET_SYSTEM_TRAY_VISUAL and real
1109         transparency
1110
1111         * gtk/gtktrayicon-x11.c: Add support for the _NET_SYSTEM_TRAY_VISUAL
1112         property described in
1113         http://lists.freedesktop.org/archives/xdg/2008-September/009919.html
1114         If _NET_SYSTEM_TRAY_VISUAL is a visual with an alpha channel, the 
1115         parent-relative-background hack is skipped and we draw with a real
1116         transparent background.
1117
1118         * gtk/gtkrc.c: Remove the default GtkTrayIcon style, since the
1119         parent-relative background is now set when realizing the tray
1120         icon.
1121
1122         Patch by Owen Taylor
1123
1124 2008-09-26  Matthias Clasen  <mclasen@redhat.com>
1125
1126         Bug 552956 – Should check composite extension version
1127
1128         * gdk/x11/gdkdisplay-x11.c: Check that the version of the
1129         composite extension is at least 0.4.
1130         Patch by Owen Taylor
1131
1132 2008-09-26  Matthias Clasen  <mclasen@redhat.com>
1133         
1134         Bug 553803 – eventually call XCloseDevice on XOpenDevice results
1135
1136         * gdk/x11/gdkinput.c: Add a finalize function for device objects,
1137         and call XCloseDevice there. 
1138
1139         * gdk/x11/gdkinput-x11.c:
1140         * gdk/x11/gdkdisplay-x11.c: Move freeing of device objects to
1141         the finalize function.
1142         Patch by Caolan McNamara
1143         
1144 2008-09-26  Matthias Clasen  <mclasen@redhat.com>
1145
1146         Bug 553578 - tabs are not drawn correctly
1147
1148         * gtk/gtknotebook.c: Track the visibility state of notebook tabs 
1149         between allocations so that we know to redraw the tab labels if 
1150         tabs are hidden and shown without changing position. 
1151         Reported by Marek Kašík, patch by Owen Taylor.
1152
1153 2008-09-26  Matthias Clasen  <mclasen@redhat.com>
1154
1155         Bug 553133 – GtkFileChooser won't ask to mount a volume
1156         Bug 553211 – GtkFileChooserButton unsets filter after first use
1157
1158         * gtk/gtkfilechooserdefault.c (shortcuts_activate_volume): Use
1159         a GtkMountOperation when mounting, so that we get a password
1160         dialog when required.  
1161
1162         * gtk/gtkfilechooserdefault.c (show_and_select_files): Also
1163         get the content-type, since it is used later on. 
1164         Pointed out by Davyd Madeley.
1165
1166 2008-09-26  Cody Russell  <bratsche@gnome.org>
1167
1168         Bug 553917 – Typo in gdkwindow-win32.c
1169
1170         * gdk/win32/gdkwindow-win32.c: Fixed a typo in
1171         update_system_menu().  Changed GDK_DECOR_ALL to GDK_FUNC_ALL.
1172
1173         Reported by Richard Hult
1174
1175 2008-09-25  Marek Kasik  <mkasik@redhat.com>
1176
1177         Bug 553241 – double freed pointer in lpr_write cause firefox3 crash
1178
1179         * modules/printbackends/lpr/gtkprintbackendlpr.c:
1180         The redundant freeing of memory was removed.
1181
1182         Patch by Chris Wang
1183
1184 2008-09-25  Michael Natterer  <mitch@imendio.com>
1185
1186         * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_finalize):
1187         don't unref the file system backend, the newly added
1188         unset_file_system_backend() already does this (bug #553135).
1189
1190 2008-09-24  Michael Natterer  <mitch@imendio.com>
1191
1192         * gtk/gtkeventbox.c: events return gboolean not gint, reindented
1193         static prototypes.
1194
1195 2008-09-24  Johan Dahlin  <johan@gnome.org>
1196
1197         Bug 553385 – gtk-builder-convert creates untranslated combobox models
1198
1199         * gtk/gtk-builder-convert: Set the translatable property on
1200         col tags for converted combos.
1201
1202 2008-09-24  Tor Lillqvist  <tml@novell.com>
1203
1204         * gtk-zip.sh.in: Include all of share/man, lib/pkgconfig,
1205         share/aclocal and share/gtk-doc instead of trying to list
1206         individual files or subdirectories. We had missed gail.pc, for
1207         instance.
1208
1209 2008-09-24  Christian Dywan  <christian@imendio.com>
1210
1211         Bug 538782 – Make GtkMenu's arrow size themable
1212
1213         * gtk/gtkmenu.c (gtk_menu_class_init), (gtk_menu_paint):
1214         Implement "arrow-scaling" style property in GtkMenu.
1215
1216 2008-09-24  Christian Dywan  <christian@imendio.com>
1217
1218         Bug 408244 – add GtkDialog::content-area-spacing
1219
1220         * gtk/gtkbox.c (gtk_box_init), (gtk_box_set_spacing),
1221         (_gtk_box_set_spacing_set), (_gtk_box_get_spacing_set):
1222         * gtk/gtkbox.h:
1223         * gtk/gtkdialog.c (gtk_dialog_class_init), (update_spacings):
1224         Implement "content-area-spacing" style property in GtkDialog
1225         and internal helper _gtk_box_get_spacing_set in GtkBox.
1226         Patch by Tim Janik, Sven Herzberg and myself.
1227
1228 2008-09-24  Christian Dywan  <christian@imendio.com>
1229
1230         Bug 541391 – Unfocussable Treeview swallows focus
1231
1232         * gtk/gtktreeview.c (grab_focus_and_unset_draw_keyfocus),
1233         (gtk_tree_view_focus): Honor GTK_WIDGET_CAN_FOCUS properly
1234
1235 2008-09-24  Denis Washington  <denisw@svn.gnome.org>
1236
1237         * gtk/gtkiconview.c: draw focus as a rectangle around the
1238         complete item, not just the text. (Bug #38254)
1239
1240 2008-09-23  Michael Natterer  <mitch@imendio.com>
1241
1242         * gtk/gtkobject.c
1243         * gtk/gtksignal.[ch]: s/GtkType/GType/ and
1244         s/GtkSignalMarshaller/GSignalCMarshaller/.
1245
1246 2008-09-23  Michael Natterer  <mitch@imendio.com>
1247
1248         * gdk/x11/gdkevents-x11.c (gdk_event_translate): remove unused
1249         variable and fix indentation.
1250
1251 2008-09-23  Michael Natterer  <mitch@imendio.com>
1252
1253         * gtk/gtkclist.h
1254         * gtk/gtkctree.h
1255         * gtk/gtklist.h
1256         * gtk/gtklistitem.h
1257         * gtk/gtkobject.h
1258         * gtk/gtkoldeditable.h
1259         * gtk/gtkpixmap.h
1260         * gtk/gtkpreview.h
1261         * gtk/gtktext.h
1262         * gtk/gtktipsquery.h
1263         * gtk/gtktree.h
1264         * gtk/gtktreeitem.h: get rid of GtkType and GTK_CHECK_FOO() also
1265         in all deprecated headers.
1266
1267 2008-09-22  Matthias Clasen  <mclasen@redhat.com>
1268
1269         Bug 553135 – eog crash: assertion failed. Gtk error:
1270         shortcuts_remove_rows: code should not be reached
1271
1272         * gtk/gtkfilechooserdefault.c: Disconnect from GtkFileSystem 
1273         signals when we are destroyed, in order to avoid nasty surprises.
1274         Patch by Claudio Saavedra
1275
1276 2008-09-22  Emmanuele Bassi  <ebassi@linux.intel.com>
1277
1278         Bug 552789 – Show size column in the search and recently used
1279         files modes
1280
1281         * gtk/gtkfilechooserdefault.c: Display the file size column
1282         when in OPERATION_MODE_SEARCH. This removes a stat() call
1283         and simplifies the code a little bit by changing the query
1284         for file informations for each search engine hit.
1285
1286 2008-09-22  Michael Natterer  <mitch@imendio.com>
1287
1288         * gtk/gtksignal.[ch]
1289         * gtk/gtkclist.c
1290         * gtk/gtklist.c
1291         * gtk/gtkmain.c
1292         * gtk/gtktext.c
1293         * gtk/gtktreeitem.c: use G_CALLBACK and GCallback instead of
1294         GTK_SIGNAL_FUNC and GtkSignalFunc also in deprecated code.
1295
1296 2008-09-22  Frederic Crozat  <fcrozat@mandriva.com>
1297
1298         * gtk/gtkfilesystem.c: use the correct gi18n header.
1299         Fixes bug #553000.
1300
1301 2008-09-22  Michael Natterer  <mitch@imendio.com>
1302
1303         * gtk/gtktoolbar.[ch]: add "Deprecated: 2.4" to all the deprecated
1304         append(), prepend() and insert() functions and recommend to use
1305         gtk_toolbar_insert() instead. Use GCallback instead of
1306         GtkSignalFunc even in deprecated API.
1307
1308 2008-09-20  Matthias Clasen  <mclasen@redhat.com>
1309
1310         * gtk/gtkfilechooserbutton.c (filter_model_visible_func): Don't
1311         leak a GFile.
1312
1313 2008-09-19  Owen Taylor  <otaylor@redhat.com>
1314
1315         Small cleanups to debug messages for GtkPlug/GtkSocket
1316
1317         * gtk/gtksocket-x11.c: Fix debug message to say "Socket" not "Plug"
1318         * gtk/gtkplug-x11.c: Remove excess newlines from the ends of debug
1319         messages.
1320
1321 2008-09-19  Carlos Garnacho  <carlos@imendio.com>
1322
1323         Bug 83935 – GtkEntry's default invisible char should be U+25CF
1324
1325         * gtk/gtkentry.c (find_invisible_char) (gtk_entry_init): Find a
1326         more suitable invisible char than '*' based on the used font.
1327         (gtk_entry_class_init) (gtk_entry_set_property)
1328         (gtk_entry_get_property): Add a "invisible-char-set" property.
1329         (gtk_entry_unset_invisible_char): New function, needed now that the
1330         default invisible char isn't fixed.
1331         * gtk/gtkentry.h:
1332         * gtk/gtk.symbols:
1333         * docs/reference/gtk/gtk-sections.txt: Add the new function.
1334
1335 2008-09-19  Christian Persch  <chpe@gnome.org>
1336  
1337         Bug 552837 – mem leak in gtkimmulticontext
1338  
1339         * gtk/gtkimmulticontext.c: (gtk_im_multicontext_get_slave): Plug mem
1340         leak.
1341  
1342 2008-09-18  Emmanuele Bassi  <ebassi@linux.intel.com>
1343
1344         * gtk/gtkfilechooserdefault.c (settings_save): Save the size column
1345         visibility state with the rest of the FileChooser settings.
1346
1347 2008-09-18  Emmanuele Bassi  <ebassi@linux.intel.com>
1348
1349         Bug 325095 – show a 'size' column
1350
1351         * gtk/gtkfilechooserdefault.c:
1352         * gtk/gtkfilechooserprivate.h: Add a context menu item controlling
1353         the visibility of the file size column. This works only for the
1354         browse mode, and the column is not visible by default.
1355
1356         * gtk/gtkfilechoosersettings.[ch]: Add a ShowSizeColumn key to the
1357         settings file.
1358
1359 2008-09-18  Dominic Lachowicz  <domlachowicz@gmail.com>
1360
1361         * modules/engines/ms-windows/*: Revert most of previous patch, as
1362         it didn't work as expected; Some work toward #531086 - the new
1363         GtkTooltip widget doesn't theme properly on win32. Now, at least
1364         the background color seems okay
1365         
1366 2008-09-18  Dominic Lachowicz  <domlachowicz@gmail.com>
1367
1368         * modules/engines/ms-windows/*: MS Windows style should use
1369         pango_win32_font_description_from_logfont; Allows us to rip out a
1370         lot of potentially buggy code, and also get the font specification
1371         from the XP theme (#434987)
1372         
1373 2008-09-18  Matthias Clasen  <mclasen@redhat.com>
1374
1375         * configure.in: updated version number to 2.15.0 for development.
1376
1377         * ChangeLog.pre-2-14: rotate ChangeLog
1378
1379 === Branch for 2.14 ===