]> Pileus Git - ~andy/gtk/log
~andy/gtk
18 years agoMore of the same
Matthias Clasen [Thu, 29 Dec 2005 07:47:02 +0000 (07:47 +0000)]
More of the same

18 years agoRemove excessive g_return_if_fail() checks in static functions.
Matthias Clasen [Thu, 29 Dec 2005 07:14:19 +0000 (07:14 +0000)]
Remove excessive g_return_if_fail() checks in static functions.

2005-12-29  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkliststore.c:
* gtk/gtktreestore.c: Remove excessive g_return_if_fail() checks
in static functions.

18 years agoUse the slice allocater for GtkTreeDataSortHeader.
Matthias Clasen [Thu, 29 Dec 2005 05:26:09 +0000 (05:26 +0000)]
Use the slice allocater for GtkTreeDataSortHeader.

2005-12-29  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreedatalist.c: Use the slice allocater for
GtkTreeDataSortHeader.

* gtk/gtktreedatalist.h:
* gtk/gtktreedatalist.c (_gtk_tree_data_list_set_header): New function.

* gtk/gtktreemodelsort.c (gtk_tree_model_sort_set_sort_func):
* gtk/gtkliststore.c (gtk_list_store_set_sort_func):
* gtk/gtktreestore.c (gtk_tree_store_set_sort_func): Use it here.

18 years agoMake the args a flexible array inside the struct, and allocate them
Matthias Clasen [Wed, 28 Dec 2005 04:09:18 +0000 (04:09 +0000)]
Make the args a flexible array inside the struct, and allocate them

2005-12-27  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkbindings.h (GtkBindingSignal):
* gtk/gtkbindings.c (binding_signal_new): Make the
args a flexible array inside the struct, and allocate them
together.

18 years agodelete GtkCTreeRow as GtkCTreeRow, not clist rows which crashes in gslice
Tim Janik [Tue, 27 Dec 2005 23:46:28 +0000 (23:46 +0000)]
delete GtkCTreeRow as GtkCTreeRow, not clist rows which crashes in gslice

Wed Dec 28 00:45:46 2005  Tim Janik  <timj@gtk.org>

        * gtk/gtkctree.c (row_delete): delete GtkCTreeRow as GtkCTreeRow, not
        clist rows which crashes in gslice later on.

18 years agoIn the case for FILTER_RULE_PIXBUF_FORMATS, check that
Federico Mena Quintero [Tue, 27 Dec 2005 18:38:52 +0000 (18:38 +0000)]
In the case for FILTER_RULE_PIXBUF_FORMATS, check that

2005-12-27  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilefilter.c (gtk_file_filter_filter): In the case for
FILTER_RULE_PIXBUF_FORMATS, check that filter_info->mime_type is
not NULL.  Fixes bug #317687.

18 years agoFix a typo. (gdk_screen_get_setting): Avoid relocations for the settings
Matthias Clasen [Tue, 27 Dec 2005 07:57:52 +0000 (07:57 +0000)]
Fix a typo. (gdk_screen_get_setting): Avoid relocations for the settings

2005-12-27  Matthias Clasen  <mclasen@redhat.com>

* gdk/x11/gdkevents-x11.c (check_transform): Fix a typo.
(gdk_screen_get_setting): Avoid relocations for the settings
map.

18 years agoFix a typo.
Matthias Clasen [Tue, 27 Dec 2005 07:39:19 +0000 (07:39 +0000)]
Fix a typo.

2005-12-27  Matthias Clasen  <mclasen@redhat.com>

* gdk/x11/gdkevents-x11.c (check_transform): Fix a typo.

18 years agoAvoid relocations for the list of standard atoms.
Matthias Clasen [Tue, 27 Dec 2005 07:36:58 +0000 (07:36 +0000)]
Avoid relocations for the list of standard atoms.

2005-12-27  Matthias Clasen  <mclasen@redhat.com>

* gdk/x11/gdkproperty-x11.c: Avoid relocations for the list
of standard atoms.

18 years agoAvoid copying the set_name by interning it.
Matthias Clasen [Tue, 27 Dec 2005 06:10:20 +0000 (06:10 +0000)]
Avoid copying the set_name by interning it.

2005-12-27  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkbindings.c (gtk_binding_set_new): Avoid copying
the set_name by interning it.

18 years agoPrecache atoms before calling gdk_window_new().
Matthias Clasen [Tue, 27 Dec 2005 04:38:31 +0000 (04:38 +0000)]
Precache atoms before calling gdk_window_new().

2005-12-26  Matthias Clasen  <mclasen@redhat.com>

