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