aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/menus
Commit message (Collapse)AuthorAgeFilesLines
* Fixed gal_define_views_dialog_new to be called with its proper argument.Jon Trowbridge2001-01-231-1/+1
| | | | | | | | | 2001-01-22 Jon Trowbridge <trow@gnu.org> * menus/gal-view-menus.c (define_views): Fixed gal_define_views_dialog_new to be called with its proper argument. svn path=/trunk/; revision=7707
* Initialize collection field to NULL. Set the collection on the model asChristopher James Lahey2001-01-2210-82/+343
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-01-22 Christopher James Lahey <clahey@helixcode.com> * gal-define-views-dialog.c, gal-define-views-dialog.h (gal_define_views_dialog_init): Initialize collection field to NULL. Set the collection on the model as soon as we create it. (gal_define_views_dialog_new): Add a GalViewCollection argument to this function. This just makes this dialog a bit easier to use through the API. (gal_define_views_dialog_set_arg): When we set the collection, set it on the dialog->model. * gal-define-views-model.c, gal-define-views-model.h: Rewrote this object to use a GalViewCollection to store the information instead of an array of GalViews. * gal-view-collection.c, gal-view-collection.h: Added gal_view_collection_get_count, gal_view_collection_get_view, gal_view_collection_append, gal_view_collection_delete_view, and gal_view_collection_copy_view. (view_changed, load_single_file): Connect to the "changed" signal on the views. (load_single_dir): Survive loading if there's no xml file. * gal-view-etable.c: Implemented get_type_code method. * gal-view-factory-etable.c: Implemented get_type_code method. * gal-view.c, gal-view.h: Added gal_view_get_type_code and "changed" signal. svn path=/trunk/; revision=7699
* Use the new gal_view_set_title function.Christopher James Lahey2001-01-217-56/+311
| | | | | | | | | | | | | | | | | | | | | 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
* Added a collection argument to this to set the GalViewCollection.Christopher James Lahey2001-01-1811-36/+315
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-01-17 Christopher James Lahey <clahey@helixcode.com> * gal-define-views-dialog.c, gal-define-views-dialog.h: Added a collection argument to this to set the GalViewCollection. Connected up the modify, delete, and copy buttons. Documented. * gal-define-views-model.c, gal-define-views-model.h: Added gal_define_views_model_get_view, gal_define_views_model_delete_view, and gal_define_views_model_copy_view methods. Documented. * gal-view-collection.c: Documented. * gal-view-etable.c, gal-view-etable.h: Documented. Implemented edit and clone methods of GalView. Initialized state to a non-NULL value. Added a name parameter to gal_view_etable_new. * gal-view-factory-etable.c: Documented. Added the name argument to gal_view_etable_new. * gal-view-factory.c: Fixed the g_return_val_if_fails to check for GalViewFactory as the type instead of GalView. * gal-view.c, gal-view.h: Added the clone method. svn path=/trunk/; revision=7599
* ditto.Miguel de Icaza2000-12-191-2/+2
| | | | | | | | | | | 2000-12-19 Miguel de Icaza <miguel@helixcode.com> * gal/widgets/widget-pixmap-combo.h: ditto. * gal/widgets/widget-color-combo.h: Fix parent class. It should have been GtkComboBoxClass, not GnomeCanvasClass. svn path=/trunk/; revision=7077
* Work to get a Gtk-Doc infrastructure in place for Gal.Miguel de Icaza2000-12-091-0/+1
| | | | | | | | Work to get a Gtk-Doc infrastructure in place for Gal. Miguel. svn path=/trunk/; revision=6883
* Removed incorrect e-list.h include.Christopher James Lahey2000-12-071-1/+0
| | | | | | | | 2000-12-06 Christopher James Lahey <clahey@helixcode.com> * gal-view-collection.h: Removed incorrect e-list.h include. svn path=/trunk/; revision=6819
* Added a GalViewCollection argument to the new function here.Christopher James Lahey2000-12-072-27/+43
| | | | | | | | | | | | | | | 2000-12-06 Christopher James Lahey <clahey@helixcode.com> * menus/gal-view-menus.c, menus/gal-view-menus.h: Added a GalViewCollection argument to the new function here. From meeting-time-sel/ChangeLog: 2000-12-06 Christopher James Lahey <clahey@helixcode.com> * e-meeting-time-sel.c: Fixed a bunch of warnings. svn path=/trunk/; revision=6816
* Added gal-view-collection.c, gal-view-etable.c, gal-view-factory-etable.c,Christopher James Lahey2000-12-0717-157/+868
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-06 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added gal-view-collection.c, gal-view-etable.c, gal-view-factory-etable.c, gal-view-factory.c, gal-view-collection.h, gal-view-etable.h, gal-view-factory-etable.h, and gal-view-factory.h. * gal-define-views-dialog.c, gal-define-views-dialog.h: Rewrote this to take a GalViewCollection. This now passes its collection to the new view dialog but still doesn't get its list of views from the collection. * gal-define-views-model.c: Changed this to use the gal_view_get_title function instead of the "title" gtk argument. * gal-define-views.glade, gal-define-views.glade.h: Changed this dialog to be a bit cleaner. * gal-view-collection.c, gal-view-collection.h: A collection of views and view factories. * gal-view-etable.c, gal-view-etable.h: An implementation of the view class. This stores an ETableSpecification and the current ETableState. * gal-view-factory-etable.c, gal-view-factory-etable.h: An implementation of the view factory class. This stores an ETableSpecification and creates GalViewEtables when requested. * gal-view-factory.c, gal-view-factory.h: A new virtual class. Its primary job is to return new GalViews. * gal-view-new-dialog.c, gal-view-new-dialog.h: Added a collection argument to the new function here so that it can get a list of factories to choose from. * gal-view-new-dialog.glade, gal-view-new-dialog.glade.h: Added a CList for the list of factories to choose from. * gal-view.c, gal-view.h: Changed this to be a virtual class. svn path=/trunk/; revision=6811
* NULL-terminate gal_view_menus_apply's BonoboUIVerb array to prevent aDan Winship2000-12-051-0/+1
| | | | | | | | * menus/gal-view-menus.c: NULL-terminate gal_view_menus_apply's BonoboUIVerb array to prevent a crash. (Why are there gal* things in the evolution sources?) svn path=/trunk/; revision=6777
* ShushJP Rosevear2000-11-291-1/+2
| | | | svn path=/trunk/; revision=6709
* Fixed some typos to get the table to display properly.Christopher James Lahey2000-11-222-3/+3
| | | | | | | | | | | | 2000-11-22 Christopher James Lahey <clahey@helixcode.com> * gal-define-views-dialog.c: Fixed some typos to get the table to display properly. * gal-view-new-dialog.c: Fixed the string for loading the glade file for this dialog. svn path=/trunk/; revision=6649
* AdaptMiguel de Icaza2000-11-181-3/+3
| | | | svn path=/trunk/; revision=6610
* Add Makefile.am and .cvsignoreMiguel de Icaza2000-11-182-0/+19
| | | | svn path=/trunk/; revision=6609
* Removed test for Bonobo here.Miguel de Icaza2000-11-181-1/+0
| | | | | | | | | | | 2000-11-18 Miguel de Icaza <miguel@helixcode.com> * configure.in (gnomelocaledir): Removed test for Bonobo here. * gal/menus/gal-view-menus.c: Removed this file, and moved into Evolution. svn path=/trunk/; revision=6607
* Updated version number.Christopher James Lahey2000-11-141-2/+1
| | | | | | | | | | | | | 2000-11-13 Christopher James Lahey <clahey@helixcode.com> * configure.in: Updated version number. * gal/e-table/e-tree-model.c, gal/e-table/e-tree-model.h: Added freeze and thaw functions. * gal/menus/gal-define-views-dialog.c: Fixed some warnings. svn path=/trunk/; revision=6563
* Added a bunch of .lo s from the menus directory.Christopher James Lahey2000-11-1211-14/+929
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-11 Christopher James Lahey <clahey@helixcode.com> * gal/Makefile.am: Added a bunch of .lo s from the menus directory. From gal/menus: 2000-11-11 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added gal-define-views-model.c, gal-define-views-model.h, gal-view-new-dialog.c, gal-view-new-dialog.h, gal-view-new-dialog.glade, gal-view-new-dialog.glade.h, gal-view.c, and gal-view.h. * gal-define-views-dialog.c, gal-define-views-dialog.h: Connect up the New button. Use an ETable. * gal-define-views.glade, gal-define-views.glade.h: Put in custom object for the ETable * gal-define-views-model.c, gal-define-views-model.h: New model for list of views. * gal-view-menus.c: Close the define views dialog when it's done. * gal-view-new-dialog.c, gal-view-new-dialog.glade, gal-view-new-dialog.glade.h, gal-view-new-dialog.h: New class for creating a new view. * gal-view.c, gal-view.h: New class for representing a single view in the define views model. svn path=/trunk/; revision=6544
* Changed the gal version number and the gal so number. Added check forChristopher James Lahey2000-11-102-0/+234
| | | | | | | | | | | | | | | | | | | | | | 2000-11-09 Christopher James Lahey <clahey@helixcode.com> * configure.in: Changed the gal version number and the gal so number. Added check for bonobo. * gal/Makefile.am: Added gal-view-menus.lo. * gal/widgets/e-unicode.c: Removed some unused variables. From gal/menus/ChangeLog: 2000-11-09 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added gal-view-menus.c and gal-view-menus.h. * gal-view-menus.c, gal-view-menus.h: New files to create the view menus. svn path=/trunk/; revision=6528
* New files for the new define views dialog.Christopher James Lahey2000-11-063-0/+573
2000-11-05 Christopher James Lahey <clahey@helixcode.com> * .cvsignore, Makefile.am, gal-define-views-dialog.c, gal-define-views-dialog.h, gal-define-views.glade, gal-define-views.glade.h: New files for the new define views dialog. svn path=/trunk/; revision=6410