]> Pileus Git - ~andy/gtk/log
~andy/gtk
18 years agoIf major.minor of required and available glib versions are the same, add
Behdad Esfahbod [Sun, 29 Jan 2006 04:00:45 +0000 (04:00 +0000)]
If major.minor of required and available glib versions are the same, add

2006-01-28  Behdad Esfahbod  <behdad@gnome.org>

        * configure.in: If major.minor of required and available glib versions
        are the same, add -DG_DISABLE_DEPRECATED to GLIB_CFLAGS. (bug #328617)

        * */Makefile.am: Remove hardcoded -DG_DISABLE_DEPRECATED.

18 years agoRe-sync with gtk-wimp Ditto
Dom Lachowicz [Sun, 29 Jan 2006 03:28:25 +0000 (03:28 +0000)]
Re-sync with gtk-wimp Ditto

2006-01-28  Dom Lachowicz <cinamod@hotmail.com>

* modules/engines/ms-windows/msw-style.c: Re-sync with gtk-wimp
* modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: Ditto

18 years agoAllow to set a global hook function thats called whenever a link button is
Matthias Clasen [Sat, 28 Jan 2006 06:20:30 +0000 (06:20 +0000)]
Allow to set a global hook function thats called whenever a link button is

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

* gtk/gtk.symbols:
* gtk/gtklinkbutton.h:
* gtk/gtklinkbutton.c: Allow to set a global hook function
thats called whenever a link button is clicked.

18 years agoMore work on GtkAssistant by Carlos Garnacho:
Matthias Clasen [Sat, 28 Jan 2006 06:03:50 +0000 (06:03 +0000)]
More work on GtkAssistant by Carlos Garnacho:

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

More work on GtkAssistant by Carlos Garnacho:

* demos/gtk-demo/Makefile.am:
* demos/gtk-demo/assistant.c: Add a  GtkAssistant demo.

* gtk/gtkassistant.c: Handle focus, several small fixes to the
flow computations.

18 years agoFixes bug #328820:
Federico Mena Quintero [Fri, 27 Jan 2006 17:22:17 +0000 (17:22 +0000)]
Fixes bug #328820:

2006-01-27  Federico Mena Quintero  <federico@ximian.com>

Fixes bug #328820:

* gtk/gtkfilechooserdefault.c
(gtk_file_chooser_default_class_init): Make GDK_KP_Divide pop up
the location dialog populated to "/".
(tree_view_keybinding_cb): Likewise.
(trap_activate_cb): Likewise.

18 years agoUse translated format strings for L10n in size calculation too.
Behdad Esfahbod [Thu, 26 Jan 2006 20:40:18 +0000 (20:40 +0000)]
Use translated format strings for L10n in size calculation too.

2006-01-25  Behdad Esfahbod  <behdad@gnome.org>

        * gtk/gtkcalendar.c (gtk_calendar_size_request): Use translated format
        strings for L10n in size calculation too.

        * gtk/gtkcalendar.c (calendar_paint_week_numbers): Expand buffer to
        accomodate localized digits.

18 years agoIntrospect child properties. too.
Matthias Clasen [Thu, 26 Jan 2006 18:51:37 +0000 (18:51 +0000)]
Introspect child properties. too.

2006-01-26  Matthias Clasen  <mclasen@redhat.com>

* tests/prop-editor.c: Introspect child properties. too.

18 years agos/Latin/English/ in last patch.
Behdad Esfahbod [Wed, 25 Jan 2006 17:08:51 +0000 (17:08 +0000)]
s/Latin/English/ in last patch.

18 years agoOops. s/_(/Q_(/ in the patch.
Behdad Esfahbod [Wed, 25 Jan 2006 16:42:37 +0000 (16:42 +0000)]
Oops. s/_(/Q_(/ in the patch.

2006-01-25  Behdad Esfahbod  <behdad@gnome.org>

        * gtk/gtkcalendar.c (calendar_paint_week_numbers, calendar_paint_day):
        Oops.  s/_(/Q_(/ in the patch.

18 years agoUse translated strings calendar:week:digits|%d and calendar:day:digits|%d
Behdad Esfahbod [Wed, 25 Jan 2006 16:26:41 +0000 (16:26 +0000)]
Use translated strings calendar:week:digits|%d and calendar:day:digits|%d

2006-01-25  Behdad Esfahbod  <behdad@gnome.org>

        * gtk/gtkcalendar.c (calendar_paint_week_numbers, calendar_paint_day):
        Use translated strings calendar:week:digits|%d and
        calendar:day:digits|%d to let translators choose localized digits for
        week and day numbers. (bug #317171, Hamed Malek)

18 years agoUse logical extents of the layout instead of ink extents. According to
Behdad Esfahbod [Wed, 25 Jan 2006 16:23:33 +0000 (16:23 +0000)]
Use logical extents of the layout instead of ink extents. According to

2006-01-25  Behdad Esfahbod  <behdad@gnome.org>

        * gtk/gtklabel.c (get_layout_location): Use logical extents of the
        layout instead of ink extents.  According to Pango docs, that's what
        should be used for placement.  Moreover, simply use
        pango_layout_get_pixel_size instead of getting the extents and
        dividing ourselves.

18 years agoOnly set the cursor size if it is != 0.
Matthias Clasen [Wed, 25 Jan 2006 15:41:40 +0000 (15:41 +0000)]
Only set the cursor size if it is != 0.

2006-01-25  Matthias Clasen  <mclasen@redhat.com>

* gdk/x11/gdkcursor-x11.c (gdk_x11_display_set_cursor_theme): Only
set the cursor size if it is != 0.

* gtk/gtksettings.c (gtk_settings_class_init): Change the default value
of gtk-cursor-theme-size to 0, meaning "use default".

18 years ago#322591, Jonathan Blandford.
Kristian Rietveld [Tue, 24 Jan 2006 10:49:29 +0000 (10:49 +0000)]
#322591, Jonathan Blandford.

2006-01-24  Kristian Rietveld  <kris@gtk.org>

#322591, Jonathan Blandford.

* gtk/gtktreeview.[ch] (gtk_tree_view_get_search_entry),
(gtk_tree_view_set_search_entry),
(gtk_tree_view_get_search_position_func),
(gtk_tree_view_set_search_position_func): New functions,
and small adaptions to the tree view code to allow for setting
the entry and search position function.

* gtk/gtktreeprivate.h: Removed GtkTreeViewSearchDialogPositionFunc
typedef, which is now in gtktreeview.h as
GtkTreeViewSearchPositionFunc.  Add/update fields.

* gtk/gtk.symbols: Add new functions.

* tests/testtreesort.c: Add a little test for _set_search_entry().

18 years agoAdd GtkLinkButton docs
Matthias Clasen [Tue, 24 Jan 2006 03:48:49 +0000 (03:48 +0000)]
Add GtkLinkButton docs

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

* gtk/gtk-sections.txt:
* gtk/gtk-docs.sgml:
* gtk/gtk.types: Add GtkLinkButton docs

18 years agoAdd GtkLinkButton, a port of GnomeHRef. (#314808, Emmanuele Bassi)
Matthias Clasen [Tue, 24 Jan 2006 03:35:53 +0000 (03:35 +0000)]
Add GtkLinkButton, a port of GnomeHRef. (#314808, Emmanuele Bassi)

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

Add GtkLinkButton, a port of GnomeHRef.  (#314808, Emmanuele Bassi)

* gtk/gtklinkbutton.h:
* gtk/gtklinkbutton.c: New files.

* gtk/gtk.h:
* gtk/gtk.symbols:
* gtk/Makefile.am: Glue.

* gtk/gtkaboutdialog.c: Use GtkLinkButton.

18 years agoAdd link-color and visited-link-color style properties. (#113649, Leena
Matthias Clasen [Tue, 24 Jan 2006 00:20:06 +0000 (00:20 +0000)]
Add link-color and visited-link-color style properties. (#113649, Leena

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

* gtk/gtkwidget.c: Add link-color and visited-link-color style
properties.  (#113649, Leena Gunda)

* gtk/gtkaboutdialog.c: Use the new style properties here instead
of the about dialogs own link-color property.

18 years agodon't copy tree paths when emitting signals. (#325041, Matthias Clasen).
Kristian Rietveld [Mon, 23 Jan 2006 22:16:41 +0000 (22:16 +0000)]
don't copy tree paths when emitting signals. (#325041, Matthias Clasen).

2006-01-23  Kristian Rietveld  <kris@gtk.org>

* gtk/gtktreemodel.c (gtk_tree_model_base_init): don't copy
tree paths when emitting signals. (#325041, Matthias Clasen).

18 years agoFixed typo.
Behdad Esfahbod [Mon, 23 Jan 2006 20:00:35 +0000 (20:00 +0000)]
Fixed typo.

18 years agoFix misalignment of RTL text in ellipsized GtkLabel: use layout width if
Behdad Esfahbod [Mon, 23 Jan 2006 20:00:02 +0000 (20:00 +0000)]
Fix misalignment of RTL text in ellipsized GtkLabel: use layout width if

2006-01-23  Behdad Esfahbod  <behdad@gnome.org>

        * gtk/gtklabel.c (get_layout_location): Fix misalignment of RTL
        text in ellipsized GtkLabel: use layout width if set, otherwise
        fallback to ink extents width. (#322042)

18 years agoOnly show the last button if we can jump to the end. (gtk_assistant_init):
Matthias Clasen [Mon, 23 Jan 2006 19:11:40 +0000 (19:11 +0000)]
Only show the last button if we can jump to the end. (gtk_assistant_init):

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

* gtk/gtkassistant.c (compute_last_button_state): Only show the
last button if we can jump to the end.
(gtk_assistant_init): Make the spacing and button order more
HIG compliant.

18 years agoFix drawing issues in progress bars. (#328081, Christian Persch)
Matthias Clasen [Mon, 23 Jan 2006 15:48:26 +0000 (15:48 +0000)]
Fix drawing issues in progress bars. (#328081, Christian Persch)

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

Fix drawing issues in progress bars.  (#328081, Christian Persch)

* gtk/gtkprogressbar.c (gtk_progress_bar_size_request): Always
request enough space.
(gtk_progress_bar_paint_activity)
(gtk_progress_bar_paint_continuous)
(gtk_progress_bar_paint_discrete): Clip when drawing the bar.

18 years agomove destruction of the private GdkGC from finalize() to unrealize().
Michael Natterer [Mon, 23 Jan 2006 10:46:02 +0000 (10:46 +0000)]
move destruction of the private GdkGC from finalize() to unrealize().

2006-01-23  Michael Natterer  <mitch@imendio.com>

* gtk/gtkcolorbutton.c: move destruction of the private GdkGC
from finalize() to unrealize(). Fixes BadMatch on display change
(bug #85715).

18 years agoRevert previous commit after more searching in the bugzilla archives (see
Kristian Rietveld [Sun, 22 Jan 2006 16:04:02 +0000 (16:04 +0000)]
Revert previous commit after more searching in the bugzilla archives (see

2006-01-22  Kristian Rietveld  <kris@gtk.org>

* gtk/gtktreeview.c (gtk_tree_view_bin_expose): Revert previous
commit after more searching in the bugzilla archives (see #309221).

18 years agoRemove second call to gtk_tree_view_column_cell_set_cell_data, since we
Kristian Rietveld [Sun, 22 Jan 2006 15:50:31 +0000 (15:50 +0000)]
Remove second call to gtk_tree_view_column_cell_set_cell_data, since we

2006-01-22  Kristian Rietveld  <kris@gtk.org>

* gtk/gtktreeview.c (gtk_tree_view_bin_expose): Remove second call
to gtk_tree_view_column_cell_set_cell_data, since we also set the
cell data before iterating over the columns for exposure. (Fixes
#322471, Duncan Coutts).

18 years agoUpdated Spanish translation.
Francisco Javier F. Serrador [Sat, 21 Jan 2006 19:56:40 +0000 (19:56 +0000)]
Updated Spanish translation.

2006-01-21  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

* es.po: Updated Spanish translation.

18 years agoUpdated Catalan translation.
Josep Puigdemont i Casamajó [Sat, 21 Jan 2006 17:26:10 +0000 (17:26 +0000)]
Updated Catalan translation.

18 years agoGtkAssistant tests
Matthias Clasen [Sat, 21 Jan 2006 06:25:33 +0000 (06:25 +0000)]
GtkAssistant tests

18 years agoFix docs
Matthias Clasen [Sat, 21 Jan 2006 06:15:30 +0000 (06:15 +0000)]
Fix docs

18 years agoDon't crash if layout is NULL. (#327934, Christian Kirbach)
Matthias Clasen [Sat, 21 Jan 2006 04:03:28 +0000 (04:03 +0000)]
Don't crash if layout is NULL. (#327934, Christian Kirbach)

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

* gtk/gtktextview.c (gtk_text_view_set_virtual_cursor_pos): Don't
crash if layout is NULL.  (#327934, Christian Kirbach)

18 years agoOn "unix", pop up the "Open Location" window on "~" as well as "/".
Dan Winship [Fri, 20 Jan 2006 19:11:08 +0000 (19:11 +0000)]
On "unix", pop up the "Open Location" window on "~" as well as "/".

* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_class_init,
tree_view_keybinding_cb, trap_activate_cb): On "unix", pop up the
"Open Location" window on "~" as well as "/". #153213
(location_entry_create): Fix this so autocompletion still works
correctly in that case.
(ok'ed by federico)

18 years agoExplicitly link against Xrender. (#327538, Christophe Belle)
Matthias Clasen [Fri, 20 Jan 2006 04:57:45 +0000 (04:57 +0000)]
Explicitly link against Xrender. (#327538, Christophe Belle)

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

* configure.in: Explicitly link against Xrender.
(#327538, Christophe Belle)

18 years agoFix attribution
Matthias Clasen [Fri, 20 Jan 2006 04:40:41 +0000 (04:40 +0000)]
Fix attribution

18 years agoForgotten log entry
Matthias Clasen [Fri, 20 Jan 2006 04:37:47 +0000 (04:37 +0000)]
Forgotten log entry

18 years agoUse an unused high bit in the XID to mark fonts in the global xid hash
Matthias Clasen [Fri, 20 Jan 2006 04:35:24 +0000 (04:35 +0000)]
Use an unused high bit in the XID to mark fonts in the global xid hash

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

* gdk/x11/gdkprivate-x11.h (XID_FONT_BIT):
* gdk/x11/gdkfont-x11.c:
* gdk/x11/gdkxid.c: Use an unused high bit in the
XID to mark fonts in the global xid hash table.

* gdk/x11/gdkcursor-x11.c (update_cursor): Skip fonts
when iterating over the xid hash table, since calling
GDK_IS_WINDOW () on an GdkFont can cause a segfault.
(#327751, Ryan Lortie)

18 years agoUse a priv pointer for cheap access to the priv struct. (#327725,
Matthias Clasen [Thu, 19 Jan 2006 16:51:21 +0000 (16:51 +0000)]
Use a priv pointer for cheap access to the priv struct. (#327725,

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

        * gtk/gtkassistant.[hc]: Use a priv pointer for
        cheap access to the priv struct.  (#327725, Christian
        Persch)

18 years agoFix line endings
Matthias Clasen [Thu, 19 Jan 2006 13:38:50 +0000 (13:38 +0000)]
Fix line endings

18 years agoAdd GtkAssistant, a widget to construct multi-step wizards. (#115348,
Matthias Clasen [Wed, 18 Jan 2006 22:39:14 +0000 (22:39 +0000)]
Add GtkAssistant, a widget to construct multi-step wizards. (#115348,

2006-01-18  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkassistant.[hc]: Add GtkAssistant, a widget to
        construct multi-step wizards.  (#115348, Martyn Russell,
        Matthias Clasen, Carlos Garnacho Parro)

        * gtk/gtk.symbols:
        * gtk/Makefile.am:
        * gtk/gtk.h: Necessary glue.

18 years agoImplement these functions. (#327228, Thomas Broyer).
Anders Carlsson [Wed, 18 Jan 2006 10:06:00 +0000 (10:06 +0000)]
Implement these functions. (#327228, Thomas Broyer).

2006-01-18  Anders Carlsson  <andersca@imendio.com>

        * gdk/quartz/gdkevents-quartz.c:
        (get_mm_from_pixels):
        (gdk_screen_get_width_mm):
        (gdk_screen_get_height_mm):
        Implement these functions.
        (#327228, Thomas Broyer).

18 years agoImplement these functions. (#327226, Thomas Broyer)
Anders Carlsson [Wed, 18 Jan 2006 09:47:56 +0000 (09:47 +0000)]
Implement these functions. (#327226, Thomas Broyer)

2006-01-18  Anders Carlsson  <andersca@imendio.com>

        * gdk/quartz/gdkdrawable-quartz.c:
        (gdk_quartz_draw_polygon):
        (gdk_quartz_draw_lines):
Implement these functions.
(#327226, Thomas Broyer)

18 years agoSupport non-MacRoman keyboard layouts. (#322585, Wolfgang Thaller)
Anders Carlsson [Wed, 18 Jan 2006 09:30:00 +0000 (09:30 +0000)]
Support non-MacRoman keyboard layouts. (#322585, Wolfgang Thaller)

2006-01-18  Anders Carlsson  <andersca@imendio.com>

        * gdk/quartz/gdkkeys-quartz.c:
        (maybe_update_keymap):
    Support non-MacRoman keyboard layouts.
    (#322585, Wolfgang Thaller)

18 years agoMake the process a foreground application. (#322481, Wolfgang Thaller)
Anders Carlsson [Wed, 18 Jan 2006 09:17:39 +0000 (09:17 +0000)]
Make the process a foreground application. (#322481, Wolfgang Thaller)

2006-01-18  Anders Carlsson  <andersca@imendio.com>

        * gdk/quartz/gdkmain-quartz.c:
        (_gdk_windowing_init):
        Make the process a foreground application.
        (#322481, Wolfgang Thaller)

18 years agoFix several g_new() calls which were using extra indirections or pointless
Matthias Clasen [Wed, 18 Jan 2006 05:23:24 +0000 (05:23 +0000)]
Fix several g_new() calls which were using extra indirections or pointless

2006-01-18  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkrbtree.c:
* gtk/gtktreemodel.c: Fix several g_new() calls which
were using extra indirections or pointless casts.
(#327423, Morten Welinder)

18 years agoIf the src positions for gradients are nonsensical, don't render anything,
Matthias Clasen [Tue, 17 Jan 2006 20:02:54 +0000 (20:02 +0000)]
If the src positions for gradients are nonsensical, don't render anything,

2006-01-17  Matthias Clasen  <mclasen@redhat.com>

* pixbuf-render.c: If the src positions for gradients
are nonsensical, don't render anything, rather than
read out of bounds.

18 years agofix adopted from maemo-gtk. gtk_progress_create_pixmap(): clear out the
Tim Janik [Tue, 17 Jan 2006 18:28:27 +0000 (18:28 +0000)]
fix adopted from maemo-gtk. gtk_progress_create_pixmap(): clear out the

Tue Jan 17 19:27:59 2006  Tim Janik  <timj@imendio.com>

        * gtk/gtkprogress.c: fix adopted from maemo-gtk.
        gtk_progress_create_pixmap(): clear out the newly created offscreen
        pixmap, so themes making use of transparency don't draw onto garbage.

18 years agoremove the "child-spacing" style property again and add "inner-border"
Michael Natterer [Tue, 17 Jan 2006 15:49:18 +0000 (15:49 +0000)]
remove the "child-spacing" style property again and add "inner-border"

2006-01-17  Michael Natterer  <mitch@imendio.com>

* gtk/gtkbutton.c: remove the "child-spacing" style property again
and add "inner-border" instead. That's far more flexible and
"child-spacing" was a bad name anyway.

18 years agoremove "ang" again until all po files are there.
Michael Natterer [Tue, 17 Jan 2006 10:18:53 +0000 (10:18 +0000)]
remove "ang" again until all po files are there.

2006-01-17  Michael Natterer  <mitch@imendio.com>

* configure.in (ALL_LINGUAS): remove "ang" again until all po
files are there.

18 years agoNew Chinese (Hong Kong) translation Updated Chinese (Taiwan) translation
Kwok-Koon Cheung [Tue, 17 Jan 2006 00:03:54 +0000 (00:03 +0000)]
New Chinese (Hong Kong) translation Updated Chinese (Taiwan) translation

* zh_HK.po: New Chinese (Hong Kong) translation
* zh_TW.po: Updated Chinese (Taiwan) translation

18 years agoAdded "ang" "zh_HK" to ALL_LINGUAS.
Abel Cheung [Mon, 16 Jan 2006 23:48:51 +0000 (23:48 +0000)]
Added "ang" "zh_HK" to ALL_LINGUAS.

2006-01-16  Abel Cheung  <maddog@linuxhall.org>

* configure.in: Added "ang" "zh_HK" to ALL_LINGUAS.

18 years agoMention new pixbuf engine features.
Matthias Clasen [Mon, 16 Jan 2006 19:58:27 +0000 (19:58 +0000)]
Mention new pixbuf engine features.

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

* README.in: Mention new pixbuf engine features.

18 years agoApply a patch by Alexander Nedotsukov to support customized drawing of
Matthias Clasen [Mon, 16 Jan 2006 19:53:10 +0000 (19:53 +0000)]
Apply a patch by Alexander Nedotsukov to support customized drawing of

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

* pixbuf-draw.c:
* pixbuf-rc-style.c:
* pixbuf.h: Apply a patch by Alexander Nedotsukov to
support customized drawing of expanders and resize
grips. (#325289).

18 years agoAdd a current-value property and a setter for it. (#322735, Jorn Baayen)
Matthias Clasen [Mon, 16 Jan 2006 19:07:13 +0000 (19:07 +0000)]
Add a current-value property and a setter for it. (#322735, Jorn Baayen)

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

* gtk/gtk.symbols:
* gtk/gtkradioaction.[hc]: Add a current-value property and a
setter for it.  (#322735, Jorn Baayen)

18 years agoku.po: Updated Kurdish translations
Erdal Ronahi [Mon, 16 Jan 2006 18:18:20 +0000 (18:18 +0000)]
ku.po: Updated Kurdish translations

18 years agoapplied patch from maemo-gtk which adds a child-spacing style property.
Michael Natterer [Mon, 16 Jan 2006 14:49:36 +0000 (14:49 +0000)]
applied patch from maemo-gtk which adds a child-spacing style property.

2006-01-16  Michael Natterer  <mitch@imendio.com>

* gtk/gtkbutton.c: applied patch from maemo-gtk which adds a
child-spacing style property. Fixes bug #327202.

18 years agoSilence the compiler.
Matthias Clasen [Mon, 16 Jan 2006 13:18:16 +0000 (13:18 +0000)]
Silence the compiler.

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

* pixbuf-draw.c (draw_gap_image): Silence the
compiler.

18 years agoFix ChangeLog entry
Anders Carlsson [Mon, 16 Jan 2006 11:11:20 +0000 (11:11 +0000)]
Fix ChangeLog entry

18 years agoImplement keyboard grabs.
Anders Carlsson [Mon, 16 Jan 2006 10:52:40 +0000 (10:52 +0000)]
Implement keyboard grabs.

2006-01-16  Anders Carlsson  <andersca@mac.com>

        * gdk/quartz/gdkdisplay-quartz.c:
        * gdk/quartz/gdkevents-quartz.c:
        (gdk_keyboard_grab):
        (gdk_display_keyboard_ungrab):
        (gdk_keyboard_grab_info_libgtk_only):
        (find_window_for_event):
        Implement keyboard grabs.

        (_gdk_quartz_send_map_events):
        * gdk/quartz/gdkmain-quartz.c:
        * gdk/quartz/gdkprivate-quartz.h:
        New function that synthesizes map events.

        * gdk/quartz/gdkwindow-quartz.c:
        (_gdk_windowing_window_init):
        The root window is always visible.

        (all_parents_shown):
        (show_window_internal):
        Send map events.

        (gdk_window_hide):
        Ungrab keyboard and pointer

18 years agogrrr... the pipe did b0rk b0rk b0rk
Kristian Rietveld [Sun, 15 Jan 2006 20:13:25 +0000 (20:13 +0000)]
grrr... the pipe did b0rk b0rk b0rk

18 years agoFixes #324099, Tommi Komulainen.
Kristian Rietveld [Sun, 15 Jan 2006 20:12:49 +0000 (20:12 +0000)]
Fixes #324099, Tommi Komulainen.

2006-01-15  Kristian Rietveld  <kris@gtk.org>

Fixes #324099, Tommi Komulainen.

* gtk/gtktreestore.[ch] (gtk_tree_store_insert_with_values),
(gtk_tree_store_insert_with_valuesv): new functions, analog to
those found in GtkListStore.

* gtk/gtktreestore.c (gtk_tree_store_real_set_value),
(gtk_tree_store_set_valist), (gtk_tree_store_set_valist_internal),
(gtk_tree_store_sort_iter_changed): refactored.

* gtk/gtk.symbols: updated.

* tests/treestoretest.c: added a test for this new functionality.

18 years agoRemove an unused variable.
Matthias Clasen [Sun, 15 Jan 2006 04:44:26 +0000 (04:44 +0000)]
Remove an unused variable.

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

* gtk/gtkentry.c (gtk_entry_drag_data_received): Remove
an unused variable.

18 years agoRegister RTL versions of the indent and unindent icons. (#326857, Itai
Matthias Clasen [Sun, 15 Jan 2006 04:33:30 +0000 (04:33 +0000)]
Register RTL versions of the indent and unindent icons. (#326857, Itai

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

* gtk/gtkiconfactory.c (get_default_icons): Register RTL
versions of the indent and unindent icons.  (#326857,
Itai Bar-Haim)

* gtk/Makefile.am (STOCK_ICONS): And add them here.

18 years agoFix a crash with combo boxes in RESIZE_IMMEDIATE containers. (#326806,
Matthias Clasen [Sun, 15 Jan 2006 04:08:31 +0000 (04:08 +0000)]
Fix a crash with combo boxes in RESIZE_IMMEDIATE containers. (#326806,

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

Fix a crash with combo boxes in RESIZE_IMMEDIATE
containers.  (#326806, Sebastian Bacher)

* gtk/gtkcombobox.c (gtk_combo_box_size_allocate)
(gtk_combo_box_size_request): Don't call
gtk_combo_box_check_appearance() from here, as that
can lead to recursion.
(gtk_combo_box_init): Instead, call it here.

18 years agofix a typo which caused this whole thing to not function ...
Kristian Rietveld [Sat, 14 Jan 2006 19:58:04 +0000 (19:58 +0000)]
fix a typo which caused this whole thing to not function ...

2006-01-14  Kristian Rietveld  <kris@gtk.org>

* gtk/gtktreemodelsort.c (gtk_tree_model_sort_iter_children): fix
a typo which caused this whole thing to not function ...

18 years agofixup adjustments and top_row if the current dy + page_size exceeds the
Kristian Rietveld [Sat, 14 Jan 2006 19:41:07 +0000 (19:41 +0000)]
fixup adjustments and top_row if the current dy + page_size exceeds the

2006-01-14  Kristian Rietveld  <kris@gtk.org>

* gtk/gtktreeview.c (gtk_tree_view_size_allocate),
(validate_visible_area): fixup adjustments and top_row if the
current dy + page_size exceeds the new tree view height. (Fixes
#316689, reported by Chris Lord).

18 years agoMake this work on more platforms.
Matthias Clasen [Sat, 14 Jan 2006 04:45:22 +0000 (04:45 +0000)]
Make this work on more platforms.

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

* */abicheck.sh: Make this work on more platforms.

18 years agoadd a little test for the newly introduced indicator-size property.
Kristian Rietveld [Fri, 13 Jan 2006 13:28:22 +0000 (13:28 +0000)]
add a little test for the newly introduced indicator-size property.

2006-01-13  Kristian Rietveld  <kris@imendio.com>

* tests/testtreefocus.c (set_indicator_size), (main): add a little
test for the newly introduced indicator-size property.

18 years agoinitialize the inconsistent field in the private structure,
Kristian Rietveld [Fri, 13 Jan 2006 13:09:14 +0000 (13:09 +0000)]
initialize the inconsistent field in the private structure,

2006-01-13  Kristian Rietveld  <kris@imendio.com>

* gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_init):
initialize the inconsistent field in the private structure,
(gtk_cell_renderer_toggle_class_init),
(gtk_cell_renderer_toggle_{set,get}_property),
(gtk_cell_renderer_toggle_get_size): introduce a indicator-size
property.

18 years agodon't animate the expander arrows if gtk-enable-animations is FALSE (bug
Michael Natterer [Fri, 13 Jan 2006 10:03:31 +0000 (10:03 +0000)]
don't animate the expander arrows if gtk-enable-animations is FALSE (bug

2006-01-13  Michael Natterer  <mitch@imendio.com>

* gtk/gtktreeview.c (gtk_tree_view_real_expand_row)
(gtk_tree_view_real_collapse_row): don't animate the expander
arrows if gtk-enable-animations is FALSE (bug #142582).

18 years agoReplace hardcoded values for tab-overlap and tab-curvature with style
Matthias Clasen [Thu, 12 Jan 2006 21:31:55 +0000 (21:31 +0000)]
Replace hardcoded values for tab-overlap and tab-curvature with style

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

* gtk/gtknotebook.c: Replace hardcoded values for tab-overlap and
tab-curvature with style properties.  (#325282, Alexander Nedotsukov)

18 years agoReset the virtual cursor position. (#326003, Evert Verhellen)
Matthias Clasen [Thu, 12 Jan 2006 21:14:30 +0000 (21:14 +0000)]
Reset the virtual cursor position. (#326003, Evert Verhellen)

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

* gtk/gtktextview.c (gtk_text_view_commit_text)
(gtk_text_view_delete_from_cursor, gtk_text_view_backspace):
Reset the virtual cursor position.  (#326003, Evert Verhellen)

18 years agoClarify the docs ("darkened/brightened" is not "saturation").
Federico Mena Quintero [Thu, 12 Jan 2006 20:19:06 +0000 (20:19 +0000)]
Clarify the docs ("darkened/brightened" is not "saturation").

2006-01-12  Federico Mena Quintero  <federico@ximian.com>

* gdk-pixbuf-util.c (gdk_pixbuf_saturate_and_pixelate): Clarify
the docs ("darkened/brightened" is not "saturation").

18 years agoAdd some docs about RGBA windows. (#326486, Benjamin Otte)
Matthias Clasen [Thu, 12 Jan 2006 18:43:35 +0000 (18:43 +0000)]
Add some docs about RGBA windows. (#326486, Benjamin Otte)

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

* gtk/gtkwidget.c (gtk_widget_set_app_paintable): Add some docs
about RGBA windows. (#326486, Benjamin Otte)

18 years agoconnect to the display's "closed" signal and free the cached scratch
Michael Natterer [Thu, 12 Jan 2006 13:50:51 +0000 (13:50 +0000)]
connect to the display's "closed" signal and free the cached scratch

2006-01-12  Michael Natterer  <mitch@imendio.com>

* gdk/gdkimage.c (scratch_image_info_for_depth): connect to the
display's "closed" signal and free the cached scratch images upon
display closing (bug #85715).

18 years agoskip the animation if the gtk-enable-animations setting is FALSE (bug
Michael Natterer [Thu, 12 Jan 2006 09:54:54 +0000 (09:54 +0000)]
skip the animation if the gtk-enable-animations setting is FALSE (bug

2006-01-12  Michael Natterer  <mitch@imendio.com>

* gtk/gtkexpander.c (gtk_expander_set_expanded): skip the
animation if the gtk-enable-animations setting is FALSE
(bug #142582).

18 years agoFix a C99ism
Matthias Clasen [Thu, 12 Jan 2006 04:33:33 +0000 (04:33 +0000)]
Fix a C99ism

18 years agoUpdated Canadian English translation.
Adam Weinberger [Wed, 11 Jan 2006 17:37:24 +0000 (17:37 +0000)]
Updated Canadian English translation.

2006-01-11  Adam Weinberger  <adamw@gnome.org>

* en_CA.po: Updated Canadian English translation.

18 years agoAdd some notify batching, always emit notify after setting the new value.
Matthias Clasen [Wed, 11 Jan 2006 16:13:23 +0000 (16:13 +0000)]
Add some notify batching, always emit notify after setting the new value.

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

* gtk/gtklabel.c: Add some notify batching, always
emit notify after setting the new value.

18 years agoAdd properties. (#311254, Johan Dahlin) (gtk_message_dialog_new): Remove
Matthias Clasen [Wed, 11 Jan 2006 15:23:05 +0000 (15:23 +0000)]
Add properties. (#311254, Johan Dahlin) (gtk_message_dialog_new): Remove

* gtk/gtkmessagedialog.c: Add properties.  (#311254,
Johan Dahlin)
(gtk_message_dialog_new): Remove some redundant code, pointed
out by Gustavo Carneiro.

18 years agoClean up properly if the grab fails. (finish_drag): Don't leak a reference
Matthias Clasen [Wed, 11 Jan 2006 14:54:05 +0000 (14:54 +0000)]
Clean up properly if the grab fails. (finish_drag): Don't leak a reference

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

* gdk/x11/gdkwindow-x11.c (create_moveresize_window): Clean
up properly if the grab fails.
(finish_drag): Don't leak a reference to moveresize_window
here.

18 years agoFix string offsets.
Matthias Clasen [Wed, 11 Jan 2006 06:26:30 +0000 (06:26 +0000)]
Fix string offsets.

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

* gdk/x11/gdkevents-x11.c: Fix string offsets.

18 years agoAllow falling back to another icon theme before hicolor. (#325546, Rodney
Matthias Clasen [Wed, 11 Jan 2006 06:20:17 +0000 (06:20 +0000)]
Allow falling back to another icon theme before hicolor. (#325546, Rodney

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

Allow falling back to another icon theme before
hicolor.   (#325546, Rodney Dawes)

* gtk/gtksettings.c: Add a gtk-fallback-icon-theme setting.

* gdk/x11/gdkevents-x11.c: Map it to the XSetting Net/FallbackIconTheme.

* gtk/gtkicontheme.c: Consult the fallback icon theme before
looking in hicolor.

18 years agoAdd an expander example.
Matthias Clasen [Wed, 11 Jan 2006 04:18:19 +0000 (04:18 +0000)]
Add an expander example.

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

* tests/testgtk.c: Add an expander example.

18 years agoQueue a draw when losing the focus. (#326064, Andrew Conkling)
Matthias Clasen [Wed, 11 Jan 2006 03:48:27 +0000 (03:48 +0000)]
Queue a draw when losing the focus. (#326064, Andrew Conkling)

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

* gtk/gtkcalendar.c (gtk_calendar_focus_out): Queue a draw
when losing the focus.  (#326064, Andrew Conkling)

18 years agoConvert to use instance private data.
Matthias Clasen [Wed, 11 Jan 2006 03:36:12 +0000 (03:36 +0000)]
Convert to use instance private data.

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

* gtk/gtkimmulticontext.c:
* gtk/gtkhsv.c:
* gtk/gtkhandlebox.c: Convert to use instance private data.

18 years agoRemove duplicate include. (#326429, Benoît Carpentier)
Matthias Clasen [Tue, 10 Jan 2006 19:55:11 +0000 (19:55 +0000)]
Remove duplicate include. (#326429, Benoît Carpentier)

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

* gtk/gtk.h: Remove duplicate include.  (#326429,
Benoît Carpentier)

18 years agoConvert to use instance private data.
Matthias Clasen [Tue, 10 Jan 2006 17:56:27 +0000 (17:56 +0000)]
Convert to use instance private data.

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

* gtk/gtkpaned.c: Convert to use instance private data.

18 years agodisconnect from the right object ("closed" is emitted by the display, not
Michael Natterer [Tue, 10 Jan 2006 16:47:37 +0000 (16:47 +0000)]
disconnect from the right object ("closed" is emitted by the display, not

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

* gdk/gdkpango.c (on_renderer_display_closed): disconnect from the
right object ("closed" is emitted by the display, not the screen).
(bug #85715)

18 years agoImplement local-only atoms.
Anders Carlsson [Tue, 10 Jan 2006 16:38:26 +0000 (16:38 +0000)]
Implement local-only atoms.

2006-01-10  Anders Carlsson  <andersca@imendio.com>

        * gdk/quartz/gdkproperty-quartz.c:
        (ensure_atom_tables):
        (intern_atom_internal):
        (gdk_atom_intern):
        (gdk_atom_intern_static_string):
        (gdk_atom_name):
        Implement local-only atoms.

18 years agoCorrect a warning. (#326341, Benoît Carpentier)
Matthias Clasen [Tue, 10 Jan 2006 04:42:18 +0000 (04:42 +0000)]
Correct a warning. (#326341, Benoît Carpentier)

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

* gdk/gdkgc.c (gc_get_foreground): Correct a warning.
(#326341, Benoît Carpentier)

18 years agoMake this function public API. (#307099, Todd Berman)
Matthias Clasen [Tue, 10 Jan 2006 04:33:30 +0000 (04:33 +0000)]
Make this function public API. (#307099, Todd Berman)

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

* gtk/gtk.symbols:
* gtk/gtkwindow.h:
* gtk/gtkwindow.c (gtk_window_get_group): Make this function
public API.  (#307099, Todd Berman)

* gtk/gtkmenu.c:
* gtk/gtkmain.c:
* gtk/gtkentrycompletion.c:
* gtk/gtkcombo.c:
* gtk/gtkcombobox.c: Update all callers.

18 years agoMake GtkEntryCompletion complete on pastes at the end. (#165714, Christian
Matthias Clasen [Tue, 10 Jan 2006 04:07:32 +0000 (04:07 +0000)]
Make GtkEntryCompletion complete on pastes at the end. (#165714, Christian

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

* gtk/gtkentry.c (paste_received):  Make GtkEntryCompletion
complete on pastes at the end.  (#165714, Christian Neumair)

18 years agoAdd cvsignore
Johan Dahlin [Mon, 9 Jan 2006 19:25:35 +0000 (19:25 +0000)]
Add cvsignore

18 years agoPrevent the first row being focused on map. (#137351, Niklas Knutsson)
Matthias Clasen [Mon, 9 Jan 2006 19:22:33 +0000 (19:22 +0000)]
Prevent the first row being focused on map. (#137351, Niklas Knutsson)

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

* gtk/gtkentrycompletion.c (_gtk_entry_completion_popup):
Prevent the first row being focused on map.  (#137351,
Niklas Knutsson)

18 years agoAdd gtk_size_group_get_widgets, fixes #326324. Also mark all fields of
Johan Dahlin [Mon, 9 Jan 2006 19:18:14 +0000 (19:18 +0000)]
Add gtk_size_group_get_widgets, fixes #326324. Also mark all fields of

    * gtk/gtk.symbols:
    * gtk/gtkeditable.h:
    * gtk/gtksizegroup.c: (gtk_size_group_get_widgets):
    * gtk/gtksizegroup.h:
    (struct _GtkSizeGroup):

    Add gtk_size_group_get_widgets, fixes #326324.
    Also mark all fields of GtkSizeGroup as private

18 years agoDon't leak preedit_string and preedit_attrs. (#322332, Paolo Borelli)
Matthias Clasen [Mon, 9 Jan 2006 18:20:23 +0000 (18:20 +0000)]
Don't leak preedit_string and preedit_attrs. (#322332, Paolo Borelli)

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

* gtk/gtktextlayout.c (gtk_text_layout_finalize): Don't
leak preedit_string and preedit_attrs.  (#322332, Paolo
Borelli)

18 years agoMake it build
Matthias Clasen [Mon, 9 Jan 2006 18:12:59 +0000 (18:12 +0000)]
Make it build

18 years agoNew function to get the action for a proxy. (#326288)
Matthias Clasen [Mon, 9 Jan 2006 18:07:14 +0000 (18:07 +0000)]
New function to get the action for a proxy. (#326288)

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

* gtk/gtk.symbols:
* gtk/gtkaction.h:
* gtk/gtkaction.c (gtk_widget_get_action): New function to
get the action for a proxy.  (#326288)

18 years agoGo back to the old key for attaching the action to the proxy. (#326288,
Matthias Clasen [Mon, 9 Jan 2006 16:54:04 +0000 (16:54 +0000)]
Go back to the old key for attaching the action to the proxy. (#326288,

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

* gtk/gtkaction.c: Go back to the old key for attaching the
action to the proxy.  (#326288, Diego González)

18 years agoDon't translate empty strings. (#326200, Christian Stimming)
Matthias Clasen [Sun, 8 Jan 2006 23:25:14 +0000 (23:25 +0000)]
Don't translate empty strings. (#326200, Christian Stimming)

2006-01-08  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkactiongroup.c (dgettext_swapped): Don't translate
        empty strings.  (#326200, Christian Stimming)

18 years agoShrink the private structs of these a bit.
Matthias Clasen [Sun, 8 Jan 2006 07:54:43 +0000 (07:54 +0000)]
Shrink the private structs of these a bit.

2006-01-08  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkentry.[hc]:
* gtk/gtklabel.[hc]: Shrink the private structs of these a bit.

18 years agoFix label alignment when width-chars is set. (#326098, Benjamin Otte)
Matthias Clasen [Sun, 8 Jan 2006 06:44:11 +0000 (06:44 +0000)]
Fix label alignment when width-chars is set. (#326098, Benjamin Otte)

2006-01-08  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtklabel.c (get_layout_location): Fix label alignment
when width-chars is set.  (#326098, Benjamin Otte)