]> Pileus Git - ~andy/gtk/log
~andy/gtk
18 years agoAdd a test suite for GtkRecentChooser.
Emmanuele Bassi [Wed, 29 Mar 2006 20:08:23 +0000 (20:08 +0000)]
Add a test suite for GtkRecentChooser.

2006-03-29  Emmanuele Bassi  <ebassi@cvs.gnome.org>

* tests/Makefile.am:
* tests/testrecentchooser.c: Add a test suite for GtkRecentChooser.

18 years agoImport GtkRecent* from libegg.
Emmanuele Bassi [Wed, 29 Mar 2006 20:05:08 +0000 (20:05 +0000)]
Import GtkRecent* from libegg.

2006-03-29  Emmanuele Bassi  <ebassi@cvs.gnome.org>

Import GtkRecent* from libegg.

* gtk/gtkrecentmanager.[ch]: Add GtkRecentManager, an object
for managing a list of recently used resources.

* gtk/gtkrecentchooser.[ch]:
* gtk/gtkrecentchooserdefault.[ch]:
* gtk/gtkrecentchooserdialog.[ch]:
* gtk/gtkrecentchoosermenu.[ch]:
* gtk/gtkrecentchooserprivate.h:
* gtk/gtkrecentchooserutils.[ch]:
* gtk/gtkrecentchooserwidget.[ch]: Add GtkRecentChooser, a
GTypeInterface for widgets implementing viewers for recently
used resources.

* gtk/gtkrecentfilter.[ch]: GtkRecentFilter, a filter object
for GtkRecentChooser implementations.

* gtk/gtk.h:
* gtk/gtk.symbols:
* gtk/Makefile.am: Build glue for GtkRecent*.

18 years agoEmit page-added before switch-page
Matthias Clasen [Wed, 29 Mar 2006 15:20:21 +0000 (15:20 +0000)]
Emit  page-added before switch-page

18 years agoHandle double queuing, rather than asserting that it does not happen.
Matthias Clasen [Wed, 29 Mar 2006 05:35:00 +0000 (05:35 +0000)]
Handle double queuing, rather than asserting that it does not happen.

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

