pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/x11/gtk2

Module Name:    pkgsrc
Committed By:   jmcneill
Date:           Sun Mar 15 14:01:37 UTC 2009

Modified Files:
        pkgsrc/x11/gtk2: Makefile PLIST distinfo

Log Message:
Update gtk2+ to 2.16.0.


2009-03-13  Matthias Clasen  <>

        * === Released 2.16.0 ===

2009-03-13  Matthias Clasen  <>

        * NEWS: Updates

        * Bump version to 2.16.0

2009-03-11  Matthias Clasen  <>

        Bug 572455 â?? GtkEntry window layed out wrong if the widget has focus

        * gtk/gtkentry.c: Fix problems with window positioning. Reported
        by Benjamin Berg.

2009-03-11  Tor Lillqvist  <>

        Bug 573067 - Intra-app dnd of text behavior on Windows is wrong

        * gdk/win32/gdkdnd-win32.c (local_send_motion) (gdk_drag_motion):
        The default action should be move, not copy. Tweak how the
        GdkDragAction fields in GdkDragContexts are changed. Seems to help
        the problem.

        Add more debugging printout for --gdk-debug=dnd to many functions.

        * gdk/win32/gdkmain-win32.c
        * gdk/win32/gdkprivate-win32.h: (_gdk_win32_drag_protocol_to_string)
        (_gdk_win32_drag_action_to_string): New functions for use in
        debugging printouts.

2009-03-11  Tor Lillqvist  <>

        * gdk/win32/gdkdnd-win32.c: Use G_DEFINE_TYPE. Some debugging
        printout changes. Hacking on the OLE2_DND code, which still
        doesn't work, though, and is not normally compiled.

2009-03-11  Tor Lillqvist  <>

        Bug 570896 - gdkevents-win32.c(2947) : error C4053: one void
        operand for '?:'

        * gdk/win32/gdkevents-win32.c (gdk_event_translate): Fix
        compilation error with MSVC. While at it add clarifying comments
        and fix a typo in the debugging output.

2009-03-11  Tor Lillqvist  <>

        Bug 574794 - Can not resize shaped windows on Windows

        * gdk/win32/gdkevents-win32.c (gdk_event_translate): On handling
        WM_WINDOWPOSCHANGED, don't do anything if the position and size
        hasn't changed. I am not exactly sure I understand why this helps
        this particular bug.

2009-03-10  Matthias Clasen  <>

        Bug 574561 â?? gtk_style_get "shadows" g_object_get

        * gtk/gtk.symbols:
        * gtk/gtkstyle.[hc]: Rename gtk_style_get_property to
        gtk_style_get_style_property to avoid problems for language
        bindings. Pointed out by Torsten Schoenfeld.

2009-03-10  Matthias Clasen  <>

        Bug 574622 â?? GtkEntry: Should we wrap icon-press and icon-release

        * gtk/gtkentry.c: ::icon-press and ::icon-release are not
        action signals. Pointed out by Murray Cumming

2009-03-04  Michael Hasselmann <>

        * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_contents_changed):
        Fixed regression reported in bug #574059. (search button not available 
        some cases.) The old implementation relied on bug #572478.

2009-03-10  Alexander Larsson  <>

        * gtk/gtkmountoperation.c:
        Clear all optionally created widget pointer in priv. Initially
        priv is cleared so thats ok, but on a second call we may have
        leftovers from previous calls which is problematic if for instance
        we asked for the user the first time and not the second, then we
        will access the old priv->username_entry.

2009-03-06  Michael Natterer  <>

        * gtk/gtkscalebutton.c (gtk_scale_button_set_property): don't call
        gtk_orientable_set_orientation() because that calls g_object_set()
        again -> infinite recursion. Call gtk_scale_button_set_orientation()

2009-03-02  Matthias Clasen  <>

        * Bump version

2009-03-02  Matthias Clasen  <>

        * === Released 2.15.5 ===

2009-03-02  Matthias Clasen  <>

        * NEWS: Updates

2009-03-02  Matthias Clasen  <>

        Bug 546285 â?? Allow GtkEntry to draw progress

        * gtk/gtkentry.c: Improve the drawing of progress in entries,
        using fg/bg[SELECTED]. Add a progress-border style property.
        Draw progress behind icons too.
        * gtk/gtkrc.c: Add defaults for fg/bg[SELECTED] in entries.
        Patch by Benjamin Berg.

2009-03-02  Matthias Clasen  <>

        Bug 573688 â?? Don't steal update region in gtk_text_view_paint()

        * gtk/gtktextview.c (gtk_text_view_paint): If additional areas got
        invalidated, don't try to add them to the paint region: in an expose
        handler, we cannot paint outside the area that was passed in, since
        drawing will be clipped. So stealing the update region from the
        window causes lost draws.
        Patch by Owen Taylor

2009-03-02  Alexander Larsson  <>

        Bug 573087 â?? gdkwindow.c: {x,y}_offset used uninitialized

        * gdk/gdkwindow.c (gdk_window_clear_backing_rect_redirect):
        Don't use uninitialized vars.
        Fix offsets for redirected pixmap, draw to pixmap not window.

2009-03-02  Theppitak Karoonboonyanan  <>

        Bug 457086 - numpad does not work when the Thai-Lao input method is

        * modules/input/gtkimcontextthai.c (is_context_lost_key): Do not count
        character-generating keypads as context-lost keys. (patch recommitted
        after approval)

2009-03-01  Matthias Clasen  <>

        * gdk/gdkkeysyms.h: Fix the sorting of GDK_KP_Equal.

2009-03-01  Matthias Clasen  <>

        Bug 552619 â?? File Chooser no longer automatically enters newly created

        * gtk/gtkfilechooserdefault.c (edited_idle_cb): Switch to the newly
        created folder on success.

2009-03-01  Matthias Clasen  <>

        Bug 573515 â?? po-properties/ special handling causes
        failure to build

        * Generate po-properties/POTFILES at configure time.
        Patch by Loïc Minier

2009-03-01  Matthias Clasen  <>

        * demos/gtk-demo/appwindow.c: Set the program-name property
        of the about dialog.

        * docs/tools/widgets.c: Add GtkAboutDialog

2009-02-28  Matthias Clasen  <>

        Bug 572273 â?? No replacement documented for gtk_action_connect_proxy()

        * gtk/gtkaction.c: Make gtk-doc pick up deprecation notes.
        Insisted on by Andre Klapper.

2009-02-28  Matthias Clasen  <>

        Bug 573287 â?? Warning on startup

        * gtk/gtkstatusicon.c (gtk_status_icon_finalize): Disconnect
        all tray icon signals. Noticed by Bastien Nocera

2009-02-28  Matthias Clasen  <>

        Bug 573211 â?? Setting screen for popup windows

        * gtk/gtkentrycompletion.c:
        * gtk/gtknotebook.c: Keep popups on the right screen.
        Pointed out by Morten Welinder

2009-02-28  Matthias Clasen  <>

        Bug 573113 â?? Can't build tests due to testfilechooserbutton.c...

        * tests/testfilechooserbutton.c: Don't use deprecated API.
        Reported by Tobias Mueller

2009-02-28  Matthias Clasen  <>

        Bug 573069 â?? Gdk-CRITICAL warnings with Gtk 2.14 when dragging
        GtkNotebook tabs

        * gtk/gtkwidget.c (_gtk_widget_synthesize_crossing): Be a little
        more careful when navigating up the parent chain.

        * gdk/gdkwindow.c (_gdk_window_destroy_hierarchy): Reset the
        pointer window thats stored on the screen when it is destroyed.

2009-02-27  Matthias Clasen  <>

        Bug 572996 â?? crash in Home Folder: Trying to open the sidebar

        * gtk/gtkpaned.c (get_child_panes): Handle widget being NULL.
        Pointed out by Wouter Bolsterlee.

2009-02-27  Matthias Clasen  <>

        Bug 572972 â?? GtkRecentChooserDefault: memory leak in

        * gtk/gtkrecentchooserdefault.c (copy_activated_cb): Don't leak
        a GtkRecentInfo. Found by Tommi Rantala

2009-02-27  Matthias Clasen  <>

        Bug 572968 â?? GtkIconView: image_description setter function strdups
        wrong string

        * gtk/gtkiconview.c
        (gtk_icon_view_item_accessible_image_set_image_description): Copy
        the right string. Pointed out by Tommi Rantala

2009-02-27  David Zeuthen  <>

        Bug 573416 â?? GtkMountOperation fixes for ask_password()

        * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password):
        Split the message from GMountOperation into primary/secondary like
        we also do in gtk_mount_operation_ask_question()

2009-02-27  Michael Natterer  <>

        Bug 573383 â?? Setting a textview's buffer to NULL doesn't do a
        complete job

        * gtk/gtktextview.c (gtk_text_view_set_buffer): always set
        text_view->layout's buffer, also if it's NULL.

2009-02-25  Tristan Van Berkom <>

        Bug 572904 â?? GtkRadioAction broken in trunk

        * gtk/gtkradioaction.c: When setting non active state always
        notify the action's active state (this prevents toggle type proxies
        used with radio actions from deactivating when pressed a second time).

2009-02-25  Xan Lopez  <>

        Bug 495320 - GtkRange does not use gdk_event_request_motions

        * gtk/gtkrange.c:
        (gtk_range_motion_notify): Use gdk_event_request_motions to
        request more motion events, as suggested in the docs for widgets
        using motion hints.

2009-02-24  Matthias Clasen <>

        * gdk/x11/gdkevents-x11.c:
        * gdk/x11/gdkscreen-x11.[hc]: Another attempt at getting Xrandr
        screen size changes right. Actually handle XRRScreenChangeNotify
        events, and ignore root ConfigureNotify events if we are using
        Xrandr. Only emit size-changed signals if the screen size changed,
        and only emit monitor-changed signals if the monitors changed.

2009-02-23  Matthias Clasen <>

        Bug 565199 â?? Ellipsize text in Places list

        * gtk/gtkfilechooserdefault.c (shortcuts_list_create): Never scroll
        the places horizontally. Instead, ellipsize the text.

2009-02-19  Michael Hasselmann <>

        * gtk/gtkcombobox.c (gtk_combo_box_set_active_internal):
        Added a check to not emit a "changed" signal when an already invalid
        selection was set to invalid.

2009-02-22  Matthias Clasen <>

        * gtk/gtk.symbols:
        * gtk/gtkactivatable.[hc]: Rename gtk_activatable_reset to
        gtk_activatable_sync_action_properties, since the previous name
        was deemed too generic. Update all implementations.

2009-02-19  Ray Strode  <>

        * gdk/x11/gdkscreen-x11.c
        (monitor_compare_function), (init_randr13):
        After using randr to get a list of monitors,
        sort the list such that the biggest output
        of "cloned" outputs comes first in the list.
        This helps apps that don't generally handle
        overlapping outputs to work better in randr
        clone mode.

2009-02-19  Sven Neumann  <>

        * gdk/directfb/gdkwindow-directfb.c
        (gdk_directfb_window_move_resize): looks like being called with
        negative width and height should be interpreted as a move. Fixes
        scrolling and makes popups work to some extent.

        (_gdk_directfb_move_resize_child): formatting.

2009-02-19  Sven Neumann  <>

        * gdk/directfb/gdkdisplay-directfb.c (gdk_display_open): move the
        call to _gdk_windowing_window_init() up a little. Fixes a crash
        when running on pseudo-color visuals. Thanks to Masse Nicolas for
        pointing this out.

2009-02-19  Sven Neumann  <>

        * gdk/directfb/gdkwindow-directfb.c
        (gdk_window_foreign_new_for_display, gdk_directfb_window_new):
        initialize private->impl. Thanks to Masse Nicolas for pointing
        this out.

2009-02-19  Matthias Clasen  <>

        Bug 572387 â?? gdm crashes after gtk 2.15.4 upgrade

        * gdk/x11/gdkscreen-x11.c (init_xrandr13): If X is broken and returns
        no monitors, fall back to other multihead init methods, so that we
        at least get one monitor set up.

2009-02-19  Michael Natterer  <>

        * gtk/gtkmountoperation.c: sort functions so their order is more
        "standard", some cosmetic cleanup (not changing any code).

2009-02-19  Michael Natterer  <>

        * tests/testgtk.c: add some orientation flipping code to the
        "flipping" test.

2009-02-19  Michael Natterer  <>

        * gtk/gtkscalebutton.c: make the orientation flipping much simpler
        by using the GtkOrientable features of the involved widgets:

        (gtk_scale_button_init): create the frame, box and scale here,
        they never need to be recreated because they implement GtkOrientable.

        (gtk_scale_button_constructor): remove their construction here.

        (gtk_scale_button_set_orientation): don't destroy and re-create
        anything. Instead, simply set the orientation of the above created
        widgets and fiddle a bit with the "plus" and "minus" buttons'
        packing and the scale's "inverted" state.

        Remove separate internal GtkScaleButtonHScale and
        GtkScaleButtonVScale subclasses and simply have a
        GtkScaleButtonScale directly inherited from GtkScale.

2009-02-19  Theppitak Karoonboonyanan  <>

        * modules/input/gtkimcontextthai.c (is_context_lost_key): Revert the
        unapproved patch for bug 457086.

2009-02-18  Matthias Clasen  <>

        * gdk/x11/gdkscreen-x11.c (init_randr13): Ignore disconnected outputs,
        and fill in name and physical dimensions.

2009-02-18  Sven Neumann  <>

        Bug 533456 â?? Memory leak when window is destroyed

        * gdk/directfb/gdkdirectfb.h
        * gdk/directfb/gdkprivate-directfb.h
        * gdk/directfb/gdkcursor-directfb.c
        * gdk/directfb/gdkevents-directfb.c
        * gdk/directfb/gdkwindow-directfb.c: removed all #ifdef checks for
        DIRECTFB_MAJOR_VERSION >= 1 and compile that code unconditionally.
        as we depend on DirectFB >= 1.0.0 now.  Fixes a potential build
        issue that would lead to a memory leak as described in bug #533456.

2009-02-18  Sven Neumann  <>

        Bug 513422 â?? Unknown meaning of translatable messages

        * gdk/directfb/gdkdisplay-directfb.c: removed broken and commented
        code and the translatable messages that belonged to it.

2009-02-18  Sven Neumann  <>

        Bug 560671 â?? the client_message API doesn't work in DirectFB

        * gdk/directfb/gdkevents-directfb.c: applied a slightly cleaned up
        patch from Steve Lhomme that adds this functionality using
        DirectFB's DFBUserEvent.

2009-02-18  Sven Neumann  <>

        Bug 543710 â?? Dead keys do not work anymore with DirectFB

        * gdk/directfb/gdkkeys-directfb.c (gdk_directfb_translate_key):
        applied patch from Josselin Mouette that removes special handling
        of dead keys as that is done by DirectFB for a long time already.

2009-02-18  Sven Neumann  <>

        * depend on DirectFB >= 1.0.0. There's no point in
        using an earlier development version.

2009-02-18  Sven Neumann  <>

        Bug 554407 â?? directfb backend does not implement GdkWindowImpl

        * gdk/directfb/gdkgeometry-directfb.c
        * gdk/directfb/gdkprivate-directfb.h
        * gdk/directfb/gdkwindow-directfb.c: fix the build of the DirectFB
        backend and resurrect basic functionality. Based on a patch from
        the Ubuntu bug-tracker and work by Masse Nicolas.

2009-02-18  Theppitak Karoonboonyanan  <>

        Bug 457086 - numpad does not work when the Thai-Lao input method is

        * modules/input/gtkimcontextthai.c (is_context_lost_key): Do not count
        character-generating keypads as context-lost keys.

2009-02-17  Matthias Clasen  <>

        * Bump version

2009-02-17  Matthias Clasen  <>

        * === Released 2.15.4 ===

        * gdk/tests/ Disable check-gdk-cairo for now.

2009-02-17  Andre Klapper  <>

        * demos/gtk-demo/main.c:
        Fix deprecated glib call.

2009-02-17  Matthias Clasen  <>

        * NEWS: Updates

2009-02-16  Matthias Clasen  <>

        Bug 572040 â?? GtkAssistant does not expose page titles

        * gtk/gtkassistant.c (gtk_assistant_accessible_ref_child): Set
        the object name to the page title. Proposed by Eitan Isaacson

2009-02-16  Matthias Clasen  <>

        Bug 572041 â?? Focus should change when advancing forward in 

        * gtk/gtkassistant.c (set_current_page): Set focus when the current
        page changes. Pointed out by Eitan Isaacson

2009-02-16  Matthias Clasen  <>

        * Require GLib 2.19.7 for GMountOperation::aborted.

        * gtk/gtkmountoperation.c: Implement GMountOperation::aborted.

2009-02-16  Sven Neumann  <>

        * gdk/gdk.symbols
        * gdk/directfb/gdkkeys-directfb.c: implement
        gdk_keymap_get_caps_lock_state(). No "state-changed" signal yet.

