1 2008-12-25 Matthias Clasen <mclasen@redhat.com>
3 * gdk/gdkapplaunchcontext.c:
5 * gdk/x11/gdkdnd-x11.c:
6 * gdk/x11/gdkkeyx-x11.c:
7 * gdk/x11/gdktestutils-x11.c: Typo fixes and other small
10 2008-12-23 Li Yuan <li.yuan@sun.com>
12 * gtk/gtkiconview.c: (gtk_icon_view_accessible_model_row_changed):
13 Bug #549251. No need to set name if there is no a11y item object.
15 2008-12-21 Yair Hershkovitz <yairhr@gmail.com>
17 Bug 565203: RTL locales: icons are misplaced when horizontal
18 gtkiconview is contained in a gtkscrolledwindow.
20 * gtk/gtkiconview.c (gtk_icon_view_layout_single_row):
21 Fix horizontal icon positions when in RTL locale.
23 2008-12-19 Matthias Clasen <mclasen@redhat.com>
27 2008-12-19 Matthias Clasen <mclasen@redhat.com>
29 Bug 564881 – gtkstatusicon.c: 'event' bug again
31 * gtk/gtkstatusicon.c (button_callback): Fix the build.
32 Patch by Christian Dywan.
34 2008-12-19 Cody Russell <bratsche@gnome.org>
36 Bug 85292 – add an icon to gtkentry
38 * gtk/gtkmarshalers.list: Add VOID:INT,BOXED
39 * tests/testentryicons.c: Initial icon entry test
40 * tests/Makefile.am: Add testentryicons
41 * gtk/gtkentry.[ch]: Add API for setting primary/secondary icons
42 and other features related to them.
44 2008-12-19 Marek Kasik <mkasik@redhat.com>
46 Bug 339318 - Allow page rendering to (optionally) happen in a thread
48 * gtk/gtk.symbols: API change
49 * doc/reference/gtk/gtk-sections.txt: API change
50 * gtk/gtkprintoperation-private.h
51 * gtk/gtkprintoperation.h
52 * gtk/gtkprintoperation.c: Adds 2 new functions
53 gtk_print_operation_set_defer_drawing()
54 - Sets up the GtkPrintOperation to wait for calling of
55 gtk_print_operation_draw_page_finish() from application. It can
56 be used for drawing page in another thread.
57 This function must be called in the callback of "draw-page"
59 gtk_print_operation_draw_page_finish()
60 - Signalize that drawing of particular page is complete.
61 It is called after completion of page drawing (e.g. drawing
63 If gtk_print_operation_set_defer_drawing() was called before,
64 then this function has to be called by application. In another
65 case it is called by the library itself.
67 2008-12-15 Matthias Clasen <mclasen@redhat.com>
69 * gtk/gtkprintunixdialog.c: Don't export emit_ok_response
71 2008-12-15 Tomas Bzatek <tbzatek@redhat.com>
73 * gtk/gtkfilechooserdefault.c: (list_row_activated):
74 * gtk/gtkfilesystem.c: (_gtk_file_info_consider_as_directory):
75 Mask G_FILE_TYPE_SHORTCUT as a directory (#561494)
77 2008-12-13 Matthias Clasen <mclasen@redhat.com>
79 * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
80 Mount the enclosing volume if the folder we're switching to is not
81 mounted. Patch by Tomas Bzatek, based on work by Carlos Garnacho
83 2008-12-13 Matthias Clasen <mclasen@redhat.com>
85 Bug 561494 – FileChooser network browsing and authentication support
87 * gtk/gtkfilesystem.[hc] (_gtk_file_info_consider_as_directory):
88 Privately export this method. It classifies directories and mountables
91 * gtk/gtkfilesystem.c (enclosing_volume_mount_cb): Silently drop
92 G_IO_ERROR_ALREADY_MOUNTED error for gvfs backends without visible
95 * gtk/gtkfilesystemmodel.c:
96 * gtk/gtkfilechooserbutton.c:
97 * gtk/gtkfilechooserentry.c:
98 * gtk/gtkfilechooserdefault.c: Use the new function instead of
99 direct checks for G_FILE_TYPE_DIRECTORY throughout.
101 2008-12-13 Matthias Clasen <mclasen@redhat.com>
103 Bug 562579 – Remove error dialog when directory does not exist
105 * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
106 Don't show an error dialog when changing to a non-existing folder,
107 since this is ususally just an annoyance.
109 2008-12-13 Matthias Clasen <mclasen@redhat.com>
111 Bug 556233 – local-only causes G_IS_FILE warning
113 * gtk/gktfilechooserdefault.c (set_local_only): Avoid a warning
114 in tests. Patch by Christian Dywan
116 2008-12-13 Matthias Clasen <mclasen@redhat.com>
118 Bug 563158 – CellRendererProgress pulsing and progressing rows can
121 * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_set_pulse):
122 Don't try to keep state in a cell renderer between two paint
123 calls. It doesn't work. Patch by Kristian Mueller
125 2008-12-13 Matthias Clasen <mclasen@redhat.com>
127 Bug 555560 – gtk_combo_box_set_active fails with no model
129 * gtk/gtkcombobox.c: Allow out-of-order setting of model and active.
130 Patch by Christian Dywan
132 2008-12-13 Matthias Clasen <mclasen@redhat.com>
134 Bug 558306 – Cannot build gdk (gtk+ 2.14.4) on Solaris 8
136 * gdk/x11/gdktestutils-x11.c (gdk_test_simulate_button):
137 Remove a C99ism. Pointed out by Eric Lamarque
139 2008-12-13 Matthias Clasen <mclasen@redhat.com>
141 Bug 549251 – GTK icon view accessible issue.
143 * gtk/gtkiconview.c (gtk_icon_view_accessible_model_row_changed):
144 Handle separate append/set for rows. Patch by Li Yuan
146 2008-12-13 Matthias Clasen <mclasen@redhat.com>
148 Bug 556839 – Crash when opening a link
150 * gtk/gtkstatusicon.c (gtk_status_icon_finalize): Destroy the
151 image too. Patch by Carlos Garcia Campos
153 2008-12-13 Matthias Clasen <mclasen@redhat.com>
155 Bug 563751 – xatom cache is prefilled too late
157 * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Initialize the
158 XAtom cache earlier. Patch by Christian Persch
160 2008-12-13 Matthias Clasen <mclasen@redhat.com>
162 Bug 564212 – gtk_icon_view_accessible_model_rows_reordered explain
163 new_order in the wrong way
165 * gtk/gtkiconview.c (gtk_icon_view_accessible_model_rows_reordered):
166 Use the new order correctly. Patch by Li Yuan
168 2008-12-13 Matthias Clasen <mclasen@redhat.com>
170 Bug 563835 – Typo in gtk_widget_has_screen() docs
172 * gdk/directfb/gdkwindow-directfb.c:
174 * gdk/x11/gdkwindow-x11.c:
175 * gtk/gtkmenushell.c:
177 * gtk/tests/builder.c:
178 * tests/testdnd.c: s/heirarchy/hierarchy/ in docs and comments.
179 Pointed out by Wouter Bolsterlee
181 2008-12-12 Matthias Clasen <mclasen@redhat.com>
183 Bug 564066 – Crash in gtk_rc_parse_default_files
185 * gtk/gtkrc.c (gtk_rc_parse_default_files): Handle being called
186 early. Bug report by Andrés G. Aragoneses
188 2008-12-12 Matthias Clasen <mclasen@redhat.com>
190 * gtk/gtkmountoperation.c: Set an empty title on password dialogs.
191 Pointed out by Máirín Duffy.
193 2008-12-11 Sven Herzberg <sven@imendio.com>
195 Document the "set-scroll-adjustments" signal
197 Reviewed by Kristian Rietveld.
203 * gtk/gtkviewport.c: added proper documentation for the signal
205 2008-12-11 Daniel Elstner <danielk@openismus.com>
207 Bug 563994 – Input method module interface not documented
209 * gtk/gtkimcontext.h: Add public/private markers.
210 * gtk/gtkimcontext.c: Add section documentation which explains how
211 to add a new input method module to GTK+. Document the signals and
212 virtual functions of GtkIMContextClass.
213 * gtk/gtkimmodule.c: Document struct GtkIMContextInfo.
214 * docs/reference/gtk/gtk-sections.txt: Add GtkIMContextClass and
215 GtkIMContextInfo to section GtkIMContext.
216 * docs/reference/gtk/Makefile.am (IGNORE_HFILES): Remove
217 gtkimmodule.h from the list in order to pick up GtkIMContextInfo.
218 * docs/reference/gtk/tmpl/gtkimcontext.sgml: Remove file from
219 repository since all the hand-edited content has been migrated to
220 source file comments.
222 2008-12-10 Matthias Clasen <mclasen@redhat.com>
224 Bug 563991 – gtk_file_chooser_button_new_with_backend is deprecated
225 -- but what should be used instead?
227 * gtk/gtkfilechooserbutton.c: Enhanced deprecation annotation.
229 2008-12-10 Daniel Elstner <danielk@openismus.com>
231 Maintenance of Multipress input method by Openismus GmbH:
233 * modules/input/gtkimcontextmultipress.[ch]: Clean up the code
234 a bit to follow the GTK+ coding style more closely. Fix the code
235 to emit "preedit-start" and "preedit-end", too, rather than only
237 (GTK_IM_CONTEXT_MULTIPRESS*): Rename incorrectly spelled macros
238 gtk_im_context_multipress*. Shouldn't break API or ABI as it's
239 only used internally.
240 * modules/input/immultipress.c: More cleanup,
241 * modules/input/README.multipress: ditto.
243 2008-12-09 Michael Natterer <mitch@imendio.com>
245 * gdk/gdk.symbols: add missing #ifndef GDK_DISABLE_DEPRECATED.
247 2008-12-09 Michael Natterer <mitch@imendio.com>
249 * gtk/gtkcontainer.c (struct PackingPropertiesData): add missing
252 * gtk/gtkcontainer.c (attributes_text_element): "value" is a
253 gchar*, not const gchar*.
255 2008-12-07 Matthias Clasen <mclasen@redhat.com>
257 Bug 546378 – GtkAssistant page title is not translatable
259 * gtk/gtkbuilderparser.c: Make gtk_builder_get_translation_domain()
260 useful for subparsers.
262 * gtk/gtkcontainer.c: Make the child property parser support
263 translatable child properties. Patch by Antti Kaijanmäki
265 2008-12-07 Matthias Clasen <mclasen@redhat.com>
267 Bug 554274 – Add default hook for GtkLinkButton
269 * gtk/gtklinkbutton.c: Call gtk_show_uri() if no uri hook has
270 been set. Patch by Emmanuele Bassi
272 2008-12-07 Matthias Clasen <mclasen@redhat.com>
274 Bug 559325 – documentation for gdk_display_get_window_at_pointer()
277 * gdk/gdkdisplay.c (gdk_display_get_window_at_pointer): Correct
278 the documentation. Patch by Paul Davis
280 2008-12-07 Matthias Clasen <mclasen@redhat.com>
282 Bug 563285 – test print backend does not compile
284 * modules/printbackends/test/gtkprintbackendtest.c: Clean up
287 2008-12-07 Behdad Esfahbod <behdad@gnome.org>
289 Bug 563547 – Update gdkx11 atom precache table
291 * gdk/x11/gdkdisplay-x11.c: Add more atoms to precache.
293 2008-12-05 Michael Natterer <mitch@imendio.com>
295 Bug 546285 – Allow GtkEntry to draw progress
297 * gtk/gtkentry.[ch]: add new API similar to GtkProgressBar which
298 allows to set the entry's progress_fraction, its progress_pulse_step
299 and to let the entry's progress pulse.
301 * gtk/gtk.symbols: updated.
303 * tests/testgtk.c: add progress demo code to the "Entry" window.
305 2008-12-04 Johan Dahlin <jdahlin@async.com.br>
307 * gtk/gtkstatusicon.c:
308 Add missing space in gtk-doc deprecated syntax
310 2008-12-03 Simos Xenitellis <simos@gnome.org>
312 Bug 557420 – Some compose sequences don't work anymore (or only in
315 * gtk/gtkimcontextsimple.c: Update of table size, keysym boundary,
316 to match the gtkimcontextsimpleseqs.h table.
317 * gtk/gtkimcontextsimpleseqs.h: Update with older gtk+ compose
318 sequences that went missing due to table update with upstream.
319 * gtk/compose-parse.py: Updated to include gtk-compose-lookaside.txt
320 * gtk/gtk-compose-lookaside.txt: Older gtk+ compose sequences that
321 are not found in the X.Org Compose file.
323 2008-12-03 Sven Herzberg <sven@imendio.com>
325 Bug 562998 – GtkFontButton documentation improvements
327 * gtk/gtkfontbutton.c: mention the way the font string should be used.
328 Patch by Sven Herzberg and Nelson Benitez
330 2008-12-03 Marek Kasik <mkasik@redhat.com>
332 Bug 559914 – eog doesn't apply paper setup.
334 * gtk/gtkpapersize.c: Call the gtk_paper_size_new_from_ppd() with width
335 and height in points.
337 2008-12-02 Carlos Garcia Campos <carlosgc@gnome.org>
339 Bug 562878 – password save incorrectly set in gtkmountoperation
341 * gtk/gtkmountoperation.c (remember_button_toggled),
342 (gtk_mount_operation_ask_password): Remember the password save
343 flags only when the radio button becomes active. Set also the
344 default state of the radio buttons depending on the current value
345 of password save flags.
347 2008-12-01 Matthias Clasen <mclasen@redhat.com>
349 Bug 555334 – connected server feature
351 * gtk/gtkfilesystem.c (get_volumes_list): Filter out shadow mounts.
352 Patch by David Zeuthen.
354 2008-12-01 Matthias Clasen <mclasen@redhat.com>
356 * gtk/gtkentry.c: Revert an accidental change that sneaked
357 in with the last commit.
359 2008-12-01 Paul Bolle <pebolle@tiscali.nl>
361 Bug 562817 – GtkDialog: typo
363 * gtk/gtkdialog.c: Fix typo
365 2008-11-29 Matthias Clasen <mclasen@redhat.com>
367 Bug 554453 – "typeahead find" widget of GtkTreeView appears on
368 wrong monitor in a multi-head environment
370 * gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory):
371 Make sure the typeahead window follows screen changes of the
372 treeview. Noticed by Rainer Stransky
374 2008-11-30 Christian Dywan <christian@imendio.com>
376 Bug 559622 – GdkDevice test segfaults
378 * gdk/x11/gdkdisplay-x11.c (gdk_display_x11_dispose):
379 * gdk/x11/gdkinput.c (gdk_device_class_init), (gdk_device_dispose):
380 Free and reset device in dispose. Patch by Michael Natterer and myself.
382 2008-11-30 Christian Dywan <christian@imendio.com>
384 Bug 554076 – eventually release g_new-ed supported_atoms
386 * gdk/x11/gdkevents-x11.c (cleanup_atoms),
387 (gdk_x11_screen_supports_net_wm_hint): Set cleanup callback.
388 Patch by Caolan McNamara.
390 2008-11-30 Christian Dywan <christian@imendio.com>
392 Bug 539263 – Deprecate gdk_window_get_toplevels
395 * gdk/gdkwindow.h: Deprecate gdk_window_get_toplevels
397 2008-11-29 Federico Mena Quintero <federico@novell.com>
399 * gtk/gtktreeview.c (gtk_tree_view_bin_expose): If tree lines are
400 enabled, flip them around for the right-to-left case. Fixes
401 https://bugzilla.novell.com/show_bug.cgi?id=447004. Patch by
402 Ricardo Cruz <rpmcruz@alunos.dcc.fc.up.pt>
404 2008-11-29 Christian Persch <chpe@gnome.org>
406 * gtk/gtkselection.c: Typo fix.
408 2008-11-29 Matthias Clasen <mclasen@redhat.com>
410 * gtk/gtkselection.c:
414 * gtk/gtkbindings.c: Improve deprecation annotations.
416 2008-11-26 Christian Dywan <christian@imendio.com>
418 Bug 561504 – testgtk should load rc file from sub folder
420 * tests/testgtk.c (main):
421 Make testgtk look in subfolder and warn if not found
423 2008-11-25 Johan Dahlin <jdahlin@async.com.br>
425 Bug 559947 – Unchecked dependency on python>=2.4
427 * gtk/gtk-builder-convert:
428 Avoid using sorted() which is only present in python 2.
430 2008-11-24 Tristan Van Berkom <tvb@gnome.org>
432 * gtk/gtkalignment.c: Bug 561539 - Fix warnings when size allocations
433 fall short of border width and padding.
435 2008-11-22 Paul Bolle <pebolle@tiscali.nl>
437 Bug 561335 - Fix typos in GtkToolItem documentation
439 * gtk/gtktoolitem.c: Fix typos in GtkToolItem documentation
441 2008-11-21 Matthias Clasen <mclasen@redhat.com>
443 * configure.in: Bump gtk-doc dependency to 1.11 for
444 nicer index-generation.
446 2008-11-21 Matthias Clasen <mclasen@redhat.com>
448 * gtk/gtkmountoperation.[hc]: Declare structs in a way that
451 2008-11-17 Christian Dywan <christian@imendio.com>
453 Bug 377699 – realizing gtk.Progress() causes SEGV
455 * gtk/gtkprogress.c: Define GtkProgress as an abstract type
457 2008-11-13 Christian Dywan <christian@imendio.com>
459 Bug 560602 – Wrong GtkMenuItem default value (test fails)
461 * gtk/gtkmenuitem.c (gtk_menu_item_class_init):
462 Correct default "label" value to ""
464 2008-11-12 Christian Dywan <christian@imendio.com>
466 Bug 560139 – GtkEntry doesn't paint with the right state
468 * gtk/gtkentry.c (gtk_entry_class_init), (gtk_entry_draw_frame),
469 (gtk_entry_expose): Reflect the right state if state-hint is set
471 2008-11-12 Christian Dywan <christian@imendio.com>
473 Bug 559619 – invisible-char default cannot be tested
475 * gtk/tests/defaultvalue.c (test_type):
476 Skip invisible-char when testing
478 2008-11-12 Richard Hult <richard@imendio.com>
480 * gtk/gtkdnd-quartz.c: (gtk_drag_set_icon_pixmap): Implement,
481 patch from Paul Davis.
483 2008-11-12 Christian Dywan <christian@imendio.com>
485 Bug 525550 – GTK+ 2.13.0 GtkCurve test fails
487 * gtk/tests/object.c (list_ignore_properties),
488 (object_test_property), (main): Ignore GtkCurve when testing
490 2008-11-12 Richard Hult <richard@imendio.com>
492 Bug 550942 – [patch] Rework of gdkeventloop-quartz.c
495 * gdk/gdkinternals.h: Add eventloop debug facility.
496 * gdk/quartz/gdkeventloop-quartz.c: Big rework of the quartz
497 mainloop integration, patch from Owen Taylor. See bug #550942 for
500 2008-11-12 Richard Hult <richard@imendio.com>
502 Bug 558586 – handling of keyboard under darwin (quartz)
504 * gdk/quartz/gdkkeys-quartz.c: Follow up on this bug, only use the
505 new API when building on 64-bit, since there are still old non-xml
506 layouts used out there we don't want to break them. (For 64-bit
507 those layouts doesn't work so we don't have a choice there.)
509 2008-11-11 Matthias Clasen <mclasen@redhat.com>
511 * gtk/gtkspinbutton.c: Chain up in enter and leave notify handlers.
513 2008-11-11 Michael Natterer <mitch@imendio.com>
515 Bug 553765 – Add orientation API to GtkRange
517 * gtk/gtkrange.[ch]: implement the GtkOrientable interface. Add
518 evil code that makes sure that the stepper_detail and slider_detail
519 set in GtkRangeClass continue to work with the hacked subclasses
522 * gtk/gtkscale.[ch]: swallow all code from GtkHScale and GtkVScale
523 and add gtk_scale_new() and gtk_scale_new_with_range() which take
524 a GtkOrientation argument. Set slider_detail to "Xscale" so above
527 * gtk/gtkscrollbar.[ch]: add gtk_scrollbar_new() which takes a
528 GtkOrientation argument. Set stepper_detail to "Xscrollbar" so
529 above evil code works.
533 * gtk/gtkhscrollbar.c
534 * gtk/gtkvscrollbar.c: remove all code except the constructor and
535 call gtk_orientable_set_orientation() in init().
537 * gtk/gtk.symbols: changed accordingly.
539 2008-11-11 Michael Natterer <mitch@imendio.com>
541 * gtk/gtktoolbar.h: move deprecated functions together, move
542 setters and getters together, some indentation cleanup.
544 2008-11-11 Michael Natterer <mitch@imendio.com>
546 * gtk/gtktoolbar.[ch]: implement the GtkOrientable interface
547 and deprecate gtk_toolbar_get,set_orientation().
549 * gtk/gtk.symbols: changed accordingly.
551 2008-11-10 Marek Kasik <mkasik@redhat.com>
553 Bug 560135 - Print when the user double clicks a printer
555 * gtk/gtkprintunixdialog.c: add handling of double click to
558 2008-11-07 Michael Natterer <mitch@imendio.com>
560 * gtk/gtkpaned.c: argh, actually call the newly added private
561 gtk_paned_calc_position() instead of the deprecated public
564 2008-11-07 Michael Natterer <mitch@imendio.com>
566 Bug 553586 – Add orientation API to GtkPaned
568 * gtk/gtkpaned.[ch]: implement the GtkOrientable interface
569 and swallow all code from GtkHPaned and GtkVPaned. Add
570 gtk_paned_new() which takes a GtkOrientation argument. Deprecate
571 gtk_paned_compute_position() for good (also for GTK_COMPILATION).
574 * gtk/gtkvpaned.[ch]: remove all code except the constructor and
575 call gtk_orientable_set_orientation() in init().
577 * gtk/gtk.symbols: add gtk_box_new().
579 2008-11-07 Johan Dahlin <jdahlin@async.com.br>
581 * gtk/gtkcontainer.c (gtk_container_buildable_add_child):
582 Check for child->parent instead of GTK_WIDGET_TOPLEVEL.
584 2008-11-07 Michael Natterer <mitch@imendio.com>
586 * gtk/gtkscrollbar.c: remove bogus newlines in the middle of
587 function calls, fix broken indentation and remove trailing
590 2008-11-06 Tristan Van Berkom <tvb@gnome.org>
592 * gtk/gtkmenuitem.c: Made buildable and added support for adding
593 children of type "submenu"
595 * gtk/gtkwindow.c: Added support for custom tag "accel-groups" to
596 add GtkAccelGroups to the window.
598 * gtk/gtkcontainer.c: Added builder contextual warnings in
599 buildable_add_child()
601 * gtk/tests/builder.c: Added tests for buildable menus (test that
602 accelerators are properly connected on stock items, test the menu
603 hierarchy, test permission to add alien/custom menuitem children).
605 * docs/reference/gtk/tmpl/gtkbuilder.sgml
606 * docs/reference/gtk/tmpl/gtkwindow.sgml
607 * docs/reference/gtk/tmpl/gtkmenuitem.sgml: Updated docs for
608 buildable submenus and accel groups.
610 2008-11-06 Tristan Van Berkom <tvb@gnome.org>
612 * gtk/gtkmenuitem.[ch]: added new apis
613 gtk_menu_item_[set/get]_label() and
614 gtk_menu_item_[set/get]_use_underline() with "label" and
615 "use-underline" properties, constructors cleaned up to use
616 g_object_new(). GtkMenuItemClass take new vfuncs
619 * gtk/gtkcheckmenuitem.c: constructors cleaned up to use
622 * gtk/gtkimagemenuitem.[ch]: added new apis
623 gtk_image_menu_item_[get/set]_use_stock() and
624 gtk_image_menu_item_set_accel_group() with "use-stock" and
625 write-only "accel-group" properties. constructors cleaned up to
628 2008-11-06 Tristan Van Berkom <tvb@gnome.org>
630 * gtk/gtkbuilder.h: Fixed a crasher in
631 GTK_BUILDER_WARN_INVALID_CHILD_TYPE()
633 2008-11-06 Tristan Van Berkom <tvb@gnome.org>
635 * gtk/gtklabel.c: gtk_label_set_attributes() now applies attributes
636 on top of any markup or mnemonic attributes (bug 558409).
638 * README: Updated and added release notes for 2.16
640 2008-11-06 Richard Hult <richard@imendio.com>
642 Bug 558586 – handling of keyboard under darwin (quartz)
644 * gdk/quartz/gdkkeys-quartz.c: (maybe_update_keymap): Patch from
645 Arnaud Charlet to replace use of deprecated keyboard layout API
646 with the new TIS API available in 10.5. The old code is still used
647 when building for 10.4.
649 2008-11-05 Richard Hult <richard@imendio.com>
651 * gdk/quartz/gdkevents-quartz.c:
652 (get_keyboard_modifiers_from_ns_event), (create_key_event): Revert
653 (at least for now) the alt/cmd switching since it breaks the
654 "alt-gr" functionality of alt which makes it impossible to input
657 2008-11-05 Christian Dywan <christian@imendio.com>
659 Bug 559404 – gtk_editable_insert_text counts length in bytes
662 Document new_text_length as the number of bytes
664 2008-11-05 Richard Hult <richard@imendio.com>
666 * gdk/quartz/gdkwindow-quartz.c:
667 (gdk_window_impl_quartz_begin_paint_region): Set the fill color
670 2008-11-05 Richard Hult <richard@imendio.com>
672 * gtk/gtkstatusicon.c: (gtk_status_icon_set_has_tooltip),
673 (gtk_status_icon_get_tooltip_markup): Fix build for win32 and
676 2008-11-04 Tor Lillqvist <tml@novell.com>
678 Bug 557212 - Problem with which window gains focus and is visible
680 * gdk/win32/gdkevents-win32.c (ensure_stacking_on_activate_app):
681 Only do the restacking for the active window of the
682 application. Seems to fix the problem.
684 (gdk_event_translate): Only call ensure_stacking_on_activate_app()
685 when the application is being activated, not deactivated.
687 2008-11-03 Matthias Clasen <mclasen@redhat.com>
690 * gtk/gtkstatusicon.[hc]: Add new tooltip api.
692 2008-11-03 Christian Persch <chpe@gnome.org>
694 Bug 558001 – gtk_icon_view_enable_model_drag_[source|dest] problem
696 * gtk/gtkiconview.c: Make gtk_drag_*_add_*_targets() usable with
699 2008-11-02 Matthias Clasen <mclasen@redhat.com>
701 Bug 558929 – gtkstatusicon.c: 'event' is a member of the structure
703 * gtk/gtkstatusicon.c: Fix the build.
705 2008-11-02 Matthias Clasen <mclasen@redhat.com>
707 * gtk/gtkimagemenuitem.c: Make it possible to overrule the
708 gtk-menu-images setting.
710 * gtk/gtkaction.c (connect_proxy): Show the image before adding
711 it to the image menu item.
713 2008-11-01 Tor Lillqvist <tml@novell.com>
715 Bug 558278 - Crash when calling a callback set by
716 gdk_add_client_message_filter()
718 * gdk/win32/gdkevents-win32.c (apply_event_filters): Rename from
719 apply_filters() so that it is clear that this function is for
720 GdkEventFilters only.
722 (print_event): Print more information for GDK_CLIENT_EVENT events.
724 (gdk_event_translate): When handling client filters, don't use
725 apply_event_filters(). Use similar code as in the X11 backend,
726 although not exactly, as the parameter list and return value
727 semantics of gdk_event_translate() is different.
729 * tests/testclientmessage.c: New interactive test program to
730 verify client message functionality.
732 * tests/Makefile.am: Add it.
734 2008-11-01 Matthias Clasen <mclasen@redhat.com>
736 Bug 409435 – GtkStatusIcon enhancements: DnD, scroll events,
737 middle click, rich tooltips
739 * gtk/gtkstatusicon.[hc]: Add support for button press/release and
740 scroll events. Patch by Ed Catmur
742 2008-11-01 Matthias Clasen <mclasen@redhat.com>
744 Bug 322934 – Replace menu's proxy icons with empty space hiding icons
746 * gtk/gtkmenu.c (gtk_menu_size_request): Use consistent padding
747 regardless of imagees or checks being in the menu. Also add
748 padding on the right edge.
749 Proposal by Luca Ferretti, patch by Jon McCann
751 2008-11-01 Matthias Clasen <mclasen@redhat.com>
753 Bug 412134 – Add API to query style properties from the style
756 * gtk/gtkstyle.[hc]: Add getters for style properties to
757 avoid the need for ugly workarounds with dummy widget instances.
758 Patch by Mariano Suárez-Alvarez
760 2008-10-31 Christian Dywan <christian@imendio.com>
762 Bug 558667 – gtk_font_selection_dialog_get_apply_button - deprecate?
767 Deprecate gtk_font_selection_dialog_get_apply_button
769 2008-10-31 Matthias Clasen <mclasen@redhat.com>
771 Bug 558323 – glitches when popping up combos in treeviews
773 * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_set_property):
774 Don't set the model property on the combo box, since that leads
777 2008-10-31 Christian Dywan <christian@imendio.com>
779 Bug 347230 – testicontheme shortcomings
781 * tests/testicontheme.c (main):
782 Use theme for "display" and quit on window closing
784 2008-10-30 Matthias Clasen <mclasen@redhat.com>
786 Bug 558522 – scroll arrow painted insensitive even though there
787 are pages beyond the edge
789 * gtk/gtknotebook.c (gtk_notebook_real_insert_page): Redraw
790 arrows. Pointed out by Christian Persch
792 2008-10-30 Michael Natterer <mitch@imendio.com>
794 * gtk/gtkcellrenderertext.h
798 * gtk/gtkstyle.h: <pango/pango.h> is pulled in by <gdk/gdk.h>,
799 remove its inclusion here.
801 2008-10-30 Michael Natterer <mitch@imendio.com>
803 * gtk/*.h: no need to include <gtk/gtkenums.h> in headers which
804 somehow include gtkobject.h or another header which includes it.
806 2008-10-30 Marek Kasik <mkasik@redhat.com>
808 Bug 339714 - Set printer dpi on cairo ps/pdf surfaces when printing
811 * gtk/gtkprintsettings.c
812 * gtk/gtkprintsettings.h
813 * docs/reference/gtk/gtk-sections.txt
814 * modules/printbackends/file/gtkprintbackendfile.c
815 * modules/printbackends/test/gtkprintbackendtest.c
816 * modules/printbackends/cups/gtkprintbackendcups.c
817 * modules/printbackends/lpr/gtkprintbackendlpr.c:
818 Added lpi (lines per inch) setting to GtkPrintSettings and support
819 for anamorphic dpi. Surface fallback resolution is set to 2*lpi.
821 2008-10-30 Michael Natterer <mitch@imendio.com>
823 * gtk/*.h: no need to include <gdk/gdk.h> in any widget header,
824 it's included via gtkwidget.h anyway.
826 2008-10-30 Sven Neumann <sven@gimp.org>
828 * gtk/gtkwidget.c (gtk_widget_get_property): removed redundant
831 2008-10-30 Christian Dywan <christian@imendio.com>
833 Bug 557316 – GtkLinkButton should consider user-defined tooltip
835 * gtk/gtklinkbutton.c (gtk_link_button_query_tooltip_cb):
836 Only override the tooltip if not previously set
838 2008-10-29 Christian Dywan <christian@imendio.com>
840 Bug 557762 – Misleading error message in GDK DirectFB
842 * gdk/directfb/gdkdisplay-directfb.c (gdk_display_open):
843 Correctly say GetInputDevice instead of GetDisplayLayer
845 2008-10-29 Christian Dywan <christian@imendio.com>
847 Bug 558397 – gtk_widget_error_bell undefined without a screen
849 * gtk/gtkwidget.c (gtk_widget_error_bell): Test the settings
850 instance and return silently if unset
852 2008-10-28 Michael Natterer <mitch@imendio.com>
854 * gdk/keyname-table.h: fix small typo.
856 2008-10-27 Richard Hult <richard@imendio.com>
858 Bug 557894 – Wrong return value for
859 gdk_pointer_grab_info_libgtk_only()
861 * gdk/quartz/gdkevents-quartz.c:
862 (gdk_pointer_grab_info_libgtk_only): Return TRUE when there is a
863 pointer grab. Patch by Owen Taylor.
865 2008-10-26 Matthias Clasen <mclasen@redhat.com>
867 * gtk/gtktoolshell.c:
868 * gtk/gtktoolitem.c: Remove markup from short descriptions.
870 2008-10-26 Matthias Clasen <mclasen@redhat.com>
872 * gdk/keyname-table.h:
873 * gtk/gen-paper-names.c:
874 * gtk/paper_names_offsets.c:
875 * gtk/gtkpapersize.c:
876 * gtk/gtkaccellabel.c:
877 * gtk/gtkprintoperation.c:
878 * gtk/gtkstock.c: More conversion to C_().
880 2008-10-26 Matthias Clasen <mclasen@redhat.com>
882 * gtk/gtkaccellabel.c:
884 * gtk/gtkcellrendereraccel.c:
885 * gtk/gtkcellrendererprogress.c:
886 * gtk/gtkimmulticontext.c:
887 * gtk/gtkrecentchoosermenu.c:
888 * gtk/gtkvolumebutton.c: Use C_() instead of Q_(). String change!
890 2008-10-26 Christian Persch <chpe@gnome.org>
892 Bug 557065 – gtkcellrendererpixbuf spams console over and over with
893 'could not load image' warnings
895 * gtk/gtkcellrendererpixbuf.c:
896 (gtk_cell_renderer_pixbuf_create_themed_pixbuf): Remove noisy
899 2008-10-26 Philip Withnall <philip@tecnocode.co.uk>
901 Bug 530454 – Clarify page_nr when printing
903 * gtk/gtkprintoperation.c (gtk_print_operation_class_init): Point out
904 that page_nr is 0-based in the documentation.
906 2008-10-25 Matthias Clasen <mclasen@redhat.com>
908 Bug 557315 – stale clipboard target cache
910 * gtk/gtkclipboard.c (gtk_clipboard_set_contents): Remove cached
911 targets. Pointed out by Evan Stade
913 2008-10-24 Tristan Van Berkom <tvb@gnome.org>
915 * gtk/gtkwidget.c: Added a note about GtkWidget:has-tooltip in
916 the docs for GtkWidget::query-tooltip.
918 2008-10-24 Matthias Clasen <mclasen@redhat.com>
920 * gtk/gtkmountoperation.c: The "screen" property ought to have
921 type GdkScreen, not GtkWindow. Found by Cosimo Cecchi
923 2008-10-24 Matthias Clasen <mclasen@redhat.com>
925 Bug 556954 – gtk+/gtk/gtkrecentchooserdefault.c: mismatching
926 allocation and deallocation
928 * gtk/gtkrecentchooserdefault.c (remove_selected_from_list): Don't
929 free a strdup'ed string by g_free. Pointed out by Daniel Marjamäki
931 2008-10-24 Matthias Clasen <mclasen@redhat.com>
933 Bug 556835 – gtkentry.c: variable is declared at middle of block
935 * gtk/gtkentry.c (gtk_entry_copy_clipboard): Fix a C99ism pointed
936 out by Kazuki Iwamoto
938 2008-10-24 Matthias Clasen <mclasen@redhat.com>
940 Bug 557524 – "va_end(args);" should be added into
941 gtk_text_buffer_insert_with_tags_by_name( )
943 * gtk/gtktextbuffer.c (gtk_text_buffer_insert_with_tags_by_name):
944 Don't forget to call va_end. Pointed out by Boram Park
946 2008-10-23 Alexander Larsson <alexl@redhat.com>
948 Bug 528320 - Incorrect icons displayed for files with custom
951 * gtk/gtkfilesystem.c:
952 (_gtk_file_info_render_icon):
953 Fall back on default file icon if there was no icon or it
954 was not found in the theme. This goes with the corresponding
955 change in glib to not add the fallback icon, but is useful
958 2008-10-22 Behdad Esfahbod <behdad@gnome.org>
960 Bug 555920 – gtkentry.c passes wrong enum to
961 pango_layout_set_alignment()
963 * gtk/gtkentry.c (gtk_entry_create_layout): Don't set layout
966 2008-10-22 Matthias Clasen <mclasen@redhat.com>
968 * gdk/x11/gdkscreen-x11.c: Only emit size-changed if the screen
969 size actually changed.
971 2008-10-21 Michael Natterer <mitch@imendio.com>
976 * gdk/gdkwindow.c: replace assertions for obj != NULL by
977 GDK_IS_OBJ(), remove redundant != NULL checks when there is
978 already a type check, add some g_return_if_fail() that were
979 missing entirely, fix some broken indentation and spacing.
981 2008-10-21 Tor Lillqvist <tml@novell.com>
983 Bug 557266 - Window Management Problem
985 Also reported in mail to gtk-list, and of course it has been well
986 known in general that window state management is messy and buggy
987 in various ways in gdk/win32.
989 * gdk/win32/gdkwindow-win32.c (show_window_internal): Correct
990 handling of GDK_WINDOW_STATE_ABOVE windows. It doesn't work to set
991 the WS_EX_TOPMOST extended style bit using SetWindowLong(). We
992 must call SetWindowPos() on the window using HWND_TOPMOST
993 instead. The description for WS_EX_TOPMOST in the documentation
994 for CreateWindowEx() even implies that if you read it carefully.
996 2008-10-21 Michael Natterer <mitch@imendio.com>
998 * gdk/gdkapplaunchcontext.c: reorder functions to be in standard
999 order, add prototypes and namespace to static functions, add
1000 g_return_if_fail()s which were missing all over the place.
1002 2008-10-20 Christian Persch <chpe@gnome.org>
1004 Bug 557059 – crash when compositing emblems with icon
1006 * gtk/gtkicontheme.c: (apply_emblems): Copy the pixbuf before using it
1007 with gtk_pixbuf_composite, in case its pixdata is read-only (mmaped
1008 from icon cache or builtins).
1010 2008-10-20 Murray Cumming <murrayc@murrayc.com>
1012 * gtk/gtkiconview.c: gtk_icon_view_set_tooltip_row(),
1013 gtk_icon_view_set_tooltip_item():
1014 * gtk/gtktreeview.c: gtk_icon_view_set_tooltip_row(),
1015 gtk_icon_view_set_tooltip_cell():
1016 Documentation: Mention the simple set_tooltip_column()
1019 2008-10-18 Tor Lillqvist <tml@novell.com>
1021 * gdk/win32/gdkevents-win32.c (gdk_event_translate): On
1022 WM_WINDOWPOSCHANGING, don't dereference windowpos in the debugging
1023 output without setting it first.
1025 2008-10-18 Tor Lillqvist <tml@novell.com>
1027 Bug 556578 - GIMP windows stay on top of other windows
1029 * gdk/win32/gdkevents-win32.c (ensure_stacking_on_unminimize)
1030 (ensure_stacking_on_window_pos_changing)
1031 (ensure_stacking_on_activate_app): Ignore unmapped windows in the
1032 loops where we look for the lowest "transient-type" window.
1034 (gdk_event_translate): Don't call
1035 ensure_stacking_on_window_pos_changing() or
1036 ensure_stacking_on_activate_app() for unmapped windows.
1038 2008-10-16 Marek Kasik <mkasik@redhat.com>
1040 Bug 556527 - The current page property is not passed to
1043 * gtk/gtkprintoperation-unix.c: pass current-page property
1044 to GtkPrintUnixDialog
1046 2008-10-15 Michael Natterer <mitch@imendio.com>
1048 * gdk/gdkapplaunchcontext.h (GDK_IS_APP_LAUNCH_CONTEXT): fix typo
1049 in the type name so the macro becomes usable.
1051 2008-10-14 Christian Dywan <christian@imendio.com>
1053 556150 – gtk 'object' property test fixing
1055 * gtk/tests/object.c (list_ignore_properties):
1056 Remove some recently fixed properties from the exception list
1058 2008-10-13 Matthias Clasen <mclasen@redhat.com>
1060 Bug 555779 – GtkCellRendererPixbuf crashed on failed GIcon lookup
1062 * gtk/gtkcellrendererpixbuf
1063 (gtk_cell_renderer_pixbuf_create_themed_pixbuf): Don't crash
1064 if a GIcon is not present in the current theme. Patch by
1067 2008-10-13 Matthias Clasen <mclasen@redhat.com>
1069 Bug 552318 – menubar mnemonics consumed even when
1070 gtk-enable-mnemonics=false
1072 * gtk/gtkwindow.c (gtk_window_activate_key): Don't let mnemonic
1073 entries block accelerator activation when gtk-enable-mnemonics is
1074 FALSE. Problem reported by Andreas Moog.
1076 2008-10-13 Cody Russell <cody@jhu.edu>
1078 * test/testfilechooser.c: Fix option parsing so that -a and
1079 --action work correctly.
1081 2008-10-13 Christian Persch <chpe@gnome.org>
1083 Bug 555386 – format not a string literal and no format arguments
1085 * gtk/gtkiconfactory.c
1086 * gtk/gtkprintbackend.c
1087 * gtk/gtkprintoperation.c
1089 * gtk/tests/builder.c
1090 * modules/other/gail/gailtextview.c
1091 * tests/testmerge.c: Use printf safely.
1093 2008-10-13 Christian Persch <chpe@gnome.org>
1095 Bug 555724 – gtkcellrendereraccel not initialised correctly
1097 * gtk/gtkcellrendereraccel.c: Initialise the cell text.
1099 2008-10-12 Simos Xenitellis <simos@gnome.org>
1101 Bug 555625 – Updated gtk_compose_seqs_compact table
1102 (gtkimcontextsimpleseqs.h)
1104 * gtk/gtkimcontextsimpleseqs.c: Updated the compose sequence table.
1105 In this update we removed a further set of compose sequences that
1106 are otherwise covered by check_algorithmically().
1108 * gtk/gtkimcontextsimple.c: Updated table value that shows how many
1109 distinct first values exist in the compose sequences.
1110 Change from 22 to 20.
1112 2008-10-11 Matthias Clasen <mclasen@redhat.com>
1114 * gtk/gtktoolbar.c: Revert the GtkSettings::gtk-toolbar-icon-size
1115 part of the previous change, since it doesn't work correctly without
1116 extra complication, and using custom icon sizes doesn't make too
1117 much sense in a desktop-wide setting.
1119 2008-10-11 Matthias Clasen <mclasen@redhat.com>
1121 Bug 555186 – Setting gtk-toolbar-icon-size with custom icon_size
1123 * gtk/gtktoolbar.c: Turn GtkToolbar::icon-size and
1124 GtkSettings::gtk-toolbar-icon-size into int properties, to
1125 allow the use of app-registered icon sizes.
1127 2008-10-11 Christian Dywan <christian@imendio.com>
1129 Bug 555676 – gtk_widget_real_grab_focus assumes toplevel == window
1131 * gtk/gtkwidget.c (gtk_widget_real_grab_focus):
1132 Actually test for GTK_IS_WINDOW *and* GTK_WIDGET_TOPLEVEL
1134 2008-10-10 Behdad Esfahbod <behdad@gnome.org>
1136 Bug 551355 – [PATCH] Make glib build with libtool 2.2
1138 * autogen.sh: Accept libtool 2.2. We are moving towards having
1141 2008-10-10 Richard Hult <richard@imendio.com>
1143 * gdk/quartz/gdkkeys-quartz.c: (gdk_keymap_get_caps_lock_state)
1144 Add empty stub to fix linking.
1146 2008-10-10 Simos Xenitellis <simos@gnome.org>
1148 Bug 555000 – Wrong treatment on non-spacing marks dead keys in
1151 * gtk/gtkimcontextsimple.c: Change IS_DEAD_KEY() macro so that
1152 it only checks if input is a deadkey keysym.
1154 2008-10-09 Christian Dywan <christian@imendio.com>
1156 Bug 555676 – gtk_widget_real_grab_focus assumes toplevel == window
1158 * gtk/gtkwidget.c (gtk_widget_real_grab_focus):
1159 Test for GTK_IS_WINDOW instead of GTK_WIDGET_TOPLEVEL
1161 2008-10-09 Christian Dywan <christian@imendio.com>
1163 Bug 555573 – gtk_font_selection_set_font_name
1164 shouldn't require a screen
1166 * gtk/gtkfontsel.c (gtk_font_selection_set_font_name):
1167 Don't warn if there is no screen, just return FALSE
1169 2008-10-09 Christian Dywan <christian@imendio.com>
1171 Bug 555523 – gtk_scale_button_set_adjustment should accept NULL
1173 * gtk/gtkscalebutton.c (gtk_scale_button_set_adjustment):
1174 Create a new adjustment if NULL is passed, like other widgets
1176 2008-10-09 Christian Dywan <christian@imendio.com>
1178 Bug 555578 – GtkTable propertiy maxima are wrong
1180 * gtk/gtktable.c (gtk_table_class_init), (gtk_table_resize):
1181 Always use 65535 instead of G_MAXUINT since that is
1182 the actually supported maximum number of columns and rows
1184 2008-10-09 Richard Hult <richard@imendio.com>
1186 Bug 550342 – Splash screens have a caption
1188 * gdk/quartz/gdkwindow-quartz.c: (_gdk_window_new),
1189 (gdk_window_set_decorations): Patch from Marianne Gagnon to make
1190 splash windows borderless.
1192 2008-10-09 Michael Natterer <mitch@imendio.com>
1194 Bug 516425 – Optionally display accelerators in popups
1196 * gtk/gtkuimanager.h (enum GtkUIManagerItemType): add value
1197 GTK_UI_MANAGER_POPUP_WITH_ACCELS which works like _POPUP but
1198 shows the actions' accelerators.
1200 * gtk/gtkuimanager.c: honor the new enum value for programmatically
1201 created UIs, and support <popup accelerators="true"> in the XML
1202 for the same purpose.
1204 2008-10-09 Simos Xenitellis <simos@gnome.org>
1206 Bug 554192 – double press on the "circumflex" dead key
1207 (standard french 105 keyboard) no longer produces the "^" character
1209 * gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress):
1210 Changed the order, put check_compact_table() first, then
1211 check_algorithmically().
1213 2008-10-08 Christian Persch <chpe@gnome.org>
1215 Bug 554702 – gtkfilesystem leaks GError
1217 * gtk/gtkfilesystem.c (_gtk_file_system_init): Free the GError.
1219 2008-10-08 Matthias Clasen <mclasen@redhat.com>
1221 * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
1222 Don't forget to reset reload_state when current_folder is already
1223 correct. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=465992
1225 2008-10-08 Christian Dywan <christian@imendio.com>
1227 Bug 555270 – Allow unsetting a MessageDialog's image
1229 * gtk/gtkmessagedialog.c (gtk_message_dialog_set_property),
1230 Remove a superfluous cast to GtkWidget*
1231 (gtk_message_dialog_set_image): Accept NULL for the image
1232 and unset the image in that case.
1234 2008-10-08 Christian Dywan <christian@imendio.com>
1236 Bug 436533 – Allow more space efficient scroll arrows placement
1238 * gtk/gtkenums.h: Add GtkArrowPlacement
1239 * gtk/gtkmenu.c (gtk_menu_class_init), (get_arrows_border),
1240 (get_arrows_visible_area), (get_double_arrows),
1241 (get_arrows_sensitive_area): Implement GtkMenu::arrow-placement
1242 to allow scrolling arrows to be placed at the start, end or both
1243 Patch by Tommi Komulainen and myself
1245 2008-10-08 Christian Dywan <christian@imendio.com>
1247 Bug 555387 – Changing the sensitivity of a statusbar
1248 mistakenly requires a display
1250 * gtk/gtkstatusbar.c (set_grip_cursor): Only change the cursor
1251 of the resize grip if there is a grip window.
1253 2008-10-06 Matthias Clasen <mclasen@redhat.com>
1255 * gtk/gtktooltip.c (gtk_tooltip_show_tooltip): Avoid unitialized
1256 memory warnings from valgrind.
1258 2008-10-07 11:03:30 Tim Janik <timj@imendio.com>
1260 * gtk/gtkbox.h: keep GtkBox as an abstract type and keep _gtk_box_new()
1261 as private function until we settle on the exact semantics.
1262 renamed _gtk_box_set_old_defaults() as suggested by Mitch.
1264 2008-10-07 Michael Natterer <mitch@imendio.com>
1266 * gtk/gtkbox.c: reindent static prototypes.
1268 2008-10-07 Michael Natterer <mitch@imendio.com>
1270 Bug 553573 – Add orientation API to GtkBox
1272 * gtk/gtkbox.[hh]: implement the GtkOrientable interface and
1273 swallow all code from GtkHBox and GtkVBox. Add gtk_box_new()
1274 which takes a GtkOrientation argument. Also move the newly
1275 added "spacing_set" boolean from struct GtkBox to the new
1279 * gtk/gtkvbox.[ch]: remove all code except the constructor and
1280 call gtk_orientable_set_orientation() in init().
1282 * gtk/gtk.symbols: add gtk_box_new().
1284 2008-10-06 Björn Lindqvist <bjourne@gmail.com>
1286 Bug 539464 – gtk_cell_view_get_model is missing in GtkCellView
1288 * gtk/gtkcellview.c (gtk_cell_view_get_model): Add
1289 gtk_cell_view_get_model.
1291 2008-10-06 Matthias Clasen <mclasen@redhat.com>
1293 * gtk/gtkprintunixdialog.c (create_main_page): Show the tooltip
1294 on the range entry itself, too.
1296 2008-10-04 Tor Lillqvist <tml@novell.com>
1298 Bug 132501 - Make utility window translate to tool window in win32
1300 Implement the utility window type hint. Such windows are kept on
1301 top of other windows of the same process. Makes GIMP's toolbox and
1302 dock windows behave more like in GNOME under metacity. Apply the
1303 same logic also to windows marked with the dialog window type
1304 hint, and windows that are transient for some other window. I'll
1305 call such windows "transient-type" below.
1307 * gdk/win32/gdkevents-win32.c (doesnt_want_key): Drop unused
1310 (ensure_stacking_on_unminimize)
1311 (ensure_stacking_on_window_pos_changing)
1312 (ensure_stacking_on_activate_app): New functions to implement the
1313 desired stacking order. Make sure that a window that is not
1314 transient-type stays below any transient-type windows of the
1315 application. When activating a non-transient-type window make sure
1316 it rises as high as possible while still staying below the lowest
1317 transient-type window.
1319 (gdk_event_translate): Call above functions on
1320 WM_WINDOWPOSCHANGING, WM_ACTIVATEAPP and on WM_SIZE when
1321 unminimizing. Improve debugging printout.
1323 * gdk/win32/gdkwindow-win32.c (get_effective_window_decorations):
1324 Handle utility windows like toolbar windows.
1326 (gdk_window_new_internal) (update_style_bits): Give utility
1327 windows the WS_EX_TOOLWINDOW extended style.
1329 (gdk_window_set_title): If debugging "misc" or "events", make the
1330 handle of top-level windows show up in their title bars. Very
1331 useful when looking at debugging output.
1333 (gdk_window_set_transient_for) (gdk_window_set_keep_above)
1334 (gdk_window_set_keep_below) (gdk_window_set_modal_hint)
1335 (gdk_window_set_skip_taskbar_hint)
1336 (gdk_window_set_skip_pager_hint): Add and improve debugging
1339 (gdk_window_set_type_hint): Print hint symbolically in GDK_NOTE().
1341 2008-10-04 Tor Lillqvist <tml@novell.com>
1343 * gdk/win32/gdkmain-win32.c (_gdk_win32_window_exstyle_to_string)
1344 (_gdk_win32_window_pos_bits_to_string): New debugging printout
1345 functions. Decode the WS_EX_* and SWP_* bits.
1347 * gdk/win32/gdkprivate-win32.h: Declare them. Define
1348 GDK_DEBUG_MISC_OR_EVENTS for use in GDK_NOTE() to match either
1351 2008-10-03 Matthias Clasen <mclasen@redhat.com>
1353 * gtk/gtkmodules.c (_gtk_modules_settings_changed): Add some
1356 2008-10-02 Matthias Clasen <mclasen@redhat.com>
1358 Bug 96431 – Can't cut and paste / DND within invisible entry
1360 * gtk/gtkentry.c: Disable cut, copy and drag out of an invisible
1361 entry. Proposed by Owen Taylor
1363 2008-10-02 Matthias Clasen <mclasen@redhat.com>
1365 Bug 530575 – GtkEntry with invisible chars has a confused cursor in
1368 * gtk/gtkentry.c (gtk_entry_draw_cursor): Use the visible text
1369 in the layout when positioning the cursor, not the actual text
1370 content of the entry. This makes a different when using overwrite
1371 mode in an invisible entry.
1372 Problem noticed by Jonathan Blandford
1374 * gtk/gtktextutil.c: Fix a typo in a comment
1376 2008-10-02 Christian Persch
1378 Bug 554704 – gtkfilesystemmodel does too much work
1380 * gtk/gtkfilesystemmodel.c: Replace g_slist_length()<1 check with a
1383 2008-10-02 Christian Persch
1385 Bug 554701 – filechooser spams console with useless warnings
1387 * gtk/gtkfilesystem.c.c: Don't warn if the async call was simply
1390 2008-10-02 Christian Persch
1392 Bug 554698 – mem leak in filechooser
1394 * gtk/gtkfilechooserdefault.c: Plug a mem leak.
1396 2008-10-02 Christian Persch
1398 Bug 554696 – invalid free function used
1400 * gtk/gtkfilesystemmodel.c: Use the right free func.
1402 2008-10-02 Christian Persch
1404 Bug 554691 – mem leak in filechooser
1406 * gtk/gtkfilesystemmodel.c: Plug a mem leak.
1408 2008-10-02 Christian Persch
1410 Bug 554690 – mem leak in filechooser
1412 * gtk/gtkfilechooserdefault.c: Plug a mem leak.
1414 2008-10-02 Michael Natterer <mitch@imendio.com>
1416 Bug 553585 – Add orientation API to GtkRuler
1418 * gtk/gtkruler.[ch]: implement the GtkOrientable interface and
1419 swallow all code from GtkHRuler and GtkVRuler. Add gtk_ruler_new()
1420 which takes a GtkOrientation argument.
1423 * gtk/gtkvruler.c: remove all code except the constructor and
1424 call gtk_orientable_set_orientation() in init().
1426 * gtk/gtk.symbols: add gtk_ruler_new().
1428 2008-10-01 Torsten Schoenfeld <kaffeetisch@gmx.de>
1430 * docs/reference/gtk/gtk-sections.txt:
1432 * gtk/gtkselection.c:
1433 * gtk/gtkselection.h: Add gtk_selection_data_get_selection to
1434 retrieve the sealed struct field GtkSelectionData.selection.
1436 2008-10-01 Tor Lillqvist <tml@novell.com>
1438 * gtk/gtkscalebutton.c: Don't #define _GNU_SOURCE on Windows as it
1439 confuses newest mingw headers.
1441 2008-10-01 Tor Lillqvist <tml@novell.com>
1443 * gdk/win32/gdkkeys-win32.c (gdk_keymap_get_caps_lock_state):
1444 Implement trivially on Windows. Not sure if something more complex
1445 is actually needed, more specifically whether the function needs
1446 to differentiate between "Caps Lock" and "Shift Lock" semantics?
1448 2008-10-01 Simos Xenitellis <simos@gnome.org>
1450 Bug 554506 – combining diacritics broken, became deadkeys
1452 * gtk/gtkimcontextsimple.c: added check if keysym is greater
1453 than 0x1000000, in this case it is not a dead key.
1455 2008-09-30 Michael Natterer <mitch@imendio.com>
1457 Bug 553582 – Add orientation API to GtkSeparator
1459 * gtk/gtkseparator.[ch]: implement the GtkOrientable interface and
1460 swallow all code from GtkHSeparator and GtkVSeparator. Add
1461 gtk_separator_new() which takes a GtkOrientation argument.
1463 * gtk/gtkhseparator.c
1464 * gtk/gtkvseparator.c: remove all code except the constructor and
1465 call gtk_orientable_set_orientation() in init().
1467 * gtk/gtk.symbols: add gtk_separator_new().
1469 2008-09-30 Marek Kasik <mkasik@redhat.com>
1471 Bug 344522 – support non-local destination files (GtkPrint):
1473 * gtk/gtkprintunixdialog.c
1474 * gtk/gtkprinteroptionwidget.c: Process URI instead of filename.
1475 * modules/printbackends/file/gtkprintbackendfile.c: Add ability
1476 to save files on non-local filesystems.
1478 2008-09-30 Michael Natterer <mitch@imendio.com>
1480 * gtk/gtk.symbols: forgot the G_GNUC_CONST of
1481 gtk_orientable_get_type().
1483 2008-09-30 Michael Natterer <mitch@imendio.com>
1485 Bug 541009 – Get rid of separate subclasses for horizontal and
1486 vertical orientation:
1491 * gtk/gtkorientable.[ch]: add new interface GtkOrientable which
1492 will be implemented by everything that can switch orientation.
1494 2008-09-30 Christian Dywan <christian@imendio.com>
1496 Fix a typo in the tutorial.
1498 * docs/tutorial/gtk-tut.sgml: It's mnemonic, not 'mnemnonic'.
1500 2008-09-29 Matthias Clasen <mclasen@redhat.com>
1502 Bug 553086 – hard to see current immodule
1504 * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems):
1505 Display the actually selected context in the system menuitem.
1506 Complaint by Akira Tagoh.
1508 2008-09-29 Matthias Clasen <mclasen@redhat.com>
1510 Bug 530568 – Entries with visibility=FALSE should warn for caps-lock
1513 * gtk/gtkentry.c: Add a tooltip-like Caps Lock warning for
1514 password entries. The warning is also triggered if an input method
1515 is active. The warning can be turned off using the
1516 GtkEntry::caps-lock-warning property.
1517 Proposed by Owen Taylor
1519 2008-09-29 Matthias Clasen <mclasen@redhat.com>
1522 * gtk/gtkimmulticontext.[hc] (gtk_im_multicontext_get_context_id):
1523 Add a getter for the the sealed context_id field.
1525 2008-09-29 Matthias Clasen <mclasen@redhat.com>
1527 Bug 107000 – Add signals to GdkKeymap for monitoring caps_lock, etc.
1530 * gdk/gdkkeys.[ch]: Add a new GdkKeymap::state-changed signal, and
1531 a gdk_keymap_get_caps_lock_state function.
1533 * gdk/x11/gdkkeys-x11.c: Implement it here. For now, only emit
1534 state-changed when caps lock lockedness changes.
1536 * gdk/x11/gdkdisplay-x11.c: Also select for modifier lock status
1537 changes in the XkbSelectEventDetails call.
1539 2008-09-29 Kristian Rietveld <kris@imendio.com>
1541 Bug 487624 - Tooltips doesn't get updated if ther's no mouse motion
1544 * gtk/gtkwidget.c (gtk_widget_set_property): after updating
1545 tooltip text or markup, call gtk_widget_trigger_tooltip_query()
1546 so that existing visible tooltips are updated.
1548 2008-09-29 Matthias Clasen <mclasen@redhat.com>
1550 Bug 371908 – Password Entry broken
1551 Bug 317002 – Disable input method completely in GtkEntry when it's
1554 * gtk/gtkentry.c (gtk_entry_backspace): Make backspace behave
1555 properly when invisible.
1557 * gtk/gtkentry.c (gtk_entry_create_layout): Show preedit even if
1560 * gtk/gtkentry.c (gtk_entry_set_visibility): Don't disable input
1561 methods when making the entry invisible.
1563 2008-09-29 Emmanuele Bassi <ebassi@linux.intel.com>
1565 * gdk/x11/gdkinput.c:
1566 (gdk_device_class_init), (gdk_device_finalize): Correctly chain
1567 up the finalize implementation.
1569 2008-09-29 Richard Hult <richard@imendio.com>
1571 Bug 554141 – uninitialized data use/free in gtkclipboard-quartz.c
1573 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
1574 Patch from Jon A. Cruz to initialize the allocated selection data.
1576 2008-09-27 Matthias Clasen <mclasen@redhat.com>
1578 Bug 339367 – Incorrect spotlocation
1580 * modules/input/gtkimcontextxim.c: Correct the spot location
1581 for on-the-spot style.
1583 2008-09-27 Denis Washington <denisw@svn.gnome.org>
1585 * gtk/gtkiconview.c: only draw keyboard focus when keyboard navigation
1586 is used, like GtkTreeView. (Bug #553575)
1588 2008-09-26 Matthias Clasen <mclasen@redhat.com>
1590 Bug 552959 – GtkTrayIcon: _NET_SYSTEM_TRAY_VISUAL and real
1593 * gtk/gtktrayicon-x11.c: Add support for the _NET_SYSTEM_TRAY_VISUAL
1594 property described in
1595 http://lists.freedesktop.org/archives/xdg/2008-September/009919.html
1596 If _NET_SYSTEM_TRAY_VISUAL is a visual with an alpha channel, the
1597 parent-relative-background hack is skipped and we draw with a real
1598 transparent background.
1600 * gtk/gtkrc.c: Remove the default GtkTrayIcon style, since the
1601 parent-relative background is now set when realizing the tray
1604 Patch by Owen Taylor
1606 2008-09-26 Matthias Clasen <mclasen@redhat.com>
1608 Bug 552956 – Should check composite extension version
1610 * gdk/x11/gdkdisplay-x11.c: Check that the version of the
1611 composite extension is at least 0.4.
1612 Patch by Owen Taylor
1614 2008-09-26 Matthias Clasen <mclasen@redhat.com>
1616 Bug 553803 – eventually call XCloseDevice on XOpenDevice results
1618 * gdk/x11/gdkinput.c: Add a finalize function for device objects,
1619 and call XCloseDevice there.
1621 * gdk/x11/gdkinput-x11.c:
1622 * gdk/x11/gdkdisplay-x11.c: Move freeing of device objects to
1623 the finalize function.
1624 Patch by Caolan McNamara
1626 2008-09-26 Matthias Clasen <mclasen@redhat.com>
1628 Bug 553578 - tabs are not drawn correctly
1630 * gtk/gtknotebook.c: Track the visibility state of notebook tabs
1631 between allocations so that we know to redraw the tab labels if
1632 tabs are hidden and shown without changing position.
1633 Reported by Marek Kašík, patch by Owen Taylor.
1635 2008-09-26 Matthias Clasen <mclasen@redhat.com>
1637 Bug 553133 – GtkFileChooser won't ask to mount a volume
1638 Bug 553211 – GtkFileChooserButton unsets filter after first use
1640 * gtk/gtkfilechooserdefault.c (shortcuts_activate_volume): Use
1641 a GtkMountOperation when mounting, so that we get a password
1642 dialog when required.
1644 * gtk/gtkfilechooserdefault.c (show_and_select_files): Also
1645 get the content-type, since it is used later on.
1646 Pointed out by Davyd Madeley.
1648 2008-09-26 Cody Russell <bratsche@gnome.org>
1650 Bug 553917 – Typo in gdkwindow-win32.c
1652 * gdk/win32/gdkwindow-win32.c: Fixed a typo in
1653 update_system_menu(). Changed GDK_DECOR_ALL to GDK_FUNC_ALL.
1655 Reported by Richard Hult
1657 2008-09-25 Marek Kasik <mkasik@redhat.com>
1659 Bug 553241 – double freed pointer in lpr_write cause firefox3 crash
1661 * modules/printbackends/lpr/gtkprintbackendlpr.c:
1662 The redundant freeing of memory was removed.
1666 2008-09-25 Michael Natterer <mitch@imendio.com>
1668 * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_finalize):
1669 don't unref the file system backend, the newly added
1670 unset_file_system_backend() already does this (bug #553135).
1672 2008-09-24 Michael Natterer <mitch@imendio.com>
1674 * gtk/gtkeventbox.c: events return gboolean not gint, reindented
1677 2008-09-24 Johan Dahlin <johan@gnome.org>
1679 Bug 553385 – gtk-builder-convert creates untranslated combobox models
1681 * gtk/gtk-builder-convert: Set the translatable property on
1682 col tags for converted combos.
1684 2008-09-24 Tor Lillqvist <tml@novell.com>
1686 * gtk-zip.sh.in: Include all of share/man, lib/pkgconfig,
1687 share/aclocal and share/gtk-doc instead of trying to list
1688 individual files or subdirectories. We had missed gail.pc, for
1691 2008-09-24 Christian Dywan <christian@imendio.com>
1693 Bug 538782 – Make GtkMenu's arrow size themable
1695 * gtk/gtkmenu.c (gtk_menu_class_init), (gtk_menu_paint):
1696 Implement "arrow-scaling" style property in GtkMenu.
1698 2008-09-24 Christian Dywan <christian@imendio.com>
1700 Bug 408244 – add GtkDialog::content-area-spacing
1702 * gtk/gtkbox.c (gtk_box_init), (gtk_box_set_spacing),
1703 (_gtk_box_set_spacing_set), (_gtk_box_get_spacing_set):
1705 * gtk/gtkdialog.c (gtk_dialog_class_init), (update_spacings):
1706 Implement "content-area-spacing" style property in GtkDialog
1707 and internal helper _gtk_box_get_spacing_set in GtkBox.
1708 Patch by Tim Janik, Sven Herzberg and myself.
1710 2008-09-24 Christian Dywan <christian@imendio.com>
1712 Bug 541391 – Unfocussable Treeview swallows focus
1714 * gtk/gtktreeview.c (grab_focus_and_unset_draw_keyfocus),
1715 (gtk_tree_view_focus): Honor GTK_WIDGET_CAN_FOCUS properly
1717 2008-09-24 Denis Washington <denisw@svn.gnome.org>
1719 * gtk/gtkiconview.c: draw focus as a rectangle around the
1720 complete item, not just the text. (Bug #38254)
1722 2008-09-23 Michael Natterer <mitch@imendio.com>
1725 * gtk/gtksignal.[ch]: s/GtkType/GType/ and
1726 s/GtkSignalMarshaller/GSignalCMarshaller/.
1728 2008-09-23 Michael Natterer <mitch@imendio.com>
1730 * gdk/x11/gdkevents-x11.c (gdk_event_translate): remove unused
1731 variable and fix indentation.
1733 2008-09-23 Michael Natterer <mitch@imendio.com>
1740 * gtk/gtkoldeditable.h
1744 * gtk/gtktipsquery.h
1746 * gtk/gtktreeitem.h: get rid of GtkType and GTK_CHECK_FOO() also
1747 in all deprecated headers.
1749 2008-09-22 Matthias Clasen <mclasen@redhat.com>
1751 Bug 553135 – eog crash: assertion failed. Gtk error:
1752 shortcuts_remove_rows: code should not be reached
1754 * gtk/gtkfilechooserdefault.c: Disconnect from GtkFileSystem
1755 signals when we are destroyed, in order to avoid nasty surprises.
1756 Patch by Claudio Saavedra
1758 2008-09-22 Emmanuele Bassi <ebassi@linux.intel.com>
1760 Bug 552789 – Show size column in the search and recently used
1763 * gtk/gtkfilechooserdefault.c: Display the file size column
1764 when in OPERATION_MODE_SEARCH. This removes a stat() call
1765 and simplifies the code a little bit by changing the query
1766 for file informations for each search engine hit.
1768 2008-09-22 Michael Natterer <mitch@imendio.com>
1770 * gtk/gtksignal.[ch]
1775 * gtk/gtktreeitem.c: use G_CALLBACK and GCallback instead of
1776 GTK_SIGNAL_FUNC and GtkSignalFunc also in deprecated code.
1778 2008-09-22 Frederic Crozat <fcrozat@mandriva.com>
1780 * gtk/gtkfilesystem.c: use the correct gi18n header.
1783 2008-09-22 Michael Natterer <mitch@imendio.com>
1785 * gtk/gtktoolbar.[ch]: add "Deprecated: 2.4" to all the deprecated
1786 append(), prepend() and insert() functions and recommend to use
1787 gtk_toolbar_insert() instead. Use GCallback instead of
1788 GtkSignalFunc even in deprecated API.
1790 2008-09-20 Matthias Clasen <mclasen@redhat.com>
1792 * gtk/gtkfilechooserbutton.c (filter_model_visible_func): Don't
1795 2008-09-19 Owen Taylor <otaylor@redhat.com>
1797 Small cleanups to debug messages for GtkPlug/GtkSocket
1799 * gtk/gtksocket-x11.c: Fix debug message to say "Socket" not "Plug"
1800 * gtk/gtkplug-x11.c: Remove excess newlines from the ends of debug
1803 2008-09-19 Carlos Garnacho <carlos@imendio.com>
1805 Bug 83935 – GtkEntry's default invisible char should be U+25CF
1807 * gtk/gtkentry.c (find_invisible_char) (gtk_entry_init): Find a
1808 more suitable invisible char than '*' based on the used font.
1809 (gtk_entry_class_init) (gtk_entry_set_property)
1810 (gtk_entry_get_property): Add a "invisible-char-set" property.
1811 (gtk_entry_unset_invisible_char): New function, needed now that the
1812 default invisible char isn't fixed.
1815 * docs/reference/gtk/gtk-sections.txt: Add the new function.
1817 2008-09-19 Christian Persch <chpe@gnome.org>
1819 Bug 552837 – mem leak in gtkimmulticontext
1821 * gtk/gtkimmulticontext.c: (gtk_im_multicontext_get_slave): Plug mem
1824 2008-09-18 Emmanuele Bassi <ebassi@linux.intel.com>
1826 * gtk/gtkfilechooserdefault.c (settings_save): Save the size column
1827 visibility state with the rest of the FileChooser settings.
1829 2008-09-18 Emmanuele Bassi <ebassi@linux.intel.com>
1831 Bug 325095 – show a 'size' column
1833 * gtk/gtkfilechooserdefault.c:
1834 * gtk/gtkfilechooserprivate.h: Add a context menu item controlling
1835 the visibility of the file size column. This works only for the
1836 browse mode, and the column is not visible by default.
1838 * gtk/gtkfilechoosersettings.[ch]: Add a ShowSizeColumn key to the
1841 2008-09-18 Dominic Lachowicz <domlachowicz@gmail.com>
1843 * modules/engines/ms-windows/*: Revert most of previous patch, as
1844 it didn't work as expected; Some work toward #531086 - the new
1845 GtkTooltip widget doesn't theme properly on win32. Now, at least
1846 the background color seems okay
1848 2008-09-18 Dominic Lachowicz <domlachowicz@gmail.com>
1850 * modules/engines/ms-windows/*: MS Windows style should use
1851 pango_win32_font_description_from_logfont; Allows us to rip out a
1852 lot of potentially buggy code, and also get the font specification
1853 from the XP theme (#434987)
1855 2008-09-18 Matthias Clasen <mclasen@redhat.com>
1857 * configure.in: updated version number to 2.15.0 for development.
1859 * ChangeLog.pre-2-14: rotate ChangeLog
1861 === Branch for 2.14 ===