]> Pileus Git - ~andy/gtk/log
~andy/gtk
18 years agoImproved DND support for GtkNotebook (#332991, Carlos Garnacho)
Matthias Clasen [Wed, 22 Mar 2006 20:17:23 +0000 (20:17 +0000)]
Improved DND support for GtkNotebook (#332991, Carlos Garnacho)

2006-03-22  Matthias Clasen  <mclasen@redhat.com>

Improved DND support for GtkNotebook  (#332991, Carlos Garnacho)

* gtk/gtk.symbols:
* gtk/gtkdnd.h:
* gtk/gtkdnd.c: Add a track_motion flag on GtkDragDest
with getter and setter, for cases where the drag destination
is interested in drag motion events independent of targets.

* gtk/gtksettings.c (gtk_settings_class_init): Add a setting
for the timeout used when expanding during DND.

* gtk/gtknotebook.c: Use the track_motion flag to switch
notebook tabs when hovering over tabs during DND.

18 years agoRemove some accidentally committed stuff
Matthias Clasen [Wed, 22 Mar 2006 20:06:16 +0000 (20:06 +0000)]
Remove some accidentally committed stuff

18 years agoUse fg_gc to draw the inter-row drop highlight. Also draw the line all the
Matthias Clasen [Wed, 22 Mar 2006 18:46:08 +0000 (18:46 +0000)]
Use fg_gc to draw the inter-row drop highlight. Also draw the line all the

2006-03-22  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_bin_expose): Use fg_gc to
draw the inter-row drop highlight. Also draw the line all the
way across, and flip it in RTL mode. (#334906, Ian McDonald)

18 years agoAdd a column that demonstrates how to use the new spinbutton cellrenderer.
Johan Dahlin [Wed, 22 Mar 2006 18:38:47 +0000 (18:38 +0000)]
Add a column that demonstrates how to use the new spinbutton cellrenderer.

    * tests/testtreeview.c: Add a column that demonstrates how to use
    the new spinbutton cellrenderer.

18 years agoRemove pointless includes of config.h, to make it easier compilable
Matthias Clasen [Wed, 22 Mar 2006 18:10:39 +0000 (18:10 +0000)]
Remove pointless includes of config.h, to make it easier compilable

2006-03-22  Matthias Clasen  <mclasen@redhat.com>

* tests/prop-editor.c:
* tests/testtreeview.c: Remove pointless includes of config.h,
to make it easier compilable against system GTK+.

18 years agoUpdates.
Matthias Clasen [Wed, 22 Mar 2006 17:45:05 +0000 (17:45 +0000)]
Updates.

2006-03-22  Matthias Clasen  <mclasen@redhat.com>

* gtk/tmpl/gtkcellrendererspin.sgml:
* gtk/tmpl/gtkcellrendererprogress.sgml:
* gtk/tmpl/gtkcellrenderercombo.sgml:
* gtk/tmpl/gtkcellrendereraccel.sgml: Updates.

18 years agorenamed last-char-timeout to password-hint-timeout and store all its data
Michael Natterer [Wed, 22 Mar 2006 16:17:52 +0000 (16:17 +0000)]
renamed last-char-timeout to password-hint-timeout and store all its data

2006-03-22  Michael Natterer  <mitch@imendio.com>

* gtk/gtkentry.c: renamed last-char-timeout to
password-hint-timeout and store all its data in a struct attached
as QData.

* gtk/gtkcellrendererspin.c: fix typo in #include.

18 years agosend a GtkWidget** instead of a GtkNotebookPage* when doing tabs DnD, this
Carlos Garnacho [Wed, 22 Mar 2006 16:11:48 +0000 (16:11 +0000)]
send a GtkWidget** instead of a GtkNotebookPage* when doing tabs DnD, this

2006-03-22  Carlos Garnacho  <carlosg@gnome.org>

        * gtk/gtknotebook.c: send a GtkWidget** instead of a GtkNotebookPage*
        when doing tabs DnD, this allows DnD interaction with other widgets,
        added some docs for this too.
        * tests/testnotebookdnd.c: add some code to test it.

18 years agoAdd a cell renderer which uses a spinbutton to edit the value of a cell.
Matthias Clasen [Wed, 22 Mar 2006 15:28:16 +0000 (15:28 +0000)]
Add a cell renderer which uses a spinbutton to edit the value of a cell.

2006-03-22  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtk.symbols:
* gtk/gtkcellrendererspin.h:
* gtk/gtkcellrendererspin.c: Add a cell renderer which
uses a spinbutton to edit the value of a cell. (#156023,
Daniel Kasak, Lorenzo Gil Sanchez, Carlos Garnacho)

* gtk/gtk.h:
* gtk/Makefile.am: Glue it in.

18 years agoapplied modified patch from maemo-gtk which allows the most recently
Michael Natterer [Wed, 22 Mar 2006 14:06:40 +0000 (14:06 +0000)]
applied modified patch from maemo-gtk which allows the most recently

2006-03-22  Michael Natterer  <mitch@imendio.com>

* gtk/gtkentry.c: applied modified patch from maemo-gtk which
allows the most recently entered character in a hidden entry to be
shown for a configurable period of time. Fixes bug #334560.

18 years agocount down from G_MAXUINT to avoid clashes with application-added DND
Michael Natterer [Wed, 22 Mar 2006 10:39:51 +0000 (10:39 +0000)]
count down from G_MAXUINT to avoid clashes with application-added DND

2006-03-22  Michael Natterer  <mitch@imendio.com>

* gtk/gtktextbuffer.h (enum GtkTextBufferTargetInfo): count down
from G_MAXUINT to avoid clashes with application-added DND
targets.

* gtk/gtktextview.c (gtk_text_view_init): set an empty
GtkTargetList on the drag_dest so it is not NULL when a derived
class' init() function is called.

(gtk_text_view_target_list_notify): copy the text buffer's paste
targets into the view's destinstion target list (preserving
application-added DND targets), instead of replacing the view's
target list. Fixes bug #334399.

18 years agoAdd new files.
Anders Carlsson [Tue, 21 Mar 2006 16:50:47 +0000 (16:50 +0000)]
Add new files.

2006-03-21  Anders Carlsson  <andersca@imendio.com>

        * gtk/Makefile.am:
        Add new files.

        * gtk/gtkclipboard-quartz.c: Added.
        * gtk/gtkdnd-quartz.c: Added.
        * gtk/gtkquartz.c: Added.
        * gtk/gtkquartz.h: Added.
        Add dnd and clipboard implementations.

18 years agoremoving trailing \ fixes the build.
Michael Natterer [Tue, 21 Mar 2006 11:52:28 +0000 (11:52 +0000)]
removing trailing \ fixes the build.

2006-03-21  Michael Natterer  <mitch@imendio.com>

* gdk/quartz/Makefile.am: removing trailing \ fixes the build.

18 years agoImplement gdk_window_scroll.
Anders Carlsson [Tue, 21 Mar 2006 09:36:46 +0000 (09:36 +0000)]
Implement gdk_window_scroll.

2006-03-21  Anders Carlsson  <andersca@imendio.com>

        * gdk/quartz/gdkgeometry-quartz.c:
        (gdk_window_scroll):
        Implement gdk_window_scroll.

18 years agoAdd the GDK part of the DND implementation.
Anders Carlsson [Tue, 21 Mar 2006 08:02:17 +0000 (08:02 +0000)]
Add the GDK part of the DND implementation.

2006-03-21  Anders Carlsson  <andersca@imendio.com>

        * gdk/quartz/GdkQuartzWindow.c:
        (drag_operation_to_drag_action):
        (drag_action_to_drag_operation):
        (update_context_from_dragging_info):
        (-[GdkQuartzWindow draggingEntered:]):
        (-[GdkQuartzWindow draggingEnded:]):
        (-[GdkQuartzWindow draggingExited:]):
        (-[GdkQuartzWindow draggingUpdated:]):
        (-[GdkQuartzWindow performDragOperation:]):
        (-[GdkQuartzWindow wantsPeriodicDraggingUpdates]):
        (-[GdkQuartzWindow draggedImage:endedAt:operation:]):
        * gdk/quartz/gdkdnd-quartz.c:
        (gdk_drag_context_finalize):
        (gdk_drag_context_init):
        (gdk_drag_context_class_init):
        (gdk_drag_begin):
        (gdk_drag_status):
        Add the GDK part of the DND implementation.

        * gdk/quartz/Makefile.am:
        Add some missing headers.

        * gdk/quartz/gdkdrawable-quartz.h:
        * gdk/quartz/gdkprivate-quartz.h:
        * gdk/quartz/gdkquartz.h:
        * gdk/quartz/gdkwindow-quartz.c:
        (gdk_quartz_window_get_nsview):
        New function, for use by the GTK part of the DND implementation

18 years agoOffset coordinates by 0.5 pixels to get consistant results for both image
Anders Carlsson [Tue, 21 Mar 2006 07:49:05 +0000 (07:49 +0000)]
Offset coordinates by 0.5 pixels to get consistant results for both image

2006-03-21  Anders Carlsson  <andersca@imendio.com>

        * gdk/quartz/gdkdrawable-quartz.c:
        (gdk_quartz_ref_cairo_surface):
        (gdk_quartz_draw_rectangle):
        (gdk_quartz_draw_arc):
        (gdk_quartz_draw_polygon):
        (gdk_quartz_draw_drawable):
        (gdk_quartz_draw_segments):
        (gdk_quartz_draw_lines):
        (gdk_quartz_draw_pixbuf):
        (gdk_quartz_draw_image):
        (_gdk_quartz_drawable_get_context):
        * gdk/quartz/gdkdrawable-quartz.h:
        Offset coordinates by 0.5 pixels to get consistant results for both
        image contexts and screen contexts.

18 years ago]): Synthesize GDK_CONFIGURE events when the window position changes.
Anders Carlsson [Tue, 21 Mar 2006 07:36:54 +0000 (07:36 +0000)]
]): Synthesize GDK_CONFIGURE events when the window position changes.

