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