diff options
author | Christopher James Lahey <clahey@ximian.com> | 2002-06-04 20:19:33 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2002-06-04 20:19:33 +0800 |
commit | 5127b10e8b374739b456a83292235c7f024b928f (patch) | |
tree | d068b6b08ddb72e03afc22402e36e21b57445bfc /widgets/menus/gal-view-collection.h | |
parent | 01ff3aebd2bd3759633744863848b360554b0366 (diff) | |
download | gsoc2013-evolution-5127b10e8b374739b456a83292235c7f024b928f.tar.gz gsoc2013-evolution-5127b10e8b374739b456a83292235c7f024b928f.tar.zst gsoc2013-evolution-5127b10e8b374739b456a83292235c7f024b928f.zip |
Added this function to set the user visible name of this collection.
2002-06-04 Christopher James Lahey <clahey@ximian.com>
* gal-view-collection.c, gal-view-collection.h
(gal_view_collection_set_title): Added this function to set the
user visible name of this collection.
* gal-define-views-dialog.c (gal_define_views_dialog_init): Set
the Define Views for %s label. Fixes Ximian bug #2100 and #4080.
svn path=/trunk/; revision=17100
Diffstat (limited to 'widgets/menus/gal-view-collection.h')
-rw-r--r-- | widgets/menus/gal-view-collection.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/widgets/menus/gal-view-collection.h b/widgets/menus/gal-view-collection.h index 89501cda4c..68e7cae4b7 100644 --- a/widgets/menus/gal-view-collection.h +++ b/widgets/menus/gal-view-collection.h @@ -57,6 +57,8 @@ typedef struct { char *local_dir; char *default_view; + + char *title; } GalViewCollection; typedef struct { @@ -87,7 +89,9 @@ struct GalViewCollectionItem { GtkType gal_view_collection_get_type (void); GalViewCollection *gal_view_collection_new (void); -/* Set up the view collection. Call these three functions before ever doing load or save and never call them again. */ +void gal_view_collection_set_title (GalViewCollection *collection, + const char *title); +/* Set up the view collection. Call these two functions before ever doing load or save and never call them again. */ void gal_view_collection_set_storage_directories (GalViewCollection *collection, const char *system_dir, const char *local_dir); |