]> Pileus Git - ~andy/gtk/log
~andy/gtk
20 years agopass value in last in g_object_new, since it depends on lower and upper
Manish Singh [Tue, 3 Feb 2004 21:43:10 +0000 (21:43 +0000)]
pass value in last in g_object_new, since it depends on lower and upper

Tue Feb  3 13:39:27 2004  Manish Singh  <yosh@gimp.org>

        * gtk/gtkadjustment.c (gtk_adjustment_new): pass value in last
        in g_object_new, since it depends on lower and upper being set.

20 years agoMake the window not resizable. Fixes #114032.
Federico Mena Quintero [Tue, 3 Feb 2004 20:46:52 +0000 (20:46 +0000)]
Make the window not resizable. Fixes #114032.

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

* gtk/gtkmessagedialog.c (gtk_message_dialog_init): Make the
window not resizable.  Fixes #114032.

20 years agoAdd documentation for the use_separator style property.
Federico Mena Quintero [Tue, 3 Feb 2004 20:04:33 +0000 (20:04 +0000)]
Add documentation for the use_separator style property.

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

* gtk/gtkmessagedialog.c (gtk_message_dialog_class_init): Add
documentation for the use_separator style property.

20 years agoFix #68938.
Federico Mena Quintero [Tue, 3 Feb 2004 19:46:43 +0000 (19:46 +0000)]
Fix #68938.

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

Fix #68938.

* gtk/gtkdialog.c (GtkDialogPrivate): New private structure for
GtkDialog; right now it only contains an ignore_separator field.
(gtk_dialog_class_init): Register the private structure.
(gtk_dialog_init): Initialize the priv->ignore_separator field.
(_gtk_dialog_set_ignore_separator): New private function.
(gtk_dialog_set_has_separator): Ignore the setting if appropriate.

* gtk/gtkmessagedialog.c (gtk_message_dialog_class_init): Add a
use_separator style property.
(gtk_message_dialog_style_set): Change the dialog's separator
based on the style property.
(gtk_message_dialog_init): Set the dialog box to ignore the
separator setting.

20 years agoUpdate Czech translation
Miloslav Trmac [Tue, 3 Feb 2004 16:49:55 +0000 (16:49 +0000)]
Update Czech translation

20 years agoBuild filesystemwin32.c if OS_WIN32 and also dist gtkfilesystemwin32.[hc].
Matthias Clasen [Tue, 3 Feb 2004 01:32:07 +0000 (01:32 +0000)]
Build filesystemwin32.c if OS_WIN32 and also dist gtkfilesystemwin32.[hc].

Tue Feb  3 02:35:09 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/Makefile.am: Build filesystemwin32.c if OS_WIN32 and
also dist gtkfilesystemwin32.[hc].

20 years agoBuild filesystemwin32.c if OS_WIN32.
Matthias Clasen [Tue, 3 Feb 2004 01:30:16 +0000 (01:30 +0000)]
Build filesystemwin32.c if OS_WIN32.

Tue Feb  3 02:32:52 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/Makefile.am: Build filesystemwin32.c if OS_WIN32.