* gtk/gtkfilechooserdefault.c (queue_edited_idle): Handle
double queuing, rather than asserting that it does not
happen.  (#330617)

18 years ago*** empty log message ***
Matthias Clasen [Wed, 29 Mar 2006 03:49:11 +0000 (03:49 +0000)]
*** empty log message ***

18 years agoFix docs syntax.
Matthias Clasen [Tue, 28 Mar 2006 18:58:05 +0000 (18:58 +0000)]
Fix docs syntax.

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

* gtk/gtknotebook.c (gtk_notebook_set_tab_detachable): Fix
docs syntax.

18 years agoSyntax fixes.
Matthias Clasen [Tue, 28 Mar 2006 18:47:43 +0000 (18:47 +0000)]
Syntax fixes.

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

* gtk/tmpl/gtkcellrendereraccel.sgml:
* gtk/tmpl/gtkrc.sgml:
* gtk/directfb.sgml: Syntax fixes.

18 years agoFix drag-selection after double-click. (#323862, Benjamin Berg)
Matthias Clasen [Tue, 28 Mar 2006 17:28:19 +0000 (17:28 +0000)]
Fix drag-selection after double-click. (#323862, Benjamin Berg)

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

* gtk/gtktextview.c (gtk_text_view_start_selection_drag):
(selection_motion_event_handler): Fix drag-selection after
double-click.  (#323862, Benjamin Berg)

* gtk/gtktextview.c (get_iter_at_pointer): Factor this out
into a function and use it in move_mark_to_pointer_and_scroll,
drag_scan_timeout and selection_motion_event_handler.
(Paolo Borelli)

18 years agoMove the call to gtk_text_view_end_selection_drag() from
Matthias Clasen [Tue, 28 Mar 2006 16:01:11 +0000 (16:01 +0000)]
Move the call to gtk_text_view_end_selection_drag() from

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

* gtk/gtktextview.c (gtk_text_view_do_popup)
(gtk_text_view_grab_notify): Move the call to
gtk_text_view_end_selection_drag() from gtk_text_view_do_popup
to gtk_text_view_grab_notify, so that it works not only
for the text views own popup, but also for other ways in which
we might become grab-shadowed during a selection drag.
(#74620, Li Yuan)

18 years agoreviewed by: Tim Janik
Sven Herzberg [Mon, 27 Mar 2006 23:01:59 +0000 (23:01 +0000)]
reviewed by: Tim Janik

2006-03-28  Sven Herzberg  <herzi@gnome-de.org>

        reviewed by: Tim Janik

* gtk/gtkpixmap.c: (gtk_pixmap_set): only check for equal colormaps if
the new pixmap is not NULL; fixes a warning when gtk_pixmap_set is
called from gtk_pixmap_finalize (bug 336254)

18 years agoMake the poll func work with real file descriptors. We do this by creating
Anders Carlsson [Mon, 27 Mar 2006 18:46:38 +0000 (18:46 +0000)]
Make the poll func work with real file descriptors. We do this by creating

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

        * gdk/quartz/gdkevents-quartz.c:
        (select_thread_func):
        (got_fd_activity):
        (poll_func):
        (gdk_event_translate):
        Make the poll func work with real file descriptors.
        We do this by creating a thread which calls poll and then
        signals the main thread using a run loop source.

        * gtk/gtkclipboard-quartz.c:
        (-[GtkClipboardOwner pasteboard:provideDataForType:]):
        Remove debugging output

18 years agoCheck that the widget is viewable. (#336200, Bastian Nocera)
Matthias Clasen [Mon, 27 Mar 2006 18:30:22 +0000 (18:30 +0000)]
Check that the widget is viewable. (#336200, Bastian Nocera)

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

* gtk/gtkmnemonichash.c (_gtk_mnemonic_hash_activate): Check that
the widget is viewable.  (#336200, Bastian Nocera)

18 years agobail out if there is no need for scrolling (more obvious than adding
Michael Natterer [Mon, 27 Mar 2006 17:00:01 +0000 (17:00 +0000)]
bail out if there is no need for scrolling (more obvious than adding

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

* gtk/gtkmenu.c (gtk_menu_scroll_by): bail out if there is no need
for scrolling (more obvious than adding additional conditions to
the scroll offset calculation). Fixes bug #335912.

18 years agoAdd -xobjective-c to cflags. (#335956, Lllian Angel)
Anders Carlsson [Mon, 27 Mar 2006 11:34:43 +0000 (11:34 +0000)]
Add -xobjective-c to cflags. (#335956, Lllian Angel)

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

        * gtk/Makefile.am:
        Add -xobjective-c to cflags.
        (#335956, Lllian Angel)

        * gtk/gtkdnd-quartz.c:
        (gtk_drag_dest_set_track_motion):
        (gtk_drag_dest_get_track_motion):
        Add stubs for new functions.
        (#335955, Lillian Angel)

18 years agoAdd more stubs.
Richard Hult [Mon, 27 Mar 2006 10:47:29 +0000 (10:47 +0000)]
Add more stubs.

2006-03-27  Richard Hult  <richard@imendio.com>

* gdk/quartz: Add more stubs.

18 years agofile TODO.printing was initially added on branch gtk-printing.
Alexander Larsson [Mon, 27 Mar 2006 10:20:17 +0000 (10:20 +0000)]
file TODO.printing was initially added on branch gtk-printing.

18 years agoadd missing ')'.
Michael Natterer [Mon, 27 Mar 2006 10:17:31 +0000 (10:17 +0000)]
add missing ')'.

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

* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_property):
add missing ')'.

18 years agoFix a build problem
Matthias Clasen [Sun, 26 Mar 2006 06:20:54 +0000 (06:20 +0000)]
Fix a build problem

18 years agoAnother leak
Matthias Clasen [Sun, 26 Mar 2006 06:15:51 +0000 (06:15 +0000)]
Another leak

18 years agoFix leaks
Matthias Clasen [Sun, 26 Mar 2006 06:13:17 +0000 (06:13 +0000)]
Fix leaks

18 years agoFix a leak
Matthias Clasen [Sun, 26 Mar 2006 06:10:15 +0000 (06:10 +0000)]
Fix a leak

18 years agoAnother one
Matthias Clasen [Sun, 26 Mar 2006 06:05:57 +0000 (06:05 +0000)]
Another one

18 years agoSmall optimization
Matthias Clasen [Sun, 26 Mar 2006 06:03:31 +0000 (06:03 +0000)]
Small optimization

18 years agofile gtkprinterlpr.c was initially added on branch gtk-printing.
Alexander Larsson [Fri, 24 Mar 2006 17:08:50 +0000 (17:08 +0000)]
file gtkprinterlpr.c was initially added on branch gtk-printing.

18 years agofile gtkprinterlpr.h was initially added on branch gtk-printing.
Alexander Larsson [Fri, 24 Mar 2006 17:08:50 +0000 (17:08 +0000)]
file gtkprinterlpr.h was initially added on branch gtk-printing.

18 years agofile gtkprinterpdf.c was initially added on branch gtk-printing.
Alexander Larsson [Fri, 24 Mar 2006 17:08:50 +0000 (17:08 +0000)]
file gtkprinterpdf.c was initially added on branch gtk-printing.

18 years agofile gtkprinterpdf.h was initially added on branch gtk-printing.
Alexander Larsson [Fri, 24 Mar 2006 17:08:50 +0000 (17:08 +0000)]
file gtkprinterpdf.h was initially added on branch gtk-printing.

18 years agoRemove a pointless check, pointed out by Kjartan Maraas.
Matthias Clasen [Fri, 24 Mar 2006 15:53:22 +0000 (15:53 +0000)]
Remove a pointless check, pointed out by Kjartan Maraas.

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

* gdk-pixbuf-loader.c (gdk_pixbuf_loader_write): Remove a
pointless check, pointed out by Kjartan Maraas.

18 years agoDon't call gdk_window_invalidate_rect() on unrealized widgets. (#335717,
Matthias Clasen [Fri, 24 Mar 2006 15:06:11 +0000 (15:06 +0000)]
Don't call gdk_window_invalidate_rect() on unrealized widgets. (#335717,

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

* gtk/gtktextview.c (gtk_text_view_value_changed): Don't call
gdk_window_invalidate_rect() on unrealized widgets.  (#335717,
Nicolas Setton)

18 years agoback out G_GNUC_WARN_UNUSED_RESULT on iterator functions which turned out
Tim Janik [Fri, 24 Mar 2006 14:03:45 +0000 (14:03 +0000)]
back out G_GNUC_WARN_UNUSED_RESULT on iterator functions which turned out

Fri Mar 24 14:53:20 2006  Tim Janik  <timj@imendio.com>

        * gtk/gtktreemodel.h:
        * gtk/gtktextbtree.h: back out G_GNUC_WARN_UNUSED_RESULT on iterator
        functions which turned out to cause too much trouble.

18 years agoUpdated.
Ahmad Riza H Nst [Fri, 24 Mar 2006 09:16:49 +0000 (09:16 +0000)]
Updated.

2006-03-24  Ahmad Riza H Nst  <rizahnst@eriagempita.co.id>

* id.po: Updated.

18 years agosmall update
Matthias Clasen [Fri, 24 Mar 2006 03:09:08 +0000 (03:09 +0000)]
small update

18 years agoDocument <classname> in paths.
Matthias Clasen [Thu, 23 Mar 2006 23:35:24 +0000 (23:35 +0000)]
Document <classname> in paths.

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

* gtk/tmpl/gtkrc.sgml: Document <classname> in paths.

18 years agoSupport subclasses in RC files. (#142417, Todd Berman, patch based on a
Matthias Clasen [Thu, 23 Mar 2006 23:21:30 +0000 (23:21 +0000)]
Support subclasses in RC files. (#142417, Todd Berman, patch based on a

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

Support subclasses in RC files.  (#142417, Todd Berman, patch
based on a patch by Benjamin Berg)

* gtk/gtkrc.h:
* gtk/gtkrc.c: Support <classname> elements in widget_class paths
in rc files which match any classes derived from named class.

(_gtk_rc_init): Use the new syntax in the default rc string.

* gtk/gtkbindings.c: Support the new syntax for bindings too.

* tests/testrc.c: Tests for widget_class path matching

18 years agomake sure that gdk_drag_event() is called when track_motion is TRUE to
Carlos Garnacho [Thu, 23 Mar 2006 14:39:56 +0000 (14:39 +0000)]
make sure that gdk_drag_event() is called when track_motion is TRUE to

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

        * gtk/gtkdnd.c (gtk_drag_dest_motion): make sure that gdk_drag_event()
        is called when track_motion is TRUE to receive drag_motion and
        drag_leave events properly.

18 years agoEmit the ::page-removed signal after removing the page. (#335238,
Matthias Clasen [Wed, 22 Mar 2006 21:11:40 +0000 (21:11 +0000)]
Emit the ::page-removed signal after removing the page. (#335238,

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

* gtk/gtknotebook.c (gtk_notebook_remove): Emit the ::page-removed
signal after removing the page.  (#335238, Christian Persch)

18 years agoMake it to expand when hovering during DnD
Carlos Garnacho [Wed, 22 Mar 2006 21:09:01 +0000 (21:09 +0000)]
Make it to expand when hovering during DnD

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

        * gtk/gtkexpander.c: Make it to expand when hovering during DnD

18 years agoAdd some documentation about supported image formats, and how to find out
Matthias Clasen [Wed, 22 Mar 2006 20:33:50 +0000 (20:33 +0000)]
Add some documentation about supported image formats, and how to find out

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

* gdk-pixbuf-loader.c: Add some documentation about
supported image formats, and how to find out about them.
(#335536, Murray Cumming)

18 years agoAdditions.
Matthias Clasen [Wed, 22 Mar 2006 20:20:06 +0000 (20:20 +0000)]
Additions.

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

* gtk/gtk-sections.txt: Additions.

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.