diff options
author | Federico Mena Quintero <federico@ximian.com> | 2004-03-02 02:59:02 +0000 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2004-03-02 02:59:02 +0000 |
commit | 7233e912e2f3a6d91c9116aca74ed260e728c8a6 (patch) | |
tree | 51b3f39370eac182a1ba5057a7b61132d5946e55 /NEWS | |
parent | d52caae6d15309f25b1c3b994e8700f55d3cf5a2 (diff) | |
download | gtk+-7233e912e2f3a6d91c9116aca74ed260e728c8a6.tar.gz |
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().
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,9 +1,9 @@ Overview of Changes from GTK+ 2.3.4 to GTK+ 2.3.5 ================================================= * GtkFileChooser [Federico Mena Quintero]: - - Enable DND in the shortcuts list. [Federico] + - Enable DND to the shortcuts list. [Federico] - More folder modes. [Jonathan R Blandford] - - Misc. fixes [Jonathan] + - Miscellaneous fixes. [Jonathan, Morten Welinder] * GtkComboBox - Memory leak/crash fixes. [Damon Chaplin, Matthias Clasen] - Always grab when popping the list up. [Damon, Matthias] |