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 /ChangeLog.pre-2-8 | |
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 'ChangeLog.pre-2-8')
-rw-r--r-- | ChangeLog.pre-2-8 | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 65e5bc632b..01b1c7d88c 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,43 @@ +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(). + Mon Mar 1 19:30:25 2004 Owen Taylor <otaylor@redhat.com> * gtk/gtkdnd.[ch]: Add gtk_drag_source_set/get_target_list(). |