]> Pileus Git - ~andy/gtk/log
~andy/gtk
18 years agoget rid of GAllocator usage, allocate and free nodes via the g_slice_*()
Tim Janik [Tue, 1 Nov 2005 18:10:51 +0000 (18:10 +0000)]
get rid of GAllocator usage, allocate and free nodes via the g_slice_*()

Tue Nov  1 16:18:24 2005  Tim Janik  <timj@imendio.com>

        * gtk/gtkrbtree.[hc]: get rid of GAllocator usage, allocate and free
        nodes via the g_slice_*() API.
        _gtk_rbtree_new(): fixed wrong node allocation via g_new().

18 years agogdk/win32/gdkprivate-win32.h gdk/win32/gdkglobals-win32.c Add more
Tor Lillqvist [Tue, 1 Nov 2005 15:29:59 +0000 (15:29 +0000)]
gdk/win32/gdkprivate-win32.h gdk/win32/gdkglobals-win32.c Add more

2005-11-01  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkprivate-win32.h
* gdk/win32/gdkglobals-win32.c
* gdk/win32/gdkmain-win32.c (_gdk_windowing_init): Add more
pre-interned GdkAtoms and pre-registered clipboard formats. Sort
their declarations, definitions and assignments into a more
logical and consistent order.

* gdk/win32/gdkmain-win32.c (_gdk_win32_cf_to_string): Include the
CF_ prefix for the predefined clipboard format names. Put quotes
around registered format names to distinguish them.

* gdk/win32/gdkproperty-win32.c (gdk_property_change): Return
immediately with a warning if the property type is STRING, TEXT,
COMPOUND_TEXT or SAVE_TARGETS, as these are X11-specific that we
should never pretend to handle on Win32. Handle only UTF8_STRING
here, other formats with delayed rendering. Use \uc1 instead of
\uc0 when generating Rich Text Format for easier testability on
XP, where WordPad misinterprets \uc0 encoded characters. Add more
GDK_NOTE debugging output for Clipboard operations.

* gdk/win32/gdkselection-win32.c: Debugging printout improvements.
(gdk_selection_convert): Don't pretent to handle STRING, just
UTF8_STRING. Streamline error handling, don't unnecessarily have a
GError which then isn't used for anything anyway if it gets set.
(gdk_win32_selection_add_targets): Skip also STRING, TEXT,
COMPOUND_TEXT and SAVE_TARGETS in addition to UTF8_STRING.

18 years agoSync with what configure produces.
Tor Lillqvist [Tue, 1 Nov 2005 09:48:46 +0000 (09:48 +0000)]
Sync with what configure produces.

2005-11-01  Tor Lillqvist  <tml@novell.com>

* config.h.win32.in: Sync with what configure produces.

18 years agoDon't look for X_PACKAGES unless building for x11. (#313986, John
Tor Lillqvist [Tue, 1 Nov 2005 09:26:59 +0000 (09:26 +0000)]
Don't look for X_PACKAGES unless building for x11. (#313986, John

2005-11-01  Tor Lillqvist  <tml@novell.com>