* gdk/x11/gdkdisplay-x11.c (gdk_display_open): Precache atoms
before calling gdk_window_new().

18 years agosome more slice allocation
Matthias Clasen [Tue, 27 Dec 2005 00:59:53 +0000 (00:59 +0000)]
some more slice allocation

18 years agoSome more slice allocation
Matthias Clasen [Tue, 27 Dec 2005 00:54:39 +0000 (00:54 +0000)]
Some more slice allocation

18 years agoUse the slice allocator for some other small auxiliary structures as well.
Matthias Clasen [Tue, 27 Dec 2005 00:49:24 +0000 (00:49 +0000)]
Use the slice allocator for some other small auxiliary structures as well.

2005-12-26  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktextbtree.c: Use the slice allocator for some other small
auxiliary structures as well.

18 years agoForgotten file
Matthias Clasen [Tue, 27 Dec 2005 00:41:43 +0000 (00:41 +0000)]
Forgotten file

18 years agoClarify docs. (#324996)
Matthias Clasen [Tue, 27 Dec 2005 00:11:26 +0000 (00:11 +0000)]
Clarify docs. (#324996)

2005-12-26  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkimcontext.c (gtk_im_context_filter_keypress): Clarify
docs.  (#324996)

18 years agoUpdated Canadian English translation.
Adam Weinberger [Mon, 26 Dec 2005 22:25:56 +0000 (22:25 +0000)]
Updated Canadian English translation.

2005-12-26  Adam Weinberger  <adamw@gnome.org>

* en_CA.po: Updated Canadian English translation.

18 years agoAlso strip (_F) without a space
Matthias Clasen [Mon, 26 Dec 2005 07:54:32 +0000 (07:54 +0000)]
Also strip (_F) without a space

18 years agoMention the stripping of (_F) suffixes.
Matthias Clasen [Mon, 26 Dec 2005 07:52:43 +0000 (07:52 +0000)]
Mention the stripping of (_F) suffixes.

2005-12-26  Matthias Clasen  <mclasen@redhat.com>

* README.in: Mention the stripping of (_F) suffixes.

* gtk/gtktoolbar.c (_gtk_toolbar_elide_underscores): Strip a suffix of
the form " (_<single character>)", since this is the preferred way
for some languages to indicate accelerators.  (#323956, Yang Hong)

18 years agoAdd a gtk-label-select-on-focus setting. (gtk_label_grab_focus): And use
Matthias Clasen [Mon, 26 Dec 2005 07:02:51 +0000 (07:02 +0000)]
Add a gtk-label-select-on-focus setting. (gtk_label_grab_focus): And use

2005-12-26  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtklabel.c (gtk_label_class_init): Add a gtk-label-select-on-focus
setting.
(gtk_label_grab_focus): And use it here to select the contents of
the label when appropriate.
(gtk_label_class_init): Use the same keybindings for select all/
unselect all as GtkEntry and GtkTextView.

* gtk/gtkdialog.c (gtk_dialog_map): When looking for the initial
focus, avoid leaving a selection in a label.

18 years agoDocumentation fixes. (#324815, Ross Burton)
Matthias Clasen [Mon, 26 Dec 2005 05:07:53 +0000 (05:07 +0000)]
Documentation fixes. (#324815, Ross Burton)

2005-12-25  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkwindow.c: Documentation fixes.  (#324815,
        Ross Burton)

18 years agoRequire GLib 2.9.2
Matthias Clasen [Mon, 26 Dec 2005 04:56:36 +0000 (04:56 +0000)]
Require GLib 2.9.2

2005-12-25  Matthias Clasen  <mclasen@redhat.com>

        * configure.in: Require GLib 2.9.2

18 years agoUpdated Canadian English translation.
Adam Weinberger [Sun, 25 Dec 2005 06:38:23 +0000 (06:38 +0000)]
Updated Canadian English translation.

2005-12-25  Adam Weinberger  <adamw@gnome.org>

* en_CA.po: Updated Canadian English translation.

18 years agoInline docs, use g_assert(), avoid extra allocation for rectangular
Matthias Clasen [Sat, 24 Dec 2005 07:29:00 +0000 (07:29 +0000)]
Inline docs, use g_assert(), avoid extra allocation for rectangular

2005-12-24  Matthias Clasen  <mclasen@redhat.com>

* gdk/gdkregion-generic.c:
* gdk/gdkpolyreg-generic.c:
* gdk/gdkregion.h:
* gdk/gdkrectangle.c: Inline docs, use g_assert(), avoid
extra allocation for rectangular regions.

18 years agoInline docs.
Matthias Clasen [Sat, 24 Dec 2005 07:00:47 +0000 (07:00 +0000)]
Inline docs.

2005-12-24  Matthias Clasen  <mclasen@redhat.com>

* gdk/gdkrectangle.c: Inline docs.

18 years agofixup line i swallowed earlier ;)
Tim Janik [Thu, 22 Dec 2005 18:14:58 +0000 (18:14 +0000)]
fixup line i swallowed earlier ;)

18 years agorenamed GUnowned to GInitiallyUnowned.
Tim Janik [Thu, 22 Dec 2005 17:58:40 +0000 (17:58 +0000)]
renamed GUnowned to GInitiallyUnowned.

Thu Dec 22 18:53:14 2005  Tim Janik  <timj@gtk.org>

        * gtk/gtkobject.[hc]: renamed GUnowned to GInitiallyUnowned.

18 years agoparent type fixups in structure declarations.
Tim Janik [Thu, 22 Dec 2005 16:55:44 +0000 (16:55 +0000)]
parent type fixups in structure declarations.

Thu Dec 22 17:55:11 2005  Tim Janik  <timj@gtk.org>

        * gtk/gtkobject.h: parent type fixups in structure declarations.

18 years agoderive GtkObject from GUnowned, so it initially has a floating reference
Tim Janik [Thu, 22 Dec 2005 15:10:05 +0000 (15:10 +0000)]
derive GtkObject from GUnowned, so it initially has a floating reference

Thu Dec 22 16:01:27 2005  Tim Janik  <timj@imendio.com>

        * gtk/gtkobject.c: derive GtkObject from GUnowned,
        so it initially has a floating reference count.
        gtk_object_class_init(): installa floating flag handler with
        libgobject, so for GtkObjects the flag is stored as GTK_FLOATING
        in the ->flags member.

        * tests/floatingtest.c: test floating flag uses.

18 years agoUse the slice allocator for regions. Still todo: avoid extra allocations
Matthias Clasen [Wed, 21 Dec 2005 21:10:41 +0000 (21:10 +0000)]
Use the slice allocator for regions. Still todo: avoid extra allocations

2005-12-21  Matthias Clasen  <mclasen@redhat.com>

* gdk/gdkregion-generic.c: Use the slice allocator
for regions. Still todo: avoid extra allocations for
the single-rectangle case.

18 years agoUpdate class_n_properties after installing color-hash, since other classes
Matthias Clasen [Wed, 21 Dec 2005 21:05:22 +0000 (21:05 +0000)]
Update class_n_properties after installing color-hash, since other classes

2005-12-21  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtksettings.c (gtk_settings_class_init): Update
class_n_properties after installing color-hash, since
other classes install settings, too.

* gtk/gtkctree.c:
* gtk/gtkclist.c: Fix some mistakes in the conversion
from mem chunks to slice allocator.

18 years agoAdjust the wrap-width also if an explicit item width is set. (#322475,
Matthias Clasen [Wed, 21 Dec 2005 18:14:59 +0000 (18:14 +0000)]
Adjust the wrap-width also if an explicit item width is set. (#322475,

2005-12-21  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkiconview.c (adjust_wrap_width): Adjust the
wrap-width also if an explicit item width is set.
(#322475, Alex Graveley)

18 years agoReset pressed_button to -1 after handling a double click, so that motion
Matthias Clasen [Tue, 20 Dec 2005 18:21:21 +0000 (18:21 +0000)]
Reset pressed_button to -1 after handling a double click, so that motion

2005-12-20  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkiconview.c (gtk_icon_view_button_press): Reset
pressed_button to -1 after handling a double click, so that
motion events occurring between here and the release event
don't trigger DND.  (#324588, Dave Andreoli)

18 years agoFix the build
Matthias Clasen [Tue, 20 Dec 2005 17:05:33 +0000 (17:05 +0000)]
Fix the build

18 years agoUpdates
Matthias Clasen [Tue, 20 Dec 2005 05:47:43 +0000 (05:47 +0000)]
Updates

18 years agoDoc updates
Matthias Clasen [Tue, 20 Dec 2005 05:44:07 +0000 (05:44 +0000)]
Doc updates

18 years agoDoc updates
Matthias Clasen [Tue, 20 Dec 2005 05:36:10 +0000 (05:36 +0000)]
Doc updates

18 years agoAnother doc update
Matthias Clasen [Tue, 20 Dec 2005 05:35:15 +0000 (05:35 +0000)]
Another doc update

18 years agoDoc updates
Matthias Clasen [Tue, 20 Dec 2005 05:34:32 +0000 (05:34 +0000)]
Doc updates

18 years agoDocumentation updates
Matthias Clasen [Tue, 20 Dec 2005 05:33:19 +0000 (05:33 +0000)]
Documentation updates

18 years agoDocumentation updates
Matthias Clasen [Tue, 20 Dec 2005 05:27:17 +0000 (05:27 +0000)]
Documentation updates

18 years agoDocumentation updates
Matthias Clasen [Tue, 20 Dec 2005 05:11:30 +0000 (05:11 +0000)]
Documentation updates

18 years agoFix typo
Matthias Clasen [Tue, 20 Dec 2005 04:55:16 +0000 (04:55 +0000)]
Fix typo

18 years agoSmall additions/fixes.
Matthias Clasen [Mon, 19 Dec 2005 21:13:49 +0000 (21:13 +0000)]
Small additions/fixes.

2005-12-19  Matthias Clasen  <mclasen@redhat.com>

* gdk-pixbuf/tmpl/module_interface.sgml:
* gdk-pixbuf/gdk-pixbuf-sections.txt:
* gdk-pixbuf/tmpl/animation.sgml: Small additions/fixes.

18 years agoSmall additions/fixes
Matthias Clasen [Mon, 19 Dec 2005 21:02:08 +0000 (21:02 +0000)]
Small additions/fixes

2005-12-19  Matthias Clasen  <mclasen@redhat.com>

* gdk/tmpl/input.sgml:
* gdk/tmpl/rgb.sgml:
* gdk/tmpl/x_interaction.sgml:
* gdk/tmpl/windows.sgml: Small additions/fixes

* gdk/Makefile.am (IGNORE_HFILES): Add quartz

* gdk/gdk-sections.txt: Add gdk_window_get_type_hint

18 years agoAdd GtkStatusIcon so it gets an object hierarchy.
Matthias Clasen [Mon, 19 Dec 2005 20:22:04 +0000 (20:22 +0000)]
Add GtkStatusIcon so it gets an object hierarchy.

2005-12-19  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtk-sections.txt: Add GtkStatusIcon so it gets
an object hierarchy.

18 years agoRemove inlined documentation
Matthias Clasen [Mon, 19 Dec 2005 20:19:19 +0000 (20:19 +0000)]
Remove inlined documentation

2005-12-19  Matthias Clasen  <mclasen@redhat.com>

* gtk/tmpl/gtkbutton.sgml: Remove inlined documentation

18 years agoDocumentation fixes.
Matthias Clasen [Mon, 19 Dec 2005 20:13:34 +0000 (20:13 +0000)]
Documentation fixes.

2005-12-19  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreemodel.c:
* gtk/gtkplug.c:
* gtk/gtkwindow.c: Documentation fixes.

18 years agoDocumentation fixes.
Matthias Clasen [Mon, 19 Dec 2005 20:07:08 +0000 (20:07 +0000)]
Documentation fixes.

2005-12-19  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkplug.c:
* gtk/gtkwindow.c: Documentation fixes.

18 years agoExplicitly document GtkStatusIcon as a non-widget. (#324181, Maciej
Matthias Clasen [Mon, 19 Dec 2005 19:48:21 +0000 (19:48 +0000)]
Explicitly document GtkStatusIcon as a non-widget. (#324181, Maciej

2005-12-19  Matthias Clasen  <mclasen@redhat.com>

* gtk/tmpl/gtkstatusicon.sgml: Explicitly document GtkStatusIcon
as a non-widget.  (#324181, Maciej Katafiasz)

18 years agoimplement boolean property "truncate-multiline" which, when enabled,
Michael Natterer [Mon, 19 Dec 2005 19:03:51 +0000 (19:03 +0000)]
implement boolean property "truncate-multiline" which, when enabled,

2005-12-19  Michael Natterer  <mitch@imendio.com>

* gtk/gtkentry.c: implement boolean property "truncate-multiline"
which, when enabled, truncates multi-line pastes or drops to their
first line. Fixes bug #322252.

* gtk/gtkfilechooserentry.c (gtk_file_chooser_entry_init): enable
truncate-multiline here.

18 years agoFix a crash
Matthias Clasen [Mon, 19 Dec 2005 05:28:49 +0000 (05:28 +0000)]
Fix a crash

18 years agoUpdated Spanish translation.
Francisco Javier F. Serrador [Sun, 18 Dec 2005 22:13:52 +0000 (22:13 +0000)]
Updated Spanish translation.

2005-12-18  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

* es.po: Updated Spanish translation.

18 years agoUse G_MODULE_BIND_LAZY when opening modules.
Matthias Clasen [Fri, 16 Dec 2005 19:06:09 +0000 (19:06 +0000)]
Use G_MODULE_BIND_LAZY when opening modules.

2005-12-16  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfilesystem.c (gtk_file_system_module_load):
* gtk/gtkimmodule.c (gtk_im_module_load):
* gtk/gtkthemes.c (gtk_theme_engine_load):
* gtk/gtkmodules.c (find_module): Use G_MODULE_BIND_LAZY when
opening modules.

18 years agoRework the way the color scheme setting is inherited. Now the overriding
Matthias Clasen [Fri, 16 Dec 2005 18:45:31 +0000 (18:45 +0000)]
Rework the way the color scheme setting is inherited. Now the overriding

2005-12-16  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtksettings.[hc]: Rework the way the color scheme setting
is inherited. Now the overriding is done on a per-color basis,
rather than for the setting as a whole. This has the effect
that themes can declare defaults for all the symbolic colors they
use by specifying a value for the gtk-color-scheme setting in
their rc file, while still allowing the XSetting to override
"standard" symbolic colors. The hash table is now available
through the color-hash property.

* gtk/gtkrc.c: Use the new color-hash property.

18 years agoUpdated French translation.
Christophe Merlet [Wed, 14 Dec 2005 22:15:18 +0000 (22:15 +0000)]
Updated French translation.

18 years agoSkip unrealized children when doing focus sorting. (#323995, Dan Winship)
Matthias Clasen [Wed, 14 Dec 2005 19:39:44 +0000 (19:39 +0000)]
Skip unrealized children when doing focus sorting. (#323995, Dan Winship)

2005-12-14  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkcontainer.c (_gtk_container_focus_sort): Skip unrealized
children when doing focus sorting.  (#323995, Dan Winship)

18 years agoDefault to "drive-harddisk" and then fall back to gnome-dev-harddisk
Rodney Dawes [Wed, 14 Dec 2005 19:29:50 +0000 (19:29 +0000)]
Default to "drive-harddisk" and then fall back to gnome-dev-harddisk

2005-12-14  Rodney Dawes  <dobey@novell.com>

* gtk/gtkfilesystemunix.c (gtk_file_system_unix_volume_render_icon):
Default to "drive-harddisk" and then fall back to gnome-dev-harddisk
(get_icon_for_mime_type): Look up the mime type icons according to the
Icon Naming Specification and then fall back to the gnome-mime- prefix
for the mime type icons

Fixes #323655

18 years agoWarn if the icon cannot be loaded. (#323504, Kjartan Maraas)
Matthias Clasen [Wed, 14 Dec 2005 19:14:14 +0000 (19:14 +0000)]
Warn if the icon cannot be loaded. (#323504, Kjartan Maraas)

2005-12-14  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkdnd.c (gtk_drag_set_icon_name): Warn if the icon
cannot be loaded.  (#323504, Kjartan Maraas)

18 years agoAdd docs for the row-activated signal. (#324044, Davyd Madeley)
Matthias Clasen [Wed, 14 Dec 2005 18:12:36 +0000 (18:12 +0000)]
Add docs for the row-activated signal. (#324044, Davyd Madeley)

2005-12-14  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_class_init): Add docs
for the row-activated signal.  (#324044, Davyd Madeley)

18 years agoMove stuff to correct ChangeLog.
Michael Natterer [Wed, 14 Dec 2005 16:37:52 +0000 (16:37 +0000)]
Move stuff to correct ChangeLog.

18 years agonew utility function which factors out massive code duplication from the
Michael Natterer [Wed, 14 Dec 2005 13:58:02 +0000 (13:58 +0000)]
new utility function which factors out massive code duplication from the

2005-12-14  Michael Natterer  <mitch@imendio.com>

* gdk-pixbuf/io-jpeg.c (gdk_pixbuf__jpeg_image_load_lines): new
utility function which factors out massive code duplication from
the commit below.

18 years agoapplied patch from maemo-gtk which avoids the allocation of an
Michael Natterer [Wed, 14 Dec 2005 12:47:49 +0000 (12:47 +0000)]
applied patch from maemo-gtk which avoids the allocation of an

2005-12-14  Michael Natterer  <mitch@imendio.com>

* gdk-pixbuf/io-jpeg.c: applied patch from maemo-gtk which avoids
the allocation of an intermediate buffer for non-progressive
jpegs. Fixed bug #305894.

* tests/test-images/valid_jpeg_progressive_test: new test image so
we can test both loading code paths in io-jpeg.c

18 years agoUpdated Telugu translation done by Prajasakti Localisation Team <localisation@prajasa...
Sunil Mohan Adapa [Wed, 14 Dec 2005 06:31:16 +0000 (06:31 +0000)]
Updated Telugu translation done by Prajasakti Localisation Team <localisation@prajasakti.com>.

18 years agoadded a link to the fgloating reference docs in the 2.10 release NEWS
Tim Janik [Tue, 13 Dec 2005 08:48:02 +0000 (08:48 +0000)]
added a link to the fgloating reference docs in the 2.10 release NEWS

Tue Dec 13 09:47:20 2005  Tim Janik  <timj@gtk.org>

        * README.in: added a link to the fgloating reference docs in the
        2.10 release NEWS section.

18 years agoSpeed this function up, using the fact that visibility is constant across
Matthias Clasen [Mon, 12 Dec 2005 19:33:23 +0000 (19:33 +0000)]
Speed this function up, using the fact that visibility is constant across

2005-12-12  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktextiter.c (gtk_text_iter_set_visible_line_index):
Speed this function up, using the fact that visibility is
constant across segments. (#321548, Paolo Borelli)

18 years agoSpeed up stepping backwards. (#320638, Larry Ewing, Paolo Borelli)
Matthias Clasen [Mon, 12 Dec 2005 19:16:00 +0000 (19:16 +0000)]
Speed up stepping backwards. (#320638, Larry Ewing, Paolo Borelli)

2005-12-12  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktextbtree.c (_gtk_text_line_char_to_byte_offsets):
* gtk/gtktextiter.c (gtk_text_iter_backward_chars): Speed up
stepping backwards.  (#320638, Larry Ewing, Paolo Borelli)

18 years agoOnly broadcast _GTK_LOAD_ICONTHEMES if we detect a real theme change, not
Matthias Clasen [Mon, 12 Dec 2005 17:39:50 +0000 (17:39 +0000)]
Only broadcast _GTK_LOAD_ICONTHEMES if we detect a real theme change, not

2005-12-12  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkicontheme.c (ensure_valid_themes): Only broadcast
_GTK_LOAD_ICONTHEMES if we detect a real theme change, not
upon initial theme load.  (#323876, Peter Lund)

18 years agoMake it compile
Matthias Clasen [Mon, 12 Dec 2005 17:32:36 +0000 (17:32 +0000)]
Make it compile

18 years agoRegister the size-changed signal correctly. (#323848, Murray Cumming)
Matthias Clasen [Mon, 12 Dec 2005 17:14:45 +0000 (17:14 +0000)]
Register the size-changed signal correctly. (#323848, Murray Cumming)

2005-12-12  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkstatusicon.c (gtk_status_icon_class_init): Register
the size-changed signal correctly.  (#323848, Murray Cumming)

18 years agoDon't fall thru to the wrong window types. (#323843)
Matthias Clasen [Mon, 12 Dec 2005 17:08:42 +0000 (17:08 +0000)]
Don't fall thru to the wrong window types. (#323843)

2005-12-12  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktextview.c (gtk_text_view_get_border_window_size): Don't
fall thru to the wrong window types.  (#323843)

18 years agoMake the gtk-color-scheme setting work.
Matthias Clasen [Mon, 12 Dec 2005 15:48:43 +0000 (15:48 +0000)]
Make the gtk-color-scheme setting work.

2005-12-12  Matthias Clasen  <mclasen@redhat.com>

Make the gtk-color-scheme setting work.

* gtk/gtksettings.h:
* gtk/gtksettings.c (_gtk_settings_get_color_hash): Add a getter
that takes care of initializing the color hash if it is not
already there.

* gtk/gtkrc.c (gtk_rc_color_scheme_changed, gtk_rc_context_get):
And use it here.

18 years agoFix mnemonic key
Kwok-Koon Cheung [Mon, 12 Dec 2005 03:09:33 +0000 (03:09 +0000)]
Fix mnemonic key

* zh_TW.po: Fix mnemonic key

18 years agoUpdated French Translation.
Christophe Merlet [Sun, 11 Dec 2005 22:14:07 +0000 (22:14 +0000)]
Updated French Translation.

18 years agoFix an oversight
Matthias Clasen [Sun, 11 Dec 2005 04:25:52 +0000 (04:25 +0000)]
Fix an oversight

18 years agoFix the last commit
Matthias Clasen [Fri, 9 Dec 2005 17:26:26 +0000 (17:26 +0000)]
Fix the last commit

18 years agoUpdated Lithuanian translation.
Žygimantas Beručka [Fri, 9 Dec 2005 16:52:20 +0000 (16:52 +0000)]
Updated Lithuanian translation.

2005-12-09  Žygimantas Beručka  <zygis@gnome.org>

        * lt.po: Updated Lithuanian translation.

18 years agoDon't leak list[0]. (#323629, Markku Vire)
Matthias Clasen [Fri, 9 Dec 2005 16:25:56 +0000 (16:25 +0000)]
Don't leak list[0]. (#323629, Markku Vire)

2005-12-09  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkselection.c (gtk_selection_data_get_uris): Don't
        leak list[0].  (#323629, Markku Vire)

18 years agoUnref the buffer when freeing the RequestData. (#323577)
Matthias Clasen [Fri, 9 Dec 2005 16:05:55 +0000 (16:05 +0000)]
Unref the buffer when freeing the RequestData. (#323577)

2005-12-09  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtktextbuffer.c (paste_from_buffer): Unref the buffer
        when freeing the RequestData.  (#323577)

18 years agoDon't leak text.
Matthias Clasen [Wed, 7 Dec 2005 19:50:39 +0000 (19:50 +0000)]
Don't leak text.

2005-12-07  Matthias Clasen  <mclasen@redhat.com>

* demos/gtk-demo/iconview_edit.c (set_cell_color): Don't
leak text.

18 years agoFix a variable name clash. (#323475, Ross Burton)
Matthias Clasen [Wed, 7 Dec 2005 18:00:20 +0000 (18:00 +0000)]
Fix a variable name clash. (#323475, Ross Burton)

2005-12-07  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktoolbutton.c (clone_image_menu_size): Fix a
variable name clash.  (#323475, Ross Burton)

18 years agoIf the toolbar mode is ICONS and there is no icon set then show the label, and vice...
Ross Burton [Wed, 7 Dec 2005 17:14:07 +0000 (17:14 +0000)]
If the toolbar mode is ICONS and there is no icon set then show the label, and vice versa (#322019)

18 years agoUse the correct window when synthesizing the key event. (#323077, Sadrul
Matthias Clasen [Wed, 7 Dec 2005 17:09:54 +0000 (17:09 +0000)]
Use the correct window when synthesizing the key event. (#323077, Sadrul

2005-12-07  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_key_press): Use the correct
window when synthesizing the key event.  (#323077,
Sadrul Habib Chowdhury)

(gtk_tree_view_search_key_press_event): Also listen for
GDK_ISO_Left_Tab.  (#323077, Sadrul Habib Chowdhury)

18 years agoOnly scroll if we have focus. (#316310, Paolo Borelli)
Matthias Clasen [Wed, 7 Dec 2005 15:26:53 +0000 (15:26 +0000)]
Only scroll if we have focus. (#316310, Paolo Borelli)

2005-12-07  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktextview.c (gtk_text_view_preedit_changed_handler):
Only scroll if we have focus.  (#316310, Paolo Borelli)

18 years agoFix a C99ism, spotted by Crispin Flowerday.
Matthias Clasen [Wed, 7 Dec 2005 14:00:26 +0000 (14:00 +0000)]
Fix a C99ism, spotted by Crispin Flowerday.

2005-12-07  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfilesystemunix.c (cb_fill_in_mime_type): Fix a C99ism,
spotted by Crispin Flowerday.

18 years agoTurn metrics hinting on (part of #307196)
Behdad Esfahbod [Wed, 7 Dec 2005 02:33:10 +0000 (02:33 +0000)]
Turn metrics hinting on (part of #307196)

2005-12-06  Behdad Esfahbod  <behdad@gnome.org>

        * gtk/gtksettings.c (settings_update_font_options): Turn metrics
        hinting on (part of #307196)

18 years agoDon't commit from reset, it upstets GtkTextView.
Matthias Clasen [Tue, 6 Dec 2005 21:21:44 +0000 (21:21 +0000)]
Don't commit from reset, it upstets GtkTextView.

2005-12-06  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkimcontextsimple.c (gtk_im_context_simple_reset): Don't
commit from reset, it upstets GtkTextView.

* gtk/gtktextview.c (gtk_text_view_check_cursor_blink): Be more
careful when turning blinking on and off.
(gtk_text_view_focus_out_event): Make the cursor really invisible
when the focus goes away.  (#323087, Sadrul Habib Chowdhury)
(cursor_blinks): Check the gtk-cursor-blink setting first.

18 years agoFix refcounting issues with new_event and its window.
Matthias Clasen [Tue, 6 Dec 2005 18:03:50 +0000 (18:03 +0000)]
Fix refcounting issues with new_event and its window.

2005-12-06  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_key_press): Fix refcounting
issues with new_event and its window.

18 years agoAccept NULL as a detach func. (#323386, Jorn Baayen)
Matthias Clasen [Tue, 6 Dec 2005 17:33:46 +0000 (17:33 +0000)]
Accept NULL as a detach func. (#323386, Jorn Baayen)

2005-12-06  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkmenu.c (gtk_menu_attach_to_widget): Accept NULL
as a detach func.  (#323386, Jorn Baayen)

18 years agoAvoid conflict with win32 headers in the libdate routines. (#323045,
Matthias Clasen [Tue, 6 Dec 2005 17:07:55 +0000 (17:07 +0000)]
Avoid conflict with win32 headers in the libdate routines. (#323045,

2005-12-06  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkcalendar.c: Avoid conflict with win32 headers in
the libdate routines.  (#323045, Kazuki Iwamoto)

18 years agoDon't ignore errors from g_option_context_parse().
Matthias Clasen [Tue, 6 Dec 2005 16:44:31 +0000 (16:44 +0000)]
Don't ignore errors from g_option_context_parse().

2005-12-06  Matthias Clasen  <mclasen@redhat.com>

* gdk/gdk.c (gdk_parse_args):
* gtk/gtkmain.c (gtk_parse_args): Don't ignore errors
from g_option_context_parse().

18 years agofix missing hash table initialization.
Tim Janik [Tue, 6 Dec 2005 10:40:09 +0000 (10:40 +0000)]
fix missing hash table initialization.

Tue Dec  6 11:37:59 2005  Tim Janik  <timj@gtk.org>

        * gdk/gdkevents.c (gdk_event_new): fix missing hash table
        initialization.

18 years agoported memchunk uses to g_slice, so the code compiles again.
Tim Janik [Tue, 6 Dec 2005 09:34:27 +0000 (09:34 +0000)]
ported memchunk uses to g_slice, so the code compiles again.

Tue Dec  6 10:32:17 2005  Tim Janik  <timj@gtk.org>

        * gtk/gtkstatusbar.c: ported memchunk uses to g_slice, so the code
        compiles again.

18 years ago"event->state & modifiers", not "event->state && modifiers". Patch by
Federico Mena Quintero [Tue, 6 Dec 2005 03:11:43 +0000 (03:11 +0000)]
"event->state & modifiers", not "event->state && modifiers". Patch by

2005-12-05  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilechooserdefault.c (trap_activate_cb): "event->state &
modifiers", not "event->state && modifiers".  Patch by Sadrul
Habib Chowdhury <imadil@gmail.com>.  Fixes bug #323073.

18 years agoForgotten file
Matthias Clasen [Mon, 5 Dec 2005 21:33:05 +0000 (21:33 +0000)]
Forgotten file

18 years agoUse g_slice instead of mem chunks.
Matthias Clasen [Mon, 5 Dec 2005 21:28:32 +0000 (21:28 +0000)]
Use g_slice instead of mem chunks.

2005-12-05  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkwidget.c:
* gtk/gtkuimanager.c:
* gtk/gtktreedatalist.c:
* gtk/gtktext.c:
* gtk/gtkmain.c:
* gtk/gtkitemfactory.c:
* gtk/gtkseparator.[hc]:
* gtk/gtkclist.[hc]:
* gtk/gtkctree.c:
* gtk/gtkgc.c: Use g_slice instead of mem chunks.

18 years agomap the new GtkSettings properties "timeout-initial", "timeout-repeat",
Michael Natterer [Mon, 5 Dec 2005 21:06:57 +0000 (21:06 +0000)]
map the new GtkSettings properties "timeout-initial", "timeout-repeat",

2005-12-05  Michael Natterer  <mitch@imendio.com>

* gdk/x11/gdkevents-x11.c: map the new GtkSettings properties
"timeout-initial", "timeout-repeat", "color-scheme" and
"enable-enimations" to X settings.

18 years agoUse g_slice instead of mem chunks.
Matthias Clasen [Mon, 5 Dec 2005 20:51:18 +0000 (20:51 +0000)]
Use g_slice instead of mem chunks.

2005-12-05  Matthias Clasen  <mclasen@redhat.com>

* gdk/gdkevents.c:
* gdk/gdkcolor.c: Use g_slice instead of mem chunks.

18 years agoFree new_event after sending it to the search entry. (#323209, Crispin
Matthias Clasen [Mon, 5 Dec 2005 20:12:33 +0000 (20:12 +0000)]
Free new_event after sending it to the search entry. (#323209, Crispin

2005-12-05  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_key_press): Free new_event
after sending it to the search entry.  (#323209, Crispin Flowerday)

18 years agoForgotten commit
Matthias Clasen [Mon, 5 Dec 2005 18:52:04 +0000 (18:52 +0000)]
Forgotten commit