2009-02-16  Tor Lillqvist  <>

        Bug 571873 - Compile error with gdk/win32/gdkselection-win32.c

        * gdk/win32/gdkselection-win32.c (gdk_selection_convert): Cast
        gpointer to char * before pointer arithmetic to avoid compilation
        error with MSVC.

        (_gdk_selection_property_delete): Remove unused variable.

2009-02-13  Matthias Clasen  <>

        * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Don't forget to
        register randr events. Found by Søren Sandmann

2009-02-13  Matthias Clasen  <>

        * Check for Xrandr 1.3

        * gdk/x11/gdkdisplay-x11.[ch]: Rename have_randr12 to have_randr13
        and set if if we have randr 1.3

        * gdk/x11/gdkscreen-x11.c: Go back to using randr for monitor
        information, if we have XRRGetScreenResourcesCurrent.
2009-02-12  Cody Russell  <>

        Bug 571576 â?? gdk_pixbuf_save_to_stream() broken

        * gdk-pixbuf/gdk-pixbuf-io.c: Fix gdk_pixbuf_save_to_stream() so that
        it does not always return FALSE (even when it succeeds), and also so
        that it does not set error to NULL when something goes wrong.

2009-02-12  Marek Kasik  <>

        Bug 568571 â?? Asian am/pm format on cups print backend's time parsing

        * modules/printbackends/cups/gtkprintbackendcups.c: Add Asian am/pm
        format into formats recognized by CUPS backend

2009-02-11  Matthias Clasen  <>

        Bug 570824 â?? [a11y] TreeView is not keyboard (re)focusable after
        selecting a cell in a non-sortable column

        * gtk/gtktreeview.c (gtk_tree_view_header_focus): Don't grab
        focus to a header button if it is not focusable. Problem reported
        by Joanmarie Diggs

2009-02-11  Matthias Clasen  <>

        Bug 508545 â?? No way to identify terminal classes from documentation

        * gtk/gtkvolumebutton.[hc]: Move the _GtkVolumeButton definition
        into the header to make it possible to derive from GtkVoumeButton.
        Reported by Chris Lord.

2009-02-11  Matthias Clasen  <>

        Bug 571196 â?? gtk_binding_entry_add_signall deprecated without
        * gtk/gtk.symbols:
        * gtk/gtkbindings.[hc]: Undeprecate gtk_binding_entry_add_signall
        since its replacement is a varargs function. Complaint by
        Torsten Schoenfeld.

2009-02-11  Matthias Clasen  <>

        Bug 571249 â?? Icons are not drawn properly when initial widget
        state is insensitive

        * gtk/gtkentry.c (gtk_entry_ensure_pixbuf): Render icons
        in normal state, regardless of the entrys state. Reported by
        Enrico Tröger.

2009-02-11  Matthias Clasen  <>

        * gtk/gtkfilechooserbutton.c: Don't emit the file-set signal
        if the file chooser dialog is canceled. But emit it if a file
        is received via DND.

2009-02-11  Matthias Clasen  <>

        Bug 353196 â?? Add a file-set signal to GtkFileChooserButton

        * gtk/gtkfilechooserbutton.c: Remove GTK_SIGNAL_ACTION
        from the file-set signal, that wasn't supposed to have it.

2009-02-10  Takao Fujiwara  <>

        Bug 571015 â?? libprintbackend-cups has unlocalized strings

        * modules/printbackends/cups/gtkprintbackendcups.c:
        Added a translator comment with the request of translators.

2009-02-09  Richard Hughes  <>

        * docs/reference/gtk/migrating-GtkEntry-icons.sgml:
        Fix the enumerated name in the migration document.

2009-02-09  Cody Russell  <>

        * gdk/win32/gdkwin32.h: Add potentially missing #defines for
        XBUTTON1, etc.  Fixes the build that was broken in r21746.

2009-02-09  Takao Fujiwara  <>

        Bug 571015 â?? libprintbackend-cups has unlocalized strings

        Reviewed by Matthias Clasen  <>

        * modules/printbackends/cups/gtkprintbackendcups.c (handle_option):
        Add translatable strings from ppd files.

2009-02-06  Matthias Clasen  <>

        Make the new GtkAction code work with PolicyKit-gnome's use of actions.

        * gtk/gtkaction.c (gtk_action_[un]block_activate_from): Block
        the action.

        * gtk/gtkcheckmenuitem.c (gtk_check_menu_item_activatable_reset):
        * gtk/gtktogglebutton. (gtk_toggle_button_activatable_reset):
        * gtk/gtktoggletoolbutton.c (gtk_toggle_tool_button_activatable_reset):
        Work with non-toggle actions without complaining.

        * gtk/gtktoolbutton.c (gtk_tool_button_activatable_update): Updating
        the icon-name should not remove the label.

        * gtk/gtkimagemenuitem.c (activatable_update_icon_name): Also
        update the image when the icon name is set to NULL.

2009-02-06  Matthew Barnes  <>

        * gtk/gtklabel.c (gtk_label_set_label): Accept a NULL string.

2009-02-03  Matthias Clasen  <>

        Bug 538439 â?? tooltip may appear in upper left corner instead of
        over widget

        * gtk/gtktooltip.c (gtk_tooltip_trigger_query): Set the root
        coordinates in the event correctly. Patch by Kristian Rietveld.

2009-02-02  Matthias Clasen  <>

        * Bump version

2009-02-02  Matthias Clasen  <>

        * === Released 2.15.3 ===

        * NEWS: Updates

2009-02-01  Behdad Esfahbod  <>

        * gtk/gtksettings.c (gtk_settings_class_init): Change the
        "gtk-fontconfig-timestamp" property from int to uint.  Doesn't affect
        anything in practice, except that  it overflows years later...

2009-02-01  Behdad Esfahbod  <>

        Bug 569635 â?? fontchooser should reload list of families/styles on
        theme change

        * gtk/gtkfontsel.c (gtk_font_selection_class_init),
        (gtk_font_selection_init), (gtk_font_selection_finalize),
        (gtk_font_selection_ref_family), (gtk_font_selection_ref_face),
        Reload Pango families and faces in style_set.  Installing/uninstalling
        fonts shows up immediately in an open font chooser now.

2009-01-31  Matthias Clasen  <>

        Bug 162726 â?? Multiple Latin layouts in XKB break keyboard shortcuts

        * gtk/gtkkeyhash.c (_gtk_key_hash_lookup): Change the handling of
        fuzzy matches: As long there are any exact matches, only exact
        matches are returned. If there are no exact matches, fuzzy matches
        will be returned, as long as they are not shadowing a possible exact
        match. This means that fuzzy matches won't be considered if their
        keyval is present in the current group. Problem reported by
        many people, patch by Simos Xenitellis.

2009-01-31  Matthias Clasen  <>

        * NEWS: Updates

2009-01-30  Fridrich Strba  <>

        * Allow linking in static jasper gdk-pixbuf loader.
        (reviewed by Tor Lillqvist)

2009-01-30  Matthias Clasen  <>

        * gtk/gtktextview.c (preedit_changed_handler): Be more careful
        with the beeps, since preedit-changed is occasionally emitted
        without actual input. Pointed out by Tor Lillqvist.

2009-01-30  Matthias Clasen  <>

        Bug 569918 â?? 64bit portability issue in gtkrecentchooser.c

        * gtk/gtkrecentchooser.c (gtk_recent_chooser_set_use_action_appearance):
        Avoid a compiler warning. Patch by Magnus Boman.

2009-01-30  Matthias Clasen  <>

        Bug 359288 â?? Toolbar items are not shown after hiding

        * gtk/gtktoolbar.c (slide_idle_handler): Make sure we queue
        at least one resize. This fixes a problem with toolitems remaining
        invisible when they shouldn't that was reported by Christian Weiske.

2009-01-30  Matthias Clasen  <>

        * gtk/gtkrecentchoosermenu.c (gtk_recent_chooser_menu_create_item):
        Always show images.

2009-01-29  Tor Lillqvist  <>

        Bug 559408 - Transparency lost when images are copied between GTK+
        and the clipboard on Windows

        The code in gdkselection-win32.c is simplified quite a lot. When
        an image is stored on the clipboard from GTK+, only the "PNG" and
        CF_DIB formats are advertised. PNG is our preferred format because
        it can losslessly represent any image that gdk-pixbuf can handle,
        even with alpha, unambiguously. CF_DIB is also advertised because
        of its ubiquitous support in Windows software.

        Delayed rendering is used as before, so for other data than text
        nothing is actually stored on the clipboard until some app asks
        for it.

        It's pointless to advertise images formats like "image/png" or
        "image/x-MS-bmp" that no other Windows application is going to
        look for anyway. Likewise it's pointless to store text under
        formats like "text/plain" or "UTF8_STRING". Just store
        CF_UNICODETEXT. CF_TEXT will be available as a synthesized format

        Office 2007 offers and asks for images in PNG format using the
        registered clipboard format name "PNG", so we do likewise. If the
        "PNG" format is available that is preferred when copying to GTK+
        from the clipboard.

        Unfortunately Word 2007 still uses CF_DIB without handling
        alpha. But PowerPoint 2007 uses PNG if available and handles alpha
        correctly. Both Word and Powerpoint offer PNG with alpha nicely.

        Firefox and IE7 offer images that contain alpha as 32-bit version
        3 BI_RGB DIBs with the undocumented "extra" bytes actually being
        alpha. Also, alpha is premultiplied into the RGB bytes, presumably
        because that is how AlphaBlend() wants such DIBs. That is also
        taken care of. At least for Firefox it easy to be sure that a
        CF_DIB on the clipboard is from Firefox.

        Also some general stylistic cleanup, comment improvements, and
        improvements of debugging printout especially in the clipboard
        handling. Those are not detailled below.

        * gdk/win32/gdkprivate-win32.h
        * gdk/win32/gdkglobals-win32.c
        * gdk/win32/gdkgmain-win32.c: Move some globals that were used
        only in gdkselection-win32.c to be local to that file.

        * gdk/win32/gdkproperty-win32.c (gdk_property_change): Don't
        bother checking if text to be placed on the clipboard consists of
        only ASCII.

        * gdk/win32/gdkselection-win32.c: Add static variables for a list
        of GdkPixbuf-supported formats, well-known registered clipboard
        formats for images, and for GdkAtoms for well-known image and text

        (_gdk_win32_selection_init): Initialize above static variables.

        (selection_property_store) (gdk_selection_property_get)
        (_gdk_selection_property_delete): Don't use a FIFO of GdkSelProps
        for a window after all, it breaks testtext. See bug #163844.

        (gdk_selection_convert): When converting to the TARGETS format,
        i.e. when the caller wants to know what clipboard formats are
        available, if PNG is available we report just that and skip
        CF_DIB, JPEG and GIF even if advertised.

        If CF_UNICODETEXT is available, report only UTF8_STRING.

        When converting to the UTF8_STRING format, i.e. when the caller
        wants text from the clipboard, try just CF_UNICODETEXT. There is
        no point in trying CF_TEXT as Windows will synthesize
        CF_UNICODETEXT from CF_TEXT anyway, if some app has stored just

        When converting to the image/bmp format, i.e. when the caller
        wants an CF_DIB image from the clipboard, we check if the DIB is a
        version 3 32-bit BI_RGB one that is likely to actually contain
        alpha in the "extra" bytes. Such a DIB is likely to have
        premultiplied alpha even, at least in the case of Firefox 3 and
        IE7. We then edit the DIB in-place into a version 5 one in
        BI_BITFIELDS format and undo the alpha premultiplication.

        In any case, prepend a BMP file header before letting go of the
        data which will be fed to the gdk-pixbuf bmp loader by upper

        (gdk_win32_selection_add_targets): If some kind of pixmap image
        format is being added, actually advertise just PNG and
        CF_DIB. Note that alpha won't be stored on the clipboard through
        CF_DIB. This is because gdk-pixbuf's bmp loader doesn't save
        alpha. Furthermore, few if any non-GTK+ Windows apps seem to
        understand a version 5 DIB with proper alpha anyway.

        (_gdk_win32_selection_convert_to_dib): Simplified muchly.

2009-01-29  Tor Lillqvist  <>

        Bug 145058 - Inputting "^^" requires four keystrokes on Win32,
        differs from platform default behaviour

        * gtk/gtkimcontextsimple.c
        (check_win32_special_case_after_compact_match): New
        function. Called from check_compact_table() after a table-based
        match has committed a character. In case there was two identical
        dead accents in the input, another copy of the spacing accent that
        was already committed is committed. This fixes #145058.

        (check_win32_special_cases): New function. Called first from
        gtk_im_context_simple_filter_keypress(). This fixes another
        problem: a dead accent followed by a space should commit the
        corresponding spacing accent. The compose tables from X commit
        another character in two cases and we want to override that on

        Add GTK_NOTE (MISC) debugging output to this code.

2009-01-29  Claudio Saavedra  <>

        Bug 569435 â?? make maintainer-clean removes non-generated sources

        * gdk/ Do not remove gdkprivate.h and gdkwindowimpl.h
        during make maintainer-clean, as these files are not generated.

2009-01-28  Philip Withnall  <>

        * gtk/gtktreeview.c: Small documentation fix.

2009-01-27  Matthias Clasen  <>

        * gtk/gtkentry.c: Use the get_text_area_size vfunc to make
        alignment and icons in spin buttons work correctly.

2009-01-27  Matthias Clasen  <>

        Bug 569336 â?? change in gtkbutton klass is causing crash when
        activating menu item

        * gtk/gtktogglebutton.c: Don't chain the clicked handler
        up unconditionally.

2009-01-27  Matthias Clasen  <>

        * Bump version

2009-01-27  Matthias Clasen  <>

        * === Released 2.15.2 ===

        * NEWS: Updates

2009-01-26  Matthias Clasen  <>

        Bug 322932 â?? Always show icons on panel menus

        * gtk/gtk.symbols:
        * gtk/gtkimagemenuitem.[hc]: Add a property to override the
        show-menu-images setting for individual menuitems. Patch by
        William Jon McCann.

2009-01-26  Matthias Clasen  <>

        * gtk/gtkbutton.c: Activate the action in a regular clicked
        handler instead of the default handler, to make it work with
        derived classes which don't chain up their clicked handler.

2009-01-26  Matthias Clasen  <>

        Bug 569104 â?? Toggle menu entries showed as check menu entries
        in nautilus

        * gtk/gtkactivatable.c (gtk_activatable_do_set_related_action):
        Block the previous action when calling reset() to prevent
        accidental activation of the previous action.

        * gtk/gtkaction.c (gtk_action_activate): Don't compare booleans.

        * gtk/gtktoggleaction.c (gtk_toggle_action_set_active): Remove
        extraneous braces.

2009-01-26  Bastien Nocera  <>

        Bug 569240 - Crasher when using markers

        * gtk/gtkrange.c (gtk_range_destroy): Avoid crashes when destroying
        a GtkRange with markers

2009-01-26  Richard Hult  <>

        Bug 566628 â?? gdk_display_close always asserts on win32 and quartz

        * gdk/quartz/gdkdisplay-quartz.c
        (_gdk_windowing_set_default_display): Copy fix for bug #566628
        from the win32 backend: Allow also a NULL parameter in the

2009-01-25  Matthias Clasen  <>

        * gtk/gtktoolitem.[hc]: Export the function to create a proxy
        menuitem from the action for use in subclasses.

        * gtk/gtktoolbutton.c:
        * gtk/gtktoggletoolbutton.c: Use it here.

        * gtk/gtkrecentchoosermenu.c: Avoid temporary empty state that
        can lead to a recent action proxy menu being erroneously hidden.

2009-01-25  Matthias Clasen  <>

        * gtk/gtkradioaction.c: Set draw-as-radio to TRUE.

2009-01-24  Matthias Clasen  <>

        Revert changes for bug 567124. Instead of trying to avoid
        setting up the im context before the widget is realized, just
        reset it when the client window is set.

        * gtk/gtkimmulticontext.c: Reset the slave when a client window
        is set.

        * gtk/gtkimmodule.c
        * gtk/gtktextview.c: Revert changes for bug 567124.

2009-01-25  Claudio Saavedra  <>

        * gtk/gtktreeview.c: Use gtk-doc syntax to refer to properties in
        the docstrings.

2009-01-25  Claudio Saavedra  <>

        * gtk/gtkiconview.c: More docstrings improvements
        regarding reorderable property.

2009-01-24  Claudio Saavedra  <>

        Bug 559420 â?? gtk_icon_view_enable_model_drag_[source|dest] docs
        wrt. reorderable property

        * gtk/gtkiconview.c: Improve docstrings regarding reorderable
        property. Based on a patch by Björn Lindqvist.

2009-01-24  Matthias Clasen  <>

        * gtk/gtktoolbutton.c (gtk_tool_button_activatable_reset):
        Fall back from stock ids to icon names like the old code
        did. Patch by Tristan van Berkom.