20 years agoRight-justify labels in rtl mode. (#129071, chinen@jp.ibm.com)
Matthias Clasen [Tue, 3 Feb 2004 01:03:56 +0000 (01:03 +0000)]
Right-justify labels in rtl mode. (#129071, chinen@jp.ibm.com)

Tue Feb  3 02:04:44 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtklabel.c (gtk_label_ensure_layout): Right-justify labels
in rtl mode.  (#129071, chinen@jp.ibm.com)

Tue Feb  3 02:01:25 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): Exchange the
meaning GTK_MENU_DIR_PARENT/CHILD and GTK_MENU_DIR_PREV/NEXT in rtl
mode.  (#107528)

20 years agoClip narrow columns in rtl-oriented tree views (#128089,
Matthias Clasen [Tue, 3 Feb 2004 00:40:56 +0000 (00:40 +0000)]
Clip narrow columns in rtl-oriented tree views (#128089,

Tue Feb  3 01:38:06 2004  Matthias Clasen  <maclas@gmx.de>

Clip narrow columns in rtl-oriented tree views (#128089,
chinen@jp.ibm.com):

* gtk/gtkstyle.c (gtk_default_draw_option):
* gtk/gtkstyle.c (gtk_default_draw_check): Clip to the
given area.

* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
Use the right clip area when calling gtk_cell_renderer_render().
* gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_cell_draw_focus):
Use the right clip area when calling gtk_paint_focus().
* gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render):
Use the right clip area when calling gtk_paint_toggle() or
gtk_paint_check().
* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render):
Clip to the expose_area when drawing the background rectangle.

20 years agoUse a weak reference instead of ref()/unref(). (#60857, reported by Joshua
Soeren Sandmann [Mon, 2 Feb 2004 23:26:55 +0000 (23:26 +0000)]
Use a weak reference instead of ref()/unref(). (#60857, reported by Joshua

Tue Feb  3 00:14:36 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

* gdk/x11/gdkgeometry-x11.c (queue_item_free, gdk_window_queue):
Use a weak reference instead of ref()/unref(). (#60857, reported
by Joshua N Pritikin)

* gdk/gdkimage.c (scratch_image_info_for_depth): Formatting fix.

20 years agoAdd init_hadjust_value and prev_width. Initialize them here. ...and here.
Matthias Clasen [Mon, 2 Feb 2004 23:20:42 +0000 (23:20 +0000)]
Add init_hadjust_value and prev_width. Initialize them here. ...and here.

Tue Feb  3 00:15:17 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtktreeprivate.h (struct _GtkTreeViewPrivate): Add
init_hadjust_value and prev_width.
* gtk/gtktreeview.c (gtk_tree_view_init): Initialize
them here.
* gtk/gtktreeview.c (gtk_tree_view_update_size): ...and here.
* gtk/gtktreeview.c (gtk_tree_view_size_allocate): Use them
here to properly handle the initial position of rtl-oriented
tree views.  (#127581, chinen@jp.ibm.com)

20 years agoUpdated Norwegian translation.
Kjartan Maraas [Mon, 2 Feb 2004 23:04:41 +0000 (23:04 +0000)]
Updated Norwegian translation.

2004-02-03  Kjartan Maraas  <kmaraas@gnome.org>

* no.po: Updated Norwegian translation.

2004-02-02  Pablo Saratxaga  <pablo@mandrakesoft.com>

20 years agoFix #130846, reported by R. McFarland <rwmcfa1@neces.com>.
Federico Mena Quintero [Mon, 2 Feb 2004 22:53:02 +0000 (22:53 +0000)]
Fix #130846, reported by R. McFarland <rwmcfa1@neces.com>.

2004-01-20  Federico Mena Quintero  <federico@ximian.com>

Fix #130846, reported by R. McFarland <rwmcfa1@neces.com>.

* gtk/gtktreeview.c (gtk_tree_view_button_press): Return TRUE when
we handle an event in the colums, and FALSE at the end if the
event is not handled at all.

20 years agoDon't access the level after removing the node, since that may kill the
Matthias Clasen [Mon, 2 Feb 2004 22:44:05 +0000 (22:44 +0000)]
Don't access the level after removing the node, since that may kill the

Mon Feb  2 23:41:48 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_changed):
Don't access the level after removing the node, since that may
kill the level.  (#132615, Crispin Flowerday)

20 years agoSet the cursor in all cases. If no grab cursor specified, use the grabbing
Tor Lillqvist [Mon, 2 Feb 2004 22:26:15 +0000 (22:26 +0000)]
Set the cursor in all cases. If no grab cursor specified, use the grabbing

2004-02-02  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkevents-win32.c (gdk_pointer_grab): Set the cursor
in all cases. If no grab cursor specified, use the grabbing
window's cursor. If the grabbing window has no cursor, use the
default arrow cursor. (#118025)

20 years agoThe latest in menu separation technology.
Matthias Clasen [Mon, 2 Feb 2004 21:06:49 +0000 (21:06 +0000)]
The latest in menu separation technology.

Mon Feb  2 22:05:36 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkseparatormenuitem.c (gtk_separator_menu_item_init): The
latest in menu separation technology.

20 years agoAssume gravity works. (Anything else we have to take our chances with).
Soeren Sandmann [Mon, 2 Feb 2004 18:18:18 +0000 (18:18 +0000)]
Assume gravity works. (Anything else we have to take our chances with).

Mon Feb  2 19:04:17 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

* gdk/x11/gdkwindow-x11.c: Assume gravity works. (Anything else
we have to take our chances with).

(Bug 97510)

20 years agoRemove unused variable 'result'
Soeren Sandmann [Mon, 2 Feb 2004 18:01:27 +0000 (18:01 +0000)]
Remove unused variable 'result'

Mon Feb  2 18:45:28 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

* gdk/x11/gdkfont-x11.c (gdk_font_from_description_for_display):
Remove unused variable 'result'

* gdk/x11/xsettings-client.[ch]: Add new set_grab/ungrab_func() functions.

* gdk/x11/gdkevents-x11.c (_gdk_x11_events_init_screen): Use them here

20 years agoChanged default for Uzbek (now just "uz" is cyrillic, and "uz@Latn" for latin;
Pablo Saratxaga [Mon, 2 Feb 2004 13:28:05 +0000 (13:28 +0000)]
Changed default for Uzbek (now just "uz" is cyrillic, and "uz@Latn" for latin;
to match current practice of KDE translation)

20 years agoUpdated Irish translation
Alastair McKinstry [Mon, 2 Feb 2004 09:58:10 +0000 (09:58 +0000)]
Updated Irish translation

20 years agoUpdated Irish translation
Alastair McKinstry [Mon, 2 Feb 2004 08:23:12 +0000 (08:23 +0000)]
Updated Irish translation

20 years agoUpdated Polish translation by GNOME PL Team.
Artur Flinta [Mon, 2 Feb 2004 07:13:15 +0000 (07:13 +0000)]
Updated Polish translation by GNOME PL Team.

2004-02-02  Artur Flinta  <aflinta@cvs.gnome.org>

* pl.po: Updated Polish translation by GNOME PL Team.

20 years agoUpdated Albanian translation
Laurent Dhima [Mon, 2 Feb 2004 00:49:44 +0000 (00:49 +0000)]
Updated Albanian translation

* sq.po: Updated Albanian translation

20 years agoUpdated
Laurent Dhima [Mon, 2 Feb 2004 00:47:05 +0000 (00:47 +0000)]
Updated

20 years agoTranslation updated by Tino Meinen.
Vincent van Adrighem [Mon, 2 Feb 2004 00:24:53 +0000 (00:24 +0000)]
Translation updated by Tino Meinen.

2004-02-02  Vincent van Adrighem  <adrighem@gnome.org>

* nl.po: Translation updated by Tino Meinen.

20 years agoUpdated Portuguese translation.
Duarte Loreto [Sun, 1 Feb 2004 16:47:13 +0000 (16:47 +0000)]
Updated Portuguese translation.

2004-02-01  Duarte Loreto <happyguy_pt@hotmail.com>

* pt.po: Updated Portuguese translation.

20 years agoUpdated Serbian translation.
Danilo Šegan [Sun, 1 Feb 2004 15:45:42 +0000 (15:45 +0000)]
Updated Serbian translation.

20 years agoOnly start sliding when using the new API.
Soeren Sandmann [Sun, 1 Feb 2004 15:36:22 +0000 (15:36 +0000)]
Only start sliding when using the new API.

Sun Feb  1 16:34:07 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Only start
sliding when using the new API.

20 years agoMake sure item_area is positioned correctly. Fix #133070, reported by
Soeren Sandmann [Sun, 1 Feb 2004 15:18:32 +0000 (15:18 +0000)]
Make sure item_area is positioned correctly. Fix #133070, reported by

Sun Feb  1 16:03:39 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Make sure
item_area is positioned correctly. Fix #133070, reported by Jeroen
Zwartepoorte.

20 years agoUpdated German translation.
Christian Neumair [Sun, 1 Feb 2004 10:54:52 +0000 (10:54 +0000)]
Updated German translation.

20 years agoRemove misleading documentation for gtk_object_set_user_data(). (#101614)
Matthias Clasen [Sat, 31 Jan 2004 23:35:21 +0000 (23:35 +0000)]
Remove misleading documentation for gtk_object_set_user_data(). (#101614)

Sun Feb  1 00:37:44 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/tmpl/gtkobject.sgml: Remove misleading documentation for
gtk_object_set_user_data().  (#101614)

20 years agoImprove the documentation of event_mask for gdk_pointer_grab. (#132223,
Matthias Clasen [Sat, 31 Jan 2004 23:28:31 +0000 (23:28 +0000)]
Improve the documentation of event_mask for gdk_pointer_grab. (#132223,

Sun Feb  1 00:30:53 2004  Matthias Clasen  <maclas@gmx.de>

* gdk/tmpl/general.sgml: Improve the documentation of event_mask for
gdk_pointer_grab.  (#132223, Pascal Haakmat)

20 years agoUpdated Mongolian translation
Sanlig Badral [Sat, 31 Jan 2004 22:17:48 +0000 (22:17 +0000)]
Updated Mongolian translation

20 years agoDon't crash when finalizing an unused GtkTextChildAnchor. (#132260,
Matthias Clasen [Sat, 31 Jan 2004 22:11:07 +0000 (22:11 +0000)]
Don't crash when finalizing an unused GtkTextChildAnchor. (#132260,

Sat Jan 31 23:13:43 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtktextchild.c (gtk_text_child_anchor_finalize): Don't
crash when finalizing an unused GtkTextChildAnchor.  (#132260,
muppet)

20 years agoAdded Mongolian translation
Sanlig Badral [Sat, 31 Jan 2004 22:05:39 +0000 (22:05 +0000)]
Added Mongolian translation

20 years agoCorrect the documentation for new_order. (#124790, Tim-Philipp Müller)
Matthias Clasen [Sat, 31 Jan 2004 21:42:28 +0000 (21:42 +0000)]
Correct the documentation for new_order. (#124790, Tim-Philipp Müller)

* gtk/gtktreemodel.c (gtk_tree_model_rows_reordered): Correct
the documentation for new_order.  (#124790, Tim-Philipp Müller)

* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_fixed_width):
Reset use_resized_width when setting fixed_width.  (#108612,
Felipe Heidrich)

20 years agoUpdated Albanian translation
Laurent Dhima [Sat, 31 Jan 2004 17:44:31 +0000 (17:44 +0000)]
Updated Albanian translation

* sq.po: Updated Albanian translation

20 years agoUpdated
Laurent Dhima [Sat, 31 Jan 2004 17:43:08 +0000 (17:43 +0000)]
Updated

20 years agoDon't leak the GtkKeySnooperData. (#132038, R. McFarland)
Matthias Clasen [Sat, 31 Jan 2004 15:33:10 +0000 (15:33 +0000)]
Don't leak the GtkKeySnooperData. (#132038, R. McFarland)

Sat Jan 31 16:27:44 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkmain.c (gtk_key_snooper_remove): Don't leak the
GtkKeySnooperData.  (#132038, R. McFarland)

20 years agoUpdated Korean translation.
Changwoo Ryu [Fri, 30 Jan 2004 22:39:31 +0000 (22:39 +0000)]
Updated Korean translation.

* ko.po: Updated Korean translation.

20 years agoFixes #132975.
Federico Mena Quintero [Fri, 30 Jan 2004 19:49:40 +0000 (19:49 +0000)]
Fixes #132975.

2004-01-30  Federico Mena Quintero  <federico@ximian.com>

Fixes #132975.

* gtk/gtkfilesystem.c (gtk_file_system_make_path): Return NULL,
not FALSE.
(gtk_file_system_volume_render_icon): Likewise.

* gtk/gtkfilesystemwin32.c (gtk_file_system_win32_make_path):
Likewise.

* gtk/gtktreestore.c (gtk_tree_store_iter_n_children): Return 0,
not FALSE.

* gtk/gtktoolbar.c (gtk_toolbar_get_drop_index): Return -1, not
FALSE.

* gtk/gtktextiter.c (gtk_text_iter_get_chars_in_line): Return 0,
not FALSE.
(gtk_text_iter_get_bytes_in_line): Likewise.

* gdk/x11/gdkcursor-x11.c (gdk_display_get_default_cursor_size):
Likewise.

* gdk/linux-fb/gdkcolor-fb.c (gdk_colors_alloc): Return FALSE, not
0.

20 years agoFixes #132929.
Not Zed [Fri, 30 Jan 2004 18:37:46 +0000 (18:37 +0000)]
Fixes #132929.

2004-01-30  Not Zed  <NotZed@Ximian.com>

Fixes #132929.

* gtk/gtktreeview.c (cancel_arrow_animation): remove the timeout
handler when we clear the timeout id.

20 years agoFix #129872, based on a patch by Jan Arne Petersen <jpetersen@uni-bonn.de>
Federico Mena Quintero [Fri, 30 Jan 2004 18:02:44 +0000 (18:02 +0000)]
Fix #129872, based on a patch by Jan Arne Petersen <jpetersen@uni-bonn.de>

2004-01-30  Federico Mena Quintero  <federico@ximian.com>

Fix #129872, based on a patch by Jan Arne Petersen
<jpetersen@uni-bonn.de>

* gtk/gtkfilesystemunix.c (gtk_file_system_unix_list_bookmarks):
Implement.
(gtk_file_system_unix_add_bookmark): Implement.
(gtk_file_system_unix_remove_bookmark): Implement.

2004-01-29  Federico Mena Quintero  <federico@ximian.com>

Fixes #132693.

* gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_parent): Don't
use filename_from_path().  Also, check that the filename is
absolute.
(gtk_file_system_unix_get_folder): Likewise.
(gtk_file_system_unix_create_folder): Likewise.
(gtk_file_system_unix_make_path): Likewise.
(gtk_file_system_unix_parse): Likewise.
(gtk_file_folder_unix_get_info): Likewise.
(filename_from_path): Removed.

20 years agoRemove C++ comment; reported by Damien Carbery <damien.carbery@sun.com>.
Federico Mena Quintero [Fri, 30 Jan 2004 17:59:59 +0000 (17:59 +0000)]
Remove C++ comment; reported by Damien Carbery <damien.carbery@sun.com>.

2004-01-30  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkcalendar.c (arrow_action): Remove C++ comment; reported
by Damien Carbery <damien.carbery@sun.com>.  Fixes #132956.

20 years agoUpdated Spanish translation.
Francisco Javier F. Serrador [Fri, 30 Jan 2004 17:26:32 +0000 (17:26 +0000)]
Updated Spanish translation.

2004-01-30  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

* es.po: Updated Spanish translation.

20 years agoRevert changes from #113476 and go back to using XftDrawSetClip, because
Owen Taylor [Fri, 30 Jan 2004 16:40:59 +0000 (16:40 +0000)]
Revert changes from #113476 and go back to using XftDrawSetClip, because

Fri Jan 30 11:37:37 2004  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkdrawable-x11.c: Revert changes from
        #113476 and go back to using XftDrawSetClip, because
        XftDrawSetClipRectangles is buggy in XFree86-4.3.

20 years agoUpdated Norwegian translation.
Kjartan Maraas [Fri, 30 Jan 2004 13:35:11 +0000 (13:35 +0000)]
Updated Norwegian translation.

2004-01-30  Kjartan Maraas  <kmaraas@gnome.org>

* no.po: Updated Norwegian translation.

20 years agoUpdate Czech translation
Miloslav Trmac [Fri, 30 Jan 2004 11:59:41 +0000 (11:59 +0000)]
Update Czech translation

20 years agoUpdated Maori translation by John C Barstow <jbowtie@amathaine.com>.
Christian Rose [Fri, 30 Jan 2004 11:41:30 +0000 (11:41 +0000)]
Updated Maori translation by John C Barstow <jbowtie@amathaine.com>.

2004-01-30  Christian Rose  <menthos@menthos.com>

* mi.po: Updated Maori translation by
John C Barstow <jbowtie@amathaine.com>.

20 years agoFix Czech translation
Miloslav Trmac [Fri, 30 Jan 2004 10:32:42 +0000 (10:32 +0000)]
Fix Czech translation

20 years agoru.po: Updated Russian translation from Russian team <gnome-cyr@gnome.org>.
Dmitry Mastrukov [Fri, 30 Jan 2004 05:59:23 +0000 (05:59 +0000)]
ru.po: Updated Russian translation from Russian team <gnome-cyr@gnome.org>.

20 years agoAdd properties to GtkAdjustment. (#64601, Murray Cumming)
Matthias Clasen [Thu, 29 Jan 2004 23:49:25 +0000 (23:49 +0000)]
Add properties to GtkAdjustment. (#64601, Murray Cumming)

Fri Jan 30 00:45:46 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkadjustment.c: Add properties to GtkAdjustment.
(#64601, Murray Cumming)

20 years agogtk/gtktextlayout.c (line_display_iter_to_index) Only adjust the preedit
Owen Taylor [Thu, 29 Jan 2004 23:33:07 +0000 (23:33 +0000)]
gtk/gtktextlayout.c (line_display_iter_to_index) Only adjust the preedit

Thu Jan 29 18:08:06 2004  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtktextlayout.c (line_display_iter_to_index)
        * gtk/gtktextlayout.c (line_display_index_to_iter): Only
        adjust the preedit position for lines that include the
        preedit string. (#132353, Yao Zhang). How the heck
        did this work as well as it did?!?!

        * modules/input/gtkimcontextxim.c (gtk_im_context_xim_get_ic):
        Reverse change to change of XNFilterEvents event mask from
        #110493 -- it's documented and in the Xlib code an
        unsigned long.

        * modules/input/gtkimcontextxim.c (preedit_start_callback):
        Return -1 rather than void to indicate no length limit.
        (#129548)

20 years agoAllow NULL for strings to clear the list. (#105386, Marco Pesenti Gritti)
Matthias Clasen [Thu, 29 Jan 2004 23:26:45 +0000 (23:26 +0000)]
Allow NULL for strings to clear the list. (#105386, Marco Pesenti Gritti)

Fri Jan 30 00:13:46 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcombo.c (gtk_combo_set_popdown_strings): Allow NULL
for strings to clear the list.  (#105386, Marco Pesenti Gritti)

20 years agoUpdated Korean translation.
Changwoo Ryu [Thu, 29 Jan 2004 19:19:09 +0000 (19:19 +0000)]
Updated Korean translation.

* ko.po: Updated Korean translation.

20 years agoFree font_desc. Fixes #132805.
Richard Hult [Thu, 29 Jan 2004 18:10:29 +0000 (18:10 +0000)]
Free font_desc. Fixes #132805.

2004-01-28  Richard Hult  <richard@imendio.com>

* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size):
Free font_desc.  Fixes #132805.

20 years agoFree the GError. Patch provided by Christian Persch
Federico Mena Quintero [Thu, 29 Jan 2004 17:55:48 +0000 (17:55 +0000)]
Free the GError. Patch provided by Christian Persch

2004-01-29  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkiconfactory.c (render_icon_name_pixbuf): Free the GError.
Patch provided by Christian Persch <chpe@stud.uni-saarland.de>

20 years agoUpdated the Greek translation
Kostas Papadimas [Thu, 29 Jan 2004 16:45:59 +0000 (16:45 +0000)]
Updated the Greek translation

20 years agonul-terminate the target atoms. (#132656, Christian Persch)
Owen Taylor [Thu, 29 Jan 2004 16:33:30 +0000 (16:33 +0000)]
nul-terminate the target atoms. (#132656, Christian Persch)

Thu Jan 29 11:00:18 2004  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkselection.c (gtk_selection_default_handler):
        nul-terminate the target atoms. (#132656, Christian Persch)

20 years agoUpdated Polish translation by GNOME PL Team.
Artur Flinta [Thu, 29 Jan 2004 07:23:20 +0000 (07:23 +0000)]
Updated Polish translation by GNOME PL Team.

2004-01-29  Artur Flinta  <aflinta@cvs.gnome.org>

* pl.po: Updated Polish translation by GNOME PL Team.

20 years agoDon't leak path if we bail out early. (#132505, Christian Persch)
Matthias Clasen [Wed, 28 Jan 2004 23:56:50 +0000 (23:56 +0000)]
Don't leak path if we bail out early. (#132505, Christian Persch)

Thu Jan 29 00:59:03 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_rows_reordered): Don't leak
path if we bail out early.  (#132505, Christian Persch)

20 years agoDo reference counting on the user_data that is shared between multiple
Matthias Clasen [Wed, 28 Jan 2004 23:49:10 +0000 (23:49 +0000)]
Do reference counting on the user_data that is shared between multiple

Thu Jan 29 00:48:47 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkactiongroup.c (gtk_action_group_add_toggle_actions_full):
* gtk/gtkactiongroup.c (gtk_action_group_add_actions_full): Do reference
counting on the user_data that is shared between multiple signal handlers,
to avoid calling the destroy notify multiple times.  (#132447, Adam Hooper)

20 years agoRemove unfinished sentence, until jrb finds time to write a real
Matthias Clasen [Wed, 28 Jan 2004 21:49:25 +0000 (21:49 +0000)]
Remove unfinished sentence, until jrb finds time to write a real

Wed Jan 28 22:51:41 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/tmpl/gtktreeviewcolumn.sgml: Remove unfinished sentence, until
jrb finds time to write a real description.

20 years agonew GTK_STOCK_NETWORK ... gtk/gtkstock.[hc] : ... define ...
Hans Breuer [Wed, 28 Jan 2004 21:46:02 +0000 (21:46 +0000)]
new GTK_STOCK_NETWORK ... gtk/gtkstock.[hc] : ... define ...

2004-01-28  Hans Breuer  <hans@breuer.org>

* gtk/stock-icons/stock_network_(16|24).png : new GTK_STOCK_NETWORK ...
  gtk/gtkstock.[hc] : ... define ...
  gtk/gtkiconfactory.c : ... register ...
  gtk/stock-icons/Makefile.am gtk/stock-icons/makefile.msc : ... compile ...
* gtk/gtkfilesystemwin32.c : ... and use. Also adapt to recent
IFace changes.

* gtk/gtk.def : added a bunch of new exported symbols

* tests/testfilechooser.c (no_backup_files_filter) : don't crash
on filter_info->display_name being NULL

* tests/testgtk.c : make testgtk --bench=all work again

20 years agoupdated externals
Hans Breuer [Wed, 28 Jan 2004 21:38:39 +0000 (21:38 +0000)]
updated externals

2004-01-28  Hans Breuer  <hans@breuer.org>

* gdk_pixbuf.def : updated externals

20 years agoFix a header name misspelling. (#123589, Jan Huelsbergen)
Matthias Clasen [Wed, 28 Jan 2004 20:44:40 +0000 (20:44 +0000)]
Fix a header name misspelling. (#123589, Jan Huelsbergen)

Wed Jan 28 21:46:55 2004  Matthias Clasen  <maclas@gmx.de>

* gdk/tmpl/event_structs.sgml: Fix a header name misspelling.
(#123589, Jan Huelsbergen)

20 years agoDon't leak string. (#132482, Christian Persch)
Matthias Clasen [Wed, 28 Jan 2004 20:39:46 +0000 (20:39 +0000)]
Don't leak string. (#132482, Christian Persch)

Wed Jan 28 21:40:47 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkentrycompletion.c (gtk_entry_completion_action_data_func):
Don't leak string.  (#132482, Christian Persch)

20 years agoFixed Czech translation
Miloslav Trmac [Wed, 28 Jan 2004 11:22:23 +0000 (11:22 +0000)]
Fixed Czech translation

20 years agoquote AC_DEFUN macro names so automake 1.8 won't whine at us.
Manish Singh [Wed, 28 Jan 2004 02:52:01 +0000 (02:52 +0000)]
quote AC_DEFUN macro names so automake 1.8 won't whine at us.

Tue Jan 27 18:45:47 2004  Manish Singh  <yosh@gimp.org>

        * m4macros/gtk-2.0.m4: quote AC_DEFUN macro names so automake
        1.8 won't whine at us.

20 years agoDon' generate enter or leave events if the pointer is grabbed with
Tor Lillqvist [Wed, 28 Jan 2004 02:10:07 +0000 (02:10 +0000)]
Don' generate enter or leave events if the pointer is grabbed with

2004-01-28  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkevents-win32.c (synthesize_leave_event,
synthesize_enter_event): Don' generate enter or leave events if
the pointer is grabbed with owner_events off, and the grab event
mask doesn't ask for them. (#129242)

(gdk_event_translate): Ditto for focus change events.

20 years agoFix #132314.
Federico Mena Quintero [Tue, 27 Jan 2004 23:20:01 +0000 (23:20 +0000)]
Fix #132314.

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

Fix #132314.

* gtk/gtkfilesystem.h: Removed the #ifdef-ed out, old icon API.

* gtk/gtkfilesystem.c: Likewise.

* gtk/gtkfilesystemunix.c (filename_get_info): Removed the old
icon-type code.
(gtk_file_system_unix_render_icon): Moved the icon-rendering code
from GtkFileInfo to here.
(gtk_file_system_unix_volume_render_icon): Implement.

20 years agoRemoved modules/input/imhangul.c.
Changwoo Ryu [Tue, 27 Jan 2004 18:23:56 +0000 (18:23 +0000)]
Removed modules/input/imhangul.c.

* POTFILES.in: Removed modules/input/imhangul.c.

20 years agoRemove broken hangul input module.
Changwoo Ryu [Tue, 27 Jan 2004 18:20:16 +0000 (18:20 +0000)]
Remove broken hangul input module.

* modules/input/imhangul-defs.h:
* modules/input/imhangul.c:
* modules/input/Makefile.am: Remove broken hangul input module.

20 years agoUpdated Maori translation by John C Barstow <jbowtie@amathaine.com>.
Christian Rose [Tue, 27 Jan 2004 13:49:55 +0000 (13:49 +0000)]
Updated Maori translation by John C Barstow <jbowtie@amathaine.com>.

2004-01-27  Christian Rose  <menthos@menthos.com>

* mi.po: Updated Maori translation by
John C Barstow <jbowtie@amathaine.com>.

20 years agoUpdated Norwegian Nynorsk translation. Removed leftover conflict
Åsmund Skjæveland [Tue, 27 Jan 2004 07:48:03 +0000 (07:48 +0000)]
Updated Norwegian Nynorsk translation. Removed leftover conflict

2004-01-27  Åsmund Skjæveland  <aasmunds@fys.uio.no>

* nn.po: Updated Norwegian Nynorsk translation.
* ChangeLog: Removed leftover conflict indicator.

20 years agoUpdated Norwegian Nynorsk translation.
Åsmund Skjæveland [Tue, 27 Jan 2004 07:46:47 +0000 (07:46 +0000)]
Updated Norwegian Nynorsk translation.

2004-01-27  Åsmund Skjæveland  <aasmunds@fys.uio.no>

* nn.po: Updated Norwegian Nynorsk translation.

20 years agoRemove obsolete comment.
Soeren Sandmann [Tue, 27 Jan 2004 01:11:18 +0000 (01:11 +0000)]
Remove obsolete comment.

Tue Jan 27 01:56:46 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtktoolbar.c: Remove obsolete comment.

* gtk/gtktoolbar.c (DEFAULT_SPACE_SIZE, SPACE_LINE_START,
SPACE_LINE_END): Make separators wider and taller, so they are
easier to pick up when editing the toolbar.

* gtk/gtktoolbar.c (slide_idle_handler): Add a comment, simplify
a bit,

* gtk/gtktoolbar.c (rect_within): Formatting fix

* gtk/gtktoolbar.c (gtk_toolbar_set_drop_highlight_item): Make
sliding feel more responsive by only restarting sliding when the
placeholder actually changes its goal allocation.

20 years agoAvoid a compiler warning. (#122725, Kjartan Maraas)
Matthias Clasen [Tue, 27 Jan 2004 00:58:48 +0000 (00:58 +0000)]
Avoid a compiler warning. (#122725, Kjartan Maraas)

Tue Jan 27 02:00:37 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtktreeitem.c (gtk_tree_item_add_pixmaps): Avoid a
compiler warning.  (#122725, Kjartan Maraas)

20 years agoRemoved conflict markers.
Matthias Clasen [Tue, 27 Jan 2004 00:49:46 +0000 (00:49 +0000)]
Removed conflict markers.

20 years agoMake menus work better on Xinerama (#126150):
Matthias Clasen [Tue, 27 Jan 2004 00:49:03 +0000 (00:49 +0000)]
Make menus work better on Xinerama (#126150):

Tue Jan 27 01:46:54 2004  Matthias Clasen  <maclas@gmx.de>

Make menus work better on Xinerama (#126150):

* gtk/gtkmenuitem.c (gtk_menu_item_position_menu): Calculate the
monitor_num on the screen of the menu, not of the attach widget.

* gtk/gtkmenu.c (menu_change_screen): Forget the stored monitor_num.
(gtk_menu_window_size_request): Remember the monitor_num.

20 years agoUpdated Greek translation
Nikos Charonitakis [Mon, 26 Jan 2004 22:05:30 +0000 (22:05 +0000)]
Updated Greek translation

20 years agoFix #105497; constify uses of GdkColor.
Federico Mena Quintero [Mon, 26 Jan 2004 20:21:09 +0000 (20:21 +0000)]
Fix #105497; constify uses of GdkColor.

2004-01-26  Federico Mena Quintero  <federico@ximian.com>

Fix #105497; constify uses of GdkColor.

* gdk/gdkgc.c (gdk_gc_set_rgb_fg_color): Constify.
(gdk_gc_set_rgb_bg_color): Constify.
(gdk_gc_set_foreground): Constify.

* gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_pixmap): Constify.
* gdk/win32/gdkcursor-win32.c (gdk_cursor_new_from_pixmap): Constify.
* gdk/linux-fb/gdkcursor-fb.c (gdk_cursor_new_from_pixmap): Constify.

* gdk/x11/gdkpixmap-x11.c (gdk_pixmap_create_from_data): Constify.
* gdk/win32/gdkpixmap-win32.c (gdk_pixmap_create_from_data): Constify.
* gdk/linux-fb/gdkpixmap-fb.c (gdk_pixmap_create_from_data): Constify.

* gdk/x11/gdkwindow-x11.c (gdk_window_set_background): Constify.
* gdk/win32/gdkwindow-win32.c (gdk_window_set_background): Constify.
* gdk/linux-fb/gdkwindow-fb.c (gdk_window_set_background): Constify.

* gdk/gdkpango.c (gdk_draw_layout_line_with_colors): Constify.
(gdk_draw_layout_with_colors): Constify.

* gdk/gdkpixmap.c (gdk_pixmap_colormap_new_from_pixbuf): Constify.
(gdk_pixmap_colormap_create_from_xpm): Constify.
(gdk_pixmap_create_from_xpm): Constify.
(gdk_pixmap_colormap_create_from_xpm_d): Constify.
(gdk_pixmap_create_from_xpm_d): Constify.

* gtk/gtkcellview.c (gtk_cell_view_set_background_color): Constify.

* gtk/gtkclist.c (gtk_clist_set_foreground): Constify.
(gtk_clist_set_background): Constify.

* gtk/gtkcolorbutton.c (gtk_color_button_new_with_color): Constify.
(gtk_color_button_set_color): Constify.

* gtk/gtkcolorsel.c (gtk_color_selection_set_current_color):
Constify and add a check for color != NULL.
(gtk_color_selection_get_current_color): Add a check for color != NULL.
(gtk_color_selection_set_previous_color): Constify and add a check
for color != NULL.
(gtk_color_selection_get_previous_color): Add a check for color != NULL.

* gtk/gtkctree.c (gtk_ctree_node_set_foreground): Constify.
(gtk_ctree_node_set_background): Constify.

* gtk/gtktext.c (gtk_text_insert): Constify.
(insert_text_property): Constify.
(text_properties_equal): Constify.
(new_text_property): Constify.

* gtk/gtkwidget.c (gtk_widget_modify_color_component): Constify.
(gtk_widget_modify_fg): Constify.
(gtk_widget_modify_bg): Constify.
(gtk_widget_modify_text): Constify.
(gtk_widget_modify_base): Constify.

20 years agoUpdated Polish translation by GNOME PL Team.
Artur Flinta [Mon, 26 Jan 2004 08:58:26 +0000 (08:58 +0000)]
Updated Polish translation by GNOME PL Team.

2004-01-26  Artur Flinta  <aflinta@cvs.gnome.org>

* pl.po: Updated Polish translation by GNOME PL Team.

20 years agoUpdated Swedish translation.
Christian Rose [Sun, 25 Jan 2004 23:51:05 +0000 (23:51 +0000)]
Updated Swedish translation.

2004-01-26  Christian Rose  <menthos@menthos.com>

* sv.po: Updated Swedish translation.

20 years agoAdded entries.
Christian Rose [Sun, 25 Jan 2004 23:45:34 +0000 (23:45 +0000)]
Added entries.

2004-01-26  Christian Rose  <menthos@menthos.com>

* .cvsignore: Added entries.

20 years agoAdded "mi" to ALL_LINGUAS. Added Maori translation by John C Barstow
Christian Rose [Sun, 25 Jan 2004 23:42:54 +0000 (23:42 +0000)]
Added "mi" to ALL_LINGUAS. Added Maori translation by John C Barstow

2004-01-26  Christian Rose  <menthos@menthos.com>

* configure.in: Added "mi" to ALL_LINGUAS.
* po/mi.po, po-properties/mi.po: Added Maori translation by
John C Barstow <jbowtie@amathaine.com>.

20 years agoIf the WM_TRANSIENT_FOR property is being deleted, set the owner of the
Tor Lillqvist [Sun, 25 Jan 2004 22:19:40 +0000 (22:19 +0000)]
If the WM_TRANSIENT_FOR property is being deleted, set the owner of the

2004-01-25  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkproperty-win32.c (gdk_property_delete): If the
WM_TRANSIENT_FOR property is being deleted, set the owner of the
window to the root window (i.e., effectively unset it). (#132411)

* gdk/win32/gdkprivate-win32.h
* gdk/win32/gdkglobals-win32.c
* gdk/win32/gdkmain-win32.c: Declare, define and initialize
_wm_transient_for, a GdkAtom for WM_TRANSIENT_FOR.

* acconfig.h: Remove HAVE_WINSOCK_H, not used any longer.

20 years ago2004-01-25 Fixed mis-translations. T.Aihana <aihana@gnome.gr.jp>
Fixed mis-translations. T.Aihana [Sun, 25 Jan 2004 14:46:14 +0000 (14:46 +0000)]
2004-01-25 Fixed mis-translations. T.Aihana <aihana@gnome.gr.jp>

20 years agoBase the decision to map/unmap items on whether they are actually
Soeren Sandmann [Sun, 25 Jan 2004 14:17:15 +0000 (14:17 +0000)]
Base the decision to map/unmap items on whether they are actually

Sun Jan 25 15:14:46 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Base the decision
to map/unmap items on whether they are actually allocated outside
the toolbar, not on whether that will eventually happen. Improves
animation in the presence of overflown items.

* gtk/gtktoolbar.c (gtk_toolbar_begin_sliding): Add a
queue_resize() to so that the items will get their new goal
values and the idle handler will not immediately return FALSE.

* gtk/gtktoolbar.c (slide_idle_handler): simplify the logic and
make sure that a placeholder becoming invisible doesn't cause a
return TRUE.

* gtk/gtktoolbar.c (get_item_size): Don't special case
placeholders here.

20 years ago2004-01-25 Updated ja.po. T.Aihana <aihana@gnome.gr.jp>
Updated ja.po. T.Aihana [Sun, 25 Jan 2004 13:38:42 +0000 (13:38 +0000)]
2004-01-25 Updated ja.po. T.Aihana <aihana@gnome.gr.jp>

20 years agoTranslation updated by Tino Meinen.
Vincent van Adrighem [Sun, 25 Jan 2004 09:56:40 +0000 (09:56 +0000)]
Translation updated by Tino Meinen.

2004-01-25  Vincent van Adrighem  <adrighem@gnome.org>

* nl.po: Translation updated by Tino Meinen.

20 years agoOnly try to pack icon if there actually is one.
Soeren Sandmann [Sat, 24 Jan 2004 22:29:18 +0000 (22:29 +0000)]
Only try to pack icon if there actually is one.

Sat Jan 24 23:17:27 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtktoolbutton.c (gtk_tool_button_construct_contents): Only
try to pack icon if there actually is one.

* gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Make sure
OVERFLOWN items get an allocation even when they are
unmapped. This ensures they will slide in properly.

* gtk/gtktoolbar.c (slide_idle_handler): Make sure we return TRUE
when there are overflown items that need to slide in. Also add
comments and make formatting more readable.

20 years agoAdd a write-only property ::group to be consistent with GtkRadioAction and
Soeren Sandmann [Sat, 24 Jan 2004 16:49:31 +0000 (16:49 +0000)]
Add a write-only property ::group to be consistent with GtkRadioAction and

Sat Jan 24 17:38:48 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtkradiotoolbutton.c (gtk_radio_tool_button_class_init):
Add a write-only property ::group to be consistent with
GtkRadioAction and GtkRadioButton. (#132159, Patch from Olivier
Andrieu)

20 years agoUpdated French translation.
Christophe Merlet [Sat, 24 Jan 2004 14:13:59 +0000 (14:13 +0000)]
Updated French translation.

20 years agoUpdated French translation.
Christophe Merlet [Sat, 24 Jan 2004 12:34:32 +0000 (12:34 +0000)]
Updated French translation.

20 years agoUpdated Norwegian translation.
Kjartan Maraas [Sat, 24 Jan 2004 09:25:59 +0000 (09:25 +0000)]
Updated Norwegian translation.

2004-01-24  Kjartan Maraas  <kmaraas@gnome.org>

* no.po: Updated Norwegian translation.

20 years agoUpdated Spanih translation.
Francisco Javier F. Serrador [Fri, 23 Jan 2004 23:33:45 +0000 (23:33 +0000)]
Updated Spanih translation.

2004-01-24  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

* es.po: Updated Spanih translation.

20 years agoDon't leak the font description. (#132168)
Matthias Clasen [Fri, 23 Jan 2004 22:55:47 +0000 (22:55 +0000)]
Don't leak the font description. (#132168)

Fri Jan 23 23:46:12 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkfontbutton.c (gtk_font_button_label_use_font): Don't leak the
font description.  (#132168)

20 years agoFix #132247.
Federico Mena Quintero [Fri, 23 Jan 2004 20:15:05 +0000 (20:15 +0000)]
Fix #132247.

2004-01-23  Federico Mena Quintero  <federico@ximian.com>

Fix #132247.

* gtk/gtkfilechooserdefault.c (set_select_multiple): Handle folder
mode.
(set_select_multiple): Optionally notify about changes to the
select-multiple property.
(list_selection_changed): Change the condition for the editable row to
test for save mode; this is more clear than testing for not being
in multiple selection mode.
(gtk_file_chooser_default_get_paths): Get impl->action directly
rather than calling gtk_file_chooser_get_action().
(entry_activate): Likewise.
(set_select_multiple): Annotate about #133255.
(update_chooser_entry): Likewise.
(check_preview_change): Likewise.
(tree_selection_changed): Likewise.

20 years agoDon't crash when there are no columns, or all columns are hidden, #131402
Jonathan Blandford [Fri, 23 Jan 2004 19:59:49 +0000 (19:59 +0000)]
Don't crash when there are no columns, or all columns are hidden, #131402

Fri Jan 23 14:56:18 2004  Jonathan Blandford  <jrb@gnome.org>

        * gtk/gtktreeview.c (gtk_tree_view_get_path_at_pos): Don't crash
        when there are no columns, or all columns are hidden, #131402