1 2008-12-13 Matthias Clasen <mclasen@redhat.com>
3 Bug 558306 – Cannot build gdk (gtk+ 2.14.4) on Solaris 8
5 * gdk/x11/gdktestutils-x11.c (gdk_test_simulate_button):
6 Remove a C99ism. Pointed out by Eric Lamarque
8 2008-12-13 Matthias Clasen <mclasen@redhat.com>
10 Bug 549251 – GTK icon view accessible issue.
12 * gtk/gtkiconview.c (gtk_icon_view_accessible_model_row_changed):
13 Handle separate append/set for rows. Patch by Li Yuan
15 2008-12-13 Matthias Clasen <mclasen@redhat.com>
17 Bug 556839 – Crash when opening a link
19 * gtk/gtkstatusicon.c (gtk_status_icon_finalize): Destroy the
20 image too. Patch by Carlos Garcia Campos
22 2008-12-13 Matthias Clasen <mclasen@redhat.com>
24 Bug 563751 – xatom cache is prefilled too late
26 * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Initialize the
27 XAtom cache earlier. Patch by Christian Persch
29 2008-12-13 Matthias Clasen <mclasen@redhat.com>
31 Bug 564212 – gtk_icon_view_accessible_model_rows_reordered explain
32 new_order in the wrong way
34 * gtk/gtkiconview.c (gtk_icon_view_accessible_model_rows_reordered):
35 Use the new order correctly. Patch by Li Yuan
37 2008-12-13 Matthias Clasen <mclasen@redhat.com>
39 Bug 563835 – Typo in gtk_widget_has_screen() docs
41 * gdk/directfb/gdkwindow-directfb.c:
43 * gdk/x11/gdkwindow-x11.c:
46 * gtk/tests/builder.c:
47 * tests/testdnd.c: s/heirarchy/hierarchy/ in docs and comments.
48 Pointed out by Wouter Bolsterlee
50 2008-12-12 Matthias Clasen <mclasen@redhat.com>
52 Bug 564066 – Crash in gtk_rc_parse_default_files
54 * gtk/gtkrc.c (gtk_rc_parse_default_files): Handle being called
55 early. Bug report by Andrés G. Aragoneses
57 2008-12-12 Matthias Clasen <mclasen@redhat.com>
59 * gtk/gtkmountoperation.c: Set an empty title on password dialogs.
60 Pointed out by Máirín Duffy.
62 2008-12-11 Sven Herzberg <sven@imendio.com>
64 Document the "set-scroll-adjustments" signal
66 Reviewed by Kristian Rietveld.
72 * gtk/gtkviewport.c: added proper documentation for the signal
74 2008-12-11 Daniel Elstner <danielk@openismus.com>
76 Bug 563994 – Input method module interface not documented
78 * gtk/gtkimcontext.h: Add public/private markers.
79 * gtk/gtkimcontext.c: Add section documentation which explains how
80 to add a new input method module to GTK+. Document the signals and
81 virtual functions of GtkIMContextClass.
82 * gtk/gtkimmodule.c: Document struct GtkIMContextInfo.
83 * docs/reference/gtk/gtk-sections.txt: Add GtkIMContextClass and
84 GtkIMContextInfo to section GtkIMContext.
85 * docs/reference/gtk/Makefile.am (IGNORE_HFILES): Remove
86 gtkimmodule.h from the list in order to pick up GtkIMContextInfo.
87 * docs/reference/gtk/tmpl/gtkimcontext.sgml: Remove file from
88 repository since all the hand-edited content has been migrated to
91 2008-12-10 Matthias Clasen <mclasen@redhat.com>
93 Bug 563991 – gtk_file_chooser_button_new_with_backend is deprecated
94 -- but what should be used instead?
96 * gtk/gtkfilechooserbutton.c: Enhanced deprecation annotation.
98 2008-12-10 Daniel Elstner <danielk@openismus.com>
100 Maintenance of Multipress input method by Openismus GmbH:
102 * modules/input/gtkimcontextmultipress.[ch]: Clean up the code
103 a bit to follow the GTK+ coding style more closely. Fix the code
104 to emit "preedit-start" and "preedit-end", too, rather than only
106 (GTK_IM_CONTEXT_MULTIPRESS*): Rename incorrectly spelled macros
107 gtk_im_context_multipress*. Shouldn't break API or ABI as it's
108 only used internally.
109 * modules/input/immultipress.c: More cleanup,
110 * modules/input/README.multipress: ditto.
112 2008-12-09 Michael Natterer <mitch@imendio.com>
114 * gdk/gdk.symbols: add missing #ifndef GDK_DISABLE_DEPRECATED.
116 2008-12-09 Michael Natterer <mitch@imendio.com>
118 * gtk/gtkcontainer.c (struct PackingPropertiesData): add missing
121 * gtk/gtkcontainer.c (attributes_text_element): "value" is a
122 gchar*, not const gchar*.
124 2008-12-07 Matthias Clasen <mclasen@redhat.com>
126 Bug 546378 – GtkAssistant page title is not translatable
128 * gtk/gtkbuilderparser.c: Make gtk_builder_get_translation_domain()
129 useful for subparsers.
131 * gtk/gtkcontainer.c: Make the child property parser support
132 translatable child properties. Patch by Antti Kaijanmäki
134 2008-12-07 Matthias Clasen <mclasen@redhat.com>
136 Bug 554274 – Add default hook for GtkLinkButton
138 * gtk/gtklinkbutton.c: Call gtk_show_uri() if no uri hook has
139 been set. Patch by Emmanuele Bassi
141 2008-12-07 Matthias Clasen <mclasen@redhat.com>
143 Bug 559325 – documentation for gdk_display_get_window_at_pointer()
146 * gdk/gdkdisplay.c (gdk_display_get_window_at_pointer): Correct
147 the documentation. Patch by Paul Davis
149 2008-12-07 Matthias Clasen <mclasen@redhat.com>
151 Bug 563285 – test print backend does not compile
153 * modules/printbackends/test/gtkprintbackendtest.c: Clean up
156 2008-12-07 Behdad Esfahbod <behdad@gnome.org>
158 Bug 563547 – Update gdkx11 atom precache table
160 * gdk/x11/gdkdisplay-x11.c: Add more atoms to precache.
162 2008-12-05 Michael Natterer <mitch@imendio.com>
164 Bug 546285 – Allow GtkEntry to draw progress
166 * gtk/gtkentry.[ch]: add new API similar to GtkProgressBar which
167 allows to set the entry's progress_fraction, its progress_pulse_step
168 and to let the entry's progress pulse.
170 * gtk/gtk.symbols: updated.
172 * tests/testgtk.c: add progress demo code to the "Entry" window.
174 2008-12-04 Johan Dahlin <jdahlin@async.com.br>
176 * gtk/gtkstatusicon.c:
177 Add missing space in gtk-doc deprecated syntax
179 2008-12-03 Simos Xenitellis <simos@gnome.org>
181 Bug 557420 – Some compose sequences don't work anymore (or only in
184 * gtk/gtkimcontextsimple.c: Update of table size, keysym boundary,
185 to match the gtkimcontextsimpleseqs.h table.
186 * gtk/gtkimcontextsimpleseqs.h: Update with older gtk+ compose
187 sequences that went missing due to table update with upstream.
188 * gtk/compose-parse.py: Updated to include gtk-compose-lookaside.txt
189 * gtk/gtk-compose-lookaside.txt: Older gtk+ compose sequences that
190 are not found in the X.Org Compose file.
192 2008-12-03 Sven Herzberg <sven@imendio.com>
194 Bug 562998 – GtkFontButton documentation improvements
196 * gtk/gtkfontbutton.c: mention the way the font string should be used.
197 Patch by Sven Herzberg and Nelson Benitez
199 2008-12-03 Marek Kasik <mkasik@redhat.com>
201 Bug 559914 – eog doesn't apply paper setup.
203 * gtk/gtkpapersize.c: Call the gtk_paper_size_new_from_ppd() with width
204 and height in points.
206 2008-12-02 Carlos Garcia Campos <carlosgc@gnome.org>
208 Bug 562878 – password save incorrectly set in gtkmountoperation
210 * gtk/gtkmountoperation.c (remember_button_toggled),
211 (gtk_mount_operation_ask_password): Remember the password save
212 flags only when the radio button becomes active. Set also the
213 default state of the radio buttons depending on the current value
214 of password save flags.
216 2008-12-01 Matthias Clasen <mclasen@redhat.com>
218 Bug 555334 – connected server feature
220 * gtk/gtkfilesystem.c (get_volumes_list): Filter out shadow mounts.
221 Patch by David Zeuthen.
223 2008-12-01 Matthias Clasen <mclasen@redhat.com>
225 * gtk/gtkentry.c: Revert an accidental change that sneaked
226 in with the last commit.
228 2008-12-01 Paul Bolle <pebolle@tiscali.nl>
230 Bug 562817 – GtkDialog: typo
232 * gtk/gtkdialog.c: Fix typo
234 2008-11-29 Matthias Clasen <mclasen@redhat.com>
236 Bug 554453 – "typeahead find" widget of GtkTreeView appears on
237 wrong monitor in a multi-head environment
239 * gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory):
240 Make sure the typeahead window follows screen changes of the
241 treeview. Noticed by Rainer Stransky
243 2008-11-30 Christian Dywan <christian@imendio.com>
245 Bug 559622 – GdkDevice test segfaults
247 * gdk/x11/gdkdisplay-x11.c (gdk_display_x11_dispose):
248 * gdk/x11/gdkinput.c (gdk_device_class_init), (gdk_device_dispose):
249 Free and reset device in dispose. Patch by Michael Natterer and myself.
251 2008-11-30 Christian Dywan <christian@imendio.com>
253 Bug 554076 – eventually release g_new-ed supported_atoms
255 * gdk/x11/gdkevents-x11.c (cleanup_atoms),
256 (gdk_x11_screen_supports_net_wm_hint): Set cleanup callback.
257 Patch by Caolan McNamara.
259 2008-11-30 Christian Dywan <christian@imendio.com>
261 Bug 539263 – Deprecate gdk_window_get_toplevels
264 * gdk/gdkwindow.h: Deprecate gdk_window_get_toplevels
266 2008-11-29 Federico Mena Quintero <federico@novell.com>
268 * gtk/gtktreeview.c (gtk_tree_view_bin_expose): If tree lines are
269 enabled, flip them around for the right-to-left case. Fixes
270 https://bugzilla.novell.com/show_bug.cgi?id=447004. Patch by
271 Ricardo Cruz <rpmcruz@alunos.dcc.fc.up.pt>
273 2008-11-29 Christian Persch <chpe@gnome.org>
275 * gtk/gtkselection.c: Typo fix.
277 2008-11-29 Matthias Clasen <mclasen@redhat.com>
279 * gtk/gtkselection.c:
283 * gtk/gtkbindings.c: Improve deprecation annotations.
285 2008-11-26 Christian Dywan <christian@imendio.com>
287 Bug 561504 – testgtk should load rc file from sub folder
289 * tests/testgtk.c (main):
290 Make testgtk look in subfolder and warn if not found
292 2008-11-25 Johan Dahlin <jdahlin@async.com.br>
294 Bug 559947 – Unchecked dependency on python>=2.4
296 * gtk/gtk-builder-convert:
297 Avoid using sorted() which is only present in python 2.
299 2008-11-24 Tristan Van Berkom <tvb@gnome.org>
301 * gtk/gtkalignment.c: Bug 561539 - Fix warnings when size allocations
302 fall short of border width and padding.
304 2008-11-22 Paul Bolle <pebolle@tiscali.nl>
306 Bug 561335 - Fix typos in GtkToolItem documentation
308 * gtk/gtktoolitem.c: Fix typos in GtkToolItem documentation
310 2008-11-21 Matthias Clasen <mclasen@redhat.com>
312 * configure.in: Bump gtk-doc dependency to 1.11 for
313 nicer index-generation.
315 2008-11-21 Matthias Clasen <mclasen@redhat.com>
317 * gtk/gtkmountoperation.[hc]: Declare structs in a way that
320 2008-11-17 Christian Dywan <christian@imendio.com>
322 Bug 377699 – realizing gtk.Progress() causes SEGV
324 * gtk/gtkprogress.c: Define GtkProgress as an abstract type
326 2008-11-13 Christian Dywan <christian@imendio.com>
328 Bug 560602 – Wrong GtkMenuItem default value (test fails)
330 * gtk/gtkmenuitem.c (gtk_menu_item_class_init):
331 Correct default "label" value to ""
333 2008-11-12 Christian Dywan <christian@imendio.com>
335 Bug 560139 – GtkEntry doesn't paint with the right state
337 * gtk/gtkentry.c (gtk_entry_class_init), (gtk_entry_draw_frame),
338 (gtk_entry_expose): Reflect the right state if state-hint is set
340 2008-11-12 Christian Dywan <christian@imendio.com>
342 Bug 559619 – invisible-char default cannot be tested
344 * gtk/tests/defaultvalue.c (test_type):
345 Skip invisible-char when testing
347 2008-11-12 Richard Hult <richard@imendio.com>
349 * gtk/gtkdnd-quartz.c: (gtk_drag_set_icon_pixmap): Implement,
350 patch from Paul Davis.
352 2008-11-12 Christian Dywan <christian@imendio.com>
354 Bug 525550 – GTK+ 2.13.0 GtkCurve test fails
356 * gtk/tests/object.c (list_ignore_properties),
357 (object_test_property), (main): Ignore GtkCurve when testing
359 2008-11-12 Richard Hult <richard@imendio.com>
361 Bug 550942 – [patch] Rework of gdkeventloop-quartz.c
364 * gdk/gdkinternals.h: Add eventloop debug facility.
365 * gdk/quartz/gdkeventloop-quartz.c: Big rework of the quartz
366 mainloop integration, patch from Owen Taylor. See bug #550942 for
369 2008-11-12 Richard Hult <richard@imendio.com>
371 Bug 558586 – handling of keyboard under darwin (quartz)
373 * gdk/quartz/gdkkeys-quartz.c: Follow up on this bug, only use the
374 new API when building on 64-bit, since there are still old non-xml
375 layouts used out there we don't want to break them. (For 64-bit
376 those layouts doesn't work so we don't have a choice there.)
378 2008-11-11 Matthias Clasen <mclasen@redhat.com>
380 * gtk/gtkspinbutton.c: Chain up in enter and leave notify handlers.
382 2008-11-11 Michael Natterer <mitch@imendio.com>
384 Bug 553765 – Add orientation API to GtkRange
386 * gtk/gtkrange.[ch]: implement the GtkOrientable interface. Add
387 evil code that makes sure that the stepper_detail and slider_detail
388 set in GtkRangeClass continue to work with the hacked subclasses
391 * gtk/gtkscale.[ch]: swallow all code from GtkHScale and GtkVScale
392 and add gtk_scale_new() and gtk_scale_new_with_range() which take
393 a GtkOrientation argument. Set slider_detail to "Xscale" so above
396 * gtk/gtkscrollbar.[ch]: add gtk_scrollbar_new() which takes a
397 GtkOrientation argument. Set stepper_detail to "Xscrollbar" so
398 above evil code works.
402 * gtk/gtkhscrollbar.c
403 * gtk/gtkvscrollbar.c: remove all code except the constructor and
404 call gtk_orientable_set_orientation() in init().
406 * gtk/gtk.symbols: changed accordingly.
408 2008-11-11 Michael Natterer <mitch@imendio.com>
410 * gtk/gtktoolbar.h: move deprecated functions together, move
411 setters and getters together, some indentation cleanup.
413 2008-11-11 Michael Natterer <mitch@imendio.com>
415 * gtk/gtktoolbar.[ch]: implement the GtkOrientable interface
416 and deprecate gtk_toolbar_get,set_orientation().
418 * gtk/gtk.symbols: changed accordingly.
420 2008-11-10 Marek Kasik <mkasik@redhat.com>
422 Bug 560135 - Print when the user double clicks a printer
424 * gtk/gtkprintunixdialog.c: add handling of double click to
427 2008-11-07 Michael Natterer <mitch@imendio.com>
429 * gtk/gtkpaned.c: argh, actually call the newly added private
430 gtk_paned_calc_position() instead of the deprecated public
433 2008-11-07 Michael Natterer <mitch@imendio.com>
435 Bug 553586 – Add orientation API to GtkPaned
437 * gtk/gtkpaned.[ch]: implement the GtkOrientable interface
438 and swallow all code from GtkHPaned and GtkVPaned. Add
439 gtk_paned_new() which takes a GtkOrientation argument. Deprecate
440 gtk_paned_compute_position() for good (also for GTK_COMPILATION).
443 * gtk/gtkvpaned.[ch]: remove all code except the constructor and
444 call gtk_orientable_set_orientation() in init().
446 * gtk/gtk.symbols: add gtk_box_new().
448 2008-11-07 Johan Dahlin <jdahlin@async.com.br>
450 * gtk/gtkcontainer.c (gtk_container_buildable_add_child):
451 Check for child->parent instead of GTK_WIDGET_TOPLEVEL.
453 2008-11-07 Michael Natterer <mitch@imendio.com>
455 * gtk/gtkscrollbar.c: remove bogus newlines in the middle of
456 function calls, fix broken indentation and remove trailing
459 2008-11-06 Tristan Van Berkom <tvb@gnome.org>
461 * gtk/gtkmenuitem.c: Made buildable and added support for adding
462 children of type "submenu"
464 * gtk/gtkwindow.c: Added support for custom tag "accel-groups" to
465 add GtkAccelGroups to the window.
467 * gtk/gtkcontainer.c: Added builder contextual warnings in
468 buildable_add_child()
470 * gtk/tests/builder.c: Added tests for buildable menus (test that
471 accelerators are properly connected on stock items, test the menu
472 hierarchy, test permission to add alien/custom menuitem children).
474 * docs/reference/gtk/tmpl/gtkbuilder.sgml
475 * docs/reference/gtk/tmpl/gtkwindow.sgml
476 * docs/reference/gtk/tmpl/gtkmenuitem.sgml: Updated docs for
477 buildable submenus and accel groups.
479 2008-11-06 Tristan Van Berkom <tvb@gnome.org>
481 * gtk/gtkmenuitem.[ch]: added new apis
482 gtk_menu_item_[set/get]_label() and
483 gtk_menu_item_[set/get]_use_underline() with "label" and
484 "use-underline" properties, constructors cleaned up to use
485 g_object_new(). GtkMenuItemClass take new vfuncs
488 * gtk/gtkcheckmenuitem.c: constructors cleaned up to use
491 * gtk/gtkimagemenuitem.[ch]: added new apis
492 gtk_image_menu_item_[get/set]_use_stock() and
493 gtk_image_menu_item_set_accel_group() with "use-stock" and
494 write-only "accel-group" properties. constructors cleaned up to
497 2008-11-06 Tristan Van Berkom <tvb@gnome.org>
499 * gtk/gtkbuilder.h: Fixed a crasher in
500 GTK_BUILDER_WARN_INVALID_CHILD_TYPE()
502 2008-11-06 Tristan Van Berkom <tvb@gnome.org>
504 * gtk/gtklabel.c: gtk_label_set_attributes() now applies attributes
505 on top of any markup or mnemonic attributes (bug 558409).
507 * README: Updated and added release notes for 2.16
509 2008-11-06 Richard Hult <richard@imendio.com>
511 Bug 558586 – handling of keyboard under darwin (quartz)
513 * gdk/quartz/gdkkeys-quartz.c: (maybe_update_keymap): Patch from
514 Arnaud Charlet to replace use of deprecated keyboard layout API
515 with the new TIS API available in 10.5. The old code is still used
516 when building for 10.4.
518 2008-11-05 Richard Hult <richard@imendio.com>
520 * gdk/quartz/gdkevents-quartz.c:
521 (get_keyboard_modifiers_from_ns_event), (create_key_event): Revert
522 (at least for now) the alt/cmd switching since it breaks the
523 "alt-gr" functionality of alt which makes it impossible to input
526 2008-11-05 Christian Dywan <christian@imendio.com>
528 Bug 559404 – gtk_editable_insert_text counts length in bytes
531 Document new_text_length as the number of bytes
533 2008-11-05 Richard Hult <richard@imendio.com>
535 * gdk/quartz/gdkwindow-quartz.c:
536 (gdk_window_impl_quartz_begin_paint_region): Set the fill color
539 2008-11-05 Richard Hult <richard@imendio.com>
541 * gtk/gtkstatusicon.c: (gtk_status_icon_set_has_tooltip),
542 (gtk_status_icon_get_tooltip_markup): Fix build for win32 and
545 2008-11-04 Tor Lillqvist <tml@novell.com>
547 Bug 557212 - Problem with which window gains focus and is visible
549 * gdk/win32/gdkevents-win32.c (ensure_stacking_on_activate_app):
550 Only do the restacking for the active window of the
551 application. Seems to fix the problem.
553 (gdk_event_translate): Only call ensure_stacking_on_activate_app()
554 when the application is being activated, not deactivated.
556 2008-11-03 Matthias Clasen <mclasen@redhat.com>
559 * gtk/gtkstatusicon.[hc]: Add new tooltip api.
561 2008-11-03 Christian Persch <chpe@gnome.org>
563 Bug 558001 – gtk_icon_view_enable_model_drag_[source|dest] problem
565 * gtk/gtkiconview.c: Make gtk_drag_*_add_*_targets() usable with
568 2008-11-02 Matthias Clasen <mclasen@redhat.com>
570 Bug 558929 – gtkstatusicon.c: 'event' is a member of the structure
572 * gtk/gtkstatusicon.c: Fix the build.
574 2008-11-02 Matthias Clasen <mclasen@redhat.com>
576 * gtk/gtkimagemenuitem.c: Make it possible to overrule the
577 gtk-menu-images setting.
579 * gtk/gtkaction.c (connect_proxy): Show the image before adding
580 it to the image menu item.
582 2008-11-01 Tor Lillqvist <tml@novell.com>
584 Bug 558278 - Crash when calling a callback set by
585 gdk_add_client_message_filter()
587 * gdk/win32/gdkevents-win32.c (apply_event_filters): Rename from
588 apply_filters() so that it is clear that this function is for
589 GdkEventFilters only.
591 (print_event): Print more information for GDK_CLIENT_EVENT events.
593 (gdk_event_translate): When handling client filters, don't use
594 apply_event_filters(). Use similar code as in the X11 backend,
595 although not exactly, as the parameter list and return value
596 semantics of gdk_event_translate() is different.
598 * tests/testclientmessage.c: New interactive test program to
599 verify client message functionality.
601 * tests/Makefile.am: Add it.
603 2008-11-01 Matthias Clasen <mclasen@redhat.com>
605 Bug 409435 – GtkStatusIcon enhancements: DnD, scroll events,
606 middle click, rich tooltips
608 * gtk/gtkstatusicon.[hc]: Add support for button press/release and
609 scroll events. Patch by Ed Catmur
611 2008-11-01 Matthias Clasen <mclasen@redhat.com>
613 Bug 322934 – Replace menu's proxy icons with empty space hiding icons
615 * gtk/gtkmenu.c (gtk_menu_size_request): Use consistent padding
616 regardless of imagees or checks being in the menu. Also add
617 padding on the right edge.
618 Proposal by Luca Ferretti, patch by Jon McCann
620 2008-11-01 Matthias Clasen <mclasen@redhat.com>
622 Bug 412134 – Add API to query style properties from the style
625 * gtk/gtkstyle.[hc]: Add getters for style properties to
626 avoid the need for ugly workarounds with dummy widget instances.
627 Patch by Mariano Suárez-Alvarez
629 2008-10-31 Christian Dywan <christian@imendio.com>
631 Bug 558667 – gtk_font_selection_dialog_get_apply_button - deprecate?
636 Deprecate gtk_font_selection_dialog_get_apply_button
638 2008-10-31 Matthias Clasen <mclasen@redhat.com>
640 Bug 558323 – glitches when popping up combos in treeviews
642 * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_set_property):
643 Don't set the model property on the combo box, since that leads
646 2008-10-31 Christian Dywan <christian@imendio.com>
648 Bug 347230 – testicontheme shortcomings
650 * tests/testicontheme.c (main):
651 Use theme for "display" and quit on window closing
653 2008-10-30 Matthias Clasen <mclasen@redhat.com>
655 Bug 558522 – scroll arrow painted insensitive even though there
656 are pages beyond the edge
658 * gtk/gtknotebook.c (gtk_notebook_real_insert_page): Redraw
659 arrows. Pointed out by Christian Persch
661 2008-10-30 Michael Natterer <mitch@imendio.com>
663 * gtk/gtkcellrenderertext.h
667 * gtk/gtkstyle.h: <pango/pango.h> is pulled in by <gdk/gdk.h>,
668 remove its inclusion here.
670 2008-10-30 Michael Natterer <mitch@imendio.com>
672 * gtk/*.h: no need to include <gtk/gtkenums.h> in headers which
673 somehow include gtkobject.h or another header which includes it.
675 2008-10-30 Marek Kasik <mkasik@redhat.com>
677 Bug 339714 - Set printer dpi on cairo ps/pdf surfaces when printing
680 * gtk/gtkprintsettings.c
681 * gtk/gtkprintsettings.h
682 * docs/reference/gtk/gtk-sections.txt
683 * modules/printbackends/file/gtkprintbackendfile.c
684 * modules/printbackends/test/gtkprintbackendtest.c
685 * modules/printbackends/cups/gtkprintbackendcups.c
686 * modules/printbackends/lpr/gtkprintbackendlpr.c:
687 Added lpi (lines per inch) setting to GtkPrintSettings and support
688 for anamorphic dpi. Surface fallback resolution is set to 2*lpi.
690 2008-10-30 Michael Natterer <mitch@imendio.com>
692 * gtk/*.h: no need to include <gdk/gdk.h> in any widget header,
693 it's included via gtkwidget.h anyway.
695 2008-10-30 Sven Neumann <sven@gimp.org>
697 * gtk/gtkwidget.c (gtk_widget_get_property): removed redundant
700 2008-10-30 Christian Dywan <christian@imendio.com>
702 Bug 557316 – GtkLinkButton should consider user-defined tooltip
704 * gtk/gtklinkbutton.c (gtk_link_button_query_tooltip_cb):
705 Only override the tooltip if not previously set
707 2008-10-29 Christian Dywan <christian@imendio.com>
709 Bug 557762 – Misleading error message in GDK DirectFB
711 * gdk/directfb/gdkdisplay-directfb.c (gdk_display_open):
712 Correctly say GetInputDevice instead of GetDisplayLayer
714 2008-10-29 Christian Dywan <christian@imendio.com>
716 Bug 558397 – gtk_widget_error_bell undefined without a screen
718 * gtk/gtkwidget.c (gtk_widget_error_bell): Test the settings
719 instance and return silently if unset
721 2008-10-28 Michael Natterer <mitch@imendio.com>
723 * gdk/keyname-table.h: fix small typo.
725 2008-10-27 Richard Hult <richard@imendio.com>
727 Bug 557894 – Wrong return value for
728 gdk_pointer_grab_info_libgtk_only()
730 * gdk/quartz/gdkevents-quartz.c:
731 (gdk_pointer_grab_info_libgtk_only): Return TRUE when there is a
732 pointer grab. Patch by Owen Taylor.
734 2008-10-26 Matthias Clasen <mclasen@redhat.com>
736 * gtk/gtktoolshell.c:
737 * gtk/gtktoolitem.c: Remove markup from short descriptions.
739 2008-10-26 Matthias Clasen <mclasen@redhat.com>
741 * gdk/keyname-table.h:
742 * gtk/gen-paper-names.c:
743 * gtk/paper_names_offsets.c:
744 * gtk/gtkpapersize.c:
745 * gtk/gtkaccellabel.c:
746 * gtk/gtkprintoperation.c:
747 * gtk/gtkstock.c: More conversion to C_().
749 2008-10-26 Matthias Clasen <mclasen@redhat.com>
751 * gtk/gtkaccellabel.c:
753 * gtk/gtkcellrendereraccel.c:
754 * gtk/gtkcellrendererprogress.c:
755 * gtk/gtkimmulticontext.c:
756 * gtk/gtkrecentchoosermenu.c:
757 * gtk/gtkvolumebutton.c: Use C_() instead of Q_(). String change!
759 2008-10-26 Christian Persch <chpe@gnome.org>
761 Bug 557065 – gtkcellrendererpixbuf spams console over and over with
762 'could not load image' warnings
764 * gtk/gtkcellrendererpixbuf.c:
765 (gtk_cell_renderer_pixbuf_create_themed_pixbuf): Remove noisy
768 2008-10-26 Philip Withnall <philip@tecnocode.co.uk>
770 Bug 530454 – Clarify page_nr when printing
772 * gtk/gtkprintoperation.c (gtk_print_operation_class_init): Point out
773 that page_nr is 0-based in the documentation.
775 2008-10-25 Matthias Clasen <mclasen@redhat.com>
777 Bug 557315 – stale clipboard target cache
779 * gtk/gtkclipboard.c (gtk_clipboard_set_contents): Remove cached
780 targets. Pointed out by Evan Stade
782 2008-10-24 Tristan Van Berkom <tvb@gnome.org>
784 * gtk/gtkwidget.c: Added a note about GtkWidget:has-tooltip in
785 the docs for GtkWidget::query-tooltip.
787 2008-10-24 Matthias Clasen <mclasen@redhat.com>
789 * gtk/gtkmountoperation.c: The "screen" property ought to have
790 type GdkScreen, not GtkWindow. Found by Cosimo Cecchi
792 2008-10-24 Matthias Clasen <mclasen@redhat.com>
794 Bug 556954 – gtk+/gtk/gtkrecentchooserdefault.c: mismatching
795 allocation and deallocation
797 * gtk/gtkrecentchooserdefault.c (remove_selected_from_list): Don't
798 free a strdup'ed string by g_free. Pointed out by Daniel Marjamäki
800 2008-10-24 Matthias Clasen <mclasen@redhat.com>
802 Bug 556835 – gtkentry.c: variable is declared at middle of block
804 * gtk/gtkentry.c (gtk_entry_copy_clipboard): Fix a C99ism pointed
805 out by Kazuki Iwamoto
807 2008-10-24 Matthias Clasen <mclasen@redhat.com>
809 Bug 557524 – "va_end(args);" should be added into
810 gtk_text_buffer_insert_with_tags_by_name( )
812 * gtk/gtktextbuffer.c (gtk_text_buffer_insert_with_tags_by_name):
813 Don't forget to call va_end. Pointed out by Boram Park
815 2008-10-23 Alexander Larsson <alexl@redhat.com>
817 Bug 528320 - Incorrect icons displayed for files with custom
820 * gtk/gtkfilesystem.c:
821 (_gtk_file_info_render_icon):
822 Fall back on default file icon if there was no icon or it
823 was not found in the theme. This goes with the corresponding
824 change in glib to not add the fallback icon, but is useful
827 2008-10-22 Behdad Esfahbod <behdad@gnome.org>
829 Bug 555920 – gtkentry.c passes wrong enum to
830 pango_layout_set_alignment()
832 * gtk/gtkentry.c (gtk_entry_create_layout): Don't set layout
835 2008-10-22 Matthias Clasen <mclasen@redhat.com>
837 * gdk/x11/gdkscreen-x11.c: Only emit size-changed if the screen
838 size actually changed.
840 2008-10-21 Michael Natterer <mitch@imendio.com>
845 * gdk/gdkwindow.c: replace assertions for obj != NULL by
846 GDK_IS_OBJ(), remove redundant != NULL checks when there is
847 already a type check, add some g_return_if_fail() that were
848 missing entirely, fix some broken indentation and spacing.
850 2008-10-21 Tor Lillqvist <tml@novell.com>
852 Bug 557266 - Window Management Problem
854 Also reported in mail to gtk-list, and of course it has been well
855 known in general that window state management is messy and buggy
856 in various ways in gdk/win32.
858 * gdk/win32/gdkwindow-win32.c (show_window_internal): Correct
859 handling of GDK_WINDOW_STATE_ABOVE windows. It doesn't work to set
860 the WS_EX_TOPMOST extended style bit using SetWindowLong(). We
861 must call SetWindowPos() on the window using HWND_TOPMOST
862 instead. The description for WS_EX_TOPMOST in the documentation
863 for CreateWindowEx() even implies that if you read it carefully.
865 2008-10-21 Michael Natterer <mitch@imendio.com>
867 * gdk/gdkapplaunchcontext.c: reorder functions to be in standard
868 order, add prototypes and namespace to static functions, add
869 g_return_if_fail()s which were missing all over the place.
871 2008-10-20 Christian Persch <chpe@gnome.org>
873 Bug 557059 – crash when compositing emblems with icon
875 * gtk/gtkicontheme.c: (apply_emblems): Copy the pixbuf before using it
876 with gtk_pixbuf_composite, in case its pixdata is read-only (mmaped
877 from icon cache or builtins).
879 2008-10-20 Murray Cumming <murrayc@murrayc.com>
881 * gtk/gtkiconview.c: gtk_icon_view_set_tooltip_row(),
882 gtk_icon_view_set_tooltip_item():
883 * gtk/gtktreeview.c: gtk_icon_view_set_tooltip_row(),
884 gtk_icon_view_set_tooltip_cell():
885 Documentation: Mention the simple set_tooltip_column()
888 2008-10-18 Tor Lillqvist <tml@novell.com>
890 * gdk/win32/gdkevents-win32.c (gdk_event_translate): On
891 WM_WINDOWPOSCHANGING, don't dereference windowpos in the debugging
892 output without setting it first.
894 2008-10-18 Tor Lillqvist <tml@novell.com>
896 Bug 556578 - GIMP windows stay on top of other windows
898 * gdk/win32/gdkevents-win32.c (ensure_stacking_on_unminimize)
899 (ensure_stacking_on_window_pos_changing)
900 (ensure_stacking_on_activate_app): Ignore unmapped windows in the
901 loops where we look for the lowest "transient-type" window.
903 (gdk_event_translate): Don't call
904 ensure_stacking_on_window_pos_changing() or
905 ensure_stacking_on_activate_app() for unmapped windows.
907 2008-10-16 Marek Kasik <mkasik@redhat.com>
909 Bug 556527 - The current page property is not passed to
912 * gtk/gtkprintoperation-unix.c: pass current-page property
913 to GtkPrintUnixDialog
915 2008-10-15 Michael Natterer <mitch@imendio.com>
917 * gdk/gdkapplaunchcontext.h (GDK_IS_APP_LAUNCH_CONTEXT): fix typo
918 in the type name so the macro becomes usable.
920 2008-10-14 Christian Dywan <christian@imendio.com>
922 556150 – gtk 'object' property test fixing
924 * gtk/tests/object.c (list_ignore_properties):
925 Remove some recently fixed properties from the exception list
927 2008-10-13 Matthias Clasen <mclasen@redhat.com>
929 Bug 555779 – GtkCellRendererPixbuf crashed on failed GIcon lookup
931 * gtk/gtkcellrendererpixbuf
932 (gtk_cell_renderer_pixbuf_create_themed_pixbuf): Don't crash
933 if a GIcon is not present in the current theme. Patch by
936 2008-10-13 Matthias Clasen <mclasen@redhat.com>
938 Bug 552318 – menubar mnemonics consumed even when
939 gtk-enable-mnemonics=false
941 * gtk/gtkwindow.c (gtk_window_activate_key): Don't let mnemonic
942 entries block accelerator activation when gtk-enable-mnemonics is
943 FALSE. Problem reported by Andreas Moog.
945 2008-10-13 Cody Russell <cody@jhu.edu>
947 * test/testfilechooser.c: Fix option parsing so that -a and
948 --action work correctly.
950 2008-10-13 Christian Persch <chpe@gnome.org>
952 Bug 555386 – format not a string literal and no format arguments
954 * gtk/gtkiconfactory.c
955 * gtk/gtkprintbackend.c
956 * gtk/gtkprintoperation.c
958 * gtk/tests/builder.c
959 * modules/other/gail/gailtextview.c
960 * tests/testmerge.c: Use printf safely.
962 2008-10-13 Christian Persch <chpe@gnome.org>
964 Bug 555724 – gtkcellrendereraccel not initialised correctly
966 * gtk/gtkcellrendereraccel.c: Initialise the cell text.
968 2008-10-12 Simos Xenitellis <simos@gnome.org>
970 Bug 555625 – Updated gtk_compose_seqs_compact table
971 (gtkimcontextsimpleseqs.h)
973 * gtk/gtkimcontextsimpleseqs.c: Updated the compose sequence table.
974 In this update we removed a further set of compose sequences that
975 are otherwise covered by check_algorithmically().
977 * gtk/gtkimcontextsimple.c: Updated table value that shows how many
978 distinct first values exist in the compose sequences.
979 Change from 22 to 20.
981 2008-10-11 Matthias Clasen <mclasen@redhat.com>
983 * gtk/gtktoolbar.c: Revert the GtkSettings::gtk-toolbar-icon-size
984 part of the previous change, since it doesn't work correctly without
985 extra complication, and using custom icon sizes doesn't make too
986 much sense in a desktop-wide setting.
988 2008-10-11 Matthias Clasen <mclasen@redhat.com>
990 Bug 555186 – Setting gtk-toolbar-icon-size with custom icon_size
992 * gtk/gtktoolbar.c: Turn GtkToolbar::icon-size and
993 GtkSettings::gtk-toolbar-icon-size into int properties, to
994 allow the use of app-registered icon sizes.
996 2008-10-11 Christian Dywan <christian@imendio.com>
998 Bug 555676 – gtk_widget_real_grab_focus assumes toplevel == window
1000 * gtk/gtkwidget.c (gtk_widget_real_grab_focus):
1001 Actually test for GTK_IS_WINDOW *and* GTK_WIDGET_TOPLEVEL
1003 2008-10-10 Behdad Esfahbod <behdad@gnome.org>
1005 Bug 551355 – [PATCH] Make glib build with libtool 2.2
1007 * autogen.sh: Accept libtool 2.2. We are moving towards having
1010 2008-10-10 Richard Hult <richard@imendio.com>
1012 * gdk/quartz/gdkkeys-quartz.c: (gdk_keymap_get_caps_lock_state)
1013 Add empty stub to fix linking.
1015 2008-10-10 Simos Xenitellis <simos@gnome.org>
1017 Bug 555000 – Wrong treatment on non-spacing marks dead keys in
1020 * gtk/gtkimcontextsimple.c: Change IS_DEAD_KEY() macro so that
1021 it only checks if input is a deadkey keysym.
1023 2008-10-09 Christian Dywan <christian@imendio.com>
1025 Bug 555676 – gtk_widget_real_grab_focus assumes toplevel == window
1027 * gtk/gtkwidget.c (gtk_widget_real_grab_focus):
1028 Test for GTK_IS_WINDOW instead of GTK_WIDGET_TOPLEVEL
1030 2008-10-09 Christian Dywan <christian@imendio.com>
1032 Bug 555573 – gtk_font_selection_set_font_name
1033 shouldn't require a screen
1035 * gtk/gtkfontsel.c (gtk_font_selection_set_font_name):
1036 Don't warn if there is no screen, just return FALSE
1038 2008-10-09 Christian Dywan <christian@imendio.com>
1040 Bug 555523 – gtk_scale_button_set_adjustment should accept NULL
1042 * gtk/gtkscalebutton.c (gtk_scale_button_set_adjustment):
1043 Create a new adjustment if NULL is passed, like other widgets
1045 2008-10-09 Christian Dywan <christian@imendio.com>
1047 Bug 555578 – GtkTable propertiy maxima are wrong
1049 * gtk/gtktable.c (gtk_table_class_init), (gtk_table_resize):
1050 Always use 65535 instead of G_MAXUINT since that is
1051 the actually supported maximum number of columns and rows
1053 2008-10-09 Richard Hult <richard@imendio.com>
1055 Bug 550342 – Splash screens have a caption
1057 * gdk/quartz/gdkwindow-quartz.c: (_gdk_window_new),
1058 (gdk_window_set_decorations): Patch from Marianne Gagnon to make
1059 splash windows borderless.
1061 2008-10-09 Michael Natterer <mitch@imendio.com>
1063 Bug 516425 – Optionally display accelerators in popups
1065 * gtk/gtkuimanager.h (enum GtkUIManagerItemType): add value
1066 GTK_UI_MANAGER_POPUP_WITH_ACCELS which works like _POPUP but
1067 shows the actions' accelerators.
1069 * gtk/gtkuimanager.c: honor the new enum value for programmatically
1070 created UIs, and support <popup accelerators="true"> in the XML
1071 for the same purpose.
1073 2008-10-09 Simos Xenitellis <simos@gnome.org>
1075 Bug 554192 – double press on the "circumflex" dead key
1076 (standard french 105 keyboard) no longer produces the "^" character
1078 * gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress):
1079 Changed the order, put check_compact_table() first, then
1080 check_algorithmically().
1082 2008-10-08 Christian Persch <chpe@gnome.org>
1084 Bug 554702 – gtkfilesystem leaks GError
1086 * gtk/gtkfilesystem.c (_gtk_file_system_init): Free the GError.
1088 2008-10-08 Matthias Clasen <mclasen@redhat.com>
1090 * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
1091 Don't forget to reset reload_state when current_folder is already
1092 correct. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=465992
1094 2008-10-08 Christian Dywan <christian@imendio.com>
1096 Bug 555270 – Allow unsetting a MessageDialog's image
1098 * gtk/gtkmessagedialog.c (gtk_message_dialog_set_property),
1099 Remove a superfluous cast to GtkWidget*
1100 (gtk_message_dialog_set_image): Accept NULL for the image
1101 and unset the image in that case.
1103 2008-10-08 Christian Dywan <christian@imendio.com>
1105 Bug 436533 – Allow more space efficient scroll arrows placement
1107 * gtk/gtkenums.h: Add GtkArrowPlacement
1108 * gtk/gtkmenu.c (gtk_menu_class_init), (get_arrows_border),
1109 (get_arrows_visible_area), (get_double_arrows),
1110 (get_arrows_sensitive_area): Implement GtkMenu::arrow-placement
1111 to allow scrolling arrows to be placed at the start, end or both
1112 Patch by Tommi Komulainen and myself
1114 2008-10-08 Christian Dywan <christian@imendio.com>
1116 Bug 555387 – Changing the sensitivity of a statusbar
1117 mistakenly requires a display
1119 * gtk/gtkstatusbar.c (set_grip_cursor): Only change the cursor
1120 of the resize grip if there is a grip window.
1122 2008-10-06 Matthias Clasen <mclasen@redhat.com>
1124 * gtk/gtktooltip.c (gtk_tooltip_show_tooltip): Avoid unitialized
1125 memory warnings from valgrind.
1127 2008-10-07 11:03:30 Tim Janik <timj@imendio.com>
1129 * gtk/gtkbox.h: keep GtkBox as an abstract type and keep _gtk_box_new()
1130 as private function until we settle on the exact semantics.
1131 renamed _gtk_box_set_old_defaults() as suggested by Mitch.
1133 2008-10-07 Michael Natterer <mitch@imendio.com>
1135 * gtk/gtkbox.c: reindent static prototypes.
1137 2008-10-07 Michael Natterer <mitch@imendio.com>
1139 Bug 553573 – Add orientation API to GtkBox
1141 * gtk/gtkbox.[hh]: implement the GtkOrientable interface and
1142 swallow all code from GtkHBox and GtkVBox. Add gtk_box_new()
1143 which takes a GtkOrientation argument. Also move the newly
1144 added "spacing_set" boolean from struct GtkBox to the new
1148 * gtk/gtkvbox.[ch]: remove all code except the constructor and
1149 call gtk_orientable_set_orientation() in init().
1151 * gtk/gtk.symbols: add gtk_box_new().
1153 2008-10-06 Björn Lindqvist <bjourne@gmail.com>
1155 Bug 539464 – gtk_cell_view_get_model is missing in GtkCellView
1157 * gtk/gtkcellview.c (gtk_cell_view_get_model): Add
1158 gtk_cell_view_get_model.
1160 2008-10-06 Matthias Clasen <mclasen@redhat.com>
1162 * gtk/gtkprintunixdialog.c (create_main_page): Show the tooltip
1163 on the range entry itself, too.
1165 2008-10-04 Tor Lillqvist <tml@novell.com>
1167 Bug 132501 - Make utility window translate to tool window in win32
1169 Implement the utility window type hint. Such windows are kept on
1170 top of other windows of the same process. Makes GIMP's toolbox and
1171 dock windows behave more like in GNOME under metacity. Apply the
1172 same logic also to windows marked with the dialog window type
1173 hint, and windows that are transient for some other window. I'll
1174 call such windows "transient-type" below.
1176 * gdk/win32/gdkevents-win32.c (doesnt_want_key): Drop unused
1179 (ensure_stacking_on_unminimize)
1180 (ensure_stacking_on_window_pos_changing)
1181 (ensure_stacking_on_activate_app): New functions to implement the
1182 desired stacking order. Make sure that a window that is not
1183 transient-type stays below any transient-type windows of the
1184 application. When activating a non-transient-type window make sure
1185 it rises as high as possible while still staying below the lowest
1186 transient-type window.
1188 (gdk_event_translate): Call above functions on
1189 WM_WINDOWPOSCHANGING, WM_ACTIVATEAPP and on WM_SIZE when
1190 unminimizing. Improve debugging printout.
1192 * gdk/win32/gdkwindow-win32.c (get_effective_window_decorations):
1193 Handle utility windows like toolbar windows.
1195 (gdk_window_new_internal) (update_style_bits): Give utility
1196 windows the WS_EX_TOOLWINDOW extended style.
1198 (gdk_window_set_title): If debugging "misc" or "events", make the
1199 handle of top-level windows show up in their title bars. Very
1200 useful when looking at debugging output.
1202 (gdk_window_set_transient_for) (gdk_window_set_keep_above)
1203 (gdk_window_set_keep_below) (gdk_window_set_modal_hint)
1204 (gdk_window_set_skip_taskbar_hint)
1205 (gdk_window_set_skip_pager_hint): Add and improve debugging
1208 (gdk_window_set_type_hint): Print hint symbolically in GDK_NOTE().
1210 2008-10-04 Tor Lillqvist <tml@novell.com>
1212 * gdk/win32/gdkmain-win32.c (_gdk_win32_window_exstyle_to_string)
1213 (_gdk_win32_window_pos_bits_to_string): New debugging printout
1214 functions. Decode the WS_EX_* and SWP_* bits.
1216 * gdk/win32/gdkprivate-win32.h: Declare them. Define
1217 GDK_DEBUG_MISC_OR_EVENTS for use in GDK_NOTE() to match either
1220 2008-10-03 Matthias Clasen <mclasen@redhat.com>
1222 * gtk/gtkmodules.c (_gtk_modules_settings_changed): Add some
1225 2008-10-02 Matthias Clasen <mclasen@redhat.com>
1227 Bug 96431 – Can't cut and paste / DND within invisible entry
1229 * gtk/gtkentry.c: Disable cut, copy and drag out of an invisible
1230 entry. Proposed by Owen Taylor
1232 2008-10-02 Matthias Clasen <mclasen@redhat.com>
1234 Bug 530575 – GtkEntry with invisible chars has a confused cursor in
1237 * gtk/gtkentry.c (gtk_entry_draw_cursor): Use the visible text
1238 in the layout when positioning the cursor, not the actual text
1239 content of the entry. This makes a different when using overwrite
1240 mode in an invisible entry.
1241 Problem noticed by Jonathan Blandford
1243 * gtk/gtktextutil.c: Fix a typo in a comment
1245 2008-10-02 Christian Persch
1247 Bug 554704 – gtkfilesystemmodel does too much work
1249 * gtk/gtkfilesystemmodel.c: Replace g_slist_length()<1 check with a
1252 2008-10-02 Christian Persch
1254 Bug 554701 – filechooser spams console with useless warnings
1256 * gtk/gtkfilesystem.c.c: Don't warn if the async call was simply
1259 2008-10-02 Christian Persch
1261 Bug 554698 – mem leak in filechooser
1263 * gtk/gtkfilechooserdefault.c: Plug a mem leak.
1265 2008-10-02 Christian Persch
1267 Bug 554696 – invalid free function used
1269 * gtk/gtkfilesystemmodel.c: Use the right free func.
1271 2008-10-02 Christian Persch
1273 Bug 554691 – mem leak in filechooser
1275 * gtk/gtkfilesystemmodel.c: Plug a mem leak.
1277 2008-10-02 Christian Persch
1279 Bug 554690 – mem leak in filechooser
1281 * gtk/gtkfilechooserdefault.c: Plug a mem leak.
1283 2008-10-02 Michael Natterer <mitch@imendio.com>
1285 Bug 553585 – Add orientation API to GtkRuler
1287 * gtk/gtkruler.[ch]: implement the GtkOrientable interface and
1288 swallow all code from GtkHRuler and GtkVRuler. Add gtk_ruler_new()
1289 which takes a GtkOrientation argument.
1292 * gtk/gtkvruler.c: remove all code except the constructor and
1293 call gtk_orientable_set_orientation() in init().
1295 * gtk/gtk.symbols: add gtk_ruler_new().
1297 2008-10-01 Torsten Schoenfeld <kaffeetisch@gmx.de>
1299 * docs/reference/gtk/gtk-sections.txt:
1301 * gtk/gtkselection.c:
1302 * gtk/gtkselection.h: Add gtk_selection_data_get_selection to
1303 retrieve the sealed struct field GtkSelectionData.selection.
1305 2008-10-01 Tor Lillqvist <tml@novell.com>
1307 * gtk/gtkscalebutton.c: Don't #define _GNU_SOURCE on Windows as it
1308 confuses newest mingw headers.
1310 2008-10-01 Tor Lillqvist <tml@novell.com>
1312 * gdk/win32/gdkkeys-win32.c (gdk_keymap_get_caps_lock_state):
1313 Implement trivially on Windows. Not sure if something more complex
1314 is actually needed, more specifically whether the function needs
1315 to differentiate between "Caps Lock" and "Shift Lock" semantics?
1317 2008-10-01 Simos Xenitellis <simos@gnome.org>
1319 Bug 554506 – combining diacritics broken, became deadkeys
1321 * gtk/gtkimcontextsimple.c: added check if keysym is greater
1322 than 0x1000000, in this case it is not a dead key.
1324 2008-09-30 Michael Natterer <mitch@imendio.com>
1326 Bug 553582 – Add orientation API to GtkSeparator
1328 * gtk/gtkseparator.[ch]: implement the GtkOrientable interface and
1329 swallow all code from GtkHSeparator and GtkVSeparator. Add
1330 gtk_separator_new() which takes a GtkOrientation argument.
1332 * gtk/gtkhseparator.c
1333 * gtk/gtkvseparator.c: remove all code except the constructor and
1334 call gtk_orientable_set_orientation() in init().
1336 * gtk/gtk.symbols: add gtk_separator_new().
1338 2008-09-30 Marek Kasik <mkasik@redhat.com>
1340 Bug 344522 – support non-local destination files (GtkPrint):
1342 * gtk/gtkprintunixdialog.c
1343 * gtk/gtkprinteroptionwidget.c: Process URI instead of filename.
1344 * modules/printbackends/file/gtkprintbackendfile.c: Add ability
1345 to save files on non-local filesystems.
1347 2008-09-30 Michael Natterer <mitch@imendio.com>
1349 * gtk/gtk.symbols: forgot the G_GNUC_CONST of
1350 gtk_orientable_get_type().
1352 2008-09-30 Michael Natterer <mitch@imendio.com>
1354 Bug 541009 – Get rid of separate subclasses for horizontal and
1355 vertical orientation:
1360 * gtk/gtkorientable.[ch]: add new interface GtkOrientable which
1361 will be implemented by everything that can switch orientation.
1363 2008-09-30 Christian Dywan <christian@imendio.com>
1365 Fix a typo in the tutorial.
1367 * docs/tutorial/gtk-tut.sgml: It's mnemonic, not 'mnemnonic'.
1369 2008-09-29 Matthias Clasen <mclasen@redhat.com>
1371 Bug 553086 – hard to see current immodule
1373 * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems):
1374 Display the actually selected context in the system menuitem.
1375 Complaint by Akira Tagoh.
1377 2008-09-29 Matthias Clasen <mclasen@redhat.com>
1379 Bug 530568 – Entries with visibility=FALSE should warn for caps-lock
1382 * gtk/gtkentry.c: Add a tooltip-like Caps Lock warning for
1383 password entries. The warning is also triggered if an input method
1384 is active. The warning can be turned off using the
1385 GtkEntry::caps-lock-warning property.
1386 Proposed by Owen Taylor
1388 2008-09-29 Matthias Clasen <mclasen@redhat.com>
1391 * gtk/gtkimmulticontext.[hc] (gtk_im_multicontext_get_context_id):
1392 Add a getter for the the sealed context_id field.
1394 2008-09-29 Matthias Clasen <mclasen@redhat.com>
1396 Bug 107000 – Add signals to GdkKeymap for monitoring caps_lock, etc.
1399 * gdk/gdkkeys.[ch]: Add a new GdkKeymap::state-changed signal, and
1400 a gdk_keymap_get_caps_lock_state function.
1402 * gdk/x11/gdkkeys-x11.c: Implement it here. For now, only emit
1403 state-changed when caps lock lockedness changes.
1405 * gdk/x11/gdkdisplay-x11.c: Also select for modifier lock status
1406 changes in the XkbSelectEventDetails call.
1408 2008-09-29 Kristian Rietveld <kris@imendio.com>
1410 Bug 487624 - Tooltips doesn't get updated if ther's no mouse motion
1413 * gtk/gtkwidget.c (gtk_widget_set_property): after updating
1414 tooltip text or markup, call gtk_widget_trigger_tooltip_query()
1415 so that existing visible tooltips are updated.
1417 2008-09-29 Matthias Clasen <mclasen@redhat.com>
1419 Bug 371908 – Password Entry broken
1420 Bug 317002 – Disable input method completely in GtkEntry when it's
1423 * gtk/gtkentry.c (gtk_entry_backspace): Make backspace behave
1424 properly when invisible.
1426 * gtk/gtkentry.c (gtk_entry_create_layout): Show preedit even if
1429 * gtk/gtkentry.c (gtk_entry_set_visibility): Don't disable input
1430 methods when making the entry invisible.
1432 2008-09-29 Emmanuele Bassi <ebassi@linux.intel.com>
1434 * gdk/x11/gdkinput.c:
1435 (gdk_device_class_init), (gdk_device_finalize): Correctly chain
1436 up the finalize implementation.
1438 2008-09-29 Richard Hult <richard@imendio.com>
1440 Bug 554141 – uninitialized data use/free in gtkclipboard-quartz.c
1442 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
1443 Patch from Jon A. Cruz to initialize the allocated selection data.
1445 2008-09-27 Matthias Clasen <mclasen@redhat.com>
1447 Bug 339367 – Incorrect spotlocation
1449 * modules/input/gtkimcontextxim.c: Correct the spot location
1450 for on-the-spot style.
1452 2008-09-27 Denis Washington <denisw@svn.gnome.org>
1454 * gtk/gtkiconview.c: only draw keyboard focus when keyboard navigation
1455 is used, like GtkTreeView. (Bug #553575)
1457 2008-09-26 Matthias Clasen <mclasen@redhat.com>
1459 Bug 552959 – GtkTrayIcon: _NET_SYSTEM_TRAY_VISUAL and real
1462 * gtk/gtktrayicon-x11.c: Add support for the _NET_SYSTEM_TRAY_VISUAL
1463 property described in
1464 http://lists.freedesktop.org/archives/xdg/2008-September/009919.html
1465 If _NET_SYSTEM_TRAY_VISUAL is a visual with an alpha channel, the
1466 parent-relative-background hack is skipped and we draw with a real
1467 transparent background.
1469 * gtk/gtkrc.c: Remove the default GtkTrayIcon style, since the
1470 parent-relative background is now set when realizing the tray
1473 Patch by Owen Taylor
1475 2008-09-26 Matthias Clasen <mclasen@redhat.com>
1477 Bug 552956 – Should check composite extension version
1479 * gdk/x11/gdkdisplay-x11.c: Check that the version of the
1480 composite extension is at least 0.4.
1481 Patch by Owen Taylor
1483 2008-09-26 Matthias Clasen <mclasen@redhat.com>
1485 Bug 553803 – eventually call XCloseDevice on XOpenDevice results
1487 * gdk/x11/gdkinput.c: Add a finalize function for device objects,
1488 and call XCloseDevice there.
1490 * gdk/x11/gdkinput-x11.c:
1491 * gdk/x11/gdkdisplay-x11.c: Move freeing of device objects to
1492 the finalize function.
1493 Patch by Caolan McNamara
1495 2008-09-26 Matthias Clasen <mclasen@redhat.com>
1497 Bug 553578 - tabs are not drawn correctly
1499 * gtk/gtknotebook.c: Track the visibility state of notebook tabs
1500 between allocations so that we know to redraw the tab labels if
1501 tabs are hidden and shown without changing position.
1502 Reported by Marek Kašík, patch by Owen Taylor.
1504 2008-09-26 Matthias Clasen <mclasen@redhat.com>
1506 Bug 553133 – GtkFileChooser won't ask to mount a volume
1507 Bug 553211 – GtkFileChooserButton unsets filter after first use
1509 * gtk/gtkfilechooserdefault.c (shortcuts_activate_volume): Use
1510 a GtkMountOperation when mounting, so that we get a password
1511 dialog when required.
1513 * gtk/gtkfilechooserdefault.c (show_and_select_files): Also
1514 get the content-type, since it is used later on.
1515 Pointed out by Davyd Madeley.
1517 2008-09-26 Cody Russell <bratsche@gnome.org>
1519 Bug 553917 – Typo in gdkwindow-win32.c
1521 * gdk/win32/gdkwindow-win32.c: Fixed a typo in
1522 update_system_menu(). Changed GDK_DECOR_ALL to GDK_FUNC_ALL.
1524 Reported by Richard Hult
1526 2008-09-25 Marek Kasik <mkasik@redhat.com>
1528 Bug 553241 – double freed pointer in lpr_write cause firefox3 crash
1530 * modules/printbackends/lpr/gtkprintbackendlpr.c:
1531 The redundant freeing of memory was removed.
1535 2008-09-25 Michael Natterer <mitch@imendio.com>
1537 * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_finalize):
1538 don't unref the file system backend, the newly added
1539 unset_file_system_backend() already does this (bug #553135).
1541 2008-09-24 Michael Natterer <mitch@imendio.com>
1543 * gtk/gtkeventbox.c: events return gboolean not gint, reindented
1546 2008-09-24 Johan Dahlin <johan@gnome.org>
1548 Bug 553385 – gtk-builder-convert creates untranslated combobox models
1550 * gtk/gtk-builder-convert: Set the translatable property on
1551 col tags for converted combos.
1553 2008-09-24 Tor Lillqvist <tml@novell.com>
1555 * gtk-zip.sh.in: Include all of share/man, lib/pkgconfig,
1556 share/aclocal and share/gtk-doc instead of trying to list
1557 individual files or subdirectories. We had missed gail.pc, for
1560 2008-09-24 Christian Dywan <christian@imendio.com>
1562 Bug 538782 – Make GtkMenu's arrow size themable
1564 * gtk/gtkmenu.c (gtk_menu_class_init), (gtk_menu_paint):
1565 Implement "arrow-scaling" style property in GtkMenu.
1567 2008-09-24 Christian Dywan <christian@imendio.com>
1569 Bug 408244 – add GtkDialog::content-area-spacing
1571 * gtk/gtkbox.c (gtk_box_init), (gtk_box_set_spacing),
1572 (_gtk_box_set_spacing_set), (_gtk_box_get_spacing_set):
1574 * gtk/gtkdialog.c (gtk_dialog_class_init), (update_spacings):
1575 Implement "content-area-spacing" style property in GtkDialog
1576 and internal helper _gtk_box_get_spacing_set in GtkBox.
1577 Patch by Tim Janik, Sven Herzberg and myself.
1579 2008-09-24 Christian Dywan <christian@imendio.com>
1581 Bug 541391 – Unfocussable Treeview swallows focus
1583 * gtk/gtktreeview.c (grab_focus_and_unset_draw_keyfocus),
1584 (gtk_tree_view_focus): Honor GTK_WIDGET_CAN_FOCUS properly
1586 2008-09-24 Denis Washington <denisw@svn.gnome.org>
1588 * gtk/gtkiconview.c: draw focus as a rectangle around the
1589 complete item, not just the text. (Bug #38254)
1591 2008-09-23 Michael Natterer <mitch@imendio.com>
1594 * gtk/gtksignal.[ch]: s/GtkType/GType/ and
1595 s/GtkSignalMarshaller/GSignalCMarshaller/.
1597 2008-09-23 Michael Natterer <mitch@imendio.com>
1599 * gdk/x11/gdkevents-x11.c (gdk_event_translate): remove unused
1600 variable and fix indentation.
1602 2008-09-23 Michael Natterer <mitch@imendio.com>
1609 * gtk/gtkoldeditable.h
1613 * gtk/gtktipsquery.h
1615 * gtk/gtktreeitem.h: get rid of GtkType and GTK_CHECK_FOO() also
1616 in all deprecated headers.
1618 2008-09-22 Matthias Clasen <mclasen@redhat.com>
1620 Bug 553135 – eog crash: assertion failed. Gtk error:
1621 shortcuts_remove_rows: code should not be reached
1623 * gtk/gtkfilechooserdefault.c: Disconnect from GtkFileSystem
1624 signals when we are destroyed, in order to avoid nasty surprises.
1625 Patch by Claudio Saavedra
1627 2008-09-22 Emmanuele Bassi <ebassi@linux.intel.com>
1629 Bug 552789 – Show size column in the search and recently used
1632 * gtk/gtkfilechooserdefault.c: Display the file size column
1633 when in OPERATION_MODE_SEARCH. This removes a stat() call
1634 and simplifies the code a little bit by changing the query
1635 for file informations for each search engine hit.
1637 2008-09-22 Michael Natterer <mitch@imendio.com>
1639 * gtk/gtksignal.[ch]
1644 * gtk/gtktreeitem.c: use G_CALLBACK and GCallback instead of
1645 GTK_SIGNAL_FUNC and GtkSignalFunc also in deprecated code.
1647 2008-09-22 Frederic Crozat <fcrozat@mandriva.com>
1649 * gtk/gtkfilesystem.c: use the correct gi18n header.
1652 2008-09-22 Michael Natterer <mitch@imendio.com>
1654 * gtk/gtktoolbar.[ch]: add "Deprecated: 2.4" to all the deprecated
1655 append(), prepend() and insert() functions and recommend to use
1656 gtk_toolbar_insert() instead. Use GCallback instead of
1657 GtkSignalFunc even in deprecated API.
1659 2008-09-20 Matthias Clasen <mclasen@redhat.com>
1661 * gtk/gtkfilechooserbutton.c (filter_model_visible_func): Don't
1664 2008-09-19 Owen Taylor <otaylor@redhat.com>
1666 Small cleanups to debug messages for GtkPlug/GtkSocket
1668 * gtk/gtksocket-x11.c: Fix debug message to say "Socket" not "Plug"
1669 * gtk/gtkplug-x11.c: Remove excess newlines from the ends of debug
1672 2008-09-19 Carlos Garnacho <carlos@imendio.com>
1674 Bug 83935 – GtkEntry's default invisible char should be U+25CF
1676 * gtk/gtkentry.c (find_invisible_char) (gtk_entry_init): Find a
1677 more suitable invisible char than '*' based on the used font.
1678 (gtk_entry_class_init) (gtk_entry_set_property)
1679 (gtk_entry_get_property): Add a "invisible-char-set" property.
1680 (gtk_entry_unset_invisible_char): New function, needed now that the
1681 default invisible char isn't fixed.
1684 * docs/reference/gtk/gtk-sections.txt: Add the new function.
1686 2008-09-19 Christian Persch <chpe@gnome.org>
1688 Bug 552837 – mem leak in gtkimmulticontext
1690 * gtk/gtkimmulticontext.c: (gtk_im_multicontext_get_slave): Plug mem
1693 2008-09-18 Emmanuele Bassi <ebassi@linux.intel.com>
1695 * gtk/gtkfilechooserdefault.c (settings_save): Save the size column
1696 visibility state with the rest of the FileChooser settings.
1698 2008-09-18 Emmanuele Bassi <ebassi@linux.intel.com>
1700 Bug 325095 – show a 'size' column
1702 * gtk/gtkfilechooserdefault.c:
1703 * gtk/gtkfilechooserprivate.h: Add a context menu item controlling
1704 the visibility of the file size column. This works only for the
1705 browse mode, and the column is not visible by default.
1707 * gtk/gtkfilechoosersettings.[ch]: Add a ShowSizeColumn key to the
1710 2008-09-18 Dominic Lachowicz <domlachowicz@gmail.com>
1712 * modules/engines/ms-windows/*: Revert most of previous patch, as
1713 it didn't work as expected; Some work toward #531086 - the new
1714 GtkTooltip widget doesn't theme properly on win32. Now, at least
1715 the background color seems okay
1717 2008-09-18 Dominic Lachowicz <domlachowicz@gmail.com>
1719 * modules/engines/ms-windows/*: MS Windows style should use
1720 pango_win32_font_description_from_logfont; Allows us to rip out a
1721 lot of potentially buggy code, and also get the font specification
1722 from the XP theme (#434987)
1724 2008-09-18 Matthias Clasen <mclasen@redhat.com>
1726 * configure.in: updated version number to 2.15.0 for development.
1728 * ChangeLog.pre-2-14: rotate ChangeLog
1730 === Branch for 2.14 ===