2009-01-24  Matthias Clasen  <>

        * tests/testactions.c: Add a testcase for toolitems using
        icon names.

2009-01-24  Matthias Clasen  <>

        * gdk/x11/gdkcursor-x11.c (_gdk_x11_cursor_update_theme):
        Don't update blank cursors.

2009-01-24  Claudio Saavedra  <>

        * gtk/gtktreeview.c: (gtk_tree_view_class_init): Slightly
        improve ::search-column property description.

2009-01-23  Matthias Clasen  <>

        * Bump version

2009-01-23  Matthias Clasen  <>

        * === Released 2.15.1 ===

2009-01-23  Matthias Clasen  <>

        * gtk/gtkactivatable.c: Make the section docs produce some valid

2009-01-23  Matthias Clasen  <>

        * gtk/gtkactivatable.c: Fix the section docs so gtk-doc finds them.

2009-01-23  Matthias Clasen  <>

        * gtk/gtkrecentchooser.c:
        * gtk/gtkuimanager.c: Fix issues found by pltcheck

2009-01-23  Matthias Clasen  <>

        * NEWS: Updates

2009-01-23  Matthias Clasen  <>

        Bug 560228 â?? Add "action-controller" property to GtkWidgetClass

        Rework the way actions and proxies interact, to make the
        interaction less ad hoc, more extensible, and better suited
        for support in GUI builders like glade.

        To be used as a proxy, a widget must now implement the
        GtkActivatable interface, and GtkActivatable implementations
        are responsible for syncing their appearance with the action
        and for activating the action.

        All the widgets that are commonly used as proxies implement
        GtkActivatable now.

        Patch by Tristan van Berkom.

        * gtk/gtkactivatable.[hc]: The GtkActivatable interface.

        * gtk/gtkbutton.c:
        * gtk/gtktogglebutton.c:
        * gtk/gtktoolitem.c:
        * gtk/gtktoolbutton.c:
        * gtk/gtktoggletoolbutton.c:
        * gtk/gtkmenuitem.c:
        * gtk/gtkcheckmenuitem.c:
        * gtk/gtkimagemenuitem.c:
        * gtk/gtkradiomenuitem.c:
        * gtk/gtkrecentchooserprivate.h:
        * gtk/gtkrecentchooser.c:
        * gtk/gtkrecentchooserdefault.c:
        * gtk/gtkrecentchoosermenu.c: Implement GtkActivatable.
        * gtk/gtkaction.[hc]: Move appearance synchronization to
        GtkActivatable implementations.

        * gtk/gtkradioaction.c:
        * gtk/gtkrecentaction.c:
        * gtk/gtktoggleaction.c:
        * gtk/gtkactiongroup.c: Adapt.

        * gtk/gtk.h: Include gtkactivatable.h
        * gtk/gtk.symbols: Add new functions

2009-01-23  Matthias Clasen  <>

        Bug 567124 â?? proposal to delay doing something related to
        immodule until widgets realized

        Delay setting up immodules until the widget is realized.
        Patch by Akira Tagoh

        * gtk/gtktextview.c: Don't set up im stuff if the widget
        is not realized.

        * gtk/gtkimmodule.c: Assert that we have a window.

2009-01-23  Matthias Clasen  <>

        Skip Desktop if it equals the home folder
        Patch by Christian Dywan

        * gtk/gtkfilechooserdefault.c (shortcuts_append_desktop): Skip
        Desktop if it equals the home folder.

2009-01-23  Matthias Clasen  <>

        Bug 536965 â?? GtkPlug: crash on theme change

        Keep GtkPlug in sync with the global list of toplevels.
        Patch by Federico Mena Quintero

        * gtk/gtkwindow.h:
        * gtk/gtkwindow.c (_gtk_window_set_is_toplevel): New internal
        function used when a GtkPlug parents/unparents itself by an
        in-process GtkSocket.  This keeps the plug's GTK_TOPLEVEL flag in
        sync with the global toplevel_list.

        * gtk/gtkplug.c (gtk_plug_set_is_child): Call
        _gtk_window_set_is_toplevel() to keep the toplevel list updated,
        instead of just setting/unsetting the GTK_TOPLEVEL flag.

2009-01-23  Matthias Clasen  <>

        Bug 568744 â?? Spellfixes in GtkTreeView's documentation

        * gtk/gtktreeview.c: Fix typos in the docs.

2009-01-23  Matthias Clasen  <>

        Bug 567761 â?? Spellfixes in GTK+ documentation

        * gdk/x11/gdkselection-x11.c:
        * gtk/gtktestutils.c: Fix typos in the docs.

2009-01-23  Matthias Clasen  <>

        Bug 567021 â?? gtkimage accessors docs

        * gtk/gtkimage.c: Improve docs by mentioning allowed NULL values.
        Patch by Christian Persch

2009-01-23  Matthias Clasen  <>

        Bug 566535 â?? gtk_widget_get_snapshot does not work if double buffered
        is disabled

        * gtk/gtkwidget.c (gtk_widget_get_snapshot): Use a different approach
        to snapshotting that is in line with what is done in the client-side
        windows branch, and that works for widgets regardless if they are
        double-buffered or not. Patch by Alex Larsson.

        * gdk/gdkwindow.c (_gdk_window_calculate_full_clip_region): Clip
        to the parent.

2009-01-22  Federico Mena Quintero  <>

        * gtk/gtkfilechooserentry.c (autocomplete): Relax the assertion;
        just do nothing if the folder is not loaded or if the cursor position
        is not at the end of the text.  A very slow-to-load folder can get
        us into the latter state if the user starts typing first.

2008-01-22  Matthias Clasen  <>

        * gtk/gtkaction.c: Revert the last change, since it breaks

2009-01-22  Federico Mena Quintero  <>

        Fix the computation of "complete but unique" in
        GtkFileChooserEntry.  Fix the case where "/" was not appended to a
        unique directory name during explicit Tab completion.

        * gtk/gtkfilechooserentry.c (maybe_append_separator_to_file):
        Return whether anything was appended as well as the new string
        (find_common_prefix): Oops, only turn on
        is_complete_not_unique_ret if we had a unique match!
        (append_common_prefix): If we appended a directory separator, we
        *did* expand the common prefix, so we are not in the "nothing
        inserted" case.

2009-01-22  Federico Mena Quintero  <>

        Return an error code when refreshing the entry from the user's
        input.  We use this in the completion code to know when completion
        can't happen due to (for example) having a non-local URI in a file
        chooser that is local_only=TRUE.

        Also, we start maintaining an invariant that
        chooser_entry->current_folder_file != NULL implies that:

                * what the user entered is valid

                * we are loading that folder 
(chooser_entry->load_folder_cancellable != NULL)

                * or we are done loading that folder, or we have a handle
                to it at least (chooser_entry->current_folder != NULL)

        The invariant also says that all of the above are NULL (and
        chooser_entry->current_folder_file == NULL) implies that the user
        typed something invalid.  This makes
        _gtk_file_chooser_entry_get_current_folder() not able to return
        an invalid folder.

        * gtk/gtkfilechooserentry.c (RefreshStatus): New enum.
        (refresh_current_folder_and_file_part): Return a RefreshStatus.
        We filter out incomplete hostnames here (typing
        "sftp://incompl[tab]"; will error out), as well as completely
        unparsable input.
        (start_explicit_completion): Process the result from refresh...().
        Here we present the actual feedback about only being able to
        display local folders for local_only=TRUE.
        (commit_completion_and_refresh): Don't do anything with the result
        of refresh...(), since this function doesn't get called during
        completion-related interaction.
        (start_autocompletion): Process the result from refresh...().  We
        only do completion in the REFRESH_OK case.  For the error cases,
        we don't do anything, as this is autocompletion and must not
        result in non-asked-for errors popping up.
        (discard_loading_and_current_folder_file): Factor out function to
        cancel the cancellable and discard the current_folder_file,
        i.e. to reset the invariant to the "nothing valid is loaded" case.
        (gtk_file_chooser_entry_dispose): Use
        (reload_current_folder): Likewise.
        (refresh_current_folder_and_file_part): Likewise, and ensure that
        the error cases result in the invariant being held.
        (start_loading_current_folder): Check if the folder to be loaded
        is non-native for the local_only=TRUE case; if so, return an error
        as we are configured to load only local folders.
        (reload_current_folder): Pass on errors from
        start_loading_current_folder().  Tighten the preconditions, as we
        are sure that we can only receive non-NULL folder-files to load.
        (refresh_current_folder_and_file_part): Pass on errors from
        reload_current_folder().  At the very end, assert the invariant
        described above.

2009-01-22  Matthew Barnes  <>

        Bug 568334 â?? Constructor properties for GtkAction

        * gtk/gtkaction.c (gtk_action_class_init): Make all properties
        G_PARAM_CONSTRUCT except "action-group".

2009-01-22  Michael Natterer  <>

        * gtk/gtkicontheme.c (gtk_icon_theme_has_icon): g_return_if_fail()
        on icon_name != NULL so we get a warning instead of a crash here.

2009-01-21  Matthias Clasen <>

        * NEWS: Updates

2009-01-21  Matthias Clasen <>

        * gtk/gtkentry.c: Don't show windows that may not exist

2009-01-21  Matthias Clasen <>

        * gtk/gtklabel.c: Implement select-by-words for selectable labels.

2009-01-21  Tor Lillqvist  <>

        * gdk/win32/gdkcursor-win32.c: Rename static local functions and
        variables to not have any unnecessary _ or _gdk_win32 prefix.

        * gdk/win32/gdkcursor-win32.c (hcursor_from_type): Implement
        creating a GDK_BLANK_CURSOR.

2009-01-21  Matthias Clasen  <>

        * gtk/gtkentry.c: Change the Caps Lock warning to the more
        neutral "Caps Lock is on". Requested by Wouter Bolsterlee

2009-01-21  Matthias Clasen  <>

        Bug 568552 â?? gtk_combo + gtk entry in invisible mode takes 100% cpu

        * gtk/gtkentry.c: Fix an expose loop caused by raising windows out
        of an expose handler. Also, don't show the 'Caps Lock' warning for
        activated input methods, since that makes it permanently shown
        for some locales. It should not be that necessary, now that we
        do show preedit text even in password entries. Pointed out by
        Frederic Crozat.
        (start_loading_current_folder): Check if the folder to be loaded
        is non-native for the local_only=TRUE case; if so, return an error
        as we are configured to load only local folders.
        (reload_current_folder): Pass on errors from
        start_loading_current_folder().  Tighten the preconditions, as we
        are sure that we can only receive non-NULL folder-files to load.
        (refresh_current_folder_and_file_part): Pass on errors from
        reload_current_folder().  At the very end, assert the invariant
        described above.
        (start_explicit_completion): Add comments for translators, to
        explain the purpose of the various feedback messages used during

2009-01-21  Federico Mena Quintero  <>

        * gtk/gtkfilechooserdefault.c (save_widgets_create): Set
        local_only on the location entry when we create it...
        (set_local_only): ... and set it here only if the location entry

2009-01-21  Marek Kasik  <>

        Bug 561801 - "scheduled printing" doesn't function as expected

        * gtk/gtkprintunixdialog: Add tooltip.
        * modules/printbackends/cups/gtkprintbackendcups.c: Add conversion
          from local time to utc time for scheduled printing.