* configure.in: Don't look for X_PACKAGES unless building for
x11. (#313986, John Ehresman)

18 years ago*** empty log message ***
Ignacio Casal Quinteiro [Mon, 31 Oct 2005 22:36:13 +0000 (22:36 +0000)]
*** empty log message ***

18 years agoUpdated Canadian English translation.
Adam Weinberger [Mon, 31 Oct 2005 19:27:08 +0000 (19:27 +0000)]
Updated Canadian English translation.

2005-10-31  Adam Weinberger  <adamw@gnome.org>

* en_CA.po: Updated Canadian English translation.

18 years agoUpdated Kurdish translation
Erdal Ronahi [Sat, 29 Oct 2005 16:20:15 +0000 (16:20 +0000)]
Updated Kurdish translation

18 years agoUpdated Spanish translation.
Francisco Javier F. Serrador [Sat, 29 Oct 2005 13:16:58 +0000 (13:16 +0000)]
Updated Spanish translation.

2005-10-29  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

* es.po: Updated Spanish translation.

18 years agoAdded Kurdish translation to po-properties
Erdal Ronahi [Fri, 28 Oct 2005 22:08:11 +0000 (22:08 +0000)]
Added Kurdish translation to po-properties

18 years agoAdd the popup window to the toplevels window group. (#319912, Christian
Matthias Clasen [Fri, 28 Oct 2005 20:35:11 +0000 (20:35 +0000)]
Add the popup window to the toplevels window group. (#319912, Christian

2005-10-28  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkentrycompletion.c (_gtk_entry_completion_popup): Add the popup
window to the toplevels window group.  (#319912, Christian Persch)

18 years agofix stupid thinko.
Kristian Rietveld [Fri, 28 Oct 2005 17:15:15 +0000 (17:15 +0000)]
fix stupid thinko.

2005-10-28  Kristian Rietveld  <kris@gtk.org>

* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_deleted): fix
stupid thinko.

18 years agoFix the anchor of the default drag cursors. (#319200, Federico Mena
Matthias Clasen [Fri, 28 Oct 2005 17:06:43 +0000 (17:06 +0000)]
Fix the anchor of the default drag cursors. (#319200, Federico Mena

2005-10-28  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkdnd.c (gtk_drag_get_cursor): Fix the anchor of the default
drag cursors.  (#319200, Federico Mena Quintero)

18 years agoHandle Shift-G to go to the previous match, like firefox. (#320061,
Matthias Clasen [Fri, 28 Oct 2005 15:13:54 +0000 (15:13 +0000)]
Handle Shift-G to go to the previous match, like firefox. (#320061,

2005-10-28  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_search_key_press_event): Handle
Shift-G to go to the previous match, like firefox.  (#320061, Christian
Neumair)

18 years agoFix the build
Matthias Clasen [Fri, 28 Oct 2005 15:04:57 +0000 (15:04 +0000)]
Fix the build

18 years agoFix a C99ism. (#320000, Kazuki Iwamoto)
Matthias Clasen [Fri, 28 Oct 2005 14:16:45 +0000 (14:16 +0000)]
Fix a C99ism. (#320000, Kazuki Iwamoto)

2005-10-28  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_build_level): Fix a
C99ism.  (#320000, Kazuki Iwamoto)

18 years agoAdd the little stars. (#319985, Bastien Nocera)
Matthias Clasen [Fri, 28 Oct 2005 14:04:04 +0000 (14:04 +0000)]
Add the little stars. (#319985, Bastien Nocera)

2005-10-28  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkaboutdialog.c (gtk_about_dialog_init): Add the little
stars.  (#319985, Bastien Nocera)

18 years agoReturn FALSE, so we don't flush repeatedly. (#319151, Alexander Larsson)
Matthias Clasen [Fri, 28 Oct 2005 13:53:16 +0000 (13:53 +0000)]
Return FALSE, so we don't flush repeatedly. (#319151, Alexander Larsson)

2005-10-28  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_search_entry_flush_timeout): Return
FALSE, so we don't flush repeatedly.  (#319151, Alexander Larsson)

18 years agoUpdated Romanian translation by Misu Moldovan.
Dan Damian [Thu, 27 Oct 2005 19:37:05 +0000 (19:37 +0000)]
Updated Romanian translation by Misu Moldovan.

18 years agoTranslation updated by Tino Meinen.
Vincent van Adrighem [Thu, 27 Oct 2005 19:17:19 +0000 (19:17 +0000)]
Translation updated by Tino Meinen.

2005-10-27  Vincent van Adrighem  <adrighem@gnome.org>

* nl.po: Translation updated by Tino Meinen.

18 years agoI found some unknown messages in gtk-properties .po file. I didn't write
Norayr Chilingaryan [Thu, 27 Oct 2005 13:52:28 +0000 (13:52 +0000)]
I found some unknown messages in gtk-properties .po file. I didn't write
them and that translations doesn't correspond original english words.
So I removed or changed them.

18 years agoFix bug #319974:
Michael Natterer [Thu, 27 Oct 2005 13:16:23 +0000 (13:16 +0000)]
Fix bug #319974:

2005-10-26  Michael Natterer  <mitch@imendio.com>

Fix bug #319974:

* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_set_property):
make sure that setting any of pixbuf/stock-id/icon-name resets the
others because they are mutually exclusive, and that unsetting any
of them only resets the pixbuf and nothing else. Also added
some missing g_object_notify().

(gtk_cell_renderer_pixbuf_get_property): simplified calls to
g_value_set_object().

(gtk_cell_renderer_pixbuf_create_stock_pixbuf)
(gtk_cell_renderer_pixbuf_create_named_icon_pixbuf): added
g_object_notify ("pixbuf").

18 years agofixed Lilit Sargsyans errors
Norayr Chilingaryan [Thu, 27 Oct 2005 12:02:22 +0000 (12:02 +0000)]
fixed Lilit Sargsyans errors

18 years agofix many errors
Norayr Chilingaryan [Thu, 27 Oct 2005 08:41:36 +0000 (08:41 +0000)]
fix many errors

18 years agoBe more careful about initializing cell_area. (#319382, Tommi Komulainen)
Matthias Clasen [Thu, 27 Oct 2005 04:51:25 +0000 (04:51 +0000)]
Be more careful about initializing cell_area. (#319382, Tommi Komulainen)

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

* gtk/gtktreeview.c (gtk_tree_view_button_press): Be more
careful about initializing cell_area.  (#319382, Tommi
Komulainen)

18 years agoDon't eat Ctrl-PageUp/PageDown. (#318670, Christian Neumair)
Matthias Clasen [Thu, 27 Oct 2005 04:38:55 +0000 (04:38 +0000)]
Don't eat Ctrl-PageUp/PageDown. (#318670, Christian Neumair)

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

* gtk/gtkcombobox.c (gtk_combo_box_key_press): Don't eat
Ctrl-PageUp/PageDown.  (#318670, Christian Neumair)

18 years agoOnly set the text if it is not NULL. (#319930, Thomas Klausner)
Matthias Clasen [Thu, 27 Oct 2005 04:31:33 +0000 (04:31 +0000)]
Only set the text if it is not NULL. (#319930, Thomas Klausner)

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

* demos/gtk-demo/clipboard.c (paste_received): Only set the
text if it is not NULL.  (#319930, Thomas Klausner)

* gtk/gtkselection.c (gtk_selection_data_get_pixbuf): Close the
loader before trying to get the pixbuf.  (#319930, Thomas Klausner)

18 years agoUse G_MODULE_BIND_LAZY when dlopening modules. (#319557, Laszlo Peter)
Matthias Clasen [Thu, 27 Oct 2005 03:16:00 +0000 (03:16 +0000)]
Use G_MODULE_BIND_LAZY when dlopening modules. (#319557, Laszlo Peter)

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

* gtk/gtkfilesystem.c (gtk_file_system_module_load):
* gtk/gtkthemes.c (gtk_theme_engine_load):
* gtk/gtkimmodule.c (gtk_im_module_load): Use G_MODULE_BIND_LAZY
when dlopening modules.  (#319557, Laszlo Peter)

18 years agoOnly use text segments when determining text direction. (#319065, Tommi
Matthias Clasen [Wed, 26 Oct 2005 20:47:04 +0000 (20:47 +0000)]
Only use text segments when determining text direction. (#319065, Tommi

* gtk/gtktextbtree.c (gtk_text_btree_resolve_bidi): Only use text
segments when determining text direction.  (#319065, Tommi Komulainen)

18 years agoDon't crash on duplicate destroy. (#318953, Gustavo Carneiro)
Matthias Clasen [Wed, 26 Oct 2005 19:47:48 +0000 (19:47 +0000)]
Don't crash on duplicate destroy. (#318953, Gustavo Carneiro)

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

* gtk/gtktreeview.c (gtk_tree_view_destroy): Don't crash
on duplicate destroy.  (#318953, Gustavo Carneiro)

18 years agoDoc updates
Matthias Clasen [Wed, 26 Oct 2005 19:10:08 +0000 (19:10 +0000)]
Doc updates

18 years agouse $(GLIB_MKENUMS) instead of glib-mkenums. (#318582, Damien Carbery)
Matthias Clasen [Wed, 26 Oct 2005 18:01:05 +0000 (18:01 +0000)]
use $(GLIB_MKENUMS) instead of glib-mkenums. (#318582, Damien Carbery)

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

        * */Makefile.am: use $(GLIB_MKENUMS) instead of
        glib-mkenums.  (#318582, Damien Carbery)

18 years agoClarify docs. (#317682, Christian - Manny Calavera - Neumair)
Matthias Clasen [Wed, 26 Oct 2005 14:43:10 +0000 (14:43 +0000)]
Clarify docs. (#317682, Christian - Manny Calavera - Neumair)

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

        * gtk/gtktreemodel.c (gtk_tree_model_rows_reordered): Clarify
        docs.  (#317682, Christian - Manny Calavera - Neumair)

18 years agoFixed typos reported by kano@na.rim.or.jp.
Takeshi AIHANA [Wed, 26 Oct 2005 14:29:03 +0000 (14:29 +0000)]
Fixed typos reported by kano@na.rim.or.jp.

2005-10-26  Takeshi AIHANA <aihana@gnome.gr.jp>

* ja.po: Fixed typos reported by kano@na.rim.or.jp.

18 years agoFix #317844
Matthias Clasen [Wed, 26 Oct 2005 13:42:53 +0000 (13:42 +0000)]
Fix #317844

18 years agoFix some issues with background drawing in RTL. (#318781, Eric Cazeaux)
Matthias Clasen [Wed, 26 Oct 2005 04:23:46 +0000 (04:23 +0000)]
Fix some issues with background drawing in RTL. (#318781, Eric Cazeaux)

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

        * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
        Fix some issues with background drawing in RTL.  (#318781,
        Eric Cazeaux)

18 years agoAdd property editors
Matthias Clasen [Wed, 26 Oct 2005 03:55:35 +0000 (03:55 +0000)]
Add property editors

18 years agoActivate status icons on single click
Matthias Clasen [Wed, 26 Oct 2005 03:18:09 +0000 (03:18 +0000)]
Activate status icons on single click

18 years agoFixes #311955, reported by Markku Vire; and a lot more.
Kristian Rietveld [Tue, 25 Oct 2005 21:00:40 +0000 (21:00 +0000)]
Fixes #311955, reported by Markku Vire; and a lot more.

2005-10-25  Kristian Rietveld  <kris@gtk.org>

Fixes #311955, reported by Markku Vire; and a lot more.

* gtk/gtktreemodelfilter.c: Made this thing work correctly.
Levels can now have invisible nodes cached, functions have been
rewritten/refactored to take this into account; also the logic in
some functions has been corrected.

Each referenced node now references all visible children or a single
invisible child, in order to be able to monitor all changes in the
child model required for correct operation.

When a virtual root is set, all nodes on the virtual root level are
referenced.

At last, a bunch of random bug fixes and comment updates.

18 years agoAdd some more docs. (#319722, Paolo Borelli)
Matthias Clasen [Tue, 25 Oct 2005 18:28:35 +0000 (18:28 +0000)]
Add some more docs. (#319722, Paolo Borelli)

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

* gtk/gtktexttagtable.c (gtk_text_tag_table_foreach): Add some
more docs.  (#319722, Paolo Borelli)

18 years agoMake the initialization of screen_x11->xft_rgba more explicit. (#319627,
Matthias Clasen [Tue, 25 Oct 2005 18:11:57 +0000 (18:11 +0000)]
Make the initialization of screen_x11->xft_rgba more explicit. (#319627,

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

* gdk/x11/gdkxftdefaults.c (init_xft_settings): Make the
initialization of screen_x11->xft_rgba more explicit.  (#319627,
Bogdan Nicula)

18 years agoDon't use deprecated functions in examples. (#319524, Vincent Untz)
Matthias Clasen [Tue, 25 Oct 2005 18:00:49 +0000 (18:00 +0000)]
Don't use deprecated functions in examples. (#319524, Vincent Untz)

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

* gtk/tmpl/gtkfilechooser.sgml: Don't use deprecated functions
in examples.  (#319524, Vincent Untz)

* gtk/gtk-update-icon-cache.xml: Fix a typo.  (#319524, Vincent Untz)

18 years agoFix whitespace in a blurb. (#319499, Francisco Javier F. Serrador)
Matthias Clasen [Tue, 25 Oct 2005 17:57:35 +0000 (17:57 +0000)]
Fix whitespace in a blurb. (#319499, Francisco Javier F. Serrador)

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

* gtk/gtkfilechooser.c (gtk_file_chooser_class_init): Fix whitespace
in a blurb.  (#319499, Francisco Javier F. Serrador)

18 years agoUpdated Simplified Chinese translations.
Funda Wang [Tue, 25 Oct 2005 13:24:28 +0000 (13:24 +0000)]
Updated Simplified Chinese translations.

18 years agoAdd settings to hide the input method and Unicode control character
Matthias Clasen [Mon, 24 Oct 2005 20:01:57 +0000 (20:01 +0000)]
Add settings to hide the input method and Unicode control character

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

        Add settings to hide the input method and Unicode control character
        submenus in the context menus of GtkEntry and GtkTextView.

        * gdk/x11/gdkevents-x11.c: Map GTK+ settings to X settings.

        * gtk/gtksettings.c (gtk_settings_class_init): Declare GTK+ settings here.

        * gtk/gtktextview.c (popup_targets_received):
        * gtk/gtkentry.c (popup_targets_received): Use the settings here.

18 years agoemitting row-has-child-toggled when the level is not in the cache does not
Kristian Rietveld [Mon, 24 Oct 2005 19:01:36 +0000 (19:01 +0000)]
emitting row-has-child-toggled when the level is not in the cache does not

2005-10-24  Kristian Rietveld  <kris@gtk.org>

* gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_inserted): emitting
row-has-child-toggled when the level is not in the cache does not
make sense.  (This bug probably crept in during the early stages
of GtkTreeModelSort when there wasn't a correct row-has-child-toggled
implementation yet),
(gtk_tree_model_sort_real_unref_node): only get the child iter
when we will actually also use it.

18 years agoUpdated Spanish translation.
Francisco Javier F. Serrador [Sat, 22 Oct 2005 22:19:15 +0000 (22:19 +0000)]
Updated Spanish translation.

2005-10-23  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

* es.po: Updated Spanish translation.

18 years agoUpdated Spanish translation.
Francisco Javier F. Serrador [Sat, 22 Oct 2005 21:57:03 +0000 (21:57 +0000)]
Updated Spanish translation.

2005-10-22  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

* es.po: Updated Spanish translation.

18 years agocheck for the widget being realized, in addition to being visible, to
Michael Natterer [Sat, 22 Oct 2005 21:08:23 +0000 (21:08 +0000)]
check for the widget being realized, in addition to being visible, to

2005-10-22  Michael Natterer  <mitch@imendio.com>

* gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): check for the
widget being realized, in addition to being visible, to avoid
running into precondition check in gtk_tree_view_get_cell_area().
(approved by Kris).

18 years agoExperimentally, scrollbar steppers can shrink to 8 pixels on Win32.
Dom Lachowicz [Sat, 22 Oct 2005 15:53:00 +0000 (15:53 +0000)]
Experimentally, scrollbar steppers can shrink to 8 pixels on Win32.

* modules/engines/ms-windows/msw_style.c (setup_msw_rc_style):
Experimentally, scrollbar steppers can shrink to 8 pixels on
Win32. Reflect that in the theme.
* modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: Experimentally,
there is a 1-pixel border between a scrollbar and its child
in ScrolledWindows on Win32. Reflect that in the theme.

18 years agoUpdated Bulgarian translation by Alexander Shopov <ash@contact.bg>
Alexander Shopov [Fri, 21 Oct 2005 08:20:45 +0000 (08:20 +0000)]
Updated Bulgarian translation by Alexander Shopov <ash@contact.bg>

2005-10-21  Alexander Shopov  <ash@contact.bg>

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

18 years agoUse GDK_WINDOW_CHILD for the selection window. (#318806, Alex Larsson)
Matthias Clasen [Thu, 20 Oct 2005 20:40:54 +0000 (20:40 +0000)]
Use GDK_WINDOW_CHILD for the selection window. (#318806, Alex Larsson)

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

* gtk/gtklabel.c (gtk_label_create_window): Use GDK_WINDOW_CHILD
for the selection window.  (#318806, Alex Larsson)

18 years agoAdded Entry for Bengali (bn) Translation Updation:20/10
Runa Bhattacharjee [Thu, 20 Oct 2005 05:39:25 +0000 (05:39 +0000)]
Added Entry for Bengali (bn) Translation Updation:20/10

18 years agoUpdated Bengali(bn) Translation:20/10
Runa Bhattacharjee [Thu, 20 Oct 2005 05:39:11 +0000 (05:39 +0000)]
Updated Bengali(bn) Translation:20/10

18 years ago*** empty log message ***
Ignacio Casal Quinteiro [Wed, 19 Oct 2005 23:09:08 +0000 (23:09 +0000)]
*** empty log message ***

18 years agoFixed some typos.
Inaki Larranaga [Wed, 19 Oct 2005 18:30:45 +0000 (18:30 +0000)]
Fixed some typos.

2005-10-19  Inaki Larranaga  <dooteo@euskalgnu.org>

* eu.po: Fixed some typos.

18 years agoFixes bug #317999:
Federico Mena Quintero [Wed, 19 Oct 2005 16:25:42 +0000 (16:25 +0000)]
Fixes bug #317999:

2005-10-18  Federico Mena Quintero  <federico@ximian.com>

Fixes bug #317999:

* tests/autotestfilechooser.c
(test_button_folder_states_for_action): Test that we have either
$cwd or the explicitly-set folder.
(test_reload_sequence): Likewise.

* gtk/gtkfilechooserdefault.c
(gtk_file_chooser_default_get_current_folder): If our reload_state
is RELOAD_EMPTY, return a GtkFilePath corresponding to $cwd.

18 years agoMake magic comparisons work correctly in the cache.
Matthias Clasen [Tue, 18 Oct 2005 20:32:35 +0000 (20:32 +0000)]
Make magic comparisons work correctly in the cache.

2005-10-18  Matthias Clasen  <mclasen@redhat.com>

        * xdgmimecache.c: Make magic comparisons work correctly
        in the cache.

18 years agoRemove a debugging printf.
Matthias Clasen [Tue, 18 Oct 2005 02:54:55 +0000 (02:54 +0000)]
Remove a debugging printf.

2005-10-17  Matthias Clasen  <mclasen@redhat.com>

* xdgmime.c (xdg_mime_get_mime_type_for_file): Remove
a debugging printf.

18 years agoFixed translations with context (thanks to Sergej Chodarev).
Marcel Telka [Mon, 17 Oct 2005 23:12:43 +0000 (23:12 +0000)]
Fixed translations with context (thanks to Sergej Chodarev).

2005-10-17  Marcel Telka  <marcel@telka.sk>

* sk.po: Fixed translations with context (thanks to Sergej Chodarev).

18 years agoUpdated Danish translation.
Martin Willemoes Hansen [Mon, 17 Oct 2005 14:19:17 +0000 (14:19 +0000)]
Updated Danish translation.

        * da.po: Updated Danish translation.

18 years agoTranslation updated by Ivar Smolin.
Priit Laes [Mon, 17 Oct 2005 12:41:47 +0000 (12:41 +0000)]
Translation updated by Ivar Smolin.

2005-10-17  Priit Laes  <plaes@cvs.gnome.org>

* et.po: Translation updated by Ivar Smolin.

18 years agoUpdated Danish translation.
Martin Willemoes Hansen [Mon, 17 Oct 2005 10:27:34 +0000 (10:27 +0000)]
Updated Danish translation.

        * da.po: Updated Danish translation.

18 years agoUpdated Traditional Chinese translation. Updated Traditional Chinese
Chao-Hsiung Liao [Mon, 17 Oct 2005 06:36:20 +0000 (06:36 +0000)]
Updated Traditional Chinese translation. Updated Traditional Chinese

2005-10-17 Chao-Hsiung Liao  <j_h_liau@yahoo.com.tw>

* ./po/zh_TW.po: Updated Traditional Chinese translation.
* ./po-properties/zh_TW.po: Updated Traditional Chinese translation.

18 years agoUpdated Slovak translation.
Marcel Telka [Mon, 17 Oct 2005 04:47:43 +0000 (04:47 +0000)]
Updated Slovak translation.

2005-10-17  Marcel Telka  <marcel@telka.sk>

* sk.po: Updated Slovak translation.

18 years agoTranslation updated.
Vincent van Adrighem [Sat, 15 Oct 2005 12:55:02 +0000 (12:55 +0000)]
Translation updated.

2005-10-15  Vincent van Adrighem  <adrighem@gnome.org>

* nl.po: Translation updated.

18 years agoAdded more tests.
Behdad Esfahbod [Sat, 15 Oct 2005 05:22:49 +0000 (05:22 +0000)]
Added more tests.

18 years agoAdd a bunch of missing files. Updated Canadian English translation.
Adam Weinberger [Fri, 14 Oct 2005 16:49:03 +0000 (16:49 +0000)]
Add a bunch of missing files. Updated Canadian English translation.

2005-10-14  Adam Weinberger  <adamw@gnome.org>

* POTFILES.in: Add a bunch of missing files.
* en_CA.po: Updated Canadian English translation.

18 years agoRemove the clipboard viewer code. It didn't really do anything useful, and
Tor Lillqvist [Fri, 14 Oct 2005 00:08:14 +0000 (00:08 +0000)]
Remove the clipboard viewer code. It didn't really do anything useful, and

2005-10-14  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkdisplay-win32.c: Remove the clipboard viewer code.
It didn't really do anything useful, and was just confusing and
incomplete. Comments claimed we don't do delayed rendering, but in
fact we do, for images. (The delayed rendering code has other
problems, though, see #168173.) The clipboard viewer code was
probably even buggy (the WM_CHANGECBCHAIN handled didn't propagate
the message when necessary). It was just test code, it said so in
a comment. Add something similar back later if necessary.

(_win32_on_clipboard_change,
_gdk_win32_register_clipboard_notification): Remove.

(gdk_display_supports_selection_notification,
gdk_display_request_selection_notification): Always just return
FALSE. We didn't generate any GDK_OWNER_CHANGE events anywhere.

18 years agoTranslation updated by Ivar Smolin.
Priit Laes [Thu, 13 Oct 2005 20:09:00 +0000 (20:09 +0000)]
Translation updated by Ivar Smolin.

2005-10-13  Priit Laes  <plaes@cvs.gnome.org>

* et.po: Translation updated by Ivar Smolin.

18 years agoDon't treat Alt-Enter specially. It does not have any special meaning and
Tor Lillqvist [Thu, 13 Oct 2005 07:21:00 +0000 (07:21 +0000)]
Don't treat Alt-Enter specially. It does not have any special meaning and

2005-10-13  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkevents-win32.c (gdk_event_translate): Don't treat
Alt-Enter specially. It does not have any special meaning and
should be passed on to the application. (#318378, Tim Evans)

18 years agoSet visual depth to 24 for 32 bits-per-pixel devices on Win32. This allows
Tor Lillqvist [Thu, 13 Oct 2005 07:08:49 +0000 (07:08 +0000)]
Set visual depth to 24 for 32 bits-per-pixel devices on Win32. This allows

2005-10-13  Tor Lillqvist  <tml@novell.com>

Set visual depth to 24 for 32 bits-per-pixel devices on
Win32. This allows gdk_drawable_real_draw_pixbuf() to use the
optimized composite_0888() function rather than the slower image
dithering functions to draw pixbufs (#313993, John Ehresman)

* gdk/win32/gdkimage-win32.c (_gdk_win32_new_image): Use
_gdk_windowing_get_bits_for_depth() to initialize
GdkImage::bits_per_pixel.
(_gdk_windowing_get_bits_for_depth): Return 32 bits for depth 24.

* gdk/win32/gdkpixmap-win32.c (gdk_pixmap_new): Use
_gdk_windowing_get_bits_for_depth() to initialize
BITMAPINFOHEADER::biBitCount.

* gdk/win32/gdkvisual-win32.c (_gdk_visual_init): Set
GdkVisual::depth to 24 even if GetDeviceCaps(BITSPIXEL) returns
32.

18 years agoOnly call gdk_pixbuf_loader_eat_header_write() when count > 0. (#318589,
Matthias Clasen [Wed, 12 Oct 2005 13:49:26 +0000 (13:49 +0000)]
Only call gdk_pixbuf_loader_eat_header_write() when count > 0. (#318589,

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

* gdk-pixbuf-loader.c (gdk_pixbuf_loader_write): Only call
gdk_pixbuf_loader_eat_header_write() when count > 0.  (#318589,
Bogdan Nicula)

18 years agouse PACKAGE_VERSION,bump year (#318654)
Stefan Kost [Wed, 12 Oct 2005 13:23:10 +0000 (13:23 +0000)]
use PACKAGE_VERSION,bump year (#318654)

* demos/gtk-demo/appwindow.c: (about_cb):
use PACKAGE_VERSION,bump year (#318654)

18 years agoTry to match an off toggle here with the matching on toggle if it
Matthias Clasen [Tue, 11 Oct 2005 14:39:17 +0000 (14:39 +0000)]
Try to match an off toggle here with the matching on toggle if it

2005-10-11  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktextbtree.c (_gtk_text_btree_delete): Try to match an off
toggle here with the matching on toggle if it immediately follows.
This is a common case, and handling it here prevents quadratic blowup
in cleanup_line() below.  (#317125)

* gtk/gtktextsegment.h:
* gtk/gtktextsegment.c (_gtk_char_segment_new_from_two_strings): Pass
the character counts into this function instead of computing them
again.

18 years agoAdd ALREADY_EXISTS error code. Return an error code when the shortcut
Tommi Komulainen [Mon, 10 Oct 2005 14:29:03 +0000 (14:29 +0000)]
Add ALREADY_EXISTS error code. Return an error code when the shortcut

2005-10-10  Tommi Komulainen  <tommi.komulainen@iki.fi>

* gtk/gtkfilechooser.h (GtkFileChooserError): Add ALREADY_EXISTS error
code.
* gtk/gtkfilechooserdefault.c
(gtk_file_chooser_default_add_shortcut_folder): Return an error code
when the shortcut already exists in the sidebar.  (#147521)

18 years agoDemonstrate custom widgets in a GtkComboBox.
Matthias Clasen [Sun, 9 Oct 2005 16:27:12 +0000 (16:27 +0000)]
Demonstrate custom widgets in a GtkComboBox.

18 years agofix includes
Matthias Clasen [Fri, 7 Oct 2005 20:03:36 +0000 (20:03 +0000)]
fix includes

18 years agoFixes bug #317999:
Federico Mena Quintero [Fri, 7 Oct 2005 19:54:32 +0000 (19:54 +0000)]
Fixes bug #317999:

2005-10-07  Federico Mena Quintero  <federico@ximian.com>

Fixes bug #317999:

* tests/autotestfilechooser.c (test_reload_sequence): Ensure that
the the result of gtk_file_chooser_get_folder() is NULL or
non-NULL at the right times.  Log the tests.
(test_button_folder_states): New test for the initial states of
the current folder in GtkFileChooserButton.
(main): Test that the number of warnings/errors/critical errors is
zero.

* gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder):
Clarify the documentation on when this can return NULL.
(gtk_file_chooser_get_current_folder_uri): Likewise.

* gtk/gtkfilechooserbutton.c (struct
_GtkFileChooserButtonPrivate): Added a folder_has_been_set flag;
we use it to keep track of whether a folder has been set.
(gtk_file_chooser_button_map):  Implement.  If no folder has been
loaded before, we at least try to load $cwd here.
(gtk_file_chooser_button_constructor): If the construct-time
dialog already has a folder set, turn on our folder_has_been_set
flag.
(dialog_current_folder_changed_cb): Turn on our
folder_has_been_set flag.

18 years agoremove some explicit #defines of PROFILE_FILE_CHOOSER because they break
Michael Natterer [Fri, 7 Oct 2005 18:51:30 +0000 (18:51 +0000)]
remove some explicit #defines of PROFILE_FILE_CHOOSER because they break

2005-10-07  Michael Natterer  <mitch@gimp.org>

* gtk/gtkfilechooserdefault.c: remove some explicit #defines of
PROFILE_FILE_CHOOSER because they break compilation after the
removal of <unistd.h>.

18 years agoRemove a redundant (and unconditional) include of unistd.h (#318211,
Matthias Clasen [Fri, 7 Oct 2005 16:20:37 +0000 (16:20 +0000)]
Remove a redundant (and unconditional) include of unistd.h (#318211,

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

        * gtk/gtkfilechooserdefault.c: Remove a redundant (and
        unconditional) include of unistd.h  (#318211, Kazuki Iwamoto)

18 years agoUse g_return_val_if_fail(), not g_return_if_fail(). (#318412, Kazuki
Matthias Clasen [Fri, 7 Oct 2005 16:01:19 +0000 (16:01 +0000)]
Use g_return_val_if_fail(), not g_return_if_fail(). (#318412, Kazuki

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

        * gtk/gtktexttag.c (gtk_text_attributes_ref): Use
        g_return_val_if_fail(), not g_return_if_fail().  (#318412,
        Kazuki Iwamoto)

18 years agoAdd a has-selection property
Matthias Clasen [Fri, 7 Oct 2005 03:38:57 +0000 (03:38 +0000)]
Add a has-selection property

18 years agoRequire gmodule-no-export-2.0 instead of gmodule-2.0
Matthias Clasen [Wed, 5 Oct 2005 14:40:30 +0000 (14:40 +0000)]
Require gmodule-no-export-2.0 instead of gmodule-2.0

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

* gdk-pixbuf-xlib-2.0.pc.in (Requires): Require
gmodule-no-export-2.0 instead of gmodule-2.0

18 years agoStart collecting release notes for 2.10.
Matthias Clasen [Wed, 5 Oct 2005 14:25:14 +0000 (14:25 +0000)]
Start collecting release notes for 2.10.

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

* README.in: Start collecting release notes for 2.10.

18 years agoReadd the memory leak fix, since the assertion failures were traced to an
Matthias Clasen [Wed, 5 Oct 2005 14:11:23 +0000 (14:11 +0000)]
Readd the memory leak fix, since the assertion failures were traced to an

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

* gtk/gtkrc.c (gtk_rc_clear_realized_style): Readd the memory
leak fix, since the assertion failures were traced to
an xchat bug.  (#314696)

18 years agoDocumentation improvements. (gtk_style_detach): Assert that the
Matthias Clasen [Wed, 5 Oct 2005 13:23:21 +0000 (13:23 +0000)]
Documentation improvements. (gtk_style_detach): Assert that the

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

* gtk/gtkstyle.c (gtk_style_detach):
(gtk_style_attach):  Documentation improvements.
(gtk_style_detach): Assert that the attach_count is > 0.

18 years agoDocument the "quick-bookmark" binding signal.
Federico Mena Quintero [Wed, 5 Oct 2005 05:12:06 +0000 (05:12 +0000)]
Document the "quick-bookmark" binding signal.

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

* gtk/tmpl/gtkfilechooser.sgml: Document the "quick-bookmark"
binding signal.

18 years agoTake a shortcut position, not a ShortcutsIndex, to make the function more
Federico Mena Quintero [Wed, 5 Oct 2005 05:05:42 +0000 (05:05 +0000)]
Take a shortcut position, not a ShortcutsIndex, to make the function more

2005-10-04  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilechooserdefault.c (switch_to_shortcut): Take a
shortcut position, not a ShortcutsIndex, to make the function more
generic.
(home_folder_handler): Pass the resolved index to
switch_to_shortcut(), rather than just SHORTCUTS_HOME.
(desktop_folder_handler): Likewise for SHORTCUTS_DESKTOP.
(gtk_file_chooser_default_class_init): Add a "quick-bookmark"
binding signal, and bind it to Alt-1, Alt-2. ..., Alt-0.  These
make the respective key switch to the first, second, ..., tenth
bookmark.
(quick_bookmark_handler): Implement.

18 years agoDocument the "desktop-folder" binding signal.
Federico Mena Quintero [Tue, 4 Oct 2005 20:20:47 +0000 (20:20 +0000)]
Document the "desktop-folder" binding signal.

2005-10-04  Federico Mena Quintero  <federico@ximian.com>

* gtk/tmpl/gtkfilechooser.sgml: Document the "desktop-folder"
binding signal.

18 years agoDon't special-case Home and Desktop; just use their real names on the file
Federico Mena Quintero [Tue, 4 Oct 2005 20:08:32 +0000 (20:08 +0000)]
Don't special-case Home and Desktop; just use their real names on the file

2005-10-04  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkpathbar.c (get_dir_name): Don't special-case Home and
Desktop; just use their real names on the file system for the
user-visible names.

* gtk/gtkfilechooserdefault.c
(gtk_file_chooser_default_class_init): Add a "desktop-folder"
binding signal, and bind it to M-d by default.
(desktop_folder_handler): Implement the default handler.
(home_folder_handler): Use a helper function.
(switch_to_shortcut): New helper function.
(shortcuts_append_home): Don't special-case the name of "Home";
just use the folder name.

18 years agoMake it compile without HAVE__NL_TIME_FIRST_WEEKDAY. (#317910, Mathias
Tor Lillqvist [Tue, 4 Oct 2005 13:42:27 +0000 (13:42 +0000)]
Make it compile without HAVE__NL_TIME_FIRST_WEEKDAY. (#317910, Mathias

2005-10-04  Tor Lillqvist  <tml@novell.com>

* gtk/gtkcalendar.c (gtk_calendar_init): Make it compile without
HAVE__NL_TIME_FIRST_WEEKDAY. (#317910, Mathias Hasselmann)

18 years agoRevert the change from yesterday, since it leads to assertion failures.
Matthias Clasen [Tue, 4 Oct 2005 04:20:02 +0000 (04:20 +0000)]
Revert the change from yesterday, since it leads to assertion failures.

2005-10-04  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkrc.c (gtk_rc_clear_realized_style): Revert the change
from yesterday, since it leads to assertion failures.  (#317879,
Sebastian Bacher)

18 years agoApply a patch to remove context from translations. (#317867, Duarte
Matthias Clasen [Tue, 4 Oct 2005 03:36:57 +0000 (03:36 +0000)]
Apply a patch to remove context from translations. (#317867, Duarte

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

* pt.po: Apply a patch to remove context from
translations.  (#317867, Duarte Henriques)

18 years agoCall calendar_compute_days() after setting priv->week_start.
Matthias Clasen [Tue, 4 Oct 2005 03:28:36 +0000 (03:28 +0000)]
Call calendar_compute_days() after setting priv->week_start.

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

* gtk/gtkcalendar.c (gtk_calendar_init): Call
calendar_compute_days() after setting priv->week_start.

18 years agoUnref the style when removing it from the hash table. (#314696, Benjamin
Matthias Clasen [Mon, 3 Oct 2005 16:23:56 +0000 (16:23 +0000)]
Unref the style when removing it from the hash table. (#314696, Benjamin

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

* gtk/gtkrc.c (gtk_rc_clear_realized_style): Unref the style when
removing it from the hash table.  (#314696, Benjamin Berg)

18 years agoUse a 1k buffer for sniffing image formats, instead of 128 or 256 bytes.
Matthias Clasen [Mon, 3 Oct 2005 15:07:35 +0000 (15:07 +0000)]
Use a 1k buffer for sniffing image formats, instead of 128 or 256 bytes.

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

* gdk-pixbuf-animation.c (gdk_pixbuf_animation_new_from_file):
* gdk-pixbuf-io.c (gdk_pixbuf_new_from_file):
* gdk-pixbuf-loader.c: Use a 1k buffer for sniffing image formats,
instead of 128 or 256 bytes.  (#317225, Sebastien Bacher,
Dom Lachowicz)

18 years agoIn case BitBlt() fails with ERROR_INVALID_HANDLE, the most probable cause
Tor Lillqvist [Fri, 30 Sep 2005 23:56:42 +0000 (23:56 +0000)]
In case BitBlt() fails with ERROR_INVALID_HANDLE, the most probable cause

2005-10-01  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkdrawable-win32.c (blit_from_pixmap): In case
BitBlt() fails with ERROR_INVALID_HANDLE, the most probable cause
is that the the desktop isn't visible because the session has been
switched, the screen is locked, or a terminal server session
disconnected, so no error message necessary. (#137796)

It is of course remotely possible that BitBlt() failing with
ERROR_INVALID_HANDLE might also be caused by some other
problem. We could strive for perfection and track whether the
desktop is visible by using WTSRegisterSessionNotification() and
handling WM_WTSESSION_CHANGE. I think that's overdoing it just for
this issue, though. If we would track desktop visibility, we
should then avoid even trying to update the display at all while
the desktop isn't visible.

18 years agoUpdated Canadian English translation.
Adam Weinberger [Fri, 30 Sep 2005 20:44:35 +0000 (20:44 +0000)]
Updated Canadian English translation.

2005-09-30  Adam Weinberger  <adamw@gnome.org>

* en_CA.po: Updated Canadian English translation.

18 years agoAnother attempt to correct the calculations for the first week day. We may
Matthias Clasen [Fri, 30 Sep 2005 17:53:19 +0000 (17:53 +0000)]
Another attempt to correct the calculations for the first week day. We may

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

* gtk/gtkcalendar.c (gtk_calendar_init): Another attempt
to correct the calculations for the first week day. We may
just have to remove this code if too many locales turn out
to have broken data.

18 years agoDon't leak pixbuf in some cases. (#317611, Tommi Komulainen)
Matthias Clasen [Fri, 30 Sep 2005 15:40:55 +0000 (15:40 +0000)]
Don't leak pixbuf in some cases. (#317611, Tommi Komulainen)

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

* gtk/gtkimage.c (gtk_image_expose): Don't leak pixbuf in
some cases.  (#317611, Tommi Komulainen)