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