2009-01-20  Federico Mena Quintero  <> -
        GtkFileChooserEntry should handle URIs

        * gtk/gtkfilesystem.c (_gtk_file_system_parse): Detect URI schemes
        and parse the full URI.
        (has_uri_scheme): New function, stolen from the old

        Patch by Carlos Garnacho <>:

        * gtk/gtkfilechooserentry.c (discard_current_folder): New
        function, factored out for when we need to get rid of the
        (gtk_file_chooser_entry_dispose): Use discard_current_folder().
        (finished_loading_cb): Fix prototype.
        (load_directory_get_folder_callback): Discard the completion
        store, as well as clearing the completion feedback, if we find an
        error while loading the folder.  Also, use
        (reload_current_folder): Use discard_current_folder().

        Patch by Carlos Garnacho <> - add a 
        property to GtkFileChooserEntry:

        * gtk/gtkfilechooserentry.c (struct _GtkFileChooserEntry): Add a
        local_only field.
        (_gtk_file_chooser_entry_init): Default to local_only being true.
        (start_explicit_completion): Don't allow completion of non-native
        files if local_only is turned on.
        (start_loading_current_folder): Don't start loading non-native
        folders if local_only is turned on.
        (_gtk_file_chooser_entry_set_local_only): New function.
        (_gtk_file_chooser_entry_get_local_only): New function.

        * gtk/gtkfilechooserentry.h (_gtk_file_chooser_entry_set_local_only,
        _gtk_file_chooser_entry_get_local_only): New prototypes.

        * gtk/gtkfilechooserdefault.c (set_local_only): Set the local_only
        property on the entry.

        Fix completion so it doesn't pop up for every character in a URI

        * gtk/gtkfilechooser.h (GtkFileChooserError): Add a

        * gtk/gtkfilesystem.c (_gtk_file_system_parse): Return an
        "incomplete hostname" error if the user has not typed a full
        hostname yet in an URI.

        * gtk/gtkfilechooserentry.c (append_common_prefix): If we get an
        incomplete hostname, just don't pop up an error, since that is a
        transient state and the user doesn't need to be notified about it.
        (refresh_current_folder_and_file_part): Don't revert to showing
        the base folder if we have an incomplete hostname.
        (reload_current_folder): Handle the passed folder being NULL, even
        if we must force a reload.  Also, reload the folder if we didn't
        have a cancellable for it (i.e. we hadn't started to load it

2009-01-20  Matthias Clasen  <>

        * gtk/gtk.symbols:
        * gtk/gtkaction.[hc]: Add setters and getters for GtkAction
        properties, in preparation for bug 560228.

2009-01-21  Christian Dywan  <>

        Bug 567413 â?? GtkComboBoxEntry doesn't emit "changed" signal
        on entry editing

        * gtk/gtkcombobox.c (gtk_combo_box_set_active): Return only if index
        is set. Patch by Carl-Anton Ingmarsson.

2009-01-20  Torsten Schoenfeld  <>

        * gtk/gtkstyle.c: Add a "Since: 2.16" tag to gtk_style_get.

2009-01-20  Matthias Clasen  <>

        Bug 565656 â?? Add marks to scales

        * gtk/gtkrange.[hc]: Add internal api to define 'stop values'
        that have a little resistance when dragging the slider over it.

        * gtk/gtk.symbols:
        * gtk/gtkscale.[hc] (gtk_scale_add_mark): New function to add
        a 'mark' to a scale, which will draws a tick, plus optionally
        some text, and makes the value a stop value.
        (gtk_scale_clear_values): Removes all marks.

        * tests/testscale.c: Test for marks on scales
        * tests/ Integrate it

2009-01-19  Matthias Clasen  <>

        * gtk/gtkentry.c:
        * gtk/gtkfilechooserentry.c:
        * gtk/gtktextview.c: Replace several implementation of
        blank cursor setting by GDK_BLANK_CURSOR.

2009-01-19  Matthias Clasen  <>

        * gdk/gdkcursor.c:
        * gdk/gdkwindow.c: Update docs on how to create blank cursors.

2009-01-19  Matthias Clasen  <>

        Cache cursors to avoid libXcursor theme lookup overhead.
        Patch by David Alan Gilbert.

        * gdk/gdkcursor.h: Add a GDK_BLANK_CURSOR cursor type.

        * gdk/x11/gdkcursor-x11.c: Cache font cursors and named cursors.

        * gdk/x11/gdkprivate-x11.h:
        * gdk/x11/gdkcdisplay-x11.c: Remove cached cursors when a
        display if finalized.

2009-01-18  Matthias Clasen  <>

        Bug 568263 â?? gtk can't recognize the wrong X Selection TARGETS'
        type "TARGETS" by java applications

        * gtk/gtkselection.c (gtk_selection_data_get_targets): Accept
        a type of TARGETS instead of ATOM, too. Based on a patch by
        Peng Wu.

2009-01-18  Matthias Clasen  <>

        Bug 568233 â?? Wrong statement about GtkEntry's "activate" signal

        * gtk/gtkentry.c:
        * gtk/gtklabel.c:
        * gtk/gtktextview.c: Correct some copy-and-paste mistakes in
        keybinding signal docs. Pointed out by Pascal Terjan.

2009-01-18  Matthias Clasen  <>

        * gtk/gtk.symbols:
        * gtk/gtkentry.[hc]: Add properties and getters for icon tooltips.

2009-01-18  Matthias Clasen  <>

        Bug 563280 â?? stock items & translation context

        * gtk/gtkstock.c: Solve the msgctxt problem a bit more
        elegantly, and add some hints about this to the docs of
        gtk_stock_set_translate_func. Proposed by Christian Persch

2009-01-18  Matthias Clasen  <>

        Bug 568196 â?? Please change context of Forward stock label

        * gtk/gtkstock.c: Reinstate separate translation contexts for
        navigation and media labels (these were lost in the transition
        to msgctxt. Pointed out by Gabor Kelemen.

2009-01-18  Matthias Clasen  <>

        Bug 567887 â?? gtk_entry_get_storage_type() should be

        * gtk/gtk.symbols:
        * gtk/gtkentry.[hc]: Use the last chance to get the api right,
        and rename things for consistency, requested by Murray Cumming.
        In detail,
        gtk_entry_get_stock -> gtk_entry_get_icon_stock
        gtk_entry_get_pixbuf -> gtk_entry_get_icon_pixbuf
        gtk_entry_get_gicon -> gtk_entry_get_icon_gicon
        gtk_entry_get_storage_type -> gtk_entry_get_icon_storage_type
        ::prelight -> ::icon-prelight
        ::pixbuf-primary -> ::primary-icon-pixbuf
        ::stock-primary -> ::primary-icon-stock
        ::icon-name-primary -> ::primary-icon-name
        ::gicon-primary-> ::primary-icon-gicon
        ::storage-type-primary -> ::primary-icon-storage-type
        ::activatable->primary -> ::primary-icon-activatable
        ::sensitive-primary -> ::primary-icon-sensitive
        (and similar for secondary properties)

2009-01-18  Matthias Clasen  <>

        Bug 567655 â?? gtk_status_icon_set_tooltip_text and
        gtk_status_icon_set_tooltip_markup should use gchar*

        * gtk/gtkstatusicon.h: Use "const gchar*" in new tooltip api.
        Pointed out by Torsten Schoenfeld.

2009-01-18  Matthias Clasen  <>

        * demos/gtk-demo/search_entry.c: End the search if the window
        is closed.

        * demos/gtk-demo/search_entry.c:
        * demos/gtk-demo/entry_completion.c: Group the entry examples
        under "Entry".

2009-01-18  Christian Dywan  <>

        Remove a redundant include from gtktoolbar.c

        * gtk/gtktoolbar.c: Remove second inclusion of gtktoolbar.h.
        Patch by Enrico Tröger.

2009-01-16  Cody Russell  <>

        Bug 567944 â?? [Win32] Sorted treeview columns can be unreadable

        * modules/engines/ms-windows/msw_style.c: Draw selected treeview
        cells according to treeview focus, but ignore whether it is in
        a sorted column or not.  Otherwise the intersection of a selected
        row and a sorted column looks very strange if the treeview does
        not have focus.

2009-01-16  Daniel Elstner  <>

        * modules/input/gtkimcontextmultipress.[ch]: Remove the namespace
        prefix from functions defined locally only.  Clean up the code and
        change indentation to match the GTK+ coding style.
        (_GtkImContextMultipress::key_sequences): Replace array of pointers
        by GHashTable.  Adapt the implementation accordingly.
        (passthrough_enabled_for_window): Remove.  The passthrough hack is
        no longer necessary thanks to the recently introduced "im-module"
        property of GtkEntry and GtkTextView.
        (load_config): Rework to implement an improved configuration file
        format.  Just fetch all keys of the group instead of expecting the
        keys to be named a certain way.  This also allows interpreting the
        config key itself as the GDK key name to bind the character sequence
        to, thereby making it independent of the sequence itself.

        * modules/input/im-multipress.conf: New example configuration using
        the new syntax.  The example sequences are now bound to the numeric
        keypad and imitate the behavior of a standard mobile phone.

2009-01-15  Murray Cumming  <>

        * gtk/gtkimcontext.c: documentation description: Mention the various
        properties and the environment variable, with links to their
        * gtk/gtksettings.c:
        * gtk/gtktextview.c: Make the im-module property documentation more

2009-01-15  Diego Escalante Urrelo  <>

        Bug 562701 â?? GtkEntryCompletion popup sizes its rows wrong
        when they span for more than one line.

        Don't assume actions and results have equal height, this causes
        negative size requisitions when results are more than one
        line tall.

        * gtk/gtkentrycompletion.c: change the formula used to calculate
        the size of the completion popup.

2009-01-14  Federico Mena Quintero  <>

        Remember the file chooser's geometry across invocations.

        * gtk/gtkfilechoosersettings.h (struct _GtkFileChooserSettings):
        New fields geometry_x, geometry_y, geometry_width, geometry_height.
        (_gtk_file_chooser_settings_get_geometry): New prototype.
        (_gtk_file_chooser_settings_set_geometry): New prototype.

        * gtk/gtkfilechoosersettings.c (GEOMETRY_X_KEY, GEOMETRY_Y_KEY,
        (ensure_settings_read): Read the geometry keys.
        (_gtk_file_chooser_settings_save): Save the geometry keys.
        (_gtk_file_chooser_settings_init): Initialize the geometry keys to
        "don't have this value".
        (_gtk_file_chooser_settings_get_geometry): New public function.
        (_gtk_file_chooser_settings_set_geometry): New public function.

        * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_map):
        Don't change the default size in ::map() so we don't flicker...
        (gtk_file_chooser_default_realize): ... so do it in ::realize()
        instead, when the window is not yet visible.  This avoids a
        dialog-that-resizes when you first pop up the file chooser.
        (emit_default_size_changed): Just emit the signal; don't check for
        the widget's state so we can be emitted during the initial
        ::realize() when we are not mapped yet.
        (update_preview_widget_visibility): Only emit default_size_changed
        if the widget is not mapped, to avoid resizing the dialog while it
        is visible.

        * gtk/gtkfilechooserdialog.c
        (file_chooser_widget_default_size_changed): Simply resize the
        dialog to the default size without any fancy clamping.  Also,
        leave in place ifdef-ed out code to restore the file chooser's
        position in addition to its size.  The code to restore the
        position doesn't quite work yet, but we'll leave it in as a

        * gtk/gtkfilechooserdefault.c (save_dialog_geometry): New function.
        (settings_save): Save the dialog's geometry.
        (gtk_file_chooser_default_get_default_size): Load the geometry
        from the settings.  If it was already saved, return that instead
        of computing an ad-hoc size.

2009-01-13  Matthias Clasen  <>

        Bug 450716 â?? New API to change global IM

        Requested by Daniel Elstner.

        * gtk/gtk.symbols:
        * gtk/gtkimmulticontext.[hc] (gtk_im_multicontext_set_context_id):
        New function to set the context id on a GtkIMMulticontext.

        * gtk/gtkentry.c:
        * gtk/gtktextview.c: Add a ::im-module property that can be
        set to override the global setting for the im module to be used.

2009-01-13  Christian Dywan  <>

        Bug 566532 â?? GtkScaleButton implementation of GtkOrientable

        * gtk/gtk.symbols:
        * gtk/gtkscalebutton.c (gtk_scale_button_class_init),
        * gtk/gtkscalebutton.h: Deprecate gtk_scale_button_get_orientation
        in favour of implementing GtkOrientable. Patch by Bruce Cowan.

2009-01-13  Tor Lillqvist  <>

        Bug 164002 - query scripts don't work uninstalled on windows

        * gtk/gtkmain.c (_gtk_get_libdir): If the gtk DLL is in a ".libs"
        folder, assume we are running uninstalled, and use the
        configure-time GTK_LIBDIR.

2009-01-12  Matthias Clasen  <>

        * NEWS: Refer to tray icon spec, instead of a random email.

2009-01-12  Matthias Clasen  <>

        * gtk/gtkwindow.c (gtk_window_set_icon_name): Don't cause lots
        of X traffic when the icon name doesn't actually change. Some
        apps like to reset their window icon frequently, without actually
        changing the icon name...

2009-01-12  Paolo Borelli  <>

        Bug 492794 â?? Pasting external text at end of view yields wrong
        scrolling to mark

        * gtk/gtktextbuffer.[ch]:
        * gtk/gtktextview.c:
        Add a "paste-done" signal and use it to propelry scroll the
        view at the end of the pasted text in the case of an async
        paste. Patch by Ignacio Casal Quintero based on a patch by
        Yevgen Muntyan.

2009-01-12  Tor Lillqvist  <>

        * gdk/gdk.c (gdk_arg_debug_cb) (gdk_arg_no_debug_cb): A
        GOptionArgFunc should return gboolean and take also a GError
        pointer parameter, so make these two functions do that. Return
        FALSE (and set the GError) if the parsing of the debug string
        failed completely. Note that g_parse_debug_string() doesn't really
        have any way to return parsing status, and accepts partially
        incorrect strings, though.

2009-01-12  Claudio Saavedra  <>

        Bug 567468 â?? no check for trailing != NULL in

        * gtk/gtktextlayout.c: (gtk_text_layout_get_iter_at_position):
        Check for trailing to be non-NULL.
        * gtk/gtktextview.c: (gtk_text_view_get_iter_at_position): document
        that trailing may be NULL.

2009-01-11  Tor Lillqvist  <>

        Bug 523554 - Copy from GIMP to Word broken

        * gdk/win32/gdkselection-win32.c
        (_gdk_win32_selection_convert_to_dib): The DIB stored in the
        Windows Clipboard was for some unknown reason truncated by one
        byte. Don't do that.

2009-01-11  Matthias Clasen  <>

        Bug 567024 â?? gtktoolbutton doesn't create right proxy menu item
        image with GIcon

        * gtk/gtktoolbutton.c: Properly create a menu proxy from a GIcon.
        Patch by Christian Persch

        * tests/testtoolbar.c: Add an example with a GIcon

2009-01-09  Christian Dywan  <>

        Fail in gdk_window_new if _gdk_window_new failed

        * gdk/gdkwindow.c (gdk_window_new): Add g_return_val_if_fail
        in case _gdk_window_new is NULL. Approved by Tim Janik

2009-01-08  Matthias Clasen  <>

        Bug 566733 â?? Add GIcon to GtkAction, GtkToolButton

        * gtk/gtkaction.c: Add a ::gicon property to GtkAction and set the
        icon from it if specified. The stock icon is preferred if a stock id
        is given. Based on a patch by A. Walton

2009-01-04  Matthias Clasen  <>

        * gtk/stock-icons/{16,24}/gtk-caps-lock-warning.png: New icons
        * gtk/gtkstock.h: Add GTK_STOCK_CAPS_LOCK_WARNING.
        * gtk/gtkiconfactory.c (get_default_icons): Register the stock icon.
        * gtk/gtkentry.c (show_capslock_feedback): Use the new stock icon.

2009-01-05  Tor Lillqvist  <>

        Bug 566628 - gdk_display_close always asserts on win32

        * gdk/win32/gdkdisplay-win32.c
        (_gdk_windowing_set_default_display): Allow also a NULL parameter
        in the g_assert(). Still don't actually do anything in this
        function, though.

2009-01-04  Matthias Clasen  <>

        Bug 566568 â?? gtk_tree_model_get_value docs typo

        * gtk/gtktreemodel.c (gtk_tree_model_get_value): Fix a typo
        in the docs, pointed out by Christian Persch.

2009-01-04  Matthias Clasen  <>

        Bug 566391 â?? gtk_about_dialog_set_url_hook should activate
        pre-existing website links

        * gtk/gtkaboutdialog.c: Make setting website, website-label and
        url hook work independent of their order. Reported by Steven

2009-01-03  Matthias Clasen  <>

        * gdk/x11/gdkscreen-x11.h:
        * gdk/x11/gdkevents-x11.c (fetch_net_wm_check_window): Recheck
        _NET_SUPPORTING_WM_CHECK every now and then to avoid getting
        stuck on the id of a former wmcheck window that got reused by
        another client (see RH bug 471927)

2009-01-03  Matthias Clasen  <>

        * gtk/gtktreesortable.c: Improve the docs

        * gtk/gtktreemodelsort.c: Don't assert when using the "unsorted"
        sort column id.

2009-01-02  Matthias Clasen  <>

        Bug 565998 â?? configure script doesn't check for cairo-xlib.pc

        * Check for cairo-xlib when looking for
        gdk dependencies. Requested by Alberto Ruiz

2009-01-02  Matthias Clasen  <>

        Bug 566334 â?? compile failure for gtk+ on Mac OS X

        * gtk/gtkstatusicon.c: Fix the build on OS X.
        Reported by Bart Cortooms.

2009-01-02  Matthias Clasen  <>

        Bug 566083 â?? Icon pixmap hardcoded during DnD

        * gtk/gtkwidget.c:
        * gtk/gtkentry.c: Add docs about using ::drag-begin for setting
        a custom drag icon. Reported by Xan Lopez

2009-01-01  Matthias Clasen  <>

        * Bump version

        * === Released 2.15.0 ===

2009-01-01  Matthias Clasen  <>

        * gtk/gtkentry.c (gtk_entry_set_icon_sensitive): Fix default

        * gtk/tests/builder.c: Clean up asserts, make domain
        test work with current GtkBuilder behaviour.

        * Makefile.decl: Start Xvfb with -ac -noreset to try
        and get the gui tests working.

2009-01-01  Matthias Clasen  <>

        * gtk/gtk.symbols: Add a few forgotten symbols
        * gtk/gtkprintoperation.c:
        * gtk/gtktrayicon-x11.c: Make some functions static

2008-12-31  Matthias Clasen  <>

        * NEWS: Updates

2008-12-31  Matthias Clasen  <>

        * gtk/gtk.symbols:
        * gtk/gtkruler.[hc]: Some more

2008-12-31  Matthias Clasen  <>

        * gtk/gtk.symbols:
        * gtk/gtkpaned.[hc]:
        * gtk/gtkscale.[hc]:
        * gtk/gtkscrollbar.[hc]:
        * gtk/gtkseparator.[hc]: Keep these all abstract for now.

2008-12-30  Matthias Clasen  <>

        * gtk/gtkentry.c: Rename the icon signals to ::icon-press and
        ::icon-release to avoid clashes with the existing SexyIconEntry
        signals. Also annotate the GdkEvent parameters as static-scope.

        * tests/testentryicons.c: Adapt
        * demos/gtk-demo/search-entry.c: Adapt

2008-12-30  Matthias Clasen  <>

        Bug 565846 â?? "va_end(args);" should be added into gtk_tree_store_new

        * gtk/gtktreestore.c (gtk_tree_store_new): Add a missing
        va_end() call. Pointed out by Jiwon Lee.

2008-12-30  Matthias Clasen  <>

        * gtk/gtkentry.c: Code cleanups; get rid of get_text_area_size,
        replace get_icon_allocation by get_icon_allocations, don't
        pass allocation to place_windows; other stylistic changes to
        the icon-related code.

2008-12-30  Matthias Clasen  <>

        * gtk/gtkentry.c: Avoid size allocation loops.

2008-12-30  Matthias Clasen  <>

        * gtk/gtkentry.c: Fix errors in property definitions and
        get_property implementation.

2008-12-30  Matthias Clasen  <>

        * gtk/gtkentry.c: Redo the Caps Lock warning using an icon.

2008-12-30  Matthias Clasen  <>

        Bug 558694 â?? Paned window splitter keynav broken

        * gtk/gtkpaned.c (get_child_panes): Don't add unrealized

2008-12-30  Matthias Clasen  <>

        * gtk/gtkstyle.c:
        * gtk/gtkmenutooltbutton.c:
        * gtk/gtkprintoperationpreview.c: Doc additions

2008-12-29  Matthias Clasen  <>

        * gtk/gtkiconview.c:
        * gtk/gtklabel.c:
        * gtk/gtkentry.c:
        * gtk/gtktextview.c:
        * gtk/gtkeditable.c:
        * gtk/gtktextbuffer.c: Doc additions.

2008-12-29  Tor Lillqvist  <>

        * gtk/gtk.symbols: Add missing symbols from gtkentry.c.

2008-12-28  Matthias Clasen  <>

        * gtk/gtkwindow.c:
        * gtk/gtkstyle.c: Doc additions

2008-12-28  Matthias Clasen  <>

        * gtk/gtk[hv]scrollbar.c: Document gtk_[hv]scrollbar_new.

2008-12-28  Matthias Clasen  <>

        * gtk/gtkwidget.c: Document gtk_mnemonic_activate.

2008-12-28  Matthias Clasen  <>

        * gtk/gtktextlayout.c: Un-doc-commentize non-public api

2008-12-28  Matthias Clasen  <>

        * gtk/gtkprogress.h: Fix a typo

2008-12-28  Matthias Clasen  <>

        * gtk/gtkhsv.c:
        * gtk/gtkentry.c: Doc fixes

2008-12-28  Matthias Clasen  <>

        * gtk/gtkwidget.c:
        * gtk/gtktextutil.c: Un-doc-commentize non-exported functions
        to make gtk-doc happy.

2008-12-28  Matthias Clasen  <>

        * gtk/gtkscale.c:
        * gtk/gtkimagemenuitem.c: Doc fixes

2008-12-28  Matthias Clasen  <>

        * gtk/gtkeditable.h: Match parameter names to make gtk-doc happy.

2008-12-28  Matthias Clasen  <>

        * tk/gtkfontsel.c: Merge docs inline.

2008-12-28  Matthias Clasen  <>

        * gtk/gtkprintsettings.c:
        * gtk/gtkbindings.c:
        * gtk/gtkstyle.c: Doc fixes

2008-12-28  Matthias Clasen  <>

        * gtk/gtkscrolledwindow.c:
        * gtk/gtkscale.c: Merge docs inline.

2008-12-28  Ryan Lortie  <>

        small fix for "Paned Window Widgets" example

        * docs/tutorial/gtk-tut.sgml: use gtk_container_add rather than
        add_with_viewport for putting a GtkTreeView into a ScrolledWindow

        Spotted by Benjamin Herrenschmidt

2008-12-28  Matthias Clasen  <>

        * gtk/gtkimmodule.c:
        * gtk/gtkseparatortoolitem.c: Doc fixes

        * gtk/gtkfontsel.c:
        * gtk/gtkeditable.c: Merge docs inline.

2008-12-28  Matthias Clasen  <>

        * gtk/gtkhsv.c:
        * gtk/gtkwidget.c:
        * gtk/gtkaccelgroup.c: Documentation fixes

        * gtk/gtkstatusicon.c:
        * gtk/gtkentry.c:
        * gtk/gtkeditable.[hc]: Make parameter names match to make gtk-doc

2008-12-27  Matthias Clasen  <>

        * gtk/gtkentry.c: Expand the docs some more.

2008-12-26  Matthias Clasen  <>

        * gtk/gtkentry.c: Don't emit ::icon-pressed on nonactivatable
        icons. Fix up docs to match actual api.

        * tests/testentryicons.c: Reshuffle tests a bit. Add a DND test.

2008-12-26  Matthias Clasen  <>

        * gtk/gtkentry.c: Fix interaction between icons and widget sensitivity.
        Also fix a few typos.

        * tests/testentryicons.c: Add property editors.
        * tests/ Glue

2008-12-26  Matthias Clasen  <>

        * gtk/gtkentry.c: Allow builtin icons when loading themed icons,
        and don't leak a GtkIconInfo.

2008-12-26  Matthias Clasen  <>

        * gtk/gtkentry.c: Emit ::icon-pressed regardless which button was
        pressed. Also make it explicit in the signal signature that the
        position parameter is a GtkEntryIconPosition.

2008-12-26  Matthias Clasen  <>

        * gtk/gtkentry.c: Emit property notification for the text-length

2008-12-26  Matthias Clasen  <>

        * demos/gtk-demo/search_entry.c: Add a demo for new entry features.
        * demos/gtk-demo/ Glue

2008-12-25  Matthias Clasen  <>

        * gdk/gdkapplaunchcontext.c:
        * gdk/gdkkeys.c:
        * gdk/x11/gdkdnd-x11.c:
        * gdk/x11/gdkkeyx-x11.c:
        * gdk/x11/gdktestutils-x11.c: Typo fixes and other small
        doc improvements.

2008-12-23  Li Yuan  <>

        * gtk/gtkiconview.c: (gtk_icon_view_accessible_model_row_changed):
        Bug #549251. No need to set name if there is no a11y item object.

2008-12-21  Yair Hershkovitz  <>

        Bug 565203: RTL locales: icons are misplaced when horizontal
                    gtkiconview is contained in a gtkscrolledwindow.

        * gtk/gtkiconview.c (gtk_icon_view_layout_single_row):
        Fix horizontal icon positions when in RTL locale.

2008-12-19  Matthias Clasen  <>

        * NEWS: Update

2008-12-19  Matthias Clasen  <>

        Bug 564881 â?? gtkstatusicon.c: 'event' bug again

        * gtk/gtkstatusicon.c (button_callback): Fix the build.
        Patch by Christian Dywan.

2008-12-19  Cody Russell  <>

        Bug 85292 â?? add an icon to gtkentry

        * gtk/gtkmarshalers.list: Add VOID:INT,BOXED
        * tests/testentryicons.c: Initial icon entry test
        * tests/ Add testentryicons
        * gtk/gtkentry.[ch]: Add API for setting primary/secondary icons
        and other features related to them.

2008-12-19  Marek Kasik  <>

        Bug 339318 - Allow page rendering to (optionally) happen in a thread

        * gtk/gtk.symbols: API change
        * doc/reference/gtk/gtk-sections.txt: API change
        * gtk/gtkprintoperation-private.h
        * gtk/gtkprintoperation.h
        * gtk/gtkprintoperation.c: Adds 2 new functions
             - Sets up the GtkPrintOperation to wait for calling of
               gtk_print_operation_draw_page_finish() from application. It can
               be used for drawing page in another thread.
               This function must be called in the callback of "draw-page"
             - Signalize that drawing of particular page is complete.
               It is called after completion of page drawing (e.g. drawing
               in another thread).
               If gtk_print_operation_set_defer_drawing() was called before,
               then this function has to be called by application. In another
               case it is called by the library itself.

2008-12-15  Matthias Clasen  <>

        * gtk/gtkprintunixdialog.c: Don't export emit_ok_response

2008-12-15  Tomas Bzatek  <>

        * gtk/gtkfilechooserdefault.c: (list_row_activated):
        * gtk/gtkfilesystem.c: (_gtk_file_info_consider_as_directory):
        Mask G_FILE_TYPE_SHORTCUT as a directory (#561494)

2008-12-13  Matthias Clasen  <>

        * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
        Mount the enclosing volume if the folder we're switching to is not
        mounted. Patch by Tomas Bzatek, based on work by Carlos Garnacho

2008-12-13  Matthias Clasen  <>

        Bug 561494 â?? FileChooser network browsing and authentication support

        * gtk/gtkfilesystem.[hc] (_gtk_file_info_consider_as_directory):
        Privately export this method. It classifies directories and mountables
        the same.

        * gtk/gtkfilesystem.c (enclosing_volume_mount_cb): Silently drop
        G_IO_ERROR_ALREADY_MOUNTED error for gvfs backends without visible

        * gtk/gtkfilesystemmodel.c:
        * gtk/gtkfilechooserbutton.c:
        * gtk/gtkfilechooserentry.c:
        * gtk/gtkfilechooserdefault.c: Use the new function instead of
        direct checks for G_FILE_TYPE_DIRECTORY throughout.

2008-12-13  Matthias Clasen  <>

        Bug 562579 â?? Remove error dialog when directory does not exist

        * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
        Don't show an error dialog when changing to a non-existing folder,
        since this is ususally just an annoyance.

2008-12-13  Matthias Clasen  <>

        Bug 556233 â?? local-only causes G_IS_FILE warning

        * gtk/gktfilechooserdefault.c (set_local_only): Avoid a warning
        in tests. Patch by Christian Dywan

2008-12-13  Matthias Clasen  <>

        Bug 563158 â?? CellRendererProgress pulsing and progressing rows can
        not be used together

        * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_set_pulse):
        Don't try to keep state in a cell renderer between two paint
        calls. It doesn't work. Patch by Kristian Mueller

2008-12-13  Matthias Clasen  <>

        Bug 555560 â?? gtk_combo_box_set_active fails with no model

        * gtk/gtkcombobox.c: Allow out-of-order setting of model and active.
        Patch by Christian Dywan

2008-12-13  Matthias Clasen  <>

        Bug 558306 â?? Cannot build gdk (gtk+ 2.14.4) on Solaris 8

        * gdk/x11/gdktestutils-x11.c (gdk_test_simulate_button):
        Remove a C99ism. Pointed out by Eric Lamarque

2008-12-13  Matthias Clasen  <>

        Bug 549251 â?? GTK icon view accessible issue.

        * gtk/gtkiconview.c (gtk_icon_view_accessible_model_row_changed):
        Handle separate append/set for rows.  Patch by Li Yuan

2008-12-13  Matthias Clasen  <>

        Bug 556839 â?? Crash when opening a link

        * gtk/gtkstatusicon.c (gtk_status_icon_finalize): Destroy the
        image too. Patch by Carlos Garcia Campos

2008-12-13  Matthias Clasen  <>

        Bug 563751 â?? xatom cache is prefilled too late

        * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Initialize the
        XAtom cache earlier. Patch by Christian Persch

2008-12-13  Matthias Clasen  <>

        Bug 564212 â?? gtk_icon_view_accessible_model_rows_reordered explain
        new_order in the wrong way

        * gtk/gtkiconview.c (gtk_icon_view_accessible_model_rows_reordered):
        Use the new order correctly.  Patch by Li Yuan

2008-12-13  Matthias Clasen  <>

        Bug 563835 â?? Typo in gtk_widget_has_screen() docs

        * gdk/directfb/gdkwindow-directfb.c:
        * gdk/gdkwindow.c:
        * gdk/x11/gdkwindow-x11.c:
        * gtk/gtkmenushell.c:
        * gtk/gtkwidget.c:
        * gtk/tests/builder.c:
        * tests/testdnd.c: s/heirarchy/hierarchy/ in docs and comments.
        Pointed out by Wouter Bolsterlee

2008-12-12  Matthias Clasen  <>

        Bug 564066 â?? Crash in gtk_rc_parse_default_files

        * gtk/gtkrc.c (gtk_rc_parse_default_files): Handle being called
        early. Bug report by Andrés G. Aragoneses

2008-12-12  Matthias Clasen  <>

        * gtk/gtkmountoperation.c: Set an empty title on password dialogs.
        Pointed out by Máirín Duffy.

2008-12-11  Sven Herzberg  <>

        Document the "set-scroll-adjustments" signal

        Reviewed by Kristian Rietveld.

        * gtk/gtkiconview.c,
        * gtk/gtklayout.c,
        * gtk/gtktextview.c,
        * gtk/gtktreeview.c,
        * gtk/gtkviewport.c: added proper documentation for the signal

2008-12-11  Daniel Elstner  <>

        Bug 563994 â?? Input method module interface not documented

        * gtk/gtkimcontext.h: Add public/private markers.
        * gtk/gtkimcontext.c: Add section documentation which explains how
        to add a new input method module to GTK+.  Document the signals and
        virtual functions of GtkIMContextClass.
        * gtk/gtkimmodule.c: Document struct GtkIMContextInfo.
        * docs/reference/gtk/gtk-sections.txt: Add GtkIMContextClass and
        GtkIMContextInfo to section GtkIMContext.
        * docs/reference/gtk/ (IGNORE_HFILES): Remove
        gtkimmodule.h from the list in order to pick up GtkIMContextInfo.
        * docs/reference/gtk/tmpl/gtkimcontext.sgml: Remove file from
        repository since all the hand-edited content has been migrated to
        source file comments.

2008-12-10  Matthias Clasen  <>

        Bug 563991 â?? gtk_file_chooser_button_new_with_backend is deprecated
        -- but what should be used instead?

        * gtk/gtkfilechooserbutton.c: Enhanced deprecation annotation.

2008-12-10  Daniel Elstner  <>

        Maintenance of Multipress input method by Openismus GmbH:

        * modules/input/gtkimcontextmultipress.[ch]: Clean up the code
        a bit to follow the GTK+ coding style more closely.  Fix the code
        to emit "preedit-start" and "preedit-end", too, rather than only
        (GTK_IM_CONTEXT_MULTIPRESS*): Rename incorrectly spelled macros
        gtk_im_context_multipress*. Shouldn't break API or ABI as it's
        only used internally.
        * modules/input/immultipress.c: More cleanup,
        * modules/input/README.multipress: ditto.

2008-12-09  Michael Natterer  <>

        * gdk/gdk.symbols: add missing #ifndef GDK_DISABLE_DEPRECATED.

2008-12-09  Michael Natterer  <>

        * gtk/gtkcontainer.c (struct PackingPropertiesData): add missing

        * gtk/gtkcontainer.c (attributes_text_element): "value" is a
        gchar*, not const gchar*.

2008-12-07  Matthias Clasen  <>

        Bug 546378 â?? GtkAssistant page title is not translatable

        * gtk/gtkbuilderparser.c: Make gtk_builder_get_translation_domain()
        useful for subparsers.

        * gtk/gtkcontainer.c: Make the child property parser support
        translatable child properties. Patch by Antti Kaijanmäki

2008-12-07  Matthias Clasen  <>

        Bug 554274 â?? Add default hook for GtkLinkButton

        * gtk/gtklinkbutton.c: Call gtk_show_uri() if no uri hook has
        been set. Patch by Emmanuele Bassi

2008-12-07  Matthias Clasen  <>

        Bug 559325 â?? documentation for gdk_display_get_window_at_pointer()
:       is wrong

        * gdk/gdkdisplay.c (gdk_display_get_window_at_pointer): Correct
        the documentation. Patch by Paul Davis

2008-12-07  Matthias Clasen  <>

        Bug 563285 â?? test print backend does not compile

        * modules/printbackends/test/gtkprintbackendtest.c: Clean up

2008-12-07  Behdad Esfahbod  <>

        Bug 563547 â?? Update gdkx11 atom precache table

        * gdk/x11/gdkdisplay-x11.c: Add more atoms to precache.

2008-12-05  Michael Natterer  <>

        Bug 546285 â?? Allow GtkEntry to draw progress

        * gtk/gtkentry.[ch]: add new API similar to GtkProgressBar which
        allows to set the entry's progress_fraction, its progress_pulse_step
        and to let the entry's progress pulse.

        * gtk/gtk.symbols: updated.

        * tests/testgtk.c: add progress demo code to the "Entry" window.

2008-12-04  Johan Dahlin  <>

        * gtk/gtkstatusicon.c:
        Add missing space in gtk-doc deprecated syntax

2008-12-03  Simos Xenitellis  <>

        Bug 557420 â?? Some compose sequences don't work anymore (or only in
        a specific order)

        * gtk/gtkimcontextsimple.c: Update of table size, keysym boundary,
        to match the gtkimcontextsimpleseqs.h table.
        * gtk/gtkimcontextsimpleseqs.h: Update with older gtk+ compose
        sequences that went missing due to table update with upstream.
        * gtk/ Updated to include gtk-compose-lookaside.txt
        * gtk/gtk-compose-lookaside.txt: Older gtk+ compose sequences that
        are not found in the X.Org Compose file.

2008-12-03  Sven Herzberg  <>

        Bug 562998 â?? GtkFontButton documentation improvements

        * gtk/gtkfontbutton.c: mention the way the font string should be used.
        Patch by Sven Herzberg and Nelson Benitez

2008-12-03  Marek Kasik  <>

        Bug 559914 â?? eog doesn't apply paper setup.

        * gtk/gtkpapersize.c: Call the gtk_paper_size_new_from_ppd() with width
        and height in points.

2008-12-02  Carlos Garcia Campos  <>

        Bug 562878 â?? password save incorrectly set in gtkmountoperation

        * gtk/gtkmountoperation.c (remember_button_toggled),
        (gtk_mount_operation_ask_password): Remember the password save
        flags only when the radio button becomes active. Set also the
        default state of the radio buttons depending on the current value
        of password save flags.

2008-12-01  Matthias Clasen <>

        Bug 555334 â?? connected server feature

        * gtk/gtkfilesystem.c (get_volumes_list): Filter out shadow mounts.
        Patch by David Zeuthen.

2008-12-01  Matthias Clasen <>

        * gtk/gtkentry.c: Revert an accidental change that sneaked
        in with the last commit.

2008-12-01  Paul Bolle  <>

        Bug 562817 â?? GtkDialog: typo

        * gtk/gtkdialog.c: Fix typo

2008-11-29  Matthias Clasen  <>

        Bug 554453 â?? "typeahead find" widget of GtkTreeView appears on
        wrong monitor in a multi-head environment

        * gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory):
        Make sure the typeahead window follows screen changes of the
        treeview. Noticed by Rainer Stransky

