]> Pileus Git - ~andy/gtk/log
~andy/gtk
20 years agoStrip out the "export-dynamic" libtool option from library link lines.
Owen Taylor [Wed, 3 Mar 2004 21:26:31 +0000 (21:26 +0000)]
Strip out the "export-dynamic" libtool option from library link lines.

Wed Mar  3 16:00:10 2004  Owen Taylor  <otaylor@redhat.com>

        * configure.in: Strip out the "export-dynamic" libtool
        option from library link lines. (#124687, James Henstridge)

20 years agoUpdated Danish translation.
Ole Laursen [Wed, 3 Mar 2004 21:17:22 +0000 (21:17 +0000)]
Updated Danish translation.

2004-03-03  Ole Laursen  <olau@hardworking.dk>

* da.po: Updated Danish translation.

20 years agoDon't activate the combo if we're in the midst of changing folders.
Jonathan Blandford [Wed, 3 Mar 2004 21:09:46 +0000 (21:09 +0000)]
Don't activate the combo if we're in the midst of changing folders.

Wed Mar  3 16:06:03 2004  Jonathan Blandford  <jrb@gnome.org>

        * gtk/gtkfilechooserdefault.c (save_folder_combo_changed_cb):
        Don't activate the combo if we're in the midst of changing
        folders.

20 years agoAdd bug number to ChangeLog
Owen Taylor [Wed, 3 Mar 2004 20:54:48 +0000 (20:54 +0000)]
Add bug number to ChangeLog

20 years agoAdd a shared library dependency on libgdk-pixbuf.
Owen Taylor [Wed, 3 Mar 2004 20:53:23 +0000 (20:53 +0000)]
Add a shared library dependency on libgdk-pixbuf.

Wed Mar  3 15:50:28 2004  Owen Taylor  <otaylor@redhat.com>

        * Makefile.am (libgdk_pixbuf_xlib_2_0_la_LIBADD): Add
        a shared library dependency on libgdk-pixbuf.

20 years agodon't try and store pointers in ints. Fixes 64-bit build.
Mark McLoughlin [Wed, 3 Mar 2004 19:03:19 +0000 (19:03 +0000)]
don't try and store pointers in ints. Fixes 64-bit build.

2004-03-03  Mark McLoughlin  <mark@skynet.ie>

        * tests/testsocket_common.c: (print_hello): don't try and store
        pointers in ints. Fixes 64-bit build.

20 years agoSimplify by not using a temporary variable, and clarify the documentation.
Federico Mena Quintero [Wed, 3 Mar 2004 18:10:22 +0000 (18:10 +0000)]
Simplify by not using a temporary variable, and clarify the documentation.

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

* gtk/gtkfilesystem.c (gtk_file_system_get_parent): Simplify by
not using a temporary variable, and clarify the documentation.
Fixes #136008.

20 years agoSet the label widget's state to prelight if we're prelit. Fixes bug
Mark McLoughlin [Wed, 3 Mar 2004 17:08:54 +0000 (17:08 +0000)]
Set the label widget's state to prelight if we're prelit. Fixes bug

2004-03-03  Mark McLoughlin  <mark@skynet.ie>

        * gtk/gtkexpander.c:
        (gtk_expander_enter_notify), (gtk_expander_leave_notify),
        (gtk_expander_set_label_widget): Set the label widget's
        state to prelight if we're prelit. Fixes bug #136078.

20 years agoUpdated Korean translation.
Changwoo Ryu [Wed, 3 Mar 2004 16:55:02 +0000 (16:55 +0000)]
Updated Korean translation.

* ko.po: Updated Korean translation.

20 years agoCorrected the group_changed signal vfunc declaration, adding the first
Murray Cumming [Wed, 3 Mar 2004 15:06:49 +0000 (15:06 +0000)]
Corrected the group_changed signal vfunc declaration, adding the first

2004-03-03  Murray Cumming  <murrayc@murrayc.com>

        * gtk/gtkradiobutton.h, radiomenuitem.h: Corrected the group_changed
        signal vfunc declaration, adding the first parameter, which is the
        widget emitting the signal.

20 years agoPlug leak.
Morten Welinder [Wed, 3 Mar 2004 14:27:00 +0000 (14:27 +0000)]
Plug leak.

2004-03-03  Morten Welinder  <terra@gnome.org>

* tests/testfilechooser.c (update_preview_cb): Plug leak.

20 years agoUpdated Norwegian translation
Kjartan Maraas [Wed, 3 Mar 2004 12:40:34 +0000 (12:40 +0000)]
Updated Norwegian translation

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

* no.po: Updated Norwegian translation

20 years agoUpdated Norwegian translation.
Kjartan Maraas [Wed, 3 Mar 2004 12:38:59 +0000 (12:38 +0000)]
Updated Norwegian translation.

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

* no.po: Updated Norwegian translation.

20 years agoUpdate Czech translation
Miloslav Trmac [Wed, 3 Mar 2004 12:33:26 +0000 (12:33 +0000)]
Update Czech translation

20 years agoUpdated Albanian translation
Laurent Dhima [Wed, 3 Mar 2004 09:53:48 +0000 (09:53 +0000)]
Updated Albanian translation

* sq.po: Updated Albanian translation

20 years agoUpdated
Laurent Dhima [Wed, 3 Mar 2004 09:52:35 +0000 (09:52 +0000)]
Updated

20 years agoSplit function into realized and unrealized variants, and consolidate the
Jonathan Blandford [Wed, 3 Mar 2004 04:52:01 +0000 (04:52 +0000)]
Split function into realized and unrealized variants, and consolidate the

Tue Mar  2 23:39:55 2004  Jonathan Blandford  <jrb@gnome.org>

        * gtk/gtkfilechooserdialog.c
        (file_chooser_widget_default_realized_size_changed): Split
        function into realized and unrealized variants, and consolidate
        the handling fo size-changing and default changing.

        * gtk/gtkfilechooserembed.[ch] (gtk_file_chooser_embed_class_init):
        remove resizable-hints-changed, as it just complicated things.

        * gtk/gtkfilechooserdefault.c (update_appearance): Don't emit
        resizable-hints-changed.

20 years agoUpdated Polish translation.
Artur Flinta [Wed, 3 Mar 2004 03:13:35 +0000 (03:13 +0000)]
Updated Polish translation.

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

* pl.po: Updated Polish translation.

20 years agoAdd a missing entry. (#135982, J. Ali Harlow)
Tor Lillqvist [Wed, 3 Mar 2004 02:07:37 +0000 (02:07 +0000)]
Add a missing entry. (#135982, J. Ali Harlow)

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

* gtk/gtk.def: Add a missing entry. (#135982, J. Ali Harlow)

* NEWS: Correct spelling of my name in one place.

20 years agoUpdated Finnish translation.
Pauli Virtanen [Wed, 3 Mar 2004 00:50:48 +0000 (00:50 +0000)]
Updated Finnish translation.

2004-03-03  Pauli Virtanen  <pauli.virtanen@hut.fi>

* fi.po: Updated Finnish translation.

20 years agoHandle errors in setting the path bar's path. Fixes #136000, based on a
Federico Mena Quintero [Wed, 3 Mar 2004 00:38:19 +0000 (00:38 +0000)]
Handle errors in setting the path bar's path. Fixes #136000, based on a

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

* gtk/gtkfilechooserdefault.c
(gtk_file_chooser_default_set_current_folder): Handle errors in
setting the path bar's path.  Fixes #136000, based on a patch by
Morten Welinder.

* gtk/gtkfilesystemunix.c (gtk_file_system_unix_insert_bookmark):
Don't free our own propagated error.

* gtk/gtkpathbar.c (gtk_path_bar_set_path): Likewise, and free the
parent_path upon error.  Fixes #136006, patch by Morten Welinder.
(gtk_path_bar_set_path): Unref the file_folder upon error.
(gtk_path_bar_set_path): Return a boolean success code.

20 years agoAdd an animation mode, to test how the combobox behaves if the model
Matthias Clasen [Tue, 2 Mar 2004 23:29:21 +0000 (23:29 +0000)]
Add an animation mode, to test how the combobox behaves if the model

Wed Mar  3 00:28:59 2004  Matthias Clasen  <maclas@gmx.de>

* tests/testcombochange.c: Add an animation mode, to test
how the combobox behaves if the model changes while it is popped
up.

20 years agoUpdated Swedish translation.
Christian Rose [Tue, 2 Mar 2004 23:10:28 +0000 (23:10 +0000)]
Updated Swedish translation.

2004-03-03  Christian Rose  <menthos@menthos.com>

* sv.po: Updated Swedish translation.

20 years ago=== Released 2.3.5 ===
Owen Taylor [Tue, 2 Mar 2004 22:57:40 +0000 (22:57 +0000)]
=== Released 2.3.5 ===

Tue Mar  2 17:06:05 2004  Owen Taylor  <otaylor@redhat.com>

        * === Released 2.3.5 ===

        * NEWS: Updates

        * configure.in: Version 2.3.5, interface age 0.
        Require glib-2.3.5, pango-1.3.5.

20 years agoAvoid popping up the completions across the edge of the monitor. Part of
Matthias Clasen [Tue, 2 Mar 2004 22:20:04 +0000 (22:20 +0000)]
Avoid popping up the completions across the edge of the monitor. Part of

Tue Mar  2 23:08:12 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkentrycompletion.c (_gtk_entry_completion_popup): Avoid
popping up the completions across the edge of the monitor.
Part of #135561.

20 years agoMove the /nonexistant stuff out of the main window, keep the main window
Owen Taylor [Tue, 2 Mar 2004 21:55:01 +0000 (21:55 +0000)]
Move the /nonexistant stuff out of the main window, keep the main window

Tue Mar  2 16:47:40 2004  Owen Taylor  <otaylor@redhat.com>

        * tests/testfilechooser.c (set_filename_existing_nonexistent_cb):
        Move the /nonexistant stuff out of the main window,
        keep the main window somewhat normal looking.

20 years agogtk/gtktreestore.c (gtk_tree_store_reorder) Fix up the interpretation of
Owen Taylor [Tue, 2 Mar 2004 21:34:19 +0000 (21:34 +0000)]
gtk/gtktreestore.c (gtk_tree_store_reorder) Fix up the interpretation of

Tue Mar  2 16:18:43 2004  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtktreestore.c (gtk_tree_store_reorder)
        * gtk/gtkliststore.c (gtk_list_store_reorder): Fix
        up the interpretation of new_order to match what
        it means elsewhere, document the meaning of new_order.

        * gtk/gtkcombobox.c (gtk_combo_box_model_rows_reordered):
        Fix interpretation of new_order.

        * tests/testcombochange.c (on_reorder): Fix interpretation
        of new_order.

        * tests/testcombochange.c (on_reorder): Fix hitting
        "reorder" with an empty list.

20 years agoUpdated Italian translation.
Alessio Frusciante [Tue, 2 Mar 2004 21:18:58 +0000 (21:18 +0000)]
Updated Italian translation.

20 years agoCorrected three strings in Italian translation.
Alessio Frusciante [Tue, 2 Mar 2004 21:06:52 +0000 (21:06 +0000)]
Corrected three strings in Italian translation.

20 years agoRemove conflict markers
Søren Sandmann Pedersen [Tue, 2 Mar 2004 20:51:40 +0000 (20:51 +0000)]
Remove conflict markers

20 years agoPatch from Frederic Crozat, test code from Jean-Philippe Chancelier. Fixes
Soeren Sandmann [Tue, 2 Mar 2004 20:49:15 +0000 (20:49 +0000)]
Patch from Frederic Crozat, test code from Jean-Philippe Chancelier. Fixes

Tue Mar  2 21:23:30 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

Patch from Frederic Crozat, test code from Jean-Philippe
Chancelier. Fixes bug #120479.

* gtk/gtkcombo.c (gtk_combo_popup_list): Make sure popup belongs
to the right window group.

* gtk/gtkmenu.c (gtk_menu_popup): Same

* tests/testsocket.c (main): Pack the plugs into an hbox instead
of a vbox.

* tests/testsocket_common.c: Add a GtkMenuBar, a GtkCombo and a
GtkComboBox to the children.

20 years agoIf the model was empty before, select the first inserted item.
Owen Taylor [Tue, 2 Mar 2004 20:42:14 +0000 (20:42 +0000)]
If the model was empty before, select the first inserted item.

Tue Mar  2 14:38:23 2004  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkcombobox.c (gtk_combo_box_model_row_inserted):
        If the model was empty before, select the first inserted
        item.

        * gtk/gtkcombobox.c (gtk_combo_box_model_row_deleted):
        Fix up the logic for the new row to select.

        * gtk/gtkcombobox.c (gtk_combo_box_class_init):
        Rename "appearance" property to "appears-as-list".

        * tests/testcombochange.c tests/Makefile.am: Test case
        for combos and dynamically changing models.

20 years agoset the default value, spotted by Morten Welinder.
Jonathan Blandford [Tue, 2 Mar 2004 20:24:27 +0000 (20:24 +0000)]
set the default value, spotted by Morten Welinder.

Tue Mar  2 15:19:52 2004  Jonathan Blandford  <jrb@redhat.com>

        * gtk/gtkfilechooserdefault.c
        (gtk_file_chooser_default_get_resizable_hints): set the default
        value, spotted by Morten Welinder.

20 years agoget the logic correct. This will fix sizing on save dialogs.
Jonathan Blandford [Tue, 2 Mar 2004 20:09:20 +0000 (20:09 +0000)]
get the logic correct. This will fix sizing on save dialogs.

Tue Mar  2 15:03:15 2004  Jonathan Blandford  <jrb@redhat.com>

        * gtk/gtkfilechooserdefault.c
        (gtk_file_chooser_default_get_resizable_hints): get the logic
        correct.  This will fix sizing on save dialogs.

        (save_widgets_create): set_mnemonic_widget.

20 years agoDon't update the save folder combo if we are already switching folders;
Federico Mena Quintero [Tue, 2 Mar 2004 20:05:08 +0000 (20:05 +0000)]
Don't update the save folder combo if we are already switching folders;

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

* gtk/gtkfilechooserdefault.c
(gtk_file_chooser_default_set_current_folder): Don't update the
save folder combo if we are already switching folders; based on a
patch by Jonathan Blandford.

* gtk/gtkfilechooserdefault.c (shortcuts_add_current_folder):
Handle failure to insert the path.  Based on a patch by Morten
Welinder attached to bug #135380.

* tests/testfilechooser.c (extra_widget_create): Add a bunch of
buttons to test various things.

20 years agoAdd testentrycompletion.
Matthias Clasen [Tue, 2 Mar 2004 19:59:20 +0000 (19:59 +0000)]
Add testentrycompletion.

Tue Mar  2 20:59:23 2004  Matthias Clasen  <maclas@gmx.de>

* tests/Makefile.am: Add testentrycompletion.

* tests/testentrycompletion.c: New file to test some of the
more exotic GtkEntryCompletion features.

20 years agoimprove tests a little.
Jonathan Blandford [Tue, 2 Mar 2004 19:38:54 +0000 (19:38 +0000)]
improve tests a little.

Tue Mar  2 14:38:10 2004  Jonathan Blandford  <jrb@redhat.com>

        * tests/testfilechooser.c (main): improve tests a little.

20 years agoUpdated the Greek translation
Kostas Papadimas [Tue, 2 Mar 2004 19:25:10 +0000 (19:25 +0000)]
Updated the Greek translation

20 years agoAlways connect to the changed signals on the model, update the active item
Owen Taylor [Tue, 2 Mar 2004 18:56:10 +0000 (18:56 +0000)]
Always connect to the changed signals on the model, update the active item

Tue Mar  2 11:45:50 2004  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkcombobox.c: Always connect to the changed
        signals on the model, update the active item as
        appropriate when rows are inserted/deleted/reordered,
        re-layout the menu on ::rows-reordered.

        * gtk/gtkcellview.c (gtk_cell_view_set_displayed_row):
        Allow %NULL for path to unset and leave no current
        path.

20 years agoPosition the popup above the sample if there is not enough room below.
Matthias Clasen [Tue, 2 Mar 2004 18:53:55 +0000 (18:53 +0000)]
Position the popup above the sample if there is not enough room below.

Tue Mar  2 19:54:53 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcombobox.c (gtk_combo_box_list_position): Position
the popup above the sample if there is not enough room below.
Part of #135543.

Tue Mar  2 19:53:36 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcombobox.c (gtk_combo_box_set_popup_widget): Make the
frame for the list mode etched in, to give the popup a slightly
less flat appearance.

Tue Mar  2 17:55:31 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtk.def: Add gtk_combo_box_entry_new_text().

20 years agoDon't scale images that are small enough to fit. Avoid using incompatibly
Morten Welinder [Tue, 2 Mar 2004 17:03:04 +0000 (17:03 +0000)]
Don't scale images that are small enough to fit. Avoid using incompatibly

2004-03-02  Morten Welinder  <terra@gnome.org>

* tests/testfilechooser.c (size_prepared_cb): Don't scale images
that are small enough to fit.  Avoid using incompatibly typed data
pointer.

20 years agoMajor thinko, trivial patch. /me chances a commit.
Morten Welinder [Tue, 2 Mar 2004 16:14:53 +0000 (16:14 +0000)]
Major thinko, trivial patch.  /me chances a commit.

2004-03-02  Morten Welinder  <terra@gnome.org>

* gtk/gtkfilechooserdefault.c
(gtk_file_chooser_default_get_resizable_hints): Test the
resize_horizontally pointer, not the deferenced pointer.

20 years agoUpdated Korean translation.
Changwoo Ryu [Tue, 2 Mar 2004 15:57:41 +0000 (15:57 +0000)]
Updated Korean translation.

* ko.po: Updated Korean translation.

20 years agoUpdate Czech translation
Miloslav Trmac [Tue, 2 Mar 2004 12:47:23 +0000 (12:47 +0000)]
Update Czech translation

20 years agoUpdated Albanian translation
Laurent Dhima [Tue, 2 Mar 2004 09:17:08 +0000 (09:17 +0000)]
Updated Albanian translation

* sq.po: Updated Albanian translation

20 years agoUpdated
Laurent Dhima [Tue, 2 Mar 2004 09:15:57 +0000 (09:15 +0000)]
Updated

20 years agoUpdated Italian translation.
Alessio Frusciante [Tue, 2 Mar 2004 09:02:06 +0000 (09:02 +0000)]
Updated Italian translation.

20 years agoUpdated Thai translation.
Paisa Seeluangsawat [Tue, 2 Mar 2004 07:17:45 +0000 (07:17 +0000)]
Updated Thai translation.

2004-03-02  Paisa Seeluangsawat  <paisa@users.sf.net>

* th.po: Updated Thai translation.

20 years agoNew flag shortcuts_current_folder_is_volume.
Federico Mena Quintero [Tue, 2 Mar 2004 05:27:51 +0000 (05:27 +0000)]
New flag shortcuts_current_folder_is_volume.

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

* gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault): New
flag shortcuts_current_folder_is_volume.
(shortcuts_add_current_folder): Set
impl->shortcuts_current_folder_is_volume as appropriate.
(remove_current_folder_cb): Handle the flag.
(shortcuts_activate_item): Likewise.
(shortcuts_update_current_folder): Handle the
impl->shortcuts_current_folder_active flag; only add the folder if
it doesn't already exist in the list.
(shortcuts_model_create): Don't insert the current folder
separator here.
(shortcuts_add_current_folder): Insert the separator here.
(shortcut_find_position): Renamed from shortcut_exists(); now
returns an index.
(shortcuts_add_current_folder): Set the active item in the combo.

20 years agoUpdated - Federico
Federico Mena Quintero [Tue, 2 Mar 2004 03:16:57 +0000 (03:16 +0000)]
Updated - Federico

20 years agoEep, use gtk_tree_model_filter_convert_iter_to_child_iter(), not the
Federico Mena Quintero [Tue, 2 Mar 2004 03:06:07 +0000 (03:06 +0000)]
Eep, use gtk_tree_model_filter_convert_iter_to_child_iter(), not the

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

* gtk/gtkfilechooserdefault.c (shortcuts_row_activated_cb): Eep,
use gtk_tree_model_filter_convert_iter_to_child_iter(), not the reverse.

20 years agoDon't unref an old model; there isn't one. This was a leftover from when
Federico Mena Quintero [Tue, 2 Mar 2004 02:59:02 +0000 (02:59 +0000)]
Don't unref an old model; there isn't one. This was a leftover from when

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

* gtk/gtkfilechooserdefault.c (shortcuts_model_create): Don't
unref an old model; there isn't one.  This was a leftover from
when we recreated the model on every change.
(save_widgets_create): Create the save folder combo.
(shortcuts_model_create): Don't set the model on the tree view
here.
(gtk_file_chooser_default_constructor): Create the shortcuts model
here, before the rest of the widgets.
(shortcuts_list_create): Don't call shortcuts_model_create() here;
just set the model on the tree.
(save_folder_combo_create): New function, provided by Jonathan
Blandford.
(update_appearance): Set the sensitivity of the folder combo.
(shortcuts_activate_iter): New helper function; code moved from
shortcuts_row_activated_cb().
(shortcuts_activate_item): New helper function.
(shortcuts_row_activated_cb): Use shortcuts_activate_iter().
(ShortcutsIndex): Renamed SHORTCUTS_SEPARATOR to
SHORTCUTS_BOOKMARKS_SEPARATOR.
(struct _GtkFileChooserDefault): New field shortcuts_current_folder_active.
(shortcuts_insert_separator): Add a position argument.
(shortcuts_get_index): Handle the SHORTCUTS_CURRENT_FOLDER_SEPARATOR
and SHORTCUTS_CURRENT_FOLDER positions.
(shortcut_exists): Ignore the current folder row.
(struct _GtkFileChooserDefault): New field shortcuts_filter_model.
(shortcuts_model_create): Create a filter model for the shortcuts list.
(shortcuts_list_create): Set the model to the shortcuts_filter_model.
(remove_bookmark_button_clicked_cb): Use the shortcuts_filter_model.
(bookmarks_check_remove_sensitivity): Likewise.
(shortcuts_row_activated_cb): Likewise.
(gtk_file_chooser_default_set_current_folder): New function.
(gtk_file_chooser_default_set_current_folder): Update the current
folder row in the shortcuts list.

* gtk/gtkfilechooserwidget.c
(gtk_file_chooser_widget_constructor): Cast correctly for
_gtk_file_chooser_embed_set_delegate().

20 years agoAdd gtk_drag_source_set/get_target_list(). (#127499, based on patch from
Owen Taylor [Tue, 2 Mar 2004 00:45:33 +0000 (00:45 +0000)]
Add gtk_drag_source_set/get_target_list(). (#127499, based on patch from

Mon Mar  1 19:30:25 2004  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkdnd.[ch]: Add gtk_drag_source_set/get_target_list().
        (#127499, based on patch from Michael Natterer)

        * tests/testgtk.c: Fix bidi strings to display correctly
        with new auto-bidi.

20 years agoRemove the include of Xft.h, which is already dragged in via pangoxft.h.
Matthias Clasen [Tue, 2 Mar 2004 00:33:23 +0000 (00:33 +0000)]
Remove the include of Xft.h, which is already dragged in via pangoxft.h.

Tue Mar  2 01:34:40 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtksettings.c: Remove the include of Xft.h, which is already
dragged in via pangoxft.h.  (#135496, David Hawthorne)

20 years agoexpose gtk_bindings_activate_event(), changed callers.
Tim Janik [Tue, 2 Mar 2004 00:04:36 +0000 (00:04 +0000)]
expose gtk_bindings_activate_event(), changed callers.

Mon Mar  1 23:52:15 2004  Tim Janik  <timj@gtk.org>

        * gtk/gtkbindings.[hc]: expose gtk_bindings_activate_event(), changed
        callers.

        * gtk/gtkwindow.[hc]: added gtk_window_propagate_key_event() to expose
        the key event propagation mechanism used for focus widgets.
        (gtk_window_key_release_event): use the same key event propagation logic
        as gtk_window_key_press_event().

20 years agoX11 R6.4 specifies 15 events for the XInput extension. We want to see them
Simon Budig [Mon, 1 Mar 2004 23:59:36 +0000 (23:59 +0000)]
X11 R6.4 specifies 15 events for the XInput extension. We want to see them

2004-03-01  Simon Budig  <simon@gimp.org>

* gdk/x11/gdkinput-x11.c: X11 R6.4 specifies 15 events
for the XInput extension. We want to see them all.
We now get Proximity Out events again. Fixes bug #135320.

20 years agoUse case-insensitive comparison. Fixes XIM module loading on AIX.
Matthias Clasen [Mon, 1 Mar 2004 23:45:04 +0000 (23:45 +0000)]
Use case-insensitive comparison. Fixes XIM module loading on AIX.

Tue Mar  2 00:47:21 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkimmodule.c (match_locale): Use case-insensitive
comparison. Fixes XIM module loading on AIX.  (#131277)

20 years agoMake it work correctly when the child model is cleared completely.
Matthias Clasen [Mon, 1 Mar 2004 23:34:08 +0000 (23:34 +0000)]
Make it work correctly when the child model is cleared completely.

Mon Mar  1 23:59:18 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_deleted):
Make it work correctly when the child model is cleared
completely. (#121633)

20 years agoremoved accidentially committed char which broke the build.
Michael Natterer [Mon, 1 Mar 2004 22:06:04 +0000 (22:06 +0000)]
removed accidentially committed char which broke the build.

2004-03-01  Michael Natterer  <mitch@gimp.org>

* gtk/gtkfilechooserwidget.h: removed accidentially committed char
which broke the build.

20 years agoonly store the size if we can resize in that direction.
Jonathan Blandford [Mon, 1 Mar 2004 21:52:04 +0000 (21:52 +0000)]
only store the size if we can resize in that direction.

Mon Mar  1 16:51:21 2004  Jonathan Blandford  <jrb@redhat.com>

        * gtk/gtkfilechooserdialog.c
        (file_chooser_widget_default_size_changed): only store the size if
        we can resize in that direction.

20 years agonew function. Long name.
Jonathan Blandford [Mon, 1 Mar 2004 21:35:25 +0000 (21:35 +0000)]
new function. Long name.

Mon Mar  1 16:32:52 2004  Jonathan Blandford  <jrb@redhat.com>

        * gtk/gtkfilechooserwidget.c
        (gtk_file_chooser_widget_new_with_backend): new function.  Long
        name.

20 years agoUpdated Swedish translation.
Christian Rose [Mon, 1 Mar 2004 21:21:20 +0000 (21:21 +0000)]
Updated Swedish translation.

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

* sv.po: Updated Swedish translation.

20 years agoOnly stat when needed.
Morten Welinder [Mon, 1 Mar 2004 20:07:26 +0000 (20:07 +0000)]
Only stat when needed.

2004-03-01  Morten Welinder  <terra@gnome.org>

* gtk/gtkfilesystemunix.c (filename_get_info): Only stat when
needed.

20 years agoSimplify semantics and check for errors.
Morten Welinder [Mon, 1 Mar 2004 19:48:28 +0000 (19:48 +0000)]
Simplify semantics and check for errors.

2004-03-01  Morten Welinder  <terra@gnome.org>

* gtk/gtkfilesystemmodel.c (file_model_node_is_visible): Simplify
semantics and check for errors.

* gtk/gtkpathbar.c (gtk_path_bar_set_path): Propagate errors.

* gtk/gtkfilefilter.c (gtk_file_filter_filter): Don't crash if
display_name is NULL.

20 years agoBased on patch by Alex Larsson
Owen Taylor [Mon, 1 Mar 2004 19:40:47 +0000 (19:40 +0000)]
Based on patch by Alex Larsson

Mon Mar  1 14:16:52 2004  Owen Taylor  <otaylor@redhat.com>

        Based on patch by Alex Larsson

        * gtk/gtkfilechooserdefault.c: Use gtk-file-chooser-backend
        GtkSetting to set the backend if the app doesn't specify one.

        * gdk/x11/gdkevents-x11.c gtk/gtksettings.c:
        Add Gtk/FileChooserBackend.

20 years ago- exit with $? instead of 1 in case of failure - exit with $? if
Tim Janik [Mon, 1 Mar 2004 19:33:59 +0000 (19:33 +0000)]
- exit with $? instead of 1 in case of failure - exit with $? if

Mon Mar  1 20:32:06 2004  Tim Janik  <timj@gtk.org>

        * autogen.sh:
        - exit with $? instead of 1 in case of failure
        - exit with $? if ./configure failed
          (that's so autogen.sh && make lines work)
        - removed --enable-gtk-doc option
        - added $AUTOGEN_CONFIGURE_ARGS

20 years ago- exit with $? instead of 1 in case of failure
Tim Janik [Mon, 1 Mar 2004 18:29:15 +0000 (18:29 +0000)]
- exit with $? instead of 1 in case of failure
- exit with $? if ./configure failed
  (that's so autogen.sh && make lines work)
- removed --enable-gtk-doc option
- added $AUTOGEN_CONFIGURE_ARGS

20 years agoTest for filter_info.uri correctly. Fixes #135379, pointed out by Damon
Federico Mena Quintero [Mon, 1 Mar 2004 18:24:06 +0000 (18:24 +0000)]
Test for filter_info.uri correctly. Fixes #135379, pointed out by Damon

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

* gtk/gtkfilechooserdefault.c (list_model_filter_func): Test for
filter_info.uri correctly.  Fixes #135379, pointed out by Damon
Chaplin.
(shortcuts_get_index): Compute the bookmarks index correctly.
Fixes #135714, pointed out by Damon Chaplin.
(gtk_file_chooser_default_list_shortcut_folders): Handle the case
with no shortcuts, and don't run off the end of the list if there
are no bookmarks and their separator.  Fixes #135572, patch by
Damon Chaplin.

20 years agoHandle dynamically resolved bidi direction when drawing the cursor.
Owen Taylor [Mon, 1 Mar 2004 18:10:40 +0000 (18:10 +0000)]
Handle dynamically resolved bidi direction when drawing the cursor.

Mon Mar  1 12:23:06 2004  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtklabel.c: Handle dynamically resolved bidi direction
        when drawing the cursor. (#118541)

        * gtk/gtkentry.c (get_better_cursor_x): Use entry->resolved_dir;

        * gtk/gtkentry.c (draw_insertion_cursor): Fix up
        some confusion in parameter ordering.

20 years agoHandle shrinking/growing.
Jonathan Blandford [Mon, 1 Mar 2004 17:08:19 +0000 (17:08 +0000)]
Handle shrinking/growing.

Mon Mar  1 12:05:54 2004  Jonathan Blandford  <jrb@redhat.com>

        * gtk/gtkfilechooserdialog.c
        (file_chooser_widget_resizable_hints_changed): Handle
        shrinking/growing.

20 years agoremoved underscores from calls to gtk_text_btree_resolve_bidi().
Michael Natterer [Mon, 1 Mar 2004 16:25:45 +0000 (16:25 +0000)]
removed underscores from calls to gtk_text_btree_resolve_bidi().

2004-03-01  Michael Natterer  <mitch@gimp.org>

* gtk/gtktextbtree.c: removed underscores from calls to
gtk_text_btree_resolve_bidi().

20 years agoPatch from Dov Grobgeld to implement auto-bidi-direction for GtkTextView
Owen Taylor [Mon, 1 Mar 2004 16:07:45 +0000 (16:07 +0000)]
Patch from Dov Grobgeld to implement auto-bidi-direction for GtkTextView

Mon Mar  1 10:41:27 2004  Owen Taylor  <otaylor@redhat.com>

        Patch from Dov Grobgeld to implement auto-bidi-direction
        for GtkTextView (#118543)

        * gtk/gtktextbtree.[ch]: Resolve bidi base direction
        for each line by propagating backwards/forwards as
        necessary.

        * gtk/gtktextlayout.[ch] gtk/gtktextview.c: Set the
        bidi base direction for the ;ine with the cursor from
        the keyboard direction. Add gtk_text_layout_set_keyboard_direction().

Mon Mar  1 10:31:11 2004  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkentry.[ch]: Implement auto-bidi-direction,
        based on a patch from Dov Grobgeld. (#118540)

20 years agoImplement auto-bidi-direction, based on a patch from Dov Grobgeld.
Owen Taylor [Mon, 1 Mar 2004 15:40:51 +0000 (15:40 +0000)]
Implement auto-bidi-direction, based on a patch from Dov Grobgeld.

Mon Mar  1 10:31:11 2004  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkentry.c: Implement auto-bidi-direction,
        based on a patch from Dov Grobgeld. (#118540)

20 years agoUpdate Czech translation
Miloslav Trmac [Mon, 1 Mar 2004 15:23:10 +0000 (15:23 +0000)]
Update Czech translation

20 years agoUpdated Albanian translation
Laurent Dhima [Mon, 1 Mar 2004 13:28:51 +0000 (13:28 +0000)]
Updated Albanian translation

* sq.po: Updated Albanian translation

20 years agoUpdated
Laurent Dhima [Mon, 1 Mar 2004 13:27:30 +0000 (13:27 +0000)]
Updated

20 years agoUpdated Serbian translations.
Danilo Šegan [Mon, 1 Mar 2004 12:42:34 +0000 (12:42 +0000)]
Updated Serbian translations.

20 years agoUpdated Korean translation.
Changwoo Ryu [Mon, 1 Mar 2004 08:17:22 +0000 (08:17 +0000)]
Updated Korean translation.

* ko.po: Updated Korean translation.

20 years agoUpdated Swedish translation.
Christian Rose [Mon, 1 Mar 2004 07:51:21 +0000 (07:51 +0000)]
Updated Swedish translation.

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

* sv.po: Updated Swedish translation.

20 years agoUpdated Canadian English translation.
Adam Weinberger [Mon, 1 Mar 2004 04:16:54 +0000 (04:16 +0000)]
Updated Canadian English translation.

* en_CA.po: Updated Canadian English translation.

20 years agoAdd gtk_entry_set_alignment() to allow right-aligned entries and a
Owen Taylor [Mon, 1 Mar 2004 03:30:27 +0000 (03:30 +0000)]
Add gtk_entry_set_alignment() to allow right-aligned entries and a

Sun Feb 29 22:01:49 2004  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkentry.[ch]: Add gtk_entry_set_alignment()
        to allow right-aligned entries and a "xalign"
        property. (#59799, patch from Egon Andersen and
        Steffen Gutmann)

        * gtk/gtkmisc.c (gtk_misc_class_init): Use improved
        xalign property description here too.

        * tests/testtext.c: UNDERLINE_ERROR test addition
        from Nicolas Settons' patch.

20 years agoUpdated Serbian translation.
Danilo Šegan [Mon, 1 Mar 2004 02:23:41 +0000 (02:23 +0000)]
Updated Serbian translation.

20 years agoexport gtk_window_activate_key() (Request from Tim Janik)
Owen Taylor [Mon, 1 Mar 2004 01:41:17 +0000 (01:41 +0000)]
export gtk_window_activate_key() (Request from Tim Janik)

Sun Feb 29 20:34:06 2004  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkwindow.[ch] gtk/gtkmenushell.c: export
        gtk_window_activate_key() (Request from Tim Janik)

20 years agoUpdated Serbian translation.
Danilo Šegan [Mon, 1 Mar 2004 00:32:28 +0000 (00:32 +0000)]
Updated Serbian translation.

20 years agoMake DND operations within a buffer move the dragged text instead of
Matthias Clasen [Mon, 1 Mar 2004 00:01:46 +0000 (00:01 +0000)]
Make DND operations within a buffer move the dragged text instead of

Mon Mar  1 01:00:11 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtktextview.c (gtk_text_view_drag_data_received):
Make DND operations within a buffer move the dragged
text instead of copying it; also make DND operations
a single user action for undo purposes.  (#135191,
#93139, reported by Tommi Komulainen, patch by Paolo
Borelly and Paolo Maggi)

20 years agoews for 2.3.5.
Matthias Clasen [Sun, 29 Feb 2004 23:47:20 +0000 (23:47 +0000)]
ews for 2.3.5.

20 years agoFix the Shift-Tab support to go backwards.
Matthias Clasen [Sun, 29 Feb 2004 22:22:12 +0000 (22:22 +0000)]
Fix the Shift-Tab support to go backwards.

Sun Feb 29 23:25:35 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkentry.c (gtk_entry_completion_key_press):
Fix the Shift-Tab support to go backwards.

20 years agoUpdated French translation.
Christophe Merlet [Sun, 29 Feb 2004 21:44:52 +0000 (21:44 +0000)]
Updated French translation.

20 years agoFix capitalization to match other style properties.
Owen Taylor [Sun, 29 Feb 2004 21:43:14 +0000 (21:43 +0000)]
Fix capitalization to match other style properties.

Sun Feb 29 16:40:40 2004  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtktextview.c (gtk_text_view_class_init): Fix
        capitalization to match other style properties.

20 years agoFix a typo in property string.
Owen Taylor [Sun, 29 Feb 2004 21:41:23 +0000 (21:41 +0000)]
Fix a typo in property string.

Sun Feb 29 16:38:53 2004  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtktextview.c (gtk_text_view_class_init): Fix a
        typo in property string.

20 years agoImplement PANGO_UNDERLINE_ERROR (Based on a patch by Nicolas Setton,
Owen Taylor [Sun, 29 Feb 2004 21:39:18 +0000 (21:39 +0000)]
Implement PANGO_UNDERLINE_ERROR (Based on a patch by Nicolas Setton,

Sun Feb 29 16:35:23 2004  Owen Taylor  <otaylor@redhat.com>

        * gdk/gdkpango.c gtk/gtktextdisplay.c: Implement
        PANGO_UNDERLINE_ERROR (Based on a patch by
        Nicolas Setton, #114237)

        * gtk/gtktextview.c: Add a error-underline-color style
        property.

20 years agoUpdated Swedish translation.
Christian Rose [Sun, 29 Feb 2004 19:37:28 +0000 (19:37 +0000)]
Updated Swedish translation.

2004-02-29  Christian Rose  <menthos@menthos.com>

* sv.po: Updated Swedish translation.

20 years agoUpdated Italian translation.
Alessio Frusciante [Sun, 29 Feb 2004 18:32:00 +0000 (18:32 +0000)]
Updated Italian translation.

20 years agoNew internal function returning a good step value for the mouse wheel. For
Soeren Sandmann [Sun, 29 Feb 2004 18:21:57 +0000 (18:21 +0000)]
New internal function returning a good step value for the mouse wheel. For

Sun Feb 29 19:04:33 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtkrange.c (_gtk_range_get_wheel_delta): New internal
function returning a good step value for the mouse wheel. For
scrollbars, base the step on page_size^(2/3), for other ranges,
use 2 * step_increment.

* gtk/gtkrange.c (gtk_range_scroll_event): Use it here ...

* gtk/gtkscrolledwindow.c (gtk_scrolled_window_scroll_event):
... and here.

* gtk/gtkmenu.c (gtk_menu_leave_notify): Fix a warning.

20 years agoUpdated Arabic translation.
Arafat medini [Sun, 29 Feb 2004 11:30:09 +0000 (11:30 +0000)]
Updated Arabic translation.

2004-02-29  Arafat medini  <lumina@silverpen.de>

* ar.po: Updated Arabic translation.

20 years agoAdd g_return_if_fail() (_gtk_file_chooser_embed_get_resizable_hints): Add
Jonathan Blandford [Sun, 29 Feb 2004 07:55:24 +0000 (07:55 +0000)]
Add g_return_if_fail() (_gtk_file_chooser_embed_get_resizable_hints): Add

Sun Feb 29 01:51:27 2004  Jonathan Blandford  <jrb@gnome.org>

        * gtk/gtkfilechooserembed.c
        (_gtk_file_chooser_embed_get_default_size):  Add g_return_if_fail()
        (_gtk_file_chooser_embed_get_resizable_hints): Add g_return_if_fail()

        * gtk/gtkfilechooserdialog.c
        (file_chooser_widget_default_size_changed): Get the correct
        initial size for the dialog.  Also, don't bother with
        gtk_window_set_default_size().  It's not really meaningful.

        * gtk/gtkfilechooserdefault.c
        (gtk_file_chooser_default_get_default_size): Get the correct
        spacing for the preview_widget
        (update_preview_widget_visibility): Clear widget field after we
        destroy it.

20 years agoUpdated zh_CN translation
Funda Wang [Sun, 29 Feb 2004 06:51:34 +0000 (06:51 +0000)]
Updated zh_CN translation

20 years agoHandle GTK_FILE_CHOOSER_PROP_USE_PREVIEW_LABEL.
Federico Mena Quintero [Sun, 29 Feb 2004 06:35:15 +0000 (06:35 +0000)]
Handle GTK_FILE_CHOOSER_PROP_USE_PREVIEW_LABEL.

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

* gtk/gtkfilechooserdefault.c
(gtk_file_chooser_default_set_property): Handle
GTK_FILE_CHOOSER_PROP_USE_PREVIEW_LABEL.
(gtk_file_chooser_default_get_property): Likewise.
(struct _GtkFileChooserDefault): Added fields for preview_label,
use_preview_label, preview_display_name, preview_box.  Removed
preview_frame.
(set_preview_widget): Reorder the widget in relation to the label.
(update_preview_widget_visibility): Create or destroy the preview
label.
(check_preview_change): Update impl->preview_display_name and the
label.
(find_good_size_from_style): Use the preview_box.
(gtk_file_chooser_default_finalize): Free
impl->preview_display_name.
(gtk_file_chooser_default_init): Initialize
impl->use_preview_label.

* gtk/gtkfilechooser.c (gtk_file_chooser_class_init): Add a
"use-preview-label" property.
(gtk_file_chooser_set_use_preview_label): New function.  This sets
whether one wants the file chooser to display a stock label with
the previewed filename.  Apps that do really fancy previews can
turn this off and draw the name themselves.
(gtk_file_chooser_get_use_preview_label): New function.
(gtk_file_chooser_get_preview_widget_active): Documentation fix.

* gtk/gtkfilechooserutils.h (GtkFileChooserProp): Add a
GTK_FILE_CHOOSER_PROP_USE_PREVIEW_LABEL value.

* gtk/gtkfilechooserutils.c
(_gtk_file_chooser_install_properties): Override the
"use-preview-label" property.

20 years agoMake Tab and Shift-Tab work when the completion popup is shown.
Matthias Clasen [Sun, 29 Feb 2004 03:41:42 +0000 (03:41 +0000)]
Make Tab and Shift-Tab work when the completion popup is shown.

Sun Feb 29 04:43:29 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkentry.c (gtk_entry_completion_key_press): Make Tab and
Shift-Tab work when the completion popup is shown.

20 years agoUse "Name" for the title of the filename column. (create_file_list):
Federico Mena Quintero [Sun, 29 Feb 2004 02:59:05 +0000 (02:59 +0000)]
Use "Name" for the title of the filename column. (create_file_list):

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

* gtk/gtkfilechooserdefault.c (create_folder_tree): Use "Name" for
the title of the filename column.
(create_file_list): Likewise.