]> Pileus Git - ~andy/gtk/log
~andy/gtk
18 years agoCall ::initial_focus() on the child before calling ::map() on our parent
Federico Mena Quintero [Thu, 16 Feb 2006 18:34:10 +0000 (18:34 +0000)]
Call ::initial_focus() on the child before calling ::map() on our parent

2006-02-16  Federico Mena Quintero  <federico@novell.com>

* gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_map): Call
::initial_focus() on the child before calling ::map() on our
parent class.  This will prevent the shortcuts treeview from
highlighting its first row as a result of getting assigned focus
by gtk_dialog_map().

18 years agoRemove redundant check. Pointed out by Bodo-Merle Sandor.
Matthias Clasen [Tue, 14 Feb 2006 14:35:07 +0000 (14:35 +0000)]
Remove redundant check. Pointed out by Bodo-Merle Sandor.

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

* gtk/gtkwidget.c (gtk_widget_send_expose): Remove redundant
check.  Pointed out by Bodo-Merle Sandor.

18 years agoRemove some unnecessary checks
Matthias Clasen [Tue, 14 Feb 2006 13:50:03 +0000 (13:50 +0000)]
Remove some unnecessary checks

18 years agoGive working examples in the docs. (#330944, John Spray)
Matthias Clasen [Mon, 13 Feb 2006 02:31:28 +0000 (02:31 +0000)]
Give working examples in the docs. (#330944, John Spray)

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

* gtk/gtkicontheme.c (gtk_icon_theme_list_icons): Give working
examples in the docs.  (#330944, John Spray)

18 years agoMore updates
Matthias Clasen [Sun, 12 Feb 2006 06:14:35 +0000 (06:14 +0000)]
More updates

18 years agoUpdates
Matthias Clasen [Sun, 12 Feb 2006 06:11:02 +0000 (06:11 +0000)]
Updates

18 years agoFix row_spacing/column_spacing confusion. (#330732, Donald Straney)
Matthias Clasen [Sat, 11 Feb 2006 23:25:25 +0000 (23:25 +0000)]
Fix row_spacing/column_spacing confusion. (#330732, Donald Straney)

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

        * gtk/gtkiconview.c (gtk_icon_view_get_item_at_coords): Fix
        row_spacing/column_spacing confusion.  (#330732, Donald Straney)

18 years agoTypo fixes
Matthias Clasen [Sat, 11 Feb 2006 15:09:10 +0000 (15:09 +0000)]
Typo fixes

18 years agoAdd some docs. (#330073, Mart Rautsepp)
Matthias Clasen [Fri, 10 Feb 2006 19:45:14 +0000 (19:45 +0000)]
Add some docs. (#330073, Mart Rautsepp)

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

        * gtk/gtkstyle.c: Add some docs. (#330073, Mart Rautsepp)

18 years agoimprove liststore docs
Matthias Clasen [Fri, 10 Feb 2006 19:33:17 +0000 (19:33 +0000)]
improve liststore docs

18 years agoGuard against NULL. (#330177, Raphael Slinckx)
Matthias Clasen [Fri, 10 Feb 2006 19:19:54 +0000 (19:19 +0000)]
Guard against NULL. (#330177, Raphael Slinckx)

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

* gtk/gtkentrycompletion.c (gtk_entry_completion_match_selected):
Guard against NULL.  (#330177, Raphael Slinckx)

18 years agoAlways check for NULL when using callbacks. (#330563, Benjamin Otte)
Matthias Clasen [Fri, 10 Feb 2006 19:02:38 +0000 (19:02 +0000)]
Always check for NULL when using callbacks. (#330563, Benjamin Otte)

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

        * io-jpeg.c:
        * io-png.c:
        * io-pnm.c:
        * io-tiff.c:
        * io-xbm.c:
        * io-xpm.c: Always check for NULL when using callbacks.
        (#330563, Benjamin Otte)

18 years agoApply a patch by Murray to improve comboboxentry docs
Matthias Clasen [Fri, 10 Feb 2006 18:53:35 +0000 (18:53 +0000)]
Apply a patch by Murray to improve comboboxentry docs

18 years ago2006-02-10 Murray Cumming <murrayc@murrayc.com
Murray Cumming [Fri, 10 Feb 2006 12:59:19 +0000 (12:59 +0000)]
2006-02-10  Murray Cumming  <murrayc@murrayc.com

        * gtk/gtkassistant.h: Correct the declaration of the prepare
        default signal handler to match its registration and use.

18 years agoWork out the font size in floating point, and display the font size with
Ross Burton [Thu, 9 Feb 2006 17:53:46 +0000 (17:53 +0000)]
Work out the font size in floating point, and display the font size with

2006-02-09  Ross Burton  <ross@burtonini.com>

* gtk/gtkfontbutton.c:
Work out the font size in floating point, and display the font
size with %g instead of %d (#317590)

18 years agoadded .cvsignore file to shut up CVS
Sven Neumann [Thu, 9 Feb 2006 11:39:48 +0000 (11:39 +0000)]
added .cvsignore file to shut up CVS

18 years agoIf we don't know where we went, and have generated a leave event, set
Tor Lillqvist [Thu, 9 Feb 2006 05:49:55 +0000 (05:49 +0000)]
If we don't know where we went, and have generated a leave event, set

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

* gdk/win32/gdkevents-win32.c (gdk_event_translate)
<WM_MOUSELEAVE>: If we don't know where we went, and have
generated a leave event, set current_window to the root
window. This assures we will generate proper enter and leave
events for popup windows. (#325521)

18 years agogdk/win32/gdkevents-win32.c (gdk_event_translate) <WM_MOUSEACTIVATE> Call
John Ehresman [Thu, 9 Feb 2006 03:20:56 +0000 (03:20 +0000)]
gdk/win32/gdkevents-win32.c (gdk_event_translate) <WM_MOUSEACTIVATE> Call

2006-02-08  John Ehresman  <jpe@wingware.com>

* gdk/win32/gdkevents-win32.c (gdk_event_translate)
<WM_MOUSEACTIVATE>
* gdk/win32/gdkwindow-win32.c (show_window_internal)
(gdk_window_raise): Call SetWindowPos() instead of
SetForegroundWindow() or BringWindowToTop() if the window
shouldn't accept focus. (#327375)

18 years agoLet gdk_window_set_decorations() take precedence over anything derived
John Ehresman [Thu, 9 Feb 2006 02:58:45 +0000 (02:58 +0000)]
Let gdk_window_set_decorations() take precedence over anything derived

2006-02-08  John Ehresman  <jpe@wingware.com>

* gdk/win32/gdkwindow-win32.c: Let gdk_window_set_decorations()
take precedence over anything derived from hints. Restructure
related code and logic, add some new helper functions. (#327217)

18 years agoDon't put relevant callss in g_assert(). (#329876, Kristian Rietveld)
Matthias Clasen [Wed, 8 Feb 2006 19:35:08 +0000 (19:35 +0000)]
Don't put relevant callss in g_assert(). (#329876, Kristian Rietveld)

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

* gtk/gtkfilechooserbutton.c: Don't put relevant callss
in g_assert().  (#329876, Kristian Rietveld)

18 years agoConsistenly use assign_object() when assigning GdkWindow pointers so that
Tor Lillqvist [Wed, 8 Feb 2006 17:32:50 +0000 (17:32 +0000)]
Consistenly use assign_object() when assigning GdkWindow pointers so that

2006-02-08  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkevents-win32.c (gdk_pointer_grab)
(gdk_display_pointer_ungrab, gdk_keyboard_grab)
(gdk_display_keyboard_ungrab): Consistenly use assign_object()
when assigning GdkWindow pointers so that the ref counting doesn't
get off whack.

(handle_stuff_while_moving_or_resizing): Don't use deprecated API.

(gdk_event_translate) <WM_MOUSEMOVE>: When the pointer is grabbed
with owner_events FALSE, generate enter and leave events only for
the grab window. (#321054)

18 years agofree temporary paths after usage (patch from maemo-gtk),
Kristian Rietveld [Wed, 8 Feb 2006 15:20:43 +0000 (15:20 +0000)]
free temporary paths after usage (patch from maemo-gtk),

2006-02-08  Kristian Rietveld  <kris@imendio.com>

* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_ref_path),
(gtk_tree_model_filter_unref_path): free temporary paths after
usage (patch from maemo-gtk),
(gtk_tree_model_filter_clear_cache): fix little typo in the docs
(patch from maemo-gtk).

* gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_deleted): remove
stale FIXME.

18 years agoCopy the display_key as well. (#330389, Markku Vire)
Matthias Clasen [Wed, 8 Feb 2006 15:19:07 +0000 (15:19 +0000)]
Copy the display_key as well. (#330389, Markku Vire)

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

* gtk/gtkfilesystem.c (gtk_file_info_copy): Copy the display_key
as well.  (#330389, Markku Vire)

18 years agoDrop the timestamp from the zipfile names.
Tor Lillqvist [Tue, 7 Feb 2006 22:58:04 +0000 (22:58 +0000)]
Drop the timestamp from the zipfile names.

2006-02-08  Tor Lillqvist  <tml@novell.com>

* gtk-zip.sh.in: Drop the timestamp from the zipfile names.

18 years agoupdated mine and Dok's email address.
Sven Neumann [Tue, 7 Feb 2006 11:58:49 +0000 (11:58 +0000)]
updated mine and Dok's email address.

2006-02-07  Sven Neumann  <sven@gimp.org>

* gdk/directfb/AUTHORS: updated mine and Dok's email address.

18 years agofix compiler warning.
Kristian Rietveld [Mon, 6 Feb 2006 18:32:59 +0000 (18:32 +0000)]
fix compiler warning.

2006-02-06  Kristian Rietveld  <kris@gtk.org>

* gtk/gtktreeview.c (gtk_tree_view_get_search_entry): fix compiler
warning.

18 years agoBug #330022 Wrong pixel values are computed when color = 0xFF and alpha =
Dom Lachowicz [Sun, 5 Feb 2006 20:34:43 +0000 (20:34 +0000)]
Bug #330022 Wrong pixel values are computed when color = 0xFF and alpha =

* gdk/gdkcairo.c (gdk_cairo_set_source_pixbuf): Bug #330022
Wrong pixel values are computed when color = 0xFF and alpha = 0xFF

18 years agoModifed changelog to reflect new backend addition
Michael David Emmel [Sun, 5 Feb 2006 04:38:30 +0000 (04:38 +0000)]
Modifed changelog to reflect new backend addition

18 years agoAdded new directfb backend
Michael David Emmel [Sun, 5 Feb 2006 04:04:29 +0000 (04:04 +0000)]
Added new directfb backend

18 years agoWork around https://bugs.freedesktop.org/show_bug.cgi?id=4320, which used
Federico Mena Quintero [Fri, 3 Feb 2006 21:17:34 +0000 (21:17 +0000)]
Work around https://bugs.freedesktop.org/show_bug.cgi?id=4320, which used

2006-02-03  Federico Mena Quintero  <federico@ximian.com>

Work around https://bugs.freedesktop.org/show_bug.cgi?id=4320,
which used to be our own
http://bugzilla.gnome.org/show_bug.cgi?id=314616.  If one uses a
pixmap for a pattern in Cairo, and sets the pattern to
CAIRO_EXTEND_REPEAT; and if the destination surface is also a
pixmap, Cairo does a slow copy instead of using XCopyArea().  So,
we use the same code that we used in GTK+ 2.6 (pre-cairo), by
filling the double-buffer pixmap with a tiled GC and
XFillRectangle().

* gdk/gdkwindow.c (BackingRectMethod): New structure with a
cairo_t and a GdkGC field.  Depending on which of these fields
gets filled in, we'll use Cairo or GDK to clear the double-buffer
pixmap when painting a window.
(setup_backing_rect_method): Fill a BackingRectMethod as
appropriate, depending on the window's configuration and our
knowledge of whether Cairo is fast or slow when doing repeating
patterns.
(gdk_window_clear_backing_rect): Call
setup_backing_rect_method().  Depending on what it returns, use
Cairo to clear the double-buffer pixmap, or plain GDK.

18 years agoAdd deprecation notes.
Matthias Clasen [Fri, 3 Feb 2006 17:34:25 +0000 (17:34 +0000)]
Add deprecation notes.

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

* gtk/tmpl/gtkmenushell.sgml:
* gtk/tmpl/gtkmenu.sgml: Add deprecation notes.

18 years agoFix padding handling
Matthias Clasen [Fri, 3 Feb 2006 05:37:06 +0000 (05:37 +0000)]
Fix padding handling

18 years agoMake drops on the root window work again. (#145243, Andrew S. Dixon)
Matthias Clasen [Thu, 2 Feb 2006 20:51:49 +0000 (20:51 +0000)]
Make drops on the root window work again. (#145243, Andrew S. Dixon)

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

* gdk/x11/gdkdnd-x11.c (_gdk_drag_get_protocol_for_display):
Make drops on the root window work again.  (#145243, Andrew S. Dixon)

18 years agoUpdated Russian translation
Leonid Kanter [Thu, 2 Feb 2006 11:54:03 +0000 (11:54 +0000)]
Updated Russian translation

18 years agoWrap docs
Matthias Clasen [Wed, 1 Feb 2006 15:46:05 +0000 (15:46 +0000)]
Wrap docs

18 years agoTouch README and INSTALL here to pacify automake. (#329124, Kjartan
Matthias Clasen [Tue, 31 Jan 2006 17:38:43 +0000 (17:38 +0000)]
Touch README and INSTALL here to pacify automake. (#329124, Kjartan

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

* autogen.sh: Touch README and INSTALL here to pacify
automake.  (#329124, Kjartan Maraas, Tim Janik)

18 years agoActually implement visibility handling, and add
Matthias Clasen [Tue, 31 Jan 2006 16:57:18 +0000 (16:57 +0000)]
Actually implement visibility handling, and add

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

* gtk/gtk.symbols:
* gtk/gtkassistant.h:
* gtk/gtkassistant.c: Actually implement visibility handling,
and add gtk_assistant_update_buttons_state.

* tests/testassistant.c: Test visibility handling.

18 years agoAdd support for row hinting for the selected state.
Kristian Rietveld [Tue, 31 Jan 2006 15:58:23 +0000 (15:58 +0000)]
Add support for row hinting for the selected state.

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

* gtk/gtkstyle.c (gtk_default_draw_flat_box): Add support for row
hinting for the selected state.

18 years agoMake sure the tree view is realized, since we grab the focus to it.
Matthias Clasen [Mon, 30 Jan 2006 18:24:26 +0000 (18:24 +0000)]
Make sure the tree view is realized, since we grab the focus to it.

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

* gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
Make sure the tree view is realized, since we grab the
focus to it.  (#329144, Wouter Bolsterlee)

18 years agoAdd a wrapped signal. (#322933, Carlos Garnacho Parro)
Matthias Clasen [Mon, 30 Jan 2006 17:35:49 +0000 (17:35 +0000)]
Add a wrapped signal. (#322933, Carlos Garnacho Parro)

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

* gtk/gtkspinbutton.h:
* gtk/gtkspinbutton.c: Add a wrapped signal.  (#322933,
Carlos Garnacho Parro)

18 years agoMore generous spacing. (#328082, Christian Persch, patch by Carlos
Matthias Clasen [Mon, 30 Jan 2006 15:51:54 +0000 (15:51 +0000)]
More generous spacing. (#328082, Christian Persch, patch by Carlos

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

* gtk/gtkassistant.c: More generous spacing. (#328082,
Christian Persch, patch by Carlos Garnacho)

18 years agoAdd GtkLinkButton to gallery
Matthias Clasen [Mon, 30 Jan 2006 15:39:23 +0000 (15:39 +0000)]
Add GtkLinkButton to gallery

18 years agoUse the setter for active. (#329208, Guillaume Cottenceau)
Matthias Clasen [Mon, 30 Jan 2006 15:30:25 +0000 (15:30 +0000)]
Use the setter for active. (#329208, Guillaume Cottenceau)

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

* gtk/gtktoggletoolbutton.c (gtk_toggle_tool_button_set_property):
Use the setter for active.  (#329208, Guillaume Cottenceau)

18 years agoMove the last button to the left where it does not affect the positioning
Matthias Clasen [Mon, 30 Jan 2006 05:05:07 +0000 (05:05 +0000)]
Move the last button to the left where it does not affect the positioning

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

* gtk/gtkassistant.c (gtk_assistant_init): Move the
last button to the left where it does not affect
the positioning of forward/back.

18 years agoGtkAssistant stuff
Matthias Clasen [Mon, 30 Jan 2006 04:53:53 +0000 (04:53 +0000)]
GtkAssistant stuff

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