2008-11-30  Christian Dywan  <>

        Bug 559622 â?? GdkDevice test segfaults

        * gdk/x11/gdkdisplay-x11.c (gdk_display_x11_dispose):
        * gdk/x11/gdkinput.c (gdk_device_class_init), (gdk_device_dispose):
        Free and reset device in dispose. Patch by Michael Natterer and myself.

2008-11-30  Christian Dywan  <>

        Bug 554076 â?? eventually release g_new-ed supported_atoms

        * gdk/x11/gdkevents-x11.c (cleanup_atoms),
        (gdk_x11_screen_supports_net_wm_hint): Set cleanup callback.
        Patch by Caolan McNamara.

2008-11-30  Christian Dywan  <>

        Bug 539263 â?? Deprecate gdk_window_get_toplevels

        * gdk/gdkwindow.c:
        * gdk/gdkwindow.h: Deprecate gdk_window_get_toplevels

2008-11-29  Federico Mena Quintero  <>

        * gtk/gtktreeview.c (gtk_tree_view_bin_expose): If tree lines are
        enabled, flip them around for the right-to-left case.  Fixes  Patch by
        Ricardo Cruz <>

2008-11-29  Christian Persch  <>

        * gtk/gtkselection.c: Typo fix.

2008-11-29  Matthias Clasen  <>

        * gtk/gtkselection.c:
        * gtk/gtkentry.c:
        * gtk/gtkdnd.c:
        * gtk/gtkcolorsel.c:
        * gtk/gtkbindings.c: Improve deprecation annotations.