2006-03-21  Anders Carlsson  <andersca@imendio.com>

        * gdk/quartz/GdkQuartzWindow.c
        ([GdkQuartzWindow -windowDidMove:]): Synthesize GDK_CONFIGURE events
        when the window position changes.

18 years agoRemove an unused variable.
Matthias Clasen [Tue, 21 Mar 2006 03:59:44 +0000 (03:59 +0000)]
Remove an unused variable.

2006-03-20  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkdnd.c (gtk_drag_get_cursor): Remove an unused variable.

18 years agoImprove ChangeLog
Matthias Clasen [Tue, 21 Mar 2006 00:21:03 +0000 (00:21 +0000)]
Improve ChangeLog

18 years agoDon't leave page->tab_label dangling. (gtk_notebook_real_remove): Use
Matthias Clasen [Tue, 21 Mar 2006 00:12:48 +0000 (00:12 +0000)]
Don't leave page->tab_label dangling. (gtk_notebook_real_remove): Use

2006-03-20  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtknotebook.c (gtk_notebook_remove_tab_label): Don't leave
page->tab_label dangling.
(gtk_notebook_real_remove): Use GTK_IN_DESTRUCTION.
(gtk_notebook_destroy): Leave the removal of the children
to the container destroy method.  (#319032, Yevgen Muntyan)

2006-03-20  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkcombobox.c (gtk_combo_box_remove): Use the existing
GTK_IN_DESTRUCTION flag, rather than roll our own.

18 years agoAlways save errno to a temporary before making other calls. (#335179,
Matthias Clasen [Mon, 20 Mar 2006 20:09:51 +0000 (20:09 +0000)]
Always save errno to a temporary before making other calls. (#335179,

2006-03-20  Matthias Clasen  <mclasen@redhat.com>

        * gdk-pixbuf-animation.c:
        * gdk-pixbuf-io.c:
        * io-xpm.c:
        * io-xbm.c:
        * io-gif.c: Always save errno to a temporary before making
        other calls.  (#335179, Morten Welinder)

18 years agoAdd a window-placement-set property and a gtk-scrolled-window-placement
Matthias Clasen [Mon, 20 Mar 2006 19:17:59 +0000 (19:17 +0000)]
Add a window-placement-set property and a gtk-scrolled-window-placement

2006-03-20  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtk.symbols:
        * gtk/gtkscrolledwindow.h:
        * gtk/gtkscrolledwindow.c: Add a window-placement-set property
        and a gtk-scrolled-window-placement setting.  (#157025, Christian
        Neumair)

18 years agoMake sure gettext is initialized before using it. (#335129, Christian
Matthias Clasen [Mon, 20 Mar 2006 05:38:37 +0000 (05:38 +0000)]
Make sure gettext is initialized before using it. (#335129, Christian

2006-03-20  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkmain.c (gtk_get_option_group): Make sure gettext
is initialized before using it.  (#335129, Christian Persch)

18 years agoAdd MAINTAINERS
Matthias Clasen [Mon, 20 Mar 2006 03:52:27 +0000 (03:52 +0000)]
Add MAINTAINERS

18 years agoUpdates
Matthias Clasen [Mon, 20 Mar 2006 03:39:05 +0000 (03:39 +0000)]
Updates

18 years agofix a typo
Matthias Clasen [Mon, 20 Mar 2006 03:34:02 +0000 (03:34 +0000)]
fix a typo

18 years agoDocument that @cell must be one of the renderers of the icon view, warn if
Matthias Clasen [Mon, 20 Mar 2006 03:16:43 +0000 (03:16 +0000)]
Document that @cell must be one of the renderers of the icon view, warn if

2006-03-19  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkiconview.c (gtk_icon_view_set_cursor): Document that
@cell must be one of the renderers of the icon view, warn if
it is not, and ignore @start_editing if @cell is not set.
(#335001, Emmanuel Rodriguez)

18 years agoAdd a missing comma. (#334774, Peter Breitenlohner)
Matthias Clasen [Thu, 16 Mar 2006 16:37:26 +0000 (16:37 +0000)]
Add a missing comma. (#334774, Peter Breitenlohner)

2006-03-16  Matthias Clasen  <mclasen@redhat.com>

* configure.in: Add a missing comma.  (#334774, Peter Breitenlohner)

18 years agoFix up compiler warnings
Matthias Clasen [Thu, 16 Mar 2006 15:53:36 +0000 (15:53 +0000)]
Fix up compiler warnings

18 years agoCheck for a stock icon, not a stock item, when deciding whether to use
Matthias Clasen [Thu, 16 Mar 2006 15:38:55 +0000 (15:38 +0000)]
Check for a stock icon, not a stock item, when deciding whether to use

2006-03-16  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkactiongroup.c (gtk_action_group_add_actions_full)
(gtk_action_group_add_toggle_actions_full)
(gtk_action_group_add_radio_actions_full): Check for a stock
icon, not a stock item, when deciding whether to use stock-id
or icon-name.  (#334760, Jody Goldberg)

18 years agoUpdate the size of the image, by swapping the implementations of
Matthias Clasen [Thu, 16 Mar 2006 13:59:24 +0000 (13:59 +0000)]
Update the size of the image, by swapping the implementations of

2006-03-16  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkimage.c (gtk_image_clear): Update the size of the image,
by swapping the implementations of gtk_image_clear and
gtk_image_reset.  (#334657)

18 years agorelease notes
Matthias Clasen [Thu, 16 Mar 2006 13:31:11 +0000 (13:31 +0000)]
release notes

18 years agoMake expander-size a bit closer to Microsoft's values (bug 325699, Brad
Dom Lachowicz [Wed, 15 Mar 2006 19:19:33 +0000 (19:19 +0000)]
Make expander-size a bit closer to Microsoft's values (bug 325699, Brad

        * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: Make expander-size
        a bit closer to Microsoft's values (bug 325699, Brad Taylor)

18 years agoMove it to the right place
Matthias Clasen [Wed, 15 Mar 2006 19:03:46 +0000 (19:03 +0000)]
Move it to the right place

18 years agoPopdown the list before changing the active iter, otherwise people will be
Matthias Clasen [Wed, 15 Mar 2006 19:00:59 +0000 (19:00 +0000)]
Popdown the list before changing the active iter, otherwise people will be

2006-03-15  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkcombobox.c (gtk_combo_box_list_button_released)
(gtk_combo_box_list_key_press): Popdown the list before changing
the active iter, otherwise people will be surprised by the
grabs that are still in place when their ::changed handler
runs.

18 years agoOverride style->realize/ style->unrealize, so that GTK+ doesn't
Dom Lachowicz [Wed, 15 Mar 2006 17:37:19 +0000 (17:37 +0000)]
Override style->realize/ style->unrealize, so that GTK+ doesn't

        * modules/engines/ms-windows/msw_style.c: Override style->realize/
        style->unrealize, so that GTK+ doesn't automatically attempt to apply
        shading to the GC colors, causing a mismatch with the Win32 native
        colors. Problem found by (and suggested solution by) "Cosmic Integer"

18 years agoAdded checksettings.
Behdad Esfahbod [Wed, 15 Mar 2006 07:59:09 +0000 (07:59 +0000)]
Added checksettings.

18 years agoAdded testnotebookdnd.
Behdad Esfahbod [Wed, 15 Mar 2006 07:58:39 +0000 (07:58 +0000)]
Added testnotebookdnd.

18 years agoAdd docs for new ports.
Matthias Clasen [Wed, 15 Mar 2006 06:46:00 +0000 (06:46 +0000)]
Add docs for new ports.

18 years agoAdd a shortcut to stop the gif mainloop after the first frame, if that is
Matthias Clasen [Tue, 14 Mar 2006 21:32:16 +0000 (21:32 +0000)]
Add a shortcut to stop the gif mainloop after the first frame, if that is

2006-03-14  Matthias Clasen  <mclasen@redhat.com>

* io-gif.c (gdk_pixbuf__gif_image_load): Add a shortcut
to stop the gif mainloop after the first frame, if that
is all we are interested in.  (#334538)

18 years agoAdd test cases for alignment.
Matthias Clasen [Tue, 14 Mar 2006 19:44:59 +0000 (19:44 +0000)]
Add test cases for alignment.

2006-03-14  Matthias Clasen  <mclasen@redhat.com>

* tests/testcellrenderertext.c: Add test cases for alignment.

* gtk/gtkcellrenderertext.c: Add an alignment property,
and fix some cases where ellipsize_set was being used to
mean "we're ellipsizing" even when ellipsize was set to NONE.
(#318761, Ross Burton)

18 years agoMake return and release work again to commit a hex sequence. Additionally,
Matthias Clasen [Tue, 14 Mar 2006 16:42:59 +0000 (16:42 +0000)]
Make return and release work again to commit a hex sequence. Additionally,

2006-03-14  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkimcontextsimple.c: Make return and release work again
to commit a hex sequence. Additionally, make escape reset the
im context when in a hex sequence.  (#334423, Behdad Esfahbod)

18 years agoUpdated Romanian translation by Mişu Moldovan <dumol@gnome.ro>
Mugurel Tudor [Mon, 13 Mar 2006 08:20:44 +0000 (08:20 +0000)]
Updated Romanian translation by Mişu Moldovan <dumol@gnome.ro>

2006-03-13  Mugurel Tudor  <mugurelu@gnome.ro>

* ro.po: Updated Romanian translation
by Mişu Moldovan <dumol@gnome.ro>

18 years agoMake actions work with named icons. (#323484, Jorn Baayen)
Matthias Clasen [Mon, 13 Mar 2006 05:11:23 +0000 (05:11 +0000)]
Make actions work with named icons. (#323484, Jorn Baayen)

2006-03-13  Matthias Clasen  <mclasen@redhat.com>

Make actions work with named icons.  (#323484, Jorn Baayen)

* gtk/gtkactiongroup.c: If the stock-id field of a GtkActionEntry
does not contain a registered stock id, interpret it as an
icon name.

* gtk/gtkaction.c: Add an icon-name property to actions and
use it for icons if a stock-id is not specified.

18 years agoDon't for the creation of geometry info here. (#114533)
Matthias Clasen [Mon, 13 Mar 2006 03:32:11 +0000 (03:32 +0000)]
Don't for the creation of geometry info here. (#114533)

2006-03-12  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkwindow.c (gtk_window_compute_configure_request): Don't
for the creation of geometry info here.  (#114533)

18 years agoUpdated Brazilian Portuguese translation
Raphael Higino [Sun, 12 Mar 2006 18:00:41 +0000 (18:00 +0000)]
Updated Brazilian Portuguese translation

18 years agoUse Polygon() for outlined polygons, too. Same idea as in
Tor Lillqvist [Sat, 11 Mar 2006 20:34:37 +0000 (20:34 +0000)]
Use Polygon() for outlined polygons, too. Same idea as in

2006-03-11  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkdrawable-win32.c (draw_polygon): Use Polygon() for
outlined polygons, too. Same idea as in draw_rectangle(): Set pen
to NULL_PEN if drawing a filled polygon, set brush to HOLLOW_BRUSH
if drawing a polygon outline. (#332662)
(gdk_win32_draw_polygon): Corresponding simplification: no need to
add an extra final copy of the starting point.

18 years agoSpeed up the Windows theme considerably (#163724, John Ehresman) Be more
Dom Lachowicz [Sat, 11 Mar 2006 18:04:36 +0000 (18:04 +0000)]
Speed up the Windows theme considerably (#163724, John Ehresman) Be more

2006-03-11  Dom Lachowicz <cinamod@hotmail.com>

* modules/engines/ms-windows: Speed up the Windows theme
considerably (#163724, John Ehresman)
Be more careful about setting Pango font descriptions (#333372)

18 years agoUpdated Bulgarian translation by Alexander Shopov <ash@contact.bg>
Alexander Shopov [Sat, 11 Mar 2006 13:08:36 +0000 (13:08 +0000)]
Updated Bulgarian translation by Alexander Shopov <ash@contact.bg>

2006-03-10  Alexander Shopov  <ash@contact.bg>

* bg.po: Updated Bulgarian translation by
Alexander Shopov <ash@contact.bg>

18 years agoAllow to cancel a drag with ESC. (#58389, Søren Sandmann)
Matthias Clasen [Sat, 11 Mar 2006 05:47:09 +0000 (05:47 +0000)]
Allow to cancel a drag with ESC. (#58389, Søren Sandmann)

2006-03-11  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkrange.c (gtk_range_key_press): Allow to cancel
a drag with ESC.  (#58389, Søren Sandmann)

18 years agoAdd a style property ::activate_slider that allows themes to draw the
Matthias Clasen [Sat, 11 Mar 2006 04:09:38 +0000 (04:09 +0000)]
Add a style property ::activate_slider that allows themes to draw the

2006-03-10  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkrange.c: Add a style property ::activate_slider that
allows themes to draw the slider active while dragged.  (#311992,
Benjamin Berg)

* gtk/gtkcolorsel.c (gtk_color_selection_init): Fix two labels.

18 years agoAdd a little script
Matthias Clasen [Sat, 11 Mar 2006 02:24:52 +0000 (02:24 +0000)]
Add a little script

18 years agoClean up exported symbols
Matthias Clasen [Sat, 11 Mar 2006 02:13:11 +0000 (02:13 +0000)]
Clean up exported symbols

18 years agoAvoid a mnemonic conflict. (#163850, Dennis Cranston)
Matthias Clasen [Fri, 10 Mar 2006 22:56:15 +0000 (22:56 +0000)]
Avoid a mnemonic conflict. (#163850, Dennis Cranston)

2006-03-10  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkcolorsel.c (gtk_color_selection_init): Avoid a mnemonic
conflict.  (#163850, Dennis Cranston)

18 years agoMake the behaviour of the about dialog consistent with other dialogs in
Matthias Clasen [Fri, 10 Mar 2006 22:05:36 +0000 (22:05 +0000)]
Make the behaviour of the about dialog consistent with other dialogs in

2006-03-10  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkaboutdialog.c (gtk_show_about_dialog): Make the behaviour
of the about dialog consistent with other dialogs in gtk. If the
dialog is constructed with gtk_about_dialog_new(), the creator
is reponsible for handling the response by hiding or closing the
dialog. gtk_show_about_dialog() handles it by hiding the dialog.
(#333360, Daniel Drake)

* README.in: Mention this change.

18 years agoApply a patch from Dennis Cranston to make dialogs more consistent
Matthias Clasen [Fri, 10 Mar 2006 21:37:43 +0000 (21:37 +0000)]
Apply a patch from Dennis Cranston to make dialogs more consistent

2006-03-10  Matthias Clasen  <mclasen@redhat.com>

Apply a patch from Dennis Cranston to make dialogs more
consistent  (#163850)

* gtk/gtkcolorsel.c (make_label_spinbutton): Left-align labels.

* gtk/gtkfontsel.c (gtk_font_selection_init):
* gtk/gtkfontsel.c (gtk_font_selection_dialog_init):
* gtk/gtkcolorsel.c (gtk_color_selection_init):
* gtk/gtkcolorseldialog.c (gtk_color_selection_dialog_init):
* gtk/gtkinputdialog.c (gtk_input_dialog_init): Update the layout
of the dialog to follow HIG recommendations. Also update labels.

* gtk/gtkmessagedialog.c (gtk_message_dialog_init): HIG-compatible
spacing.
(gtk_message_dialog_font_size_change): Merged into
 gtk_message_dialog_style_set.

18 years agoRemove suspicious code. (#325295, Alexander Nedotsukov)
Matthias Clasen [Fri, 10 Mar 2006 19:15:40 +0000 (19:15 +0000)]
Remove suspicious code. (#325295, Alexander Nedotsukov)

2006-03-10  Matthias Clasen  <mclasen@redhat.com>

* pixbuf-draw.c (draw_extension): Remove suspicious
code.  (#325295, Alexander Nedotsukov)

18 years agoRemove g_return_if_fail() checks from static functions.
Matthias Clasen [Fri, 10 Mar 2006 19:13:37 +0000 (19:13 +0000)]
Remove g_return_if_fail() checks from static functions.

2006-03-10  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkstyle.c: Remove g_return_if_fail() checks
from static functions.

18 years agoMake Shift-P and Shift-N activate typeahead in GtkTreeView (i.e. they are
Federico Mena Quintero [Fri, 10 Mar 2006 17:16:50 +0000 (17:16 +0000)]
Make Shift-P and Shift-N activate typeahead in GtkTreeView (i.e. they are

2006-03-10  Federico Mena Quintero  <federico@novell.com>

Make Shift-P and Shift-N activate typeahead in GtkTreeView
(i.e. they are just normal capital letters).  Fixes bug #334098.

* gtk/gtktreeview.c (gtk_tree_view_add_move_binding): Add an
"add_shifted_binding" argument which determines whether we'll add
the same binding with GDK_SHIFT_MASK.
(gtk_tree_view_class_init): Use add_shifted_binding=FALSE for GDK_p
and GDK_n; use TRUE for all the rest.

18 years agoadd gtk_entry_get,set_inner_border()
Michael Natterer [Fri, 10 Mar 2006 11:06:00 +0000 (11:06 +0000)]
add gtk_entry_get,set_inner_border()

2006-03-10  Michael Natterer  <mitch@imendio.com>

* gtk/gtk-sections.txt: add gtk_entry_get,set_inner_border()

18 years agoCorrected my email address.
Michael Natterer [Fri, 10 Mar 2006 10:44:18 +0000 (10:44 +0000)]
Corrected my email address.

18 years agoapplied refactored patch from maemo-gtk that replaces the INNER_BORDER
Michael Natterer [Fri, 10 Mar 2006 10:30:36 +0000 (10:30 +0000)]
applied refactored patch from maemo-gtk that replaces the INNER_BORDER

2006-03-10  Michael Natterer  <mitch@gimp.org>

* gtk/gtkentry.[ch]: applied refactored patch from maemo-gtk that
replaces the INNER_BORDER define by an "inner-border" style
property of type GtkBorder. Additionally, add an "inner-border"
object property plus API which allows to override any theme
border, to allow pixel-perfect positioning of entries for inline
editing. Fixes bug #333922.

* gtk/gtk.symbols: add the new public functions.

18 years agoReplace the popup-show and popup-hide signals with a readonle popup-shown
Matthias Clasen [Thu, 9 Mar 2006 20:20:30 +0000 (20:20 +0000)]
Replace the popup-show and popup-hide signals with a readonle popup-shown

2006-03-09  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkcombobox.c (gtk_combo_box_class_init): Replace the
popup-show and popup-hide signals with a readonle popup-shown
property.  (#162531, Christian Persch)

18 years agoTurn off prelighting when gtk-touchscreen-mode is enabled (#135666)
Ross Burton [Thu, 9 Mar 2006 18:48:38 +0000 (18:48 +0000)]
Turn off prelighting when gtk-touchscreen-mode is enabled (#135666)

2006-03-09  Ross Burton  <ross@openedhand.com>

* gtk/gtkwidget.c:
* gtk/gtkrange.c:
* gtk/gtktogglebutton.c:
Turn off prelighting when gtk-touchscreen-mode is enabled (#135666)

18 years agomove the floating flag from the GInitiallyUnowned bit to GTK_FLOATING.
Tim Janik [Thu, 9 Mar 2006 13:33:46 +0000 (13:33 +0000)]
move the floating flag from the GInitiallyUnowned bit to GTK_FLOATING.

Thu Mar  9 14:29:43 2006  Tim Janik  <timj@gtk.org>

        * gtk/gtkobject.c (gtk_object_init): move the floating flag from
        the GInitiallyUnowned bit to GTK_FLOATING. fixes tests/floatingcheck.
        kudos to mitch for debugging this.

18 years agodist all changelogs
Matthias Clasen [Thu, 9 Mar 2006 05:30:30 +0000 (05:30 +0000)]
dist all changelogs

18 years agoNo gtk_tray_icon_get_type on Win32.
Tor Lillqvist [Thu, 9 Mar 2006 01:44:19 +0000 (01:44 +0000)]
No gtk_tray_icon_get_type on Win32.

2006-03-09  Tor Lillqvist  <tml@novell.com>

* gtk/gtk.symbols: No gtk_tray_icon_get_type on Win32.

18 years agoUpdated Spanish translation.
Francisco Javier F. Serrador [Wed, 8 Mar 2006 22:32:59 +0000 (22:32 +0000)]
Updated Spanish translation.

2006-03-08  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

* es.po: Updated Spanish translation.

18 years agoupdated Breton po file
Pablo Saratxaga [Wed, 8 Mar 2006 20:56:58 +0000 (20:56 +0000)]
updated Breton po file

18 years agoupdated Breton translation
Pablo Saratxaga [Wed, 8 Mar 2006 20:51:17 +0000 (20:51 +0000)]
updated Breton translation

18 years agoRename ::tab-added and ::tab-removed signals to ::page-added and
Carlos Garnacho [Wed, 8 Mar 2006 17:22:14 +0000 (17:22 +0000)]
Rename ::tab-added and ::tab-removed signals to ::page-added and

2006-03-08  Carlos Garnacho  <carlosg@gnome.org>

        Rename ::tab-added and ::tab-removed signals to ::page-added and
        ::page-removed for not conflicting with other tab reordering
        implementations. Fixes bug #333743.

        Also rename ::tab-reordered to ::page-reordered, and emit it in
        gtk_notebook_reorder_child () to make it behave consistently with the
        other two signals.

        * gtk/gtknotebook.c (gtk_notebook_class_init): rename signals.
        (gtk_notebook_reorder_tab)
        (gtk_notebook_button_release)
        (gtk_notebook_remove)
        (gtk_notebook_real_insert_page): emit respectively renamed signals
        (gtk_notebook_reorder_child): also emit ::page-reordered here

        * tests/testnotebookdnd.c: use renamed signals

18 years agoadded gdk_screen_get_active_window() and gdk_screen_get_window_stack()
Michael Natterer [Wed, 8 Mar 2006 17:09:53 +0000 (17:09 +0000)]
added gdk_screen_get_active_window() and gdk_screen_get_window_stack()

2006-03-08  Michael Natterer  <mitch@imendio.com>

* gdk/gdk-sections.txt: added gdk_screen_get_active_window()
and gdk_screen_get_window_stack()

18 years agogdk/gdkscreen.h gdk/x11/gdkscreen-x11.c added
Michael Natterer [Wed, 8 Mar 2006 17:02:34 +0000 (17:02 +0000)]
gdk/gdkscreen.h gdk/x11/gdkscreen-x11.c added

2006-03-08  Michael Natterer  <mitch@imendio.com>

* gdk/gdkscreen.h
* gdk/x11/gdkscreen-x11.c
* gdk/gdk.symbols: added gdk_screen_get_active_window() and
gdk_screen_get_window_stack() (patch from maemo-gtk).
Fixes bug #320881.

* gdk/directfb/gdkscreen-directfb.c
* gdk/quartz/gdkscreen-quartz.c
* gdk/win32/gdkscreen-win32.c: added the functions as stubs.

18 years agozero-initialize the GValue before calling g_value_init().
Michael Natterer [Wed, 8 Mar 2006 15:37:07 +0000 (15:37 +0000)]
zero-initialize the GValue before calling g_value_init().

2006-03-08  Michael Natterer  <mitch@imendio.com>

* tests/prop-editor.c (unichar_changed): zero-initialize the
GValue before calling g_value_init().

18 years agomake sure that the text_area_width is always >= 0. Fixes bug #316712 (Dan
Michael Natterer [Wed, 8 Mar 2006 14:04:53 +0000 (14:04 +0000)]
make sure that the text_area_width is always >= 0. Fixes bug #316712 (Dan

2006-03-08  Michael Natterer  <mitch@imendio.com>

* gtk/gtkentry.c (gtk_entry_adjust_scroll): make sure that the
text_area_width is always >= 0. Fixes bug #316712 (Dan Winship).

18 years agoUpdated Spanish translation.
Francisco Javier F. Serrador [Tue, 7 Mar 2006 22:44:32 +0000 (22:44 +0000)]
Updated Spanish translation.

2006-03-07  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

* es.po: Updated Spanish translation.

18 years agoCancel drags when the grabs get broken. Fixes bug #333056:
Federico Mena Quintero [Tue, 7 Mar 2006 17:48:07 +0000 (17:48 +0000)]
Cancel drags when the grabs get broken. Fixes bug #333056:

2006-03-07  Federico Mena Quintero  <federico@novell.com>

Cancel drags when the grabs get broken.  Fixes bug #333056:

* gtk/gtkdnd.c (gtk_drag_selection_received): The time argument is
a guint, not guint32.
(gtk_drag_source_event_cb): Return gboolean, not gint.
(gtk_drag_anim_timeout): Likewise.
(gtk_drag_motion_cb): Likewise.
(gtk_drag_key_cb): Likewise.
(gtk_drag_button_release_cb): Likewise.
(gtk_drag_abort_timeout): Likewise.
(gtk_drag_begin_internal): Connect to "grab-broken-event" on the
ipc_widget.
(gtk_drag_source_info_destroy): Disconnect from the
"grab-broken-event" callback.
(gtk_drag_end): Likewise.
(gtk_drag_grab_broken_event_cb): New callback.  We cancel the drag
if the grab was broken and not regrabbed by the DnD code.

2006-03-07  Federico Mena Quintero  <federico@novell.com>

* gtk/gtkfilechooserdefault.c (shortcuts_button_press_event_cb):
Hack to let the treeview's button-press-event handler run before
ours.  This lets the selection be updated before we pop up a
context menu.

18 years agodepend on glib-2.10.1.
Tim Janik [Tue, 7 Mar 2006 16:18:25 +0000 (16:18 +0000)]
depend on glib-2.10.1.

Tue Mar  7 17:16:34 2006  Tim Janik  <timj@gtk.org>

        * configure.in: depend on glib-2.10.1.

        * gtk/gtkobject.c: fixed up messing with non-GtkObject floating flags.
        this requires glib-2.10.1.

18 years agoAdd infrastructure for copy/paste and DND of rich text for GtkTextBuffer.
Michael Natterer [Tue, 7 Mar 2006 13:46:11 +0000 (13:46 +0000)]
Add infrastructure for copy/paste and DND of rich text for GtkTextBuffer.

2006-03-07  Michael Natterer  <mitch@imendio.com>

Add infrastructure for copy/paste and DND of rich text for
GtkTextBuffer. Fixes bug #324177.

* gtk/gtktextbufferrichtext.[ch]: new files implementing a
per-buffer registry of rich text formats.

* gtk/gtk.h: #include gtktextbufferrichtext.h

* gtk/gtktextbufferserialize.[ch]: new files implementing an
internal serialization format that can handle all of a text
buffer's tags and pixbufs. It's not useful for anything except
tranfer between instances of GtkTextBuffer (Anders Carlsson).

* gtk/Makefile.am: build the new files.

* gtk/gtkclipboard.[ch]: added convenience APIs for rich text,
just as they exist for plain text and pixbufs.

* gtk/gtkselection.[ch]: added rich text convenience APIs here
too.  Return the target list from gtk_target_list_ref(). Register
GtkTargetList as boxed type. Added
gtk_target_table_new_from_list() and gtk_target_table_free(),
which make converting between GtkTargetList and arrays of
GtkTargetEntry considerably easier.

* gtk/gtktextutil.[ch]: added _gtk_text_util_create_rich_drag_icon()
which creates a fancy rich text icon (Matthias Clasen).

* gtk/gtktextbuffer.[ch]: use all the new stuff above and
implement copy and paste of rich text. Added APIs for getting the
target lists used for copy and paste. Added public enum
GtkTextBufferTargetInfo which contains the "info" IDs associated
with the entries of the target lists.

* gtk/gtktextview.c: use the new rich text APIs and
GtkTextBuffer's new target list API to enable DND of rich text
chunks.

* gtk/gtk.symbols: export all the new symbols added.

* tests/testtext.c: added rich text testing stuff.

18 years agoTake cursor width into account when calculating the area to be
Matthias Clasen [Tue, 7 Mar 2006 02:05:02 +0000 (02:05 +0000)]
Take cursor width into account when calculating the area to be

2006-03-06  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktextview.c (text_window_invalidate_cursors): Take
cursor width into account when calculating the area to
be invalidated.  (#333377, #323401 Steve Frécinaux)

18 years agoSet error when returning FALSE. (#333268, Paolo Maggi, Christian Persch)
Matthias Clasen [Mon, 6 Mar 2006 17:34:35 +0000 (17:34 +0000)]
Set error when returning FALSE. (#333268, Paolo Maggi, Christian Persch)

2006-03-06  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkmain.c (post_parse_hook): Set error when returning
FALSE.  (#333268, Paolo Maggi, Christian Persch)

18 years agoCheck that the pixmap has the right depth. (#333363, Ed Catmur)
Matthias Clasen [Mon, 6 Mar 2006 17:17:50 +0000 (17:17 +0000)]
Check that the pixmap has the right depth. (#333363, Ed Catmur)

2006-03-06  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkpixmap.c (gtk_pixmap_set): Check that the pixmap
has the right depth.  (#333363, Ed Catmur)

18 years agoRemove superfluous extern errno declaration. (#333605, Tommi Komulainen)
Matthias Clasen [Mon, 6 Mar 2006 14:08:35 +0000 (14:08 +0000)]
Remove superfluous extern errno declaration. (#333605, Tommi Komulainen)

2006-03-06  Matthias Clasen  <mclasen@redhat.com>

* xdgmimemagic.c: Remove superfluous extern errno
declaration.  (#333605, Tommi Komulainen)

18 years agoApply some arbitrary lower limit for the guessed wrap width. (#332466,
Matthias Clasen [Mon, 6 Mar 2006 04:55:53 +0000 (04:55 +0000)]
Apply some arbitrary lower limit for the guessed wrap width. (#332466,

2006-03-05  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkiconview.c (adjust_wrap_width): Apply some
arbitrary lower limit for the guessed wrap width. (#332466,
Donald Straney)

18 years agoFix handling of image-only buttons. (#332985, Kalle Vahlmann, #333555)
Matthias Clasen [Mon, 6 Mar 2006 03:47:06 +0000 (03:47 +0000)]
Fix handling of image-only buttons. (#332985, Kalle Vahlmann, #333555)

2006-03-05  Matthias Clasen  <mclasen@redhat.com>

Fix handling of image-only buttons.  (#332985, Kalle
Vahlmann, #333555)

* gtk/gtkbutton.c (gtk_button_construct_child): Don't
return early if there an image to show.
(show_image): Always return TRUE if there is no text.

18 years agoTranslation updated by Ivar Smolin.
Priit Laes [Sun, 5 Mar 2006 22:25:42 +0000 (22:25 +0000)]
Translation updated by Ivar Smolin.

2006-03-06  Priit Laes  <amd@store20.com>

* et.po: Translation updated by Ivar Smolin.

18 years agoRemove progress bar label translation before "|".
Dafydd Harries [Sun, 5 Mar 2006 20:26:06 +0000 (20:26 +0000)]
Remove progress bar label translation before "|".

2006-03-05  Dafydd Harries  <daf@muse.19inch.net>

* cy.po: Remove progress bar label translation before "|".

18 years agoAdjust the handling of min values for the x and y axes of extended input
Matthias Clasen [Sat, 4 Mar 2006 05:26:29 +0000 (05:26 +0000)]
Adjust the handling of min values for the x and y axes of extended input

2006-03-04  Matthias Clasen  <mclasen@redhat.com>

* gdk/x11/gdkinput-x11 (gdk_input_translate_coordinates):
Adjust the handling of min values for the x and y axes of
extended input devices  (#324562, #142536, Denis Auroux and
Robert Ögren)

18 years agoPosition the focus rectangle correctly in RTL mode. (#333291, Benjamin
Matthias Clasen [Sat, 4 Mar 2006 05:17:40 +0000 (05:17 +0000)]
Position the focus rectangle correctly in RTL mode. (#333291, Benjamin

2006-03-04  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkexpander.c (gtk_expander_paint_focus): Position
the focus rectangle correctly in RTL mode.  (#333291,
Benjamin Berg)

18 years agoSupport 16bit pnms
Matthias Clasen [Fri, 3 Mar 2006 17:19:27 +0000 (17:19 +0000)]
Support 16bit pnms

18 years agoAvoid emitting superfluous preedit_changed signals. Thanks to Matthias.
Tor Lillqvist [Fri, 3 Mar 2006 14:16:45 +0000 (14:16 +0000)]
Avoid emitting superfluous preedit_changed signals. Thanks to Matthias.

2006-03-03  Tor Lillqvist  <tml@novell.com>

* gtk/gtkimcontextsimple.c (gtk_im_context_simple_commit_char)
(gtk_im_context_simple_reset): Avoid emitting superfluous
preedit_changed signals. Thanks to Matthias. (#319407)

18 years agoApplied modified patch from maemo-gtk which makes separators more
Michael Natterer [Fri, 3 Mar 2006 12:38:42 +0000 (12:38 +0000)]
Applied modified patch from maemo-gtk which makes separators more

2006-03-03  Michael Natterer  <mitch@imendio.com>

Applied modified patch from maemo-gtk which makes separators more
themeable. Fixes bug #332022.

* gtk/gtkwidget.c: added style properties "wide-separators",
"separator-width" and "separator-height".

* gtk/gtkhseparator.c
* gtk/gtkvseparator.c
* gtk/gtkmenuitem.c
* gtk/gtktoolbar.c: honor the new settings and paint separators
using gtk_paint_box() if wide-separators is true.

18 years agoUpdated Polish translation by GNOME PL Team.
Artur Flinta [Fri, 3 Mar 2006 09:03:52 +0000 (09:03 +0000)]
Updated Polish translation by GNOME PL Team.

2006-03-03  Artur Flinta  <aflinta@cvs.gnome.org>

* pl.po: Updated Polish translation by GNOME PL Team.

18 years agoFix incremental loading of 8-bit pcx files. (#148518, Magnus Bergmann)
Matthias Clasen [Fri, 3 Mar 2006 05:42:06 +0000 (05:42 +0000)]
Fix incremental loading of 8-bit pcx files. (#148518, Magnus Bergmann)

2006-03-03  Matthias Clasen  <mclasen@redhat.com>

* io-pcx.c (pcx_load_palette_8): Fix incremental loading
of 8-bit pcx files.  (#148518, Magnus Bergmann)

18 years agoFix combobox theming regression noted in bug 321301 Ditto
Dom Lachowicz [Fri, 3 Mar 2006 03:32:39 +0000 (03:32 +0000)]
Fix combobox theming regression noted in bug 321301 Ditto

* modules/engines/ms-windows/msw_style.c: Fix combobox theming
regression noted in bug 321301
* modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: Ditto

18 years agoMake scroll_to_path work for newly inserted items, by delaying the scroll
Matthias Clasen [Thu, 2 Mar 2006 19:52:26 +0000 (19:52 +0000)]
Make scroll_to_path work for newly inserted items, by delaying the scroll

2006-03-02  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkiconview.c (gtk_icon_view_layout)
(gtk_icon_view_row_inserted, gtk_icon_view_scroll_to_path):
Make scroll_to_path work for newly inserted items, by delaying
the scroll until layout is done.  (#332923, Cory Dodt)

18 years agoUse GTK_WIDGET_IS_SENSITIVE, not GTK_WIDGET_SENSITIVE. (#333133, Christian
Matthias Clasen [Thu, 2 Mar 2006 15:46:10 +0000 (15:46 +0000)]
Use GTK_WIDGET_IS_SENSITIVE, not GTK_WIDGET_SENSITIVE. (#333133, Christian

2006-03-02  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkcolorbutton.c (render): Use GTK_WIDGET_IS_SENSITIVE,
not GTK_WIDGET_SENSITIVE.  (#333133, Christian Persch)

18 years agoUpdated Macedonian Translation <arangela@cvs.gnome.org>
Arangel Angov [Thu, 2 Mar 2006 14:57:16 +0000 (14:57 +0000)]
Updated Macedonian Translation <arangela@cvs.gnome.org>

18 years agoDisable tooltips if gtk-touchscreen-mode is activated (#315112).
Ross Burton [Thu, 2 Mar 2006 14:24:54 +0000 (14:24 +0000)]
Disable tooltips if gtk-touchscreen-mode is activated (#315112).

2006-03-02  Ross Burton  <ross@openedhand.com>

* gtk/gtktooltips.c:
Disable tooltips if gtk-touchscreen-mode is activated (#315112).

18 years agoForgot to commit this the other day - Federico
Federico Mena Quintero [Wed, 1 Mar 2006 23:42:07 +0000 (23:42 +0000)]
Forgot to commit this the other day - Federico