]> Pileus Git - ~andy/gtk/log
~andy/gtk
20 years agoPlug leak.
Morten Welinder [Thu, 11 Mar 2004 21:55:59 +0000 (21:55 +0000)]
Plug leak.

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

* gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): Plug leak.

20 years agoFix attach/attach->parent type. (#136919, Tim Mooney)
Owen Taylor [Thu, 11 Mar 2004 21:38:21 +0000 (21:38 +0000)]
Fix attach/attach->parent type. (#136919, Tim Mooney)

Thu Mar 11 16:28:15 2004  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkmenu.c (gtk_menu_get_toplevel): Fix attach/attach->parent
        type. (#136919, Tim Mooney)

20 years agorevert earlier change to insert_path so that we test that the directory
Jonathan Blandford [Thu, 11 Mar 2004 21:23:16 +0000 (21:23 +0000)]
revert earlier change to insert_path so that we test that the directory

Thu Mar 11 16:18:51 2004  Jonathan Blandford  <jrb@redhat.com>

        * gtk/gtkfilechooserdefault.c (shortcuts_insert_path): revert
        earlier change to insert_path so that we test that the directory
        exists.

        * gtk/gtkfilechooserdialog.c
        (gtk_file_chooser_dialog_constructor): move focus.

20 years agoUse the same logic as GtkEntry when calculating border width. (#116368,
Matthias Clasen [Thu, 11 Mar 2004 21:10:49 +0000 (21:10 +0000)]
Use the same logic as GtkEntry when calculating border width. (#116368,

Thu Mar 11 22:12:14 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkspinbutton.c (gtk_spin_button_size_request): Use the same
logic as GtkEntry when calculating border width.  (#116368, reported
by Morten Welinder)

20 years agoUse gtk_entry_set_width_chars() rather than gtk_widget_set_size_request().
Owen Taylor [Thu, 11 Mar 2004 21:06:16 +0000 (21:06 +0000)]
Use gtk_entry_set_width_chars() rather than gtk_widget_set_size_request().

Thu Mar 11 15:59:05 2004  Owen Taylor  <otaylor@redhat.com>

        * tests/testgtk.c (create_spins): Use gtk_entry_set_width_chars()
        rather than gtk_widget_set_size_request().

20 years agoCorrected one string.
Alessio Frusciante [Thu, 11 Mar 2004 20:57:03 +0000 (20:57 +0000)]
Corrected one string.

20 years ago0.5.4
Raymond Penners [Thu, 11 Mar 2004 20:29:13 +0000 (20:29 +0000)]
0.5.4

20 years agoNew function, copied from gtkpathbar.c.
Federico Mena Quintero [Thu, 11 Mar 2004 20:03:38 +0000 (20:03 +0000)]
New function, copied from gtkpathbar.c.

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

* gtk/gtkfilechooserdefault.c (remove_settings_signal): New
function, copied from gtkpathbar.c.
(gtk_file_chooser_default_dispose): Use remove_settings_signal()
rather than our own code.
(gtk_file_chooser_default_screen_changed): Use
remove_settings_signal(); this should handle per-screen settings
correctly.

20 years agoFix a missing return value.
Owen Taylor [Thu, 11 Mar 2004 19:10:09 +0000 (19:10 +0000)]
Fix a missing return value.

Thu Mar 11 14:07:18 2004  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtklabel.c (gtk_label_focus): Fix a missing return
        value.

20 years agoBack out the put-labels-into-the-standard-focus-chain patches from bug
Owen Taylor [Thu, 11 Mar 2004 19:07:45 +0000 (19:07 +0000)]
Back out the put-labels-into-the-standard-focus-chain patches from bug

Thu Mar 11 13:58:24 2004  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkmessagedialog.c gtk/gtklabel.c: Back out the
        put-labels-into-the-standard-focus-chain patches
        from bug #59707.

        * gtk/gtklabel.c (gtk_label_focus): Only put the
        label in the tab chain when the control key is pressed.

20 years agoUse a single OK button, not a Close button, as per the HIG.
Federico Mena Quintero [Thu, 11 Mar 2004 18:48:46 +0000 (18:48 +0000)]
Use a single OK button, not a Close button, as per the HIG.

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

* gtk/gtkfilechooserdefault.c (error_message_with_parent): Use a
single OK button, not a Close button, as per the HIG.

* gtk/gtkfilesel.c (gtk_file_selection_fileop_error): Likewise.

20 years agoOops, initialize "action" before jumping. Fixes #136900.
Federico Mena Quintero [Thu, 11 Mar 2004 18:13:51 +0000 (18:13 +0000)]
Oops, initialize "action" before jumping. Fixes #136900.

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

* gtk/gtkfilechooserdefault.c (shortcuts_drag_motion_cb): Oops,
initialize "action" before jumping.  Fixes #136900.

20 years agodon't overwrite application properties. Fixes bug #136802.
Mark McLoughlin [Thu, 11 Mar 2004 17:54:19 +0000 (17:54 +0000)]
don't overwrite application properties. Fixes bug #136802.

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

        * gtk/gtksettings.c: (apply_queued_setting): don't overwrite
        application properties. Fixes bug #136802.

20 years agoAdded call to gtk_text_layout_update_cursor_line() to solve in problem of
Dov Grobgeld [Thu, 11 Mar 2004 15:42:49 +0000 (15:42 +0000)]
Added call to gtk_text_layout_update_cursor_line() to solve in problem of

2004-03-11  Dov Grobgeld  <dov@imagic.weizmann.ac.il>

        * gtk/gtktextlayer.c: (gtk_text_layout_set_buffer): Added
        call to gtk_text_layout_update_cursor_line() to solve in
        problem of switching keyboard direction at widget creation:
        bug #136680

20 years agoRemove stray 'return' statement. (#136855, David L. Cooper II)
Owen Taylor [Thu, 11 Mar 2004 15:32:01 +0000 (15:32 +0000)]
Remove stray 'return' statement. (#136855, David L. Cooper II)

Thu Mar 11 10:28:30 2004  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkfilechooserembed.c (delegate_initial_focus): Remove
        stray 'return' statement. (#136855, David L. Cooper II)

20 years agoTranslation updated by Tino Meinen.
Vincent van Adrighem [Thu, 11 Mar 2004 15:25:50 +0000 (15:25 +0000)]
Translation updated by Tino Meinen.

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

* nl.po: Translation updated by Tino Meinen.

20 years agoUpdate Czech translation
Miloslav Trmac [Thu, 11 Mar 2004 14:57:34 +0000 (14:57 +0000)]
Update Czech translation

20 years agoru.po: Updated Russian translation from Russian team <gnome-cyr@gnome.org>.
Dmitry Mastrukov [Thu, 11 Mar 2004 13:35:33 +0000 (13:35 +0000)]
ru.po: Updated Russian translation from Russian team <gnome-cyr@gnome.org>.

20 years agoUse the PRELIGHT fg color for drawing the expander when prelit. Fixes
Mark McLoughlin [Thu, 11 Mar 2004 08:19:34 +0000 (08:19 +0000)]
Use the PRELIGHT fg color for drawing the expander when prelit. Fixes

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

        * gtk/gtkstyle.c: (gtk_default_draw_expander): Use the PRELIGHT
        fg color for drawing the expander when prelit. Fixes problem
        with the HighContrast theme: bug #136789.

20 years agoFix #135912 and #135913.
Federico Mena Quintero [Thu, 11 Mar 2004 06:24:15 +0000 (06:24 +0000)]
Fix #135912 and #135913.

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

Fix #135912 and #135913.

* gtk/gtkfilechooserdefault.c
(shortcuts_filter_model_row_draggable): Implement.
(shortcuts_model_filter_new): New function, create a
ShortcutsModelFilterClass derived from GtkTreeModelFilter, so that
we can implement our own DnD interface methods.
(shortcuts_model_create): Use shortcuts_model_filter_new().
(shortcuts_list_create): Enable the shortcuts list as a drag
source.
(file_list_source_targets): Renamed from shortcuts_targets.
(shortcuts_list_create): Change the options for
gtk_drag_dest_set().  Connect to more drag signals so that we can
implement drops by hand.
(shortcuts_drag_data_delete_cb): New handler; just stop the emission.
(shortcuts_drag_motion_cb): New handler; validate the drop.
(shortcuts_drag_leave_cb): New handler; unset the drag_dest_row.
(shortcuts_drag_drop_cb): New handler; just stop the emission and
remove the idle handler for the drag cursor.
(shortcuts_add_bookmark_from_path): Add a position argument,
return a boolean success code.
(shortcuts_drag_data_received_cb): Handle two cases:  1) Insert
the bookmarks at the proper position, rather than always appending
them to the list; 2) alternatively, reorder the bookmarks.
(struct _GtkFileChooserDefault): New field shortcuts_drag_outside.
(shortcuts_drag_motion_cb): Turn off impl->shortcuts_drag_outside.
(shortcuts_drag_leave_cb): Turn on impl->shortcuts_drag_outside in
an idle handler.
(shortcuts_drag_end_cb): New handler; remove the selected bookmark.

20 years agoup the width of the entry a tad.
Jonathan Blandford [Thu, 11 Mar 2004 06:08:28 +0000 (06:08 +0000)]
up the width of the entry a tad.

Thu Mar 11 01:08:25 2004  Jonathan Blandford  <jrb@gnome.org>

        * gtk/gtkfilechooserdefault.c (location_entry_create): up the
        width of the entry a tad.

        * gtk/gtkfilechooserentry.c (gtk_file_chooser_entry_init): use
        gtk_entry_completion_selection_changed.  Also, unref the
        completion as we were leaking a reference to it.

20 years agoSync from upstream
Jonathan Blandford [Thu, 11 Mar 2004 03:48:26 +0000 (03:48 +0000)]
Sync from upstream

Wed Mar 10 22:48:15 2004  Jonathan Blandford  <jrb@gnome.org>

        * Sync from upstream

20 years agoRemove spurious semicolon. Thanks to Kjartan Maraas for pointing it out.
Federico Mena Quintero [Thu, 11 Mar 2004 01:16:09 +0000 (01:16 +0000)]
Remove spurious semicolon. Thanks to Kjartan Maraas for pointing it out.

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

* gtk/gtkstyle.c (draw_dot): Remove spurious semicolon.  Thanks to
Kjartan Maraas for pointing it out.

20 years agoSet the background on the action view cell renderer here, not in init, so
Matthias Clasen [Wed, 10 Mar 2004 22:42:48 +0000 (22:42 +0000)]
Set the background on the action view cell renderer here, not in init, so

Wed Mar 10 23:40:15 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkentrycompletion.c (_gtk_entry_completion_popup): Set the background
on the action view cell renderer here, not in init, so that a) we catch
style changes, and b) we get the real style, not the default one.
Partial fix for #127648, reported by Dave Bordoley.

20 years agoSet also the pointer button bits. (#136636, Dave Neary)
Tor Lillqvist [Wed, 10 Mar 2004 22:20:36 +0000 (22:20 +0000)]
Set also the pointer button bits. (#136636, Dave Neary)

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

* gdk/win32/gdkevents-win32.c (build_key_event_state): Set also
the pointer button bits. (#136636, Dave Neary)

* gdk/win32/gdkwindow-win32.c (show_window_internal): Show
transparent (input only) windows using SetWindowPos(). (#132331,
John Ehresman)

(gdk_window_set_type_hint): For splash screens, remove the resize
handles, menu, and minimize/maximize/close buttons. (#132896)

20 years agoKeep the cell_list in a consistent state while iterating over it, since
Matthias Clasen [Wed, 10 Mar 2004 21:28:10 +0000 (21:28 +0000)]
Keep the cell_list in a consistent state while iterating over it, since

Wed Mar 10 22:30:23 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcellview.c (gtk_cell_view_cell_layout_clear): Keep the
cell_list in a consistent state while iterating over it, since
clear_attributes() also iterates over it.  (#136585, Morten Welinder)

20 years agoTranslation updated.
Mətin Əmirov [Wed, 10 Mar 2004 20:39:13 +0000 (20:39 +0000)]
Translation updated.

2004-03-10  Mətin Əmirov  <metin@karegen.com>

* az.po: Translation updated.

20 years agodon't propagate the expose to the label. The expose handler for
Mark McLoughlin [Wed, 10 Mar 2004 19:11:59 +0000 (19:11 +0000)]
don't propagate the expose to the label. The expose handler for

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

        * gtk/gtkexpander.c: (gtk_expander_expose): don't propagate
        the expose to the label. The expose handler for GtkContainer
        already does that. Fixes bug #136719. Reported by Dennis
        Cranston, exact cause nailed down by Owen.

20 years agoUse an untranslatable "%x" for dates, rather than a custom format. Fixes
Federico Mena Quintero [Wed, 10 Mar 2004 18:35:07 +0000 (18:35 +0000)]
Use an untranslatable "%x" for dates, rather than a custom format. Fixes

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

* gtk/gtkfilechooserdefault.c (list_mtime_data_func): Use an
untranslatable "%x" for dates, rather than a custom format.  Fixes
#136357.

20 years agoAdd comment.
Morten Welinder [Wed, 10 Mar 2004 17:58:56 +0000 (17:58 +0000)]
Add comment.

20 years agoTest validity of path here. (shortcuts_insert_path): Don't check here.
Morten Welinder [Wed, 10 Mar 2004 17:55:16 +0000 (17:55 +0000)]
Test validity of path here. (shortcuts_insert_path): Don't check here.

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

* gtk/gtkfilechooserdefault.c
(gtk_file_chooser_default_add_shortcut_folder): Test validity of
path here.
(shortcuts_insert_path): Don't check here.
(get_file_info): Barf if name-only fails.

20 years agoUpdated Ukrainian translation
Maxim Dziumanenko [Wed, 10 Mar 2004 16:39:25 +0000 (16:39 +0000)]
Updated Ukrainian translation

2004-03-10 Maxim Dziumanenko <mvd@mylinux.com.ua>

* Updated Ukrainian translation

20 years agobump version #
cinamod [Wed, 10 Mar 2004 15:20:45 +0000 (15:20 +0000)]
bump version #

20 years agoAdd support for --multiple.
Morten Welinder [Wed, 10 Mar 2004 14:56:28 +0000 (14:56 +0000)]
Add support for --multiple.

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

* tests/testfilechooser.c (main): Add support for --multiple.

20 years agoUpdated Ukrainian translation
Maxim Dziumanenko [Wed, 10 Mar 2004 12:47:43 +0000 (12:47 +0000)]
Updated Ukrainian translation

2004-03-10  Maxim Dziumanenko <mvd@mylinux.com.ua>

* Updated Ukrainian translation

20 years agoUpdated Catalan translation.
Jordi Mallach [Wed, 10 Mar 2004 12:24:27 +0000 (12:24 +0000)]
Updated Catalan translation.

20 years agoSupport changes in icon themes.
Jonathan Blandford [Wed, 10 Mar 2004 07:42:20 +0000 (07:42 +0000)]
Support changes in icon themes.

Wed Mar 10 02:41:05 2004  Jonathan Blandford  <jrb@gnome.org>

        * gtk/gtkpathbar.c: (gtk_path_bar_init), (gtk_path_bar_class_init),
        (remove_settings_signal), (gtk_path_bar_dispose),
        (gtk_path_bar_style_set), (gtk_path_bar_screen_changed),
        (gtk_path_bar_scroll_up), (reload_icons), (change_icon_theme),
        (settings_notify_cb), (gtk_path_bar_check_icon_theme),
        (get_button_image), (gtk_path_bar_update_button_appearance),
        (make_directory_button), (gtk_path_bar_check_parent_path): Support
        changes in icon themes.

        * gtk/gtkpathbar.h: add two elements

        * tests/testfilechooser.c: (main): use gnome-vfs method again to
        get more testing.

20 years agoadded 'Desktop' to the list of volumes. We don't have any more untranlated
Jonathan Blandford [Wed, 10 Mar 2004 06:20:48 +0000 (06:20 +0000)]
added 'Desktop' to the list of volumes. We don't have any more untranlated

Wed Mar 10 01:17:40 2004  Jonathan Blandford  <jrb@gnome.org>

        * gtk/gtkpathbar.c: added 'Desktop' to the list of volumes.  We
        don't have any more untranlated strings in the dialog.

20 years agouse uri instead of the pathname for UTF-8 safety.
Jonathan Blandford [Wed, 10 Mar 2004 05:24:23 +0000 (05:24 +0000)]
use uri instead of the pathname for UTF-8 safety.

Wed Mar 10 00:24:24 2004  Jonathan Blandford  <jrb@gnome.org>

        * gtk/gtkfilechooserdefault.c (error_dialog): use uri instead of
        the pathname for UTF-8 safety.

20 years agoAlways check to see if the shortcuts exists. We don't want to put invalid
Jonathan Blandford [Wed, 10 Mar 2004 05:19:29 +0000 (05:19 +0000)]
Always check to see if the shortcuts exists. We don't want to put invalid

Wed Mar 10 00:10:47 2004  Jonathan Blandford  <jrb@gnome.org>

        * gtk/gtkfilechooserdefault.c (shortcuts_insert_path): Always
        check to see if the shortcuts exists.  We don't want to put
        invalid dirs in the shortcuts pane.

20 years agoremove unneeded shortuts_swin;
Jonathan Blandford [Wed, 10 Mar 2004 03:43:58 +0000 (03:43 +0000)]
remove unneeded shortuts_swin;

Tue Mar  9 16:40:34 2004  Jonathan Blandford  <jrb@gnome.org>

        * gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault):
        remove unneeded shortuts_swin;

20 years agoFix #136614 in a better way:
Matthias Clasen [Wed, 10 Mar 2004 00:46:51 +0000 (00:46 +0000)]
Fix #136614 in a better way:

Wed Mar 10 01:49:27 2004  Matthias Clasen  <maclas@gmx.de>

Fix #136614 in a better way:

* gtk/gtkoptionmenu.c (gtk_option_menu_init): Undo the last change.
* gtk/gtkbutton.c (struct _GtkButtonPrivate): Add a flag, align_set.
* gtk/gtkbutton.c (gtk_button_init): Initialize align_set to 0.
* gtk/gtkbutton.c (maybe_set_alignment): Rework to only set the
alignment if priv->align_set is set.
* gtk/gtkbutton.c (gtk_button_set_alignment): Set align_set to 1.

20 years agoPlace grid mode popups left aligned, not right aligned.
Matthias Clasen [Wed, 10 Mar 2004 00:20:19 +0000 (00:20 +0000)]
Place grid mode popups left aligned, not right aligned.

Wed Mar 10 01:21:05 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcombobox.c (gtk_combo_box_menu_position_below): Place
grid mode popups left aligned, not right aligned.

20 years agoUpdated Portuguese translation.
Duarte Loreto [Tue, 9 Mar 2004 23:52:36 +0000 (23:52 +0000)]
Updated Portuguese translation.

2004-03-10  Duarte Loreto <happyguy_pt@hotmail.com>

* pt.po: Updated Portuguese translation.

20 years agoUpdated Albanian translation
Laurent Dhima [Tue, 9 Mar 2004 22:58:47 +0000 (22:58 +0000)]
Updated Albanian translation

* sq.po: Updated Albanian translation

20 years agoUpdated
Laurent Dhima [Tue, 9 Mar 2004 22:57:00 +0000 (22:57 +0000)]
Updated

20 years agoUpdated spansih translation.
Francisco Javier F. Serrador [Tue, 9 Mar 2004 22:16:28 +0000 (22:16 +0000)]
Updated spansih translation.

2004-03-09  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

* es.po: Updated spansih translation.

20 years agoAvoid centering the label that is reparented from the menuitem. (#136614,
Matthias Clasen [Tue, 9 Mar 2004 22:14:30 +0000 (22:14 +0000)]
Avoid centering the label that is reparented from the menuitem. (#136614,

Tue Mar  9 23:09:46 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkoptionmenu.c (gtk_option_menu_init): Avoid centering
the label that is reparented from the menuitem.  (#136614, Dennis
Cranston)

20 years agoUpdated Italian translation.
Alessio Frusciante [Tue, 9 Mar 2004 22:01:53 +0000 (22:01 +0000)]
Updated Italian translation.

20 years agoEncapsulate all of the information about a button in a struct instead of
Jonathan Blandford [Tue, 9 Mar 2004 21:29:59 +0000 (21:29 +0000)]
Encapsulate all of the information about a button in a struct instead of

Tue Mar  9 16:19:09 2004  Jonathan Blandford  <jrb@gnome.org>

        * gtk/gtkpathbar.c (struct _ButtonData): Encapsulate all of the
        information about a button in a struct instead of ugly
        g_object_set_data.
        (gtk_path_bar_size_request): Use ButtonData.
        (gtk_path_bar_update_slider_buttons): ditto
        (gtk_path_bar_size_allocate): ditto
        (gtk_path_bar_remove): ditto
        (gtk_path_bar_forall): ditto
        (gtk_path_bar_scroll_down): ditto
        (gtk_path_bar_clear_buttons): ditto
        (button_clicked_cb): ditto.  Also, add an ignore_changes variable
        (button_data_free): destroy ButtonData
        (update_button_appearance): Use ButtonData
        (make_directory_button): ditto
        (gtk_path_bar_check_parent_path): ditto
        (_gtk_path_bar_set_path): ditto

20 years agoFix #136533.
Federico Mena Quintero [Tue, 9 Mar 2004 21:22:42 +0000 (21:22 +0000)]
Fix #136533.

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

Fix #136533.

* gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): New
function.
(check_icon_theme): New helper function, installs a handler for
changes in the icon theme.
(gtk_file_chooser_default_style_set): Use check_icon_theme().
(gtk_file_chooser_default_screen_changed): Use check_icon_theme().
(gtk_file_chooser_default_dispose): Disconnect from GtkSettings.
(change_icon_theme): New function, updates impl->icon_size and
reloads the icons.
(struct _GtkFileChooserDefault): New field settings_signal_id.
(struct _GtkFileChooserDefault): New field icon_size.
(shortcuts_insert_path): Use impl->icon_size.
(list_icon_data_func): Likewise.

20 years agoUpdate Czech translation
Miloslav Trmac [Tue, 9 Mar 2004 20:15:49 +0000 (20:15 +0000)]
Update Czech translation

20 years agoUpdated Danish translation.
Ole Laursen [Tue, 9 Mar 2004 19:56:44 +0000 (19:56 +0000)]
Updated Danish translation.

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

* da.po: Updated Danish translation.

20 years agoHandle the returned parent_path being NULL. Fixes #136662.
Federico Mena Quintero [Tue, 9 Mar 2004 19:47:09 +0000 (19:47 +0000)]
Handle the returned parent_path being NULL. Fixes #136662.

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

* gtk/gtkfilechooserdefault.c (get_file_info): Handle the returned
parent_path being NULL.  Fixes #136662.

20 years agoStop the emission so that GtkTreeView's handler won't try to poke the
Federico Mena Quintero [Tue, 9 Mar 2004 19:10:20 +0000 (19:10 +0000)]
Stop the emission so that GtkTreeView's handler won't try to poke the

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

* gtk/gtkfilechooserdefault.c (shortcuts_drag_data_received_cb):
Stop the emission so that GtkTreeView's handler won't try to poke
the filter model.  Fixes #136127.

20 years agoFix g_return_if_fail() that was checking draw_shadow. (#136669, Morten
Owen Taylor [Tue, 9 Mar 2004 18:52:56 +0000 (18:52 +0000)]
Fix g_return_if_fail() that was checking draw_shadow. (#136669, Morten

Tue Mar  9 13:49:14 2004  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkstyle.c (gtk_paint_polygon): Fix
        g_return_if_fail() that was checking draw_shadow.
        (#136669, Morten Welinder)

20 years ago=== Released 2.3.6 ===
Owen Taylor [Tue, 9 Mar 2004 16:32:26 +0000 (16:32 +0000)]
=== Released 2.3.6 ===

Tue Mar  9 09:57:25 2004  Owen Taylor  <otaylor@redhat.com>

        * === Released 2.3.6 ===

        * configure.in: Version 2.3.6, interface age 0.

        * NEWS: Updates

20 years agocredit
Jonathan Blandford [Tue, 9 Mar 2004 16:16:11 +0000 (16:16 +0000)]
credit

20 years agounref the correct icon.
Jonathan Blandford [Tue, 9 Mar 2004 16:08:49 +0000 (16:08 +0000)]
unref the correct icon.

Tue Mar  9 11:01:45 2004  Jonathan Blandford  <jrb@gnome.org>

        * gtk/gtkpathbar.c (gtk_path_bar_finalize): unref the correct icon.

20 years agoDestroy widgets to reveal leaks.
Morten Welinder [Tue, 9 Mar 2004 15:42:55 +0000 (15:42 +0000)]
Destroy widgets to reveal leaks.

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

* tests/testfilechooser.c (main): Destroy widgets to reveal leaks.

20 years agoUpdated Welsh translation.
Dafydd Harries [Tue, 9 Mar 2004 15:05:10 +0000 (15:05 +0000)]
Updated Welsh translation.

20 years ago2004-03-09 Updated ja.po. T.Aihana <aihana@gnome.gr.jp>
Updated ja.po. T.Aihana [Tue, 9 Mar 2004 13:58:44 +0000 (13:58 +0000)]
2004-03-09 Updated ja.po. T.Aihana <aihana@gnome.gr.jp>

20 years agoUpdated Polish translation by GNOME PL Team.
Artur Flinta [Tue, 9 Mar 2004 12:47:54 +0000 (12:47 +0000)]
Updated Polish translation by GNOME PL Team.

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

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

20 years agoUpdated Korean translation.
Changwoo Ryu [Tue, 9 Mar 2004 12:43:15 +0000 (12:43 +0000)]
Updated Korean translation.

* ko.po: Updated Korean translation.

20 years agoUpdated Swedish translation.
Christian Rose [Tue, 9 Mar 2004 12:37:39 +0000 (12:37 +0000)]
Updated Swedish translation.

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

* sv.po: Updated Swedish translation.

20 years agoUpdated Norwegian translation.
Kjartan Maraas [Tue, 9 Mar 2004 11:36:08 +0000 (11:36 +0000)]
Updated Norwegian translation.

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

* no.po: Updated Norwegian translation.

20 years agoUpdated Mongolian translation.
Sanlig Badral [Tue, 9 Mar 2004 11:15:44 +0000 (11:15 +0000)]
Updated Mongolian translation.

20 years agoUpdated the Greek translation
Kostas Papadimas [Tue, 9 Mar 2004 10:21:52 +0000 (10:21 +0000)]
Updated the Greek translation

20 years agoUpdated Hungarian translation.
Andras Timar [Tue, 9 Mar 2004 05:36:49 +0000 (05:36 +0000)]
Updated Hungarian translation.

2004-03-09  Andras Timar  <timar@gnome.hu>

* hu.po: Updated Hungarian translation.

20 years agoUpdated Serbian Jekavian translation (hopefully correctly).
Danilo Šegan [Tue, 9 Mar 2004 04:30:10 +0000 (04:30 +0000)]
Updated Serbian Jekavian translation (hopefully correctly).

20 years agoUpdated Serbian translation. Added gtk/gtkpathbar.c to po/POTFILES.in.
Danilo Šegan [Tue, 9 Mar 2004 04:26:14 +0000 (04:26 +0000)]
Updated Serbian translation. Added gtk/gtkpathbar.c to po/POTFILES.in.

20 years agoAdd boolean destroying (gtk_menu_destroy): Set priv->destroying
Soeren Sandmann [Tue, 9 Mar 2004 01:21:45 +0000 (01:21 +0000)]
Add boolean destroying (gtk_menu_destroy): Set priv->destroying

Tue Mar  9 02:11:50 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtkmenu.c Fix bug 136446.
(struct _GtkMenuPrivate): Add boolean destroying
(gtk_menu_destroy): Set priv->destroying
(gtk_menu_remove): don't update the table information when the
menu is being destroyed.

* gtk/gtkmenu.c (gtk_menu_set_monitor): Formatting fix

* gtk/gtktoolbar.[ch]: Some formatting fixes

20 years agoFix a typo.
Matthias Clasen [Tue, 9 Mar 2004 00:47:30 +0000 (00:47 +0000)]
Fix a typo.

Tue Mar  9 01:25:10 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkframe.c (gtk_frame_paint): Fix a typo.

20 years agoFixes #136080.
Federico Mena Quintero [Tue, 9 Mar 2004 00:34:17 +0000 (00:34 +0000)]
Fixes #136080.

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

Fixes #136080.

* gtk/gtkfilesystemunix.c: Only lstat() if stat() failed due to
ENOENT.
(filename_get_info): Likewise.

20 years agoFix example of XML ui description.
Matthias Clasen [Mon, 8 Mar 2004 23:49:16 +0000 (23:49 +0000)]
Fix example of XML ui description.

20 years agoAdd bug number to a fix - Federico
Federico Mena Quintero [Mon, 8 Mar 2004 23:22:54 +0000 (23:22 +0000)]
Add bug number to a fix - Federico

20 years agoUse gtk_tree_view_set_cursor().
Federico Mena Quintero [Mon, 8 Mar 2004 23:16:03 +0000 (23:16 +0000)]
Use gtk_tree_view_set_cursor().

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

* gtk/gtkfilechooserdefault.c
(gtk_file_chooser_default_initial_focus): Use
gtk_tree_view_set_cursor().

20 years agoPatch "1a" from #136185, by Morten Welinder.
Federico Mena Quintero [Mon, 8 Mar 2004 22:53:35 +0000 (22:53 +0000)]
Patch "1a" from #136185, by Morten Welinder.

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

Patch "1a" from #136185, by Morten Welinder.

* gtk/gtkfilechooserdefault.c (get_file_info): Take in an argument
that says whether the caller just wants the display name.
(shortcuts_insert_path): We only want the name in the call to
get_file_info().

* gtk/gtkpathbar.c (_gtk_path_bar_set_path): Don't request more
info than needed from the file_folder.

20 years agoFixes #136105.
Federico Mena Quintero [Mon, 8 Mar 2004 22:21:47 +0000 (22:21 +0000)]
Fixes #136105.

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

Fixes #136105.

* gtk/gtkfilechooserembed.h (struct _GtkFileChooserEmbedIface):
Added an ::initial_focus() method.

* gtk/gtkfilechooserembed.c
(_gtk_file_chooser_embed_delegate_iface_init): Set the
initial_focus method.
(delegate_initial_focus): Implement.
(_gtk_file_chooser_embed_initial_focus): New function.

* gtk/gtkfilechooserdialog.c
(gtk_file_chooser_dialog_constructor): Call
_gtk_file_chooser_embed_initial_focus().

* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_init):
Install the ::initial_focus() handler.
(gtk_file_chooser_default_initial_focus): Implement.

20 years agoUpdated Irish translation
Alastair McKinstry [Mon, 8 Mar 2004 21:42:42 +0000 (21:42 +0000)]
Updated Irish translation

20 years agoReturn a boolean success code. (location_popup_handler): Refocus the file
Federico Mena Quintero [Mon, 8 Mar 2004 20:06:50 +0000 (20:06 +0000)]
Return a boolean success code. (location_popup_handler): Refocus the file

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

* gtk/gtkfilechooserdefault.c (update_from_entry): Return a
boolean success code.
(location_popup_handler): Refocus the file chooser if appropriate.
Fixes #135905.
(save_widgets_create): Don't set the text of the save_folder_label
here.
(update_appearance): Set the text here as appropriate for the save
mode.  Also fixes #136387.
(update_appearance): Don't show the Create Folder button in
SELECT_FOLDER mode.
(update_appearance): Show the extra widget in all Save modes
correctly.

20 years agoDon't call g_signal_handler_disonnect() if priv->model is NULL. (#136551,
Owen Taylor [Mon, 8 Mar 2004 18:39:44 +0000 (18:39 +0000)]
Don't call g_signal_handler_disonnect() if priv->model is NULL. (#136551,

Mon Mar  8 11:57:27 2004  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkcombobox.c (gtk_combo_box_unset_model): Don't
        call g_signal_handler_disonnect() if priv->model is
        NULL. (#136551, Damon Chaplin)

        * gtk/gtkcombobox.c (gtk_combo_box_model_row_inserted):
        Back out code to set the active item when the first
        item is added to the model; this causes problems for
        GtkComboBoxText. (#136535)

        * gtk/gtkcombobox.c (gtk_combo_box_menu_destroy)
        * gtk/gtkcombobox.c (gtk_combo_box_list_destroy):
        * gtk/gtkcombobox.c (gtk_combo_box_list_setup):
        * gtk/gtkcombobox.c (gtk_combo_box_menu_setup):
        Remove calls to gtk_combo_box_unset_model.

        * gtk/gtkcombobox.c (gtk_combo_box_check_appearance):
        Clean up handling of wrap->width > 0.

        * gtk/gtkcombobox.c (gtk_combo_box_relayout): Don't
        switch list/menu mode here.

        * gtk/gtkcombobox.c (gtk_combo_box_set_model): Protect
        against the same model being set back.

        * gtk/gtkcombobox.c (gtk_combo_box_relayout): Call
        gtk_combo_box_menu_fill() rather than duplicating
        a large chunk of code.

20 years agoUpdated Welsh translation from Rhys Jones.
Dafydd Harries [Mon, 8 Mar 2004 17:42:12 +0000 (17:42 +0000)]
Updated Welsh translation from Rhys Jones.

20 years agoIf max_depth is 0 then we have a list.
Anders Carlsson [Mon, 8 Mar 2004 17:33:26 +0000 (17:33 +0000)]
If max_depth is 0 then we have a list.

2004-03-08  Anders Carlsson  <andersca@gnome.org>

* gtk/gtkfilesystemmodel.c (gtk_file_system_model_get_flags):
If max_depth is 0 then we have a list.

20 years agoIf we fail, leave widget unchanged. Explicitly verify final directory.
Morten Welinder [Mon, 8 Mar 2004 16:16:26 +0000 (16:16 +0000)]
If we fail, leave widget unchanged. Explicitly verify final directory.

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

* gtk/gtkpathbar.c (_gtk_path_bar_set_path): If we fail, leave
widget unchanged.  Explicitly verify final directory.

20 years agoProtect errno.
Morten Welinder [Mon, 8 Mar 2004 16:12:28 +0000 (16:12 +0000)]
Protect errno.

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

* gtk/gtkfilesystemunix.c (gtk_file_system_unix_create_folder,
get_icon_type, filename_get_info): Protect errno.

20 years agoupdated Danish translation.
Ole Laursen [Mon, 8 Mar 2004 15:48:33 +0000 (15:48 +0000)]
updated Danish translation.

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

* da.po: updated Danish translation.

20 years agoWhen an action is selected stop the event to be propagated otherwise the
Marco Pesenti Gritti [Mon, 8 Mar 2004 14:26:31 +0000 (14:26 +0000)]
When an action is selected stop the event to be propagated otherwise the

2004-03-08  Marco Pesenti Gritti  <marco@gnome.org>

        * gtk/gtkentry.c: (gtk_entry_completion_key_press):

        When an action is selected stop the event to be propagated
        otherwise the activate signal is emitted too. (Bug #133394)

20 years agoFix link to gettext. (Henning Nielsen Lund)
Owen Taylor [Mon, 8 Mar 2004 13:29:29 +0000 (13:29 +0000)]
Fix link to gettext. (Henning Nielsen Lund)

Mon Mar  8 08:26:52 2004  Owen Taylor  <otaylor@redhat.com>

        * gtk/building.sgml: Fix link to gettext. (Henning Nielsen Lund)

20 years agonew function to consolidate creating the path_bar.
Jonathan Blandford [Mon, 8 Mar 2004 09:56:34 +0000 (09:56 +0000)]
new function to consolidate creating the path_bar.

Mon Mar  8 04:50:12 2004  Jonathan Blandford  <jrb@gnome.org>

        * gtk/gtkfilechooserdefault.c (create_path_bar): new function to
        consolidate creating the path_bar.
        (gtk_file_chooser_default_set_current_folder): no longer need to
        pass in the filesystem.

        * gtk/gtkpathbar.h: Removed unused set_pixbuf functions in favor
        of just setting the filesystem.

        * gtk/gtkpathbar.c (gtk_path_bar_finalize): Free root path and
        home_dir.
        (get_button_image): Add images to path_bar.
        (update_button_appearance): use images
        (make_directory_button): Clasify buttons based upon location.
        (_gtk_path_bar_set_path): no longer need a file-system.  Also, add
        rerooting, #135845, #135914

        * tests/testfilechooser.c: Fix reused error handling.

20 years agoUse better icons for home and desktop.
Anders Carlsson [Mon, 8 Mar 2004 09:40:24 +0000 (09:40 +0000)]
Use better icons for home and desktop.

2004-03-08  Anders Carlsson  <andersca@gnome.org>

* gtk/gtkfilesystemunix.c: (get_icon_for_directory),
(gtk_file_system_unix_render_icon):
Use better icons for home and desktop.

20 years agoUpdated Canadian English translation to "1022 translated messages" status.
Alexander Winston [Mon, 8 Mar 2004 04:10:05 +0000 (04:10 +0000)]
Updated Canadian English translation to "1022 translated messages" status.

2004-03-07  Alexander Winston  <alexander.winston@comcast.net>

* en_CA.po: Updated Canadian English translation to "1022
translated messages" status.

20 years agoUpdated Canadian English translation to "405 translated messages, 2 fuzzy
Alexander Winston [Mon, 8 Mar 2004 03:44:48 +0000 (03:44 +0000)]
Updated Canadian English translation to "405 translated messages, 2 fuzzy

2004-03-07  Alexander Winston  <alexander.winston@comcast.net>

* en_CA.po: Updated Canadian English translation to "405
translated messages, 2 fuzzy translations" status.

20 years agoSet the base folder path in the entry.
Anders Carlsson [Mon, 8 Mar 2004 01:55:43 +0000 (01:55 +0000)]
Set the base folder path in the entry.

2004-03-08  Anders Carlsson  <andersca@gnome.org>

* gtk/gtkfilechooserentry.c:
(_gtk_file_chooser_entry_set_base_folder):
Set the base folder path in the entry.

20 years agoUpdated Thai translation.
Paisa Seeluangsawat [Mon, 8 Mar 2004 01:00:48 +0000 (01:00 +0000)]
Updated Thai translation.

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

* th.po: Updated Thai translation.

20 years agoCorrect localtime_r() emulation on Win32. Remove a couple of unnecessary
Tor Lillqvist [Mon, 8 Mar 2004 00:55:21 +0000 (00:55 +0000)]
Correct localtime_r() emulation on Win32. Remove a couple of unnecessary

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

* tests/testfilechooser.c: Correct localtime_r() emulation on Win32.
Remove a couple of unnecessary Win32-only includes.

20 years agoFixed typo in entry completion test.
Christian Neumair [Mon, 8 Mar 2004 00:43:31 +0000 (00:43 +0000)]
Fixed typo in entry completion test.

20 years agoUpdate.
Tor Lillqvist [Mon, 8 Mar 2004 00:41:46 +0000 (00:41 +0000)]
Update.

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

* README.win32: Update.

* gtk/gtk.def: Small update. Thanks to J. Ali Harlow. Re-sorted.

20 years agoTest dynamic addition/removal.
Matthias Clasen [Mon, 8 Mar 2004 00:08:11 +0000 (00:08 +0000)]
Test dynamic addition/removal.

Mon Mar  8 01:06:17 2004  Matthias Clasen  <maclas@gmx.de>

* tests/testentrycompletion.c: Test dynamic addition/removal.

Sun Mar  7 22:38:49 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkframe.c (gtk_frame_paint): Use ythickness, not
xthickness in the calculation of vertical dimensions.

20 years agoactually use gtk_button_add.
Jonathan Blandford [Sun, 7 Mar 2004 22:49:44 +0000 (22:49 +0000)]
actually use gtk_button_add.

Sun Mar  7 17:38:03 2004  Jonathan Blandford  <jrb@gnome.org>

        * gtk/gtkbutton.c (gtk_button_class_init): actually use
        gtk_button_add.

        * gtk/gtkfilechooserdefault.c (error_building_filename_dialog):
        use the uri, not the path, #136317
        (renderer_edited_cb): ditto
        (shortcuts_add_bookmark_from_path): ditto
        (remove_bookmark_button_clicked_cb): ditto
        (gtk_file_chooser_default_remove_shortcut): ditto
        (update_from_entry): ditto
        (up_folder_handler): ditto