2008-11-26  Christian Dywan  <>

        Bug 561504 â?? testgtk should load rc file from sub folder

        * tests/testgtk.c (main):
        Make testgtk look in subfolder and warn if not found

2008-11-25  Johan Dahlin  <>

        Bug 559947 â?? Unchecked dependency on python>=2.4

        * gtk/gtk-builder-convert:
        Avoid using sorted() which is only present in python 2.

2008-11-24  Tristan Van Berkom <>

        * gtk/gtkalignment.c: Bug 561539 - Fix warnings when size allocations
        fall short of border width and padding.

2008-11-22  Paul Bolle  <>

        Bug 561335 - Fix typos in GtkToolItem documentation

        * gtk/gtktoolitem.c: Fix typos in GtkToolItem documentation

2008-11-21  Matthias Clasen <>

        * Bump gtk-doc dependency to 1.11 for
        nicer index-generation.

2008-11-21  Matthias Clasen <>

        * gtk/gtkmountoperation.[hc]: Declare structs in a way that
        gtk-doc understands.

2008-11-17  Christian Dywan  <>

        Bug 377699 â?? realizing gtk.Progress() causes SEGV

        * gtk/gtkprogress.c: Define GtkProgress as an abstract type

2008-11-13  Christian Dywan  <>

        Bug 560602 â?? Wrong GtkMenuItem default value (test fails)

        * gtk/gtkmenuitem.c (gtk_menu_item_class_init):
        Correct default "label" value to ""

2008-11-12  Christian Dywan  <>

        Bug 560139 â?? GtkEntry doesn't paint with the right state

        * gtk/gtkentry.c (gtk_entry_class_init), (gtk_entry_draw_frame),
        (gtk_entry_expose): Reflect the right state if state-hint is set

2008-11-12  Christian Dywan  <>

        Bug 559619 â?? invisible-char default cannot be tested

        * gtk/tests/defaultvalue.c (test_type):
        Skip invisible-char when testing

2008-11-12  Richard Hult  <>

        * gtk/gtkdnd-quartz.c: (gtk_drag_set_icon_pixmap): Implement,
        patch from Paul Davis.

2008-11-12  Christian Dywan  <>

        Bug 525550 â?? GTK+ 2.13.0 GtkCurve test fails

        * gtk/tests/object.c (list_ignore_properties),
        (object_test_property), (main): Ignore GtkCurve when testing

2008-11-12  Richard Hult  <>

        Bug 550942 â?? [patch] Rework of gdkeventloop-quartz.c

        * gdk/gdk.c:
        * gdk/gdkinternals.h: Add eventloop debug facility.
        * gdk/quartz/gdkeventloop-quartz.c: Big rework of the quartz
        mainloop integration, patch from Owen Taylor. See bug #550942 for
        the details.

2008-11-12  Richard Hult  <>

        Bug 558586 â?? handling of keyboard under darwin (quartz)

        * gdk/quartz/gdkkeys-quartz.c: Follow up on this bug, only use the
        new API when building on 64-bit, since there are still old non-xml
        layouts used out there we don't want to break them. (For 64-bit
        those layouts doesn't work so we don't have a choice there.)

2008-11-11  Matthias Clasen  <>

        * gtk/gtkspinbutton.c: Chain up in enter and leave notify handlers.

2008-11-11  Michael Natterer  <>

        Bug 553765 â?? Add orientation API to GtkRange

        * gtk/gtkrange.[ch]: implement the GtkOrientable interface. Add
        evil code that makes sure that the stepper_detail and slider_detail
        set in GtkRangeClass continue to work with the hacked subclasses

        * gtk/gtkscale.[ch]: swallow all code from GtkHScale and GtkVScale
        and add gtk_scale_new() and gtk_scale_new_with_range() which take
        a GtkOrientation argument. Set slider_detail to "Xscale" so above
        evil code works.

        * gtk/gtkscrollbar.[ch]: add gtk_scrollbar_new() which takes a
        GtkOrientation argument. Set stepper_detail to "Xscrollbar" so
        above evil code works.

        * gtk/gtkhscale.c
        * gtk/gtkvscale.c
        * gtk/gtkhscrollbar.c
        * gtk/gtkvscrollbar.c: remove all code except the constructor and
        call gtk_orientable_set_orientation() in init().

        * gtk/gtk.symbols: changed accordingly.

2008-11-11  Michael Natterer  <>

        * gtk/gtktoolbar.h: move deprecated functions together, move
        setters and getters together, some indentation cleanup.

2008-11-11  Michael Natterer  <>

        * gtk/gtktoolbar.[ch]: implement the GtkOrientable interface
        and deprecate gtk_toolbar_get,set_orientation().

        * gtk/gtk.symbols: changed accordingly.

2008-11-10  Marek Kasik  <>

        Bug 560135 - Print when the user double clicks a printer

        * gtk/gtkprintunixdialog.c: add handling of double click to

2008-11-07  Michael Natterer  <>

        * gtk/gtkpaned.c: argh, actually call the newly added private
        gtk_paned_calc_position() instead of the deprecated public

2008-11-07  Michael Natterer  <>

        Bug 553586 â?? Add orientation API to GtkPaned

        * gtk/gtkpaned.[ch]: implement the GtkOrientable interface
        and swallow all code from GtkHPaned and GtkVPaned. Add
        gtk_paned_new() which takes a GtkOrientation argument. Deprecate
        gtk_paned_compute_position() for good (also for GTK_COMPILATION).

        * gtk/gtkhpaned.[ch]
        * gtk/gtkvpaned.[ch]: remove all code except the constructor and
        call gtk_orientable_set_orientation() in init().

        * gtk/gtk.symbols: add gtk_box_new().

2008-11-07  Johan Dahlin  <>

        * gtk/gtkcontainer.c (gtk_container_buildable_add_child):
        Check for child->parent instead of GTK_WIDGET_TOPLEVEL.

2008-11-07  Michael Natterer  <>

        * gtk/gtkscrollbar.c: remove bogus newlines in the middle of
        function calls, fix broken indentation and remove trailing

2008-11-06  Tristan Van Berkom <>

        * gtk/gtkmenuitem.c: Made buildable and added support for adding
        children of type "submenu"

        * gtk/gtkwindow.c: Added support for custom tag "accel-groups" to
        add GtkAccelGroups to the window.

        * gtk/gtkcontainer.c: Added builder contextual warnings in

        * gtk/tests/builder.c: Added tests for buildable menus (test that
        accelerators are properly connected on stock items, test the menu
        hierarchy, test permission to add alien/custom menuitem children).

        * docs/reference/gtk/tmpl/gtkbuilder.sgml
        * docs/reference/gtk/tmpl/gtkwindow.sgml
        * docs/reference/gtk/tmpl/gtkmenuitem.sgml: Updated docs for
        buildable submenus and accel groups.

2008-11-06  Tristan Van Berkom <>

        * gtk/gtkmenuitem.[ch]: added new apis
        gtk_menu_item_[set/get]_label() and
        gtk_menu_item_[set/get]_use_underline() with "label" and
        "use-underline" properties, constructors cleaned up to use
        g_object_new().  GtkMenuItemClass take new vfuncs

        * gtk/gtkcheckmenuitem.c: constructors cleaned up to use

        * gtk/gtkimagemenuitem.[ch]: added new apis
        gtk_image_menu_item_[get/set]_use_stock() and
        gtk_image_menu_item_set_accel_group() with "use-stock" and
        write-only "accel-group" properties. constructors cleaned up to
        use g_object_new().

2008-11-06  Tristan Van Berkom <>

        * gtk/gtkbuilder.h: Fixed a crasher in

2008-11-06  Tristan Van Berkom <>

        * gtk/gtklabel.c: gtk_label_set_attributes() now applies attributes
        on top of any markup or mnemonic attributes (bug 558409).

        * README: Updated and added release notes for 2.16

2008-11-06  Richard Hult  <>

        Bug 558586 â?? handling of keyboard under darwin (quartz)

        * gdk/quartz/gdkkeys-quartz.c: (maybe_update_keymap): Patch from
        Arnaud Charlet to replace use of deprecated keyboard layout API
        with the new TIS API available in 10.5. The old code is still used
        when building for 10.4.

2008-11-05  Richard Hult  <>

        * gdk/quartz/gdkevents-quartz.c:
        (get_keyboard_modifiers_from_ns_event), (create_key_event): Revert
        (at least for now) the alt/cmd switching since it breaks the
        "alt-gr" functionality of alt which makes it impossible to input
        lots of characters.

2008-11-05  Christian Dywan  <>

        Bug 559404 â?? gtk_editable_insert_text counts length in bytes

        * gtk/gtkeditable.c:
        Document new_text_length as the number of bytes

2008-11-05  Richard Hult  <>

        * gdk/quartz/gdkwindow-quartz.c:
        (gdk_window_impl_quartz_begin_paint_region): Set the fill color
        outside the loop.

2008-11-05  Richard Hult  <>

        * gtk/gtkstatusicon.c: (gtk_status_icon_set_has_tooltip),
        (gtk_status_icon_get_tooltip_markup): Fix build for win32 and

2008-11-04  Tor Lillqvist  <>

        Bug 557212 - Problem with which window gains focus and is visible

        * gdk/win32/gdkevents-win32.c (ensure_stacking_on_activate_app):
        Only do the restacking for the active window of the
        application. Seems to fix the problem.

        (gdk_event_translate): Only call ensure_stacking_on_activate_app()
        when the application is being activated, not deactivated.

2008-11-03  Matthias Clasen  <>

        * gtk/gtk.symbols:
        * gtk/gtkstatusicon.[hc]: Add new tooltip api.

2008-11-03  Christian Persch  <>

        Bug 558001 â?? gtk_icon_view_enable_model_drag_[source|dest] problem

        * gtk/gtkiconview.c: Make gtk_drag_*_add_*_targets() usable with

2008-11-02  Matthias Clasen  <>

        Bug 558929 â?? gtkstatusicon.c: 'event' is a member of the structure

        * gtk/gtkstatusicon.c: Fix the build.

2008-11-02  Matthias Clasen  <>

        * gtk/gtkimagemenuitem.c: Make it possible to overrule the
        gtk-menu-images setting.

        * gtk/gtkaction.c (connect_proxy): Show the image before adding
        it to the image menu item.

2008-11-01  Tor Lillqvist  <>

        Bug 558278 - Crash when calling a callback set by

        * gdk/win32/gdkevents-win32.c (apply_event_filters): Rename from
        apply_filters() so that it is clear that this function is for
        GdkEventFilters only.

        (print_event): Print more information for GDK_CLIENT_EVENT events.

        (gdk_event_translate): When handling client filters, don't use
        apply_event_filters(). Use similar code as in the X11 backend,
        although not exactly, as the parameter list and return value
        semantics of gdk_event_translate() is different.

        * tests/testclientmessage.c: New interactive test program to
        verify client message functionality.

        * tests/ Add it.

2008-11-01  Matthias Clasen  <>

        Bug 409435 â?? GtkStatusIcon enhancements: DnD, scroll events,
        middle click, rich tooltips

        * gtk/gtkstatusicon.[hc]: Add support for button press/release and
        scroll events. Patch by Ed Catmur

2008-11-01  Matthias Clasen  <>

        Bug 322934 â?? Replace menu's proxy icons with empty space hiding icons

        * gtk/gtkmenu.c (gtk_menu_size_request): Use consistent padding
        regardless of imagees or checks being in the menu. Also add
        padding on the right edge.
        Proposal by Luca Ferretti, patch by Jon McCann

2008-11-01  Matthias Clasen  <>

        Bug 412134 â?? Add API to query style properties from the style

        * gtk/gtk.symbols:
        * gtk/gtkstyle.[hc]: Add getters for style properties to
        avoid the need for ugly workarounds with dummy widget instances.
        Patch by Mariano Suárez-Alvarez

2008-10-31  Christian Dywan  <>

        Bug 558667 â?? gtk_font_selection_dialog_get_apply_button - deprecate?

        * gtk/gtk.symbols:
        * gtk/gtkfontsel.c:
        * gtk/gtkfontsel.h:
        Deprecate gtk_font_selection_dialog_get_apply_button

2008-10-31  Matthias Clasen  <>

        Bug 558323 â?? glitches when popping up combos in treeviews

        * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_set_property):
        Don't set the model property on the combo box, since that leads
        to loops.

2008-10-31  Christian Dywan  <>

        Bug 347230 â?? testicontheme shortcomings

        * tests/testicontheme.c (main):
        Use theme for "display" and quit on window closing

2008-10-30  Matthias Clasen  <>

        Bug 558522 â?? scroll arrow painted insensitive even though there
        are pages beyond the edge

        * gtk/gtknotebook.c (gtk_notebook_real_insert_page): Redraw
        arrows. Pointed out by Christian Persch

2008-10-30  Michael Natterer  <>

        * gtk/gtkcellrenderertext.h
        * gtk/gtkentry.[ch]
        * gtk/gtkimcontext.h
        * gtk/gtklabel.c
        * gtk/gtkstyle.h: <pango/pango.h> is pulled in by <gdk/gdk.h>,
        remove its inclusion here.

