diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2001-01-21 14:00:04 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2001-01-21 14:00:04 +0800 |
commit | 9348acc44109d5fc54a70393131c1c5f30d181df (patch) | |
tree | 76d069c1c7082cd512b01ba38e61a3600ed2fae1 /widgets/menus/gal-define-views-model.c | |
parent | ac6ce9637e4abaa35ede7aecf4ca1126dc57809c (diff) | |
download | gsoc2013-evolution-9348acc44109d5fc54a70393131c1c5f30d181df.tar.gz gsoc2013-evolution-9348acc44109d5fc54a70393131c1c5f30d181df.tar.zst gsoc2013-evolution-9348acc44109d5fc54a70393131c1c5f30d181df.zip |
Use the new gal_view_set_title function.
2001-01-21 Christopher James Lahey <clahey@helixcode.com>
* gal-define-views-model.c (gdvm_set_value_at): Use the new
gal_view_set_title function.
* gal-view-collection.c, gal-view-collection.h: Implemented this.
Added gal_view_collection_save and gal_view_collection_load.
* gal-view-etable.c: Implemented save, load, and set_title methods
for this class.
* gal-view-factory.c: Implemented gal_view_factory_get_type_code.
* gal-view.c, gal-view.h: Replaced gal_view_save_to_node with
gal_view_save. Replaced gal_view_load_from_node with
gal_view_load. Added gal_view_set_title.
svn path=/trunk/; revision=7676
Diffstat (limited to 'widgets/menus/gal-define-views-model.c')
-rw-r--r-- | widgets/menus/gal-define-views-model.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/widgets/menus/gal-define-views-model.c b/widgets/menus/gal-define-views-model.c index 4f988c09bb..ca365d662b 100644 --- a/widgets/menus/gal-define-views-model.c +++ b/widgets/menus/gal-define-views-model.c @@ -79,9 +79,7 @@ gdvm_set_value_at (ETableModel *etc, int col, int row, const void *val) if (views->editable) { if (col != 0 || row < 0 || row > views->data_count) return; - gtk_object_set(GTK_OBJECT(views->data[row]), - "name", val, - NULL); + gal_view_set_title(views->data[row], val); e_table_model_cell_changed(etc, col, row); } } |