2008-10-30  Michael Natterer  <>

        * gtk/*.h: no need to include <gtk/gtkenums.h> in headers which
        somehow include gtkobject.h or another header which includes it.

2008-10-30  Marek Kasik  <>

        Bug 339714 - Set printer dpi on cairo ps/pdf surfaces when printing

        * gtk/gtk.symbols
        * gtk/gtkprintsettings.c
        * gtk/gtkprintsettings.h
        * docs/reference/gtk/gtk-sections.txt
        * modules/printbackends/file/gtkprintbackendfile.c
        * modules/printbackends/test/gtkprintbackendtest.c
        * modules/printbackends/cups/gtkprintbackendcups.c
        * modules/printbackends/lpr/gtkprintbackendlpr.c:
        Added lpi (lines per inch) setting to GtkPrintSettings and support
        for anamorphic dpi. Surface fallback resolution is set to 2*lpi.

2008-10-30  Michael Natterer  <>

        * gtk/*.h: no need to include <gdk/gdk.h> in any widget header,
        it's included via gtkwidget.h anyway.

2008-10-30  Sven Neumann  <>

        * gtk/gtkwidget.c (gtk_widget_get_property): removed redundant

2008-10-30  Christian Dywan  <>

        Bug 557316 â?? GtkLinkButton should consider user-defined tooltip

        * gtk/gtklinkbutton.c (gtk_link_button_query_tooltip_cb):
        Only override the tooltip if not previously set

2008-10-29  Christian Dywan  <>

        Bug 557762 â?? Misleading error message in GDK DirectFB

        * gdk/directfb/gdkdisplay-directfb.c (gdk_display_open):
        Correctly say GetInputDevice instead of GetDisplayLayer

2008-10-29  Christian Dywan  <>

        Bug 558397 â?? gtk_widget_error_bell undefined without a screen

        * gtk/gtkwidget.c (gtk_widget_error_bell): Test the settings
        instance and return silently if unset

2008-10-28  Michael Natterer  <>

        * gdk/keyname-table.h: fix small typo.

2008-10-27  Richard Hult  <>

        Bug 557894 â?? Wrong return value for

        * gdk/quartz/gdkevents-quartz.c:
        (gdk_pointer_grab_info_libgtk_only): Return TRUE when there is a
        pointer grab. Patch by Owen Taylor.

2008-10-26  Matthias Clasen  <>

        * gtk/gtktoolshell.c:
        * gtk/gtktoolitem.c: Remove markup from short descriptions.

2008-10-26  Matthias Clasen  <>

        * gdk/keyname-table.h:
        * gtk/gen-paper-names.c:
        * gtk/paper_names_offsets.c:
        * gtk/gtkpapersize.c:
        * gtk/gtkaccellabel.c:
        * gtk/gtkprintoperation.c:
        * gtk/gtkstock.c: More conversion to C_().

2008-10-26  Matthias Clasen  <>

        * gtk/gtkaccellabel.c:
        * gtk/gtkcalendar.c:
        * gtk/gtkcellrendereraccel.c:
        * gtk/gtkcellrendererprogress.c:
        * gtk/gtkimmulticontext.c:
        * gtk/gtkrecentchoosermenu.c:
        * gtk/gtkvolumebutton.c: Use C_() instead of Q_(). String change!

2008-10-26  Christian Persch  <>

        Bug 557065 â?? gtkcellrendererpixbuf spams console over and over with
        'could not load image' warnings

        * gtk/gtkcellrendererpixbuf.c:
        (gtk_cell_renderer_pixbuf_create_themed_pixbuf): Remove noisy

2008-10-26  Philip Withnall  <>

        Bug 530454 â?? Clarify page_nr when printing

        * gtk/gtkprintoperation.c (gtk_print_operation_class_init): Point out
        that page_nr is 0-based in the documentation.

2008-10-25  Matthias Clasen  <>

        Bug 557315 â?? stale clipboard target cache

        * gtk/gtkclipboard.c (gtk_clipboard_set_contents): Remove cached
        targets. Pointed out by Evan Stade

2008-10-24  Tristan Van Berkom  <>

        * gtk/gtkwidget.c: Added a note about GtkWidget:has-tooltip in
        the docs for GtkWidget::query-tooltip.

2008-10-24  Matthias Clasen  <>

        * gtk/gtkmountoperation.c: The "screen" property ought to have
        type GdkScreen, not GtkWindow. Found by Cosimo Cecchi

2008-10-24  Matthias Clasen  <>

        Bug 556954 â?? gtk+/gtk/gtkrecentchooserdefault.c: mismatching
        allocation and deallocation

        * gtk/gtkrecentchooserdefault.c (remove_selected_from_list): Don't
        free a strdup'ed string by g_free. Pointed out by Daniel Marjamäki

2008-10-24  Matthias Clasen  <>

        Bug 556835 â?? gtkentry.c: variable is declared at middle of block

        * gtk/gtkentry.c (gtk_entry_copy_clipboard): Fix a C99ism pointed
        out by Kazuki Iwamoto

2008-10-24  Matthias Clasen  <>

        Bug 557524 â?? "va_end(args);" should be added into
        gtk_text_buffer_insert_with_tags_by_name( )

        * gtk/gtktextbuffer.c (gtk_text_buffer_insert_with_tags_by_name):
        Don't forget to call va_end. Pointed out by Boram Park

2008-10-23  Alexander Larsson  <>

        Bug 528320 - Incorrect icons displayed for files with custom
        mimetype icons

        * gtk/gtkfilesystem.c:
        Fall back on default file icon if there was no icon or it
        was not found in the theme. This goes with the corresponding
        change in glib to not add the fallback icon, but is useful
        in other cases too.

2008-10-22  Behdad Esfahbod  <>

        Bug 555920 â?? gtkentry.c passes wrong enum to

        * gtk/gtkentry.c (gtk_entry_create_layout): Don't set layout

2008-10-22  Matthias Clasen  <>

        * gdk/x11/gdkscreen-x11.c: Only emit size-changed if the screen
        size actually changed.

2008-10-21  Michael Natterer  <>

        * gdk/gdkdraw.c
        * gdk/gdkimage.c
        * gdk/gdkscreen.c
        * gdk/gdkwindow.c: replace assertions for obj != NULL by
        GDK_IS_OBJ(), remove redundant != NULL checks when there is
        already a type check, add some g_return_if_fail() that were
        missing entirely, fix some broken indentation and spacing.

2008-10-21  Tor Lillqvist  <>

        Bug 557266 - Window Management Problem

        Also reported in mail to gtk-list, and of course it has been well
        known in general that window state management is messy and buggy
        in various ways in gdk/win32.

        * gdk/win32/gdkwindow-win32.c (show_window_internal): Correct
        handling of GDK_WINDOW_STATE_ABOVE windows. It doesn't work to set
        the WS_EX_TOPMOST extended style bit using SetWindowLong(). We
        must call SetWindowPos() on the window using HWND_TOPMOST
        instead. The description for WS_EX_TOPMOST in the documentation
        for CreateWindowEx() even implies that if you read it carefully.

2008-10-21  Michael Natterer  <>

        * gdk/gdkapplaunchcontext.c: reorder functions to be in standard
        order, add prototypes and namespace to static functions, add
        g_return_if_fail()s which were missing all over the place.

2008-10-20  Christian Persch  <>

        Bug 557059 â?? crash when compositing emblems with icon

        * gtk/gtkicontheme.c: (apply_emblems): Copy the pixbuf before using it
        with gtk_pixbuf_composite, in case its pixdata is read-only (mmaped
        from icon cache or builtins).

2008-10-20  Murray Cumming  <>

        * gtk/gtkiconview.c: gtk_icon_view_set_tooltip_row(),
        * gtk/gtktreeview.c: gtk_icon_view_set_tooltip_row(),
        Documentation: Mention the simple set_tooltip_column()

2008-10-18  Tor Lillqvist  <>

        * gdk/win32/gdkevents-win32.c (gdk_event_translate): On
        WM_WINDOWPOSCHANGING, don't dereference windowpos in the debugging
        output without setting it first.

2008-10-18  Tor Lillqvist  <>

        Bug 556578 - GIMP windows stay on top of other windows

        * gdk/win32/gdkevents-win32.c (ensure_stacking_on_unminimize)
        (ensure_stacking_on_activate_app): Ignore unmapped windows in the
        loops where we look for the lowest "transient-type" window.

        (gdk_event_translate): Don't call
        ensure_stacking_on_window_pos_changing() or
        ensure_stacking_on_activate_app() for unmapped windows.

2008-10-16  Marek Kasik  <>

        Bug 556527 - The current page property is not passed to

        * gtk/gtkprintoperation-unix.c: pass current-page property
        to GtkPrintUnixDialog

2008-10-15  Michael Natterer  <>

        * gdk/gdkapplaunchcontext.h (GDK_IS_APP_LAUNCH_CONTEXT): fix typo
        in the type name so the macro becomes usable.

2008-10-14  Christian Dywan  <>

        556150 â?? gtk 'object' property test fixing

        * gtk/tests/object.c (list_ignore_properties):
        Remove some recently fixed properties from the exception list

2008-10-13  Matthias Clasen  <>

        Bug 555779 â?? GtkCellRendererPixbuf crashed on failed GIcon lookup

        * gtk/gtkcellrendererpixbuf
        (gtk_cell_renderer_pixbuf_create_themed_pixbuf): Don't crash
        if a GIcon is not present in the current theme. Patch by
        Alex Larsson.

2008-10-13  Matthias Clasen  <>

        Bug 552318 â?? menubar mnemonics consumed even when

        * gtk/gtkwindow.c (gtk_window_activate_key): Don't let mnemonic
        entries block accelerator activation when gtk-enable-mnemonics is
        FALSE. Problem reported by Andreas Moog.

2008-10-13  Cody Russell <>

        * test/testfilechooser.c: Fix option parsing so that -a and
        --action work correctly.

2008-10-13  Christian Persch <>

        Bug 555386 â?? format not a string literal and no format arguments

        * gtk/gtkiconfactory.c
        * gtk/gtkprintbackend.c
        * gtk/gtkprintoperation.c
        * gtk/gtkthemes.c
        * gtk/tests/builder.c
        * modules/other/gail/gailtextview.c
        * tests/testmerge.c: Use printf safely.

2008-10-13  Christian Persch <>

        Bug 555724 â?? gtkcellrendereraccel not initialised correctly

        * gtk/gtkcellrendereraccel.c: Initialise the cell text.

2008-10-12  Simos Xenitellis  <>

        Bug 555625 â?? Updated gtk_compose_seqs_compact table

        * gtk/gtkimcontextsimpleseqs.c: Updated the compose sequence table.
        In this update we removed a further set of compose sequences that
        are otherwise covered by check_algorithmically().

        * gtk/gtkimcontextsimple.c: Updated table value that shows how many
        distinct first values exist in the compose sequences.
        Change from 22 to 20.

2008-10-11  Matthias Clasen  <>

        * gtk/gtktoolbar.c: Revert the GtkSettings::gtk-toolbar-icon-size
        part of the previous change, since it doesn't work correctly without
        extra complication, and using custom icon sizes doesn't make too
        much sense in a desktop-wide setting.

2008-10-11  Matthias Clasen  <>

        Bug 555186 â?? Setting gtk-toolbar-icon-size with custom icon_size

        * gtk/gtktoolbar.c: Turn GtkToolbar::icon-size and
        GtkSettings::gtk-toolbar-icon-size into int properties, to
        allow the use of app-registered icon sizes.

2008-10-11  Christian Dywan  <>

        Bug 555676 â?? gtk_widget_real_grab_focus assumes toplevel == window

        * gtk/gtkwidget.c (gtk_widget_real_grab_focus):
        Actually test for GTK_IS_WINDOW *and* GTK_WIDGET_TOPLEVEL

2008-10-10  Behdad Esfahbod  <>

        Bug 551355 â?? [PATCH] Make glib build with libtool 2.2

        * Accept libtool 2.2.   We are moving towards having
        it working.

2008-10-10  Richard Hult  <>

        * gdk/quartz/gdkkeys-quartz.c: (gdk_keymap_get_caps_lock_state)
        Add empty stub to fix linking.

2008-10-10  Simos Xenitellis  <>

        Bug 555000 â?? Wrong treatment on non-spacing marks dead keys in

        * gtk/gtkimcontextsimple.c: Change IS_DEAD_KEY() macro so that
        it only checks if input is a deadkey keysym.

2008-10-09  Christian Dywan  <>

        Bug 555676 â?? gtk_widget_real_grab_focus assumes toplevel == window

        * gtk/gtkwidget.c (gtk_widget_real_grab_focus):
        Test for GTK_IS_WINDOW instead of GTK_WIDGET_TOPLEVEL

2008-10-09  Christian Dywan  <>

        Bug 555573 â?? gtk_font_selection_set_font_name
        shouldn't require a screen

        * gtk/gtkfontsel.c (gtk_font_selection_set_font_name):
        Don't warn if there is no screen, just return FALSE

2008-10-09  Christian Dywan  <>

        Bug 555523 â?? gtk_scale_button_set_adjustment should accept NULL

        * gtk/gtkscalebutton.c (gtk_scale_button_set_adjustment):
        Create a new adjustment if NULL is passed, like other widgets

2008-10-09  Christian Dywan  <>

        Bug 555578 â?? GtkTable propertiy maxima are wrong

        * gtk/gtktable.c (gtk_table_class_init), (gtk_table_resize):
        Always use 65535 instead of G_MAXUINT since that is
        the actually supported maximum number of columns and rows

2008-10-09  Richard Hult  <>

        Bug 550342 â?? Splash screens have a caption

        * gdk/quartz/gdkwindow-quartz.c: (_gdk_window_new),
        (gdk_window_set_decorations): Patch from Marianne Gagnon to make
        splash windows borderless.

2008-10-09  Michael Natterer  <>

        Bug 516425 â?? Optionally display accelerators in popups

        * gtk/gtkuimanager.h (enum GtkUIManagerItemType): add value
        GTK_UI_MANAGER_POPUP_WITH_ACCELS which works like _POPUP but
        shows the actions' accelerators.

        * gtk/gtkuimanager.c: honor the new enum value for programmatically
        created UIs, and support <popup accelerators="true"> in the XML
        for the same purpose.

2008-10-09  Simos Xenitellis  <>

        Bug 554192 â?? double press on the "circumflex" dead key
        (standard french 105 keyboard) no longer produces the "^" character

        * gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress):
        Changed the order, put check_compact_table() first, then

2008-10-08  Christian Persch  <>

        Bug 554702 â?? gtkfilesystem leaks GError

        * gtk/gtkfilesystem.c (_gtk_file_system_init): Free the GError.

2008-10-08  Matthias Clasen  <>

        * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
        Don't forget to reset reload_state when current_folder is already
        correct. Fixes

2008-10-08  Christian Dywan  <>

        Bug 555270 â?? Allow unsetting a MessageDialog's image

        * gtk/gtkmessagedialog.c (gtk_message_dialog_set_property),
        Remove a superfluous cast to GtkWidget*
        (gtk_message_dialog_set_image): Accept NULL for the image
        and unset the image in that case.

2008-10-08  Christian Dywan  <>

        Bug 436533 â?? Allow more space efficient scroll arrows placement

        * gtk/gtkenums.h: Add GtkArrowPlacement
        * gtk/gtkmenu.c (gtk_menu_class_init), (get_arrows_border),
        (get_arrows_visible_area), (get_double_arrows),
        (get_arrows_sensitive_area): Implement GtkMenu::arrow-placement
        to allow scrolling arrows to be placed at the start, end or both
        Patch by Tommi Komulainen and myself

2008-10-08  Christian Dywan  <>

        Bug 555387 â?? Changing the sensitivity of a statusbar
        mistakenly requires a display

        * gtk/gtkstatusbar.c (set_grip_cursor): Only change the cursor
        of the resize grip if there is a grip window.

2008-10-06  Matthias Clasen  <>

        * gtk/gtktooltip.c (gtk_tooltip_show_tooltip): Avoid unitialized
        memory warnings from valgrind.

2008-10-07 11:03:30  Tim Janik  <>

        * gtk/gtkbox.h: keep GtkBox as an abstract type and keep _gtk_box_new()
        as private function until we settle on the exact semantics.
        renamed _gtk_box_set_old_defaults() as suggested by Mitch.

2008-10-07  Michael Natterer  <>

        * gtk/gtkbox.c: reindent static prototypes.

2008-10-07  Michael Natterer  <>

        Bug 553573 â?? Add orientation API to GtkBox

        * gtk/gtkbox.[hh]: implement the GtkOrientable interface and
        swallow all code from GtkHBox and GtkVBox. Add gtk_box_new()
        which takes a GtkOrientation argument. Also move the newly
        added "spacing_set" boolean from struct GtkBox to the new
        private struct.

        * gtk/gtkhbox.[ch]
        * gtk/gtkvbox.[ch]: remove all code except the constructor and
        call gtk_orientable_set_orientation() in init().

        * gtk/gtk.symbols: add gtk_box_new().

2008-10-06  Björn Lindqvist  <>

        Bug 539464 â?? gtk_cell_view_get_model is missing in GtkCellView

        * gtk/gtkcellview.c (gtk_cell_view_get_model): Add

2008-10-06  Matthias Clasen  <>

        * gtk/gtkprintunixdialog.c (create_main_page): Show the tooltip
        on the range entry itself, too.

2008-10-04  Tor Lillqvist  <>

        Bug 132501 - Make utility window translate to tool window in win32

        Implement the utility window type hint. Such windows are kept on
        top of other windows of the same process. Makes GIMP's toolbox and
        dock windows behave more like in GNOME under metacity. Apply the
        same logic also to windows marked with the dialog window type
        hint, and windows that are transient for some other window. I'll
        call such windows "transient-type" below.

        * gdk/win32/gdkevents-win32.c (doesnt_want_key): Drop unused

        (ensure_stacking_on_activate_app): New functions to implement the
        desired stacking order. Make sure that a window that is not
        transient-type stays below any transient-type windows of the
        application. When activating a non-transient-type window make sure
        it rises as high as possible while still staying below the lowest
        transient-type window.

        (gdk_event_translate): Call above functions on
        unminimizing. Improve debugging printout.

        * gdk/win32/gdkwindow-win32.c (get_effective_window_decorations):
        Handle utility windows like toolbar windows.

        (gdk_window_new_internal) (update_style_bits): Give utility
        windows the WS_EX_TOOLWINDOW extended style.

        (gdk_window_set_title): If debugging "misc" or "events", make the
        handle of top-level windows show up in their title bars. Very
        useful when looking at debugging output.

        (gdk_window_set_transient_for) (gdk_window_set_keep_above)
        (gdk_window_set_keep_below) (gdk_window_set_modal_hint)
        (gdk_window_set_skip_pager_hint): Add and improve debugging

        (gdk_window_set_type_hint): Print hint symbolically in GDK_NOTE().

2008-10-04  Tor Lillqvist  <>

        * gdk/win32/gdkmain-win32.c (_gdk_win32_window_exstyle_to_string)
        (_gdk_win32_window_pos_bits_to_string): New debugging printout
        functions. Decode the WS_EX_* and SWP_* bits.

        * gdk/win32/gdkprivate-win32.h: Declare them. Define
        GDK_DEBUG_MISC_OR_EVENTS for use in GDK_NOTE() to match either
        "misc" or "events".

2008-10-03  Matthias Clasen <>

        * gtk/gtkmodules.c (_gtk_modules_settings_changed): Add some
        debug output.

2008-10-02  Matthias Clasen <>

        Bug 96431 â?? Can't cut and paste / DND within invisible entry

        * gtk/gtkentry.c: Disable cut, copy and drag out of an invisible
        entry. Proposed by Owen Taylor

2008-10-02  Matthias Clasen <>

        Bug 530575 â?? GtkEntry with invisible chars has a confused cursor in
        overwrite mode

        * gtk/gtkentry.c (gtk_entry_draw_cursor): Use the visible text
        in the layout when positioning the cursor, not the actual text
        content of the entry. This makes a different when using overwrite
        mode in an invisible entry.
        Problem noticed by Jonathan Blandford

        * gtk/gtktextutil.c: Fix a typo in a comment

2008-10-02  Christian Persch

        Bug 554704 â?? gtkfilesystemmodel does too much work

        * gtk/gtkfilesystemmodel.c: Replace g_slist_length()<1 check with a
        simple NULL check.

2008-10-02  Christian Persch

        Bug 554701 â?? filechooser spams console with useless warnings

        * gtk/gtkfilesystem.c.c: Don't warn if the async call was simply

2008-10-02  Christian Persch

        Bug 554698 â?? mem leak in filechooser

        * gtk/gtkfilechooserdefault.c: Plug a mem leak.

2008-10-02  Christian Persch

        Bug 554696 â?? invalid free function used

        * gtk/gtkfilesystemmodel.c: Use the right free func.

2008-10-02  Christian Persch

        Bug 554691 â?? mem leak in filechooser

        * gtk/gtkfilesystemmodel.c: Plug a mem leak.

2008-10-02  Christian Persch

        Bug 554690 â?? mem leak in filechooser

        * gtk/gtkfilechooserdefault.c: Plug a mem leak.

2008-10-02  Michael Natterer  <>

        Bug 553585 â?? Add orientation API to GtkRuler

        * gtk/gtkruler.[ch]: implement the GtkOrientable interface and
        swallow all code from GtkHRuler and GtkVRuler. Add gtk_ruler_new()
        which takes a GtkOrientation argument.

        * gtk/gtkhruler.c
        * gtk/gtkvruler.c: remove all code except the constructor and
        call gtk_orientable_set_orientation() in init().

        * gtk/gtk.symbols: add gtk_ruler_new().

2008-10-01  Torsten Schoenfeld  <>

        * docs/reference/gtk/gtk-sections.txt:
        * gtk/gtk.symbols:
        * gtk/gtkselection.c:
        * gtk/gtkselection.h: Add gtk_selection_data_get_selection to
        retrieve the sealed struct field GtkSelectionData.selection.

2008-10-01  Tor Lillqvist  <>

        * gtk/gtkscalebutton.c: Don't #define _GNU_SOURCE on Windows as it
        confuses newest mingw headers.

2008-10-01  Tor Lillqvist  <>

        * gdk/win32/gdkkeys-win32.c (gdk_keymap_get_caps_lock_state):
        Implement trivially on Windows. Not sure if something more complex
        is actually needed, more specifically whether the function needs
        to differentiate between "Caps Lock" and "Shift Lock" semantics?

2008-10-01  Simos Xenitellis  <>

        Bug 554506 â?? combining diacritics broken, became deadkeys

        * gtk/gtkimcontextsimple.c: added check if keysym is greater
        than 0x1000000, in this case it is not a dead key.

2008-09-30  Michael Natterer  <>

        Bug 553582 â?? Add orientation API to GtkSeparator

        * gtk/gtkseparator.[ch]: implement the GtkOrientable interface and
        swallow all code from GtkHSeparator and GtkVSeparator. Add
        gtk_separator_new() which takes a GtkOrientation argument.

        * gtk/gtkhseparator.c
        * gtk/gtkvseparator.c: remove all code except the constructor and
        call gtk_orientable_set_orientation() in init().

        * gtk/gtk.symbols: add gtk_separator_new().

2008-09-30  Marek Kasik  <>

        Bug 344522 â?? support non-local destination files (GtkPrint):

        * gtk/gtkprintunixdialog.c
        * gtk/gtkprinteroptionwidget.c: Process URI instead of filename.
        * modules/printbackends/file/gtkprintbackendfile.c: Add ability
        to save files on non-local filesystems.

2008-09-30  Michael Natterer  <>

        * gtk/gtk.symbols: forgot the G_GNUC_CONST of

2008-09-30  Michael Natterer  <>

        Bug 541009 â?? Get rid of separate subclasses for horizontal and
        vertical orientation:

        * gtk/
        * gtk/gtk.symbols
        * gtk/gtk.h
        * gtk/gtkorientable.[ch]: add new interface GtkOrientable which
        will be implemented by everything that can switch orientation.

2008-09-30  Christian Dywan  <>

        Fix a typo in the tutorial.

        * docs/tutorial/gtk-tut.sgml: It's mnemonic, not 'mnemnonic'.

2008-09-29  Matthias Clasen  <>

        Bug 553086 â?? hard to see current immodule

        * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems):
        Display the actually selected context in the system menuitem.
        Complaint by Akira Tagoh.

2008-09-29  Matthias Clasen  <>

        Bug 530568 â?? Entries with visibility=FALSE should warn for caps-lock

        * gtk/gtkentry.c: Add a tooltip-like Caps Lock warning for
        password entries. The warning is also triggered if an input method
        is active. The warning can be turned off using the
        GtkEntry::caps-lock-warning property.
        Proposed by Owen Taylor

2008-09-29  Matthias Clasen  <>

        * gtk/gtk.symbols:
        * gtk/gtkimmulticontext.[hc] (gtk_im_multicontext_get_context_id):
        Add a getter for the the sealed context_id field.

2008-09-29  Matthias Clasen  <>

        Bug 107000 â?? Add signals to GdkKeymap for monitoring caps_lock, etc.

        * gdk/gdk.symbols:
        * gdk/gdkkeys.[ch]: Add a new GdkKeymap::state-changed signal, and
        a gdk_keymap_get_caps_lock_state function.

        * gdk/x11/gdkkeys-x11.c: Implement it here. For now, only emit
        state-changed when caps lock lockedness changes.

        * gdk/x11/gdkdisplay-x11.c: Also select for modifier lock status
        changes in the XkbSelectEventDetails call.

2008-09-29  Kristian Rietveld  <>

        Bug 487624 - Tooltips doesn't get updated if ther's no mouse motion
        over widget

        * gtk/gtkwidget.c (gtk_widget_set_property): after updating
        tooltip text or markup, call gtk_widget_trigger_tooltip_query()
        so that existing visible tooltips are updated.

2008-09-29  Matthias Clasen  <>

        Bug 371908 â?? Password Entry broken
        Bug 317002 â?? Disable input method completely in GtkEntry when it's
        in invisible mode.

        * gtk/gtkentry.c (gtk_entry_backspace): Make backspace behave
        properly when invisible.

        * gtk/gtkentry.c (gtk_entry_create_layout): Show preedit even if

        * gtk/gtkentry.c (gtk_entry_set_visibility): Don't disable input
        methods when making the entry invisible.

2008-09-29  Emmanuele Bassi  <>

        * gdk/x11/gdkinput.c:
        (gdk_device_class_init), (gdk_device_finalize): Correctly chain
        up the finalize implementation.

2008-09-29  Richard Hult  <>

        Bug 554141 â?? uninitialized data use/free in gtkclipboard-quartz.c

        * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
        Patch from Jon A. Cruz to initialize the allocated selection data.

2008-09-27  Matthias Clasen  <>

        Bug 339367 â?? Incorrect spotlocation

        * modules/input/gtkimcontextxim.c: Correct the spot location
        for on-the-spot style.

2008-09-27  Denis Washington  <>

        * gtk/gtkiconview.c: only draw keyboard focus when keyboard navigation
        is used, like GtkTreeView. (Bug #553575)

2008-09-26  Matthias Clasen  <>

        Bug 552959 â?? GtkTrayIcon: _NET_SYSTEM_TRAY_VISUAL and real

        * gtk/gtktrayicon-x11.c: Add support for the _NET_SYSTEM_TRAY_VISUAL
        property described in
        If _NET_SYSTEM_TRAY_VISUAL is a visual with an alpha channel, the
        parent-relative-background hack is skipped and we draw with a real
        transparent background.

        * gtk/gtkrc.c: Remove the default GtkTrayIcon style, since the
        parent-relative background is now set when realizing the tray

        Patch by Owen Taylor

2008-09-26  Matthias Clasen  <>

        Bug 552956 â?? Should check composite extension version

        * gdk/x11/gdkdisplay-x11.c: Check that the version of the
        composite extension is at least 0.4.
        Patch by Owen Taylor

2008-09-26  Matthias Clasen  <>

        Bug 553803 â?? eventually call XCloseDevice on XOpenDevice results

        * gdk/x11/gdkinput.c: Add a finalize function for device objects,
        and call XCloseDevice there.

        * gdk/x11/gdkinput-x11.c:
        * gdk/x11/gdkdisplay-x11.c: Move freeing of device objects to
        the finalize function.
        Patch by Caolan McNamara

2008-09-26  Matthias Clasen  <>

        Bug 553578 - tabs are not drawn correctly

        * gtk/gtknotebook.c: Track the visibility state of notebook tabs
        between allocations so that we know to redraw the tab labels if
        tabs are hidden and shown without changing position.
        Reported by Marek Kašík, patch by Owen Taylor.

2008-09-26  Matthias Clasen  <>

        Bug 553133 â?? GtkFileChooser won't ask to mount a volume
        Bug 553211 â?? GtkFileChooserButton unsets filter after first use

        * gtk/gtkfilechooserdefault.c (shortcuts_activate_volume): Use
        a GtkMountOperation when mounting, so that we get a password
        dialog when required.

        * gtk/gtkfilechooserdefault.c (show_and_select_files): Also
        get the content-type, since it is used later on.
        Pointed out by Davyd Madeley.

2008-09-26  Cody Russell  <>

        Bug 553917 â?? Typo in gdkwindow-win32.c

        * gdk/win32/gdkwindow-win32.c: Fixed a typo in
        update_system_menu().  Changed GDK_DECOR_ALL to GDK_FUNC_ALL.

        Reported by Richard Hult

2008-09-25  Marek Kasik  <>

        Bug 553241 â?? double freed pointer in lpr_write cause firefox3 crash

        * modules/printbackends/lpr/gtkprintbackendlpr.c:
        The redundant freeing of memory was removed.

        Patch by Chris Wang

2008-09-25  Michael Natterer  <>

        * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_finalize):
        don't unref the file system backend, the newly added
        unset_file_system_backend() already does this (bug #553135).

2008-09-24  Michael Natterer  <>

        * gtk/gtkeventbox.c: events return gboolean not gint, reindented
        static prototypes.

2008-09-24  Johan Dahlin  <>

        Bug 553385 â?? gtk-builder-convert creates untranslated combobox models

        * gtk/gtk-builder-convert: Set the translatable property on
        col tags for converted combos.

2008-09-24  Tor Lillqvist  <>

        * Include all of share/man, lib/pkgconfig,
        share/aclocal and share/gtk-doc instead of trying to list
        individual files or subdirectories. We had missed gail.pc, for

2008-09-24  Christian Dywan  <>

        Bug 538782 â?? Make GtkMenu's arrow size themable

        * gtk/gtkmenu.c (gtk_menu_class_init), (gtk_menu_paint):
        Implement "arrow-scaling" style property in GtkMenu.

2008-09-24  Christian Dywan  <>

        Bug 408244 â?? add GtkDialog::content-area-spacing

        * gtk/gtkbox.c (gtk_box_init), (gtk_box_set_spacing),
        (_gtk_box_set_spacing_set), (_gtk_box_get_spacing_set):
        * gtk/gtkbox.h:
        * gtk/gtkdialog.c (gtk_dialog_class_init), (update_spacings):
        Implement "content-area-spacing" style property in GtkDialog
        and internal helper _gtk_box_get_spacing_set in GtkBox.
        Patch by Tim Janik, Sven Herzberg and myself.

2008-09-24  Christian Dywan  <>

        Bug 541391 â?? Unfocussable Treeview swallows focus

        * gtk/gtktreeview.c (grab_focus_and_unset_draw_keyfocus),
        (gtk_tree_view_focus): Honor GTK_WIDGET_CAN_FOCUS properly

2008-09-24  Denis Washington  <>

        * gtk/gtkiconview.c: draw focus as a rectangle around the
        complete item, not just the text. (Bug #38254)

2008-09-23  Michael Natterer  <>

        * gtk/gtkobject.c
        * gtk/gtksignal.[ch]: s/GtkType/GType/ and

2008-09-23  Michael Natterer  <>

        * gdk/x11/gdkevents-x11.c (gdk_event_translate): remove unused
        variable and fix indentation.

2008-09-23  Michael Natterer  <>

        * gtk/gtkclist.h
        * gtk/gtkctree.h
        * gtk/gtklist.h
        * gtk/gtklistitem.h
        * gtk/gtkobject.h
        * gtk/gtkoldeditable.h
        * gtk/gtkpixmap.h
        * gtk/gtkpreview.h
        * gtk/gtktext.h
        * gtk/gtktipsquery.h
        * gtk/gtktree.h
        * gtk/gtktreeitem.h: get rid of GtkType and GTK_CHECK_FOO() also
        in all deprecated headers.

2008-09-22  Matthias Clasen  <>

        Bug 553135 â?? eog crash: assertion failed. Gtk error:
        shortcuts_remove_rows: code should not be reached

        * gtk/gtkfilechooserdefault.c: Disconnect from GtkFileSystem
        signals when we are destroyed, in order to avoid nasty surprises.
        Patch by Claudio Saavedra

2008-09-22  Emmanuele Bassi  <>

        Bug 552789 â?? Show size column in the search and recently used
        files modes

        * gtk/gtkfilechooserdefault.c: Display the file size column
        when in OPERATION_MODE_SEARCH. This removes a stat() call
        and simplifies the code a little bit by changing the query
        for file informations for each search engine hit.

2008-09-22  Michael Natterer  <>

        * gtk/gtksignal.[ch]
        * gtk/gtkclist.c
        * gtk/gtklist.c
        * gtk/gtkmain.c
        * gtk/gtktext.c
        * gtk/gtktreeitem.c: use G_CALLBACK and GCallback instead of
        GTK_SIGNAL_FUNC and GtkSignalFunc also in deprecated code.

2008-09-22  Frederic Crozat  <>

        * gtk/gtkfilesystem.c: use the correct gi18n header.
        Fixes bug #553000.

2008-09-22  Michael Natterer  <>

        * gtk/gtktoolbar.[ch]: add "Deprecated: 2.4" to all the deprecated
        append(), prepend() and insert() functions and recommend to use
        gtk_toolbar_insert() instead. Use GCallback instead of
        GtkSignalFunc even in deprecated API.

2008-09-20  Matthias Clasen  <>

        * gtk/gtkfilechooserbutton.c (filter_model_visible_func): Don't
        leak a GFile.

2008-09-19  Owen Taylor  <>

        Small cleanups to debug messages for GtkPlug/GtkSocket

        * gtk/gtksocket-x11.c: Fix debug message to say "Socket" not "Plug"
        * gtk/gtkplug-x11.c: Remove excess newlines from the ends of debug

2008-09-19  Carlos Garnacho  <>

        Bug 83935 â?? GtkEntry's default invisible char should be U+25CF

        * gtk/gtkentry.c (find_invisible_char) (gtk_entry_init): Find a
        more suitable invisible char than '*' based on the used font.
        (gtk_entry_class_init) (gtk_entry_set_property)
        (gtk_entry_get_property): Add a "invisible-char-set" property.
        (gtk_entry_unset_invisible_char): New function, needed now that the
        default invisible char isn't fixed.
        * gtk/gtkentry.h:
        * gtk/gtk.symbols:
        * docs/reference/gtk/gtk-sections.txt: Add the new function.

2008-09-19  Christian Persch  <>

        Bug 552837 â?? mem leak in gtkimmulticontext

        * gtk/gtkimmulticontext.c: (gtk_im_multicontext_get_slave): Plug mem

2008-09-18  Emmanuele Bassi  <>

        * gtk/gtkfilechooserdefault.c (settings_save): Save the size column
        visibility state with the rest of the FileChooser settings.

2008-09-18  Emmanuele Bassi  <>

        Bug 325095 â?? show a 'size' column

        * gtk/gtkfilechooserdefault.c:
        * gtk/gtkfilechooserprivate.h: Add a context menu item controlling
        the visibility of the file size column. This works only for the
        browse mode, and the column is not visible by default.

        * gtk/gtkfilechoosersettings.[ch]: Add a ShowSizeColumn key to the
        settings file.

2008-09-18  Dominic Lachowicz  <>

        * modules/engines/ms-windows/*: Revert most of previous patch, as
        it didn't work as expected; Some work toward #531086 - the new
        GtkTooltip widget doesn't theme properly on win32. Now, at least
        the background color seems okay

2008-09-18  Dominic Lachowicz  <>

        * modules/engines/ms-windows/*: MS Windows style should use
        pango_win32_font_description_from_logfont; Allows us to rip out a
        lot of potentially buggy code, and also get the font specification
        from the XP theme (#434987)

2008-09-18  Matthias Clasen  <>

        * updated version number to 2.15.0 for development.

        * ChangeLog.pre-2-14: rotate ChangeLog

=== Branch for 2.14 ===

To generate a diff of this commit:
cvs rdiff -u -r1.166 -r1.167 pkgsrc/x11/gtk2/Makefile
cvs rdiff -u -r1.61 -r1.62 pkgsrc/x11/gtk2/PLIST
cvs rdiff -u -r1.108 -r1.109 pkgsrc/x11/gtk2/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index