Commit Graph

110 Commits

Author SHA1 Message Date
d09737dec4 block the signal that got us here until we're done to stop an infinite
2003-05-16  Mike Kestner  <mkestner@ximian.com>

	* gal-view-collection.c (view_changed): block the signal
	that got us here until we're done to stop an infinite
	recursion.  Fixes 43153.

2003-05-16  Mike Kestner  <mkestner@ximian.com>

	* e-cell-text.c (invisible_finalize): kill
	(ect_stop_editing): destroy the invisible, not weak_unref
	(e_cell_text_view_get_invisible): don't weak_ref the invisible
	since we own its ref.

2003-05-16  Mike Kestner  <mkestner@ximian.com>

	* e-table-item.c (eti_event): fix a couple timer checks
	* e-tree-table-adapter.c (update_node): Traverse POST order
	so that the parent nodes are at the head of the prepended list.
	Don't restore expanded state to nodes that aren't in the tree
	any longer.  Hopefully fixes #42856.

svn path=/trunk/; revision=21229
2003-05-16 21:58:33 +00:00
2679330687 Make sure the galview.xml file exists before trying to parse it with
2003-05-16  Jeffrey Stedfast  <fejj@ximian.com>

	* gal-view-collection.c (load_single_dir): Make sure the
	galview.xml file exists before trying to parse it with
	xmlParseFile() to avoid warning spewage from libxml2.

svn path=/trunk/; revision=21219
2003-05-16 18:27:37 +00:00
7e7b7f49e8 Disable debugging messages.
* gal-view-collection.c (d): Disable debugging messages.

* gal-view-instance.c (d): Disable debugging messages.

svn path=/trunk/; revision=21198
2003-05-15 21:56:40 +00:00
d49d8a2f15 guard against multiple destroys
2003-05-14  JP Rosevear  <jpr@ximian.com>

	* e-combo-button.c (impl_destroy): guard against multiple destroys

2003-05-14  JP Rosevear  <jpr@ximian.com>

	* menus/gal-view-menus.c (gvm_finalize): unref the component

svn path=/trunk/; revision=21178
2003-05-14 18:42:38 +00:00
990d1ba48a (gal_view_menus_unmerge): Guard against
the BonoboUIComponent not having a container to prevent a warning.

svn path=/trunk/; revision=21155
2003-05-13 16:11:26 +00:00
8910fc09d9 Don't convert the label charset from UTF-8 into the locale charset.
2003-04-23  Jeffrey Stedfast  <fejj@ximian.com>

	* menus/gal-view-menus.c (build_menus): Don't convert the label
	charset from UTF-8 into the locale charset.

svn path=/trunk/; revision=20985
2003-04-28 17:48:02 +00:00
960163b188 Try stat'ing the file before loading it with xmlParseFile() to avoid
2003-04-23  Jeffrey Stedfast  <fejj@ximian.com>

	* gal-view-instance.c (load_current_view): Try stat'ing the file
	before loading it with xmlParseFile() to avoid warnign spewage
	from libxml2 saying that the file doesn't exist.

svn path=/trunk/; revision=20955
2003-04-24 16:46:50 +00:00
bd5da6d3e1 Free the id when we're done with it.
2003-04-15  Hans Petter Jansson  <hpj@ximian.com>

	* gal-view-instance.c (gal_view_instance_get_popup_menu): Free the
	id when we're done with it.

svn path=/trunk/; revision=20854
2003-04-15 21:37:46 +00:00
c0c761da5f fix padding and default size. Fixed warnings elsewhere in file.
2003-04-15  Mike Kestner  <mkestner@ximian.com>

	* gal-define-views-dialog.c (g_d_v_d_init): fix padding and
	default size.  Fixed warnings elsewhere in file.
	(g_d_v_d_set_collection): set the dialog title

svn path=/trunk/; revision=20851
2003-04-15 21:29:29 +00:00
7acf500ad5 use stock buttons, remove desc frame. #if out the copy button. add
2003-04-10  Mike Kestner  <mkestner@ximian.com>

	* gal-define-views.glade : use stock buttons, remove desc frame.
	* gal-define-views-dialog.c (gdvd_init): #if out the copy button.
	* gal-view-instance.c (g_v_i_get_popup_menu): add ellipsis to
	Define Views menuitem.

svn path=/trunk/; revision=20804
2003-04-10 17:47:08 +00:00
8e56e45ae6 add ... to "Define Views" and "Save Custom View" menuitem labels.
2003-04-10  Mike Kestner  <mkestner@ximian.com>

	* menus/gal-view-menus.c (build menus): add ... to "Define Views"
	and "Save Custom View" menuitem labels.

svn path=/trunk/; revision=20802
2003-04-10 15:22:13 +00:00
1735baf281 fix button order fix button order fix button order
2003-04-08  Mike Kestner  <mkestner@ximian.com>

	* gal-define-views-dialog.c : fix button order
	* gal-view-instance-save-as-dialog.c : fix button order
	* gal-view-new-dialog.c : fix button order

svn path=/trunk/; revision=20755
2003-04-08 15:31:51 +00:00
a4f6a54e0a (set_state): Removed debugging message.
svn path=/trunk/; revision=20548
2003-03-27 16:39:32 +00:00
8794fa517a Use glib macro G_GNUC_FUNCTION instead of __FUNCTION__. Thank u, Ettore.
2003-03-19  Sanshao Jiang  <alex.jiang@sun.com>

	* gal-view-collection.c (gal_view_collection_append_with_title):
	(gal_view_collection_set_nth_view): Use glib macro G_GNUC_FUNCTION
	instead of __FUNCTION__. Thank u, Ettore.

	* gal-view-instance.c (gal_view_instance_set_current_view_id): same
	(add_popup_radio_item): Fix to be compilable on other compilers,
	using gcc extension independent codes.(bug#39176)
	(add_popup_menu_item): same

svn path=/trunk/; revision=20455
2003-03-21 17:32:04 +00:00
8bc5772286 Instead of using gtk_widget_unparent(), remove the widget from the
2003-03-17  Hans Petter Jansson  <hpj@ximian.com>

	* gal-define-views-dialog.c (gal_define_views_dialog_init): Instead
	of using gtk_widget_unparent(), remove the widget from the container
	using gtk_container_remove(). This fixes crashers where the dialog
	is being used.

	* gal-view-instance-save-as-dialog.c
	(gal_view_instance_save_as_dialog_init): Ditto.

	* gal-view-new-dialog.c (gal_view_new_dialog_init): Ditto.

svn path=/trunk/; revision=20324
2003-03-17 22:31:22 +00:00
0b82cc7a34 use access() like camel
2003-03-14  Mike Kestner  <mkestner@ximian.com>

	* gal/util/e-util.c (e_mkdir_hier): use access() like camel

2003-03-14  Mike Kestner  <mkestner@ximian.com>

	* gal-view-collection.c (gal_view_collection_load): check failure
	on e_create_directory call and warn.
	* gal-view-instance.c (save_current_view): check for failure and
	warn.

svn path=/trunk/; revision=20291
2003-03-14 17:19:25 +00:00
3de88468be Use G_GNUC_FUNCTION instead of __FUNCTION__.
* menus/gal-view-menus.c (gal_view_menus_unmerge): Use
G_GNUC_FUNCTION instead of __FUNCTION__.

* e-dropdown-button.c (menu_deactivate_cb): Removed debugging
spew.

svn path=/trunk/; revision=20200
2003-03-06 17:24:22 +00:00
fe4da718f0 Remove unneeded MAP_DIR define. (gladedir): Remove. Defined in
* e-timezone-dialog/Makefile.am (INCLUDES): Remove unneeded
	MAP_DIR define.
	(gladedir): Remove. Defined in configure.in now.

	* menus/gal-view-menus.c: #include <string.h>

svn path=/trunk/; revision=19773
2003-02-05 22:04:48 +00:00
285b33d516 Here too.
2003-01-15  Jeffrey Stedfast  <fejj@ximian.com>

	* gal-view-instance.c (save_current_view): Here too.

	* gal-view-collection.c (gal_view_collection_save): Use
	e_xml_save_file().

svn path=/trunk/; revision=19479
2003-01-15 19:38:50 +00:00
be8b72f963 add the parent arg.
2002-12-18  Chris Toshok  <toshok@ximian.com>

	* gal-view.[ch] (gal_view_edit): add the parent arg.

	* gal-view-new-dialog.c (gal_view_new_dialog_init): set the dialog
	modal.

	* gal-view-etable.c (gal_view_etable_edit): take the parent arg
	and pass it to e_table_config_new.

	* gal-define-views-dialog.c (gdvd_button_new_dialog_callback):
	pass the dialog as the parent to gal_view_edit.
	(gdvd_button_modify_callback): same.
	(gdvd_button_new_callback): set view_new_dialog transient for
	dialog.

svn path=/trunk/; revision=19164
2002-12-19 02:23:44 +00:00
02a2b0046f protect against null instance_id's (bug#35540)
2002-12-13  Mike Kestner  <mkestner@ximian.com>

	* gal-view-instance.c (gal_view_instance_construct):
	protect against null instance_id's (bug#35540)

svn path=/trunk/; revision=19118
2002-12-14 05:27:01 +00:00
8d8578a64d check for null or blank view names
2002-12-10  Gilbert Fang  <gilbert.fang@sun.com>

	* gal-define-views-dialog.c (gdvd_button_new_dialog_callback):
	check for null or blank view names

svn path=/trunk/; revision=19096
2002-12-11 05:51:47 +00:00
1a61aa98b3 convert some GnomeDialog stuff to GtkDialog.
2002-11-16  Chris Toshok  <toshok@ximian.com>

	* gal-view-instance.c: convert some GnomeDialog stuff to
	GtkDialog.

	* gal-view-instance-save-as-dialog.c: remove GnomeDialog
	references.

	* gal-view-new-dialog.c: same.

svn path=/trunk/; revision=18813
2002-11-17 07:59:50 +00:00
09e8fe2317 GtkObject->Gobject and GnomeDialog->GtkDialog work.
2002-11-16  Chris Toshok  <toshok@ximian.com>

	* gal-view-instance-save-as-dialog.c: GtkObject->Gobject and
	GnomeDialog->GtkDialog work.

	* gal-view-new-dialog.[ch]: same.

	* gal-view-new-dialog.dialog: same.

svn path=/trunk/; revision=18799
2002-11-16 23:46:27 +00:00
b75c80d63f use GtkDialog's ::response instead of GnomeDialog's ::clicked.
2002-11-14  Chris Toshok  <toshok@ximian.com>

	* menus/gal-view-menus.c (define_views): use GtkDialog's
	::response instead of GnomeDialog's ::clicked.
	(dialog_response): use response id's.
	(gvm_finalize): fix warning.

svn path=/trunk/; revision=18768
2002-11-15 00:26:42 +00:00
8539e8dd1a hrm, we shouldn't need to do this, but gtk_widget_show_all the custom
2002-11-14  Chris Toshok  <toshok@ximian.com>

	* gal-define-views-dialog.c (gal_define_views_dialog_init): hrm,
	we shouldn't need to do this, but gtk_widget_show_all the custom
	widget so it actually shows up.

svn path=/trunk/; revision=18767
2002-11-15 00:26:02 +00:00
6c2f176cb6 more porting work.
2002-11-13  Chris Toshok  <toshok@ximian.com>

	* gal-define-views-dialog.[ch]: more porting work.

	* gal-define-views-model.[ch]: same.

	* gal-view-etable.c: same.

	* gal-view-factory-etable.c: same.

	* gal-view-instance-save-as-dialog.[ch]: same.

	* gal-view-instance.c: same.

	* gal-view-new-dialog.[ch]: same.

	* gal-define-views.glade: convert to glade2.

	* gal-view-instance-save-as-dialog.glade: same.

	* gal-view-new-dialog.glade: same.

svn path=/trunk/; revision=18749
2002-11-13 23:34:40 +00:00
d023f5d548 menus/gal-view-menus.h GObjectified.
* menus/gal-view-menus.h
* menus/gal-view-menus.c: GObjectified.

* e-timezone-dialog/e-timezone-dialog.h
* e-timezone-dialog/e-timezone-dialog.c: GObjectified.

svn path=/trunk/; revision=18747
2002-11-13 22:53:58 +00:00
cd31ceb85f start porting to GObject.
2002-11-13  Chris Toshok  <toshok@ximian.com>

	* gal-view-collection.[ch]: start porting to GObject.

	* gal-view-etable.[ch]: same.

	* gal-view-factory-etable.[ch]: same.

	* gal-view-factory.[ch]: same.

	* gal-view-factory.[ch]: same.

	* gal-view-instance.[ch]: same.

	* gal-view.[ch]: same.

svn path=/trunk/; revision=18745
2002-11-13 20:20:01 +00:00
d9b4457fa6 gnome-xml->libxml
2002-11-13  Not Zed  <NotZed@Ximian.com>

        * menus/gal-view-menus.c: gnome-xml->libxml

        * menus/gal-view-menus.h: gnome-xml->libxml

svn path=/trunk/; revision=18734
2002-11-13 09:42:55 +00:00
9c73777f22 First big sync of my GNOME 2 porting work (incomplete, and still
pretty broken).

Weeeeee!

svn path=/trunk/; revision=18503
2002-11-02 08:25:03 +00:00
613453b109 merging the gal-2 branch back to the trunk.
merging the gal-2 branch back to the trunk.

svn path=/trunk/; revision=18471
2002-10-31 21:30:57 +00:00
48c16713cc ref/unref the gvm
2002-08-15  Mike Kestner  <mkestner@ximian.com>

	* menus/gal-view-menus.c (build_stuff): ref/unref the gvm

svn path=/trunk/; revision=17780
2002-08-15 15:23:17 +00:00
5ad6f45cbc Edit the view after appending it to the model.
2002-06-16  Christopher James Lahey  <clahey@ximian.com>

	* gal-define-views-dialog.c (gdvd_button_new_dialog_callback):
	Edit the view after appending it to the model.

svn path=/trunk/; revision=17203
2002-06-16 22:42:03 +00:00
ad1e5a3b6a Added this function to let you disable the define views dialog.
2002-06-04  Christopher James Lahey  <clahey@ximian.com>

	* menus/gal-view-menus.c, menus/gal-view-menus.h
	(gal_view_menus_set_show_define_views): Added this function to let
	you disable the define views dialog.

svn path=/trunk/; revision=17111
2002-06-04 22:12:08 +00:00
c1dadee81a Don't show this dialog more than once per collection.
2002-06-04  Christopher James Lahey  <clahey@ximian.com>

	* menus/gal-view-menus.c (define_views): Don't show this dialog
	more than once per collection.

svn path=/trunk/; revision=17106
2002-06-04 17:16:57 +00:00
5127b10e8b 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
2002-06-04 12:19:33 +00:00
eec3b5a2f3 Made it so that if the current_id doesn't match any of the given ids, it
2002-05-14  Christopher James Lahey  <clahey@ximian.com>

	* menus/gal-view-menus.c (build_menus): Made it so that if the
	current_id doesn't match any of the given ids, it treats it the
	same as a NULL id.
	(gal_view_menus_apply): Added a check for gvm->priv == NULL here.
	(gal_view_menus_apply, collection_changed, instance_changed):
	Removed calls to set_radio after build_stuff, since the last thing
	build_stuff does is calls set_radio.

svn path=/trunk/; revision=16781
2002-05-14 07:04:49 +00:00
e1f208de7d Set the gettext-domain here.
2002-05-01  Christopher James Lahey  <clahey@ximian.com>

	* gal/e-text/e-completion-view.c (simple_spec),
	gal/widgets/e-categories-master-list-dialog.c (SPEC),
	gal/widgets/e-categories.c (INITIAL_SPEC): Set the gettext-domain
	here.

	* gal/util/e-i18n.h (E_I18N_DOMAIN): #define as makes sense in the
	different cases.

From gal/e-table/ChangeLog:

2002-05-01  Christopher James Lahey  <clahey@ximian.com>

	* e-table-config.c, e-table-config.h, e-table-specification.c,
	e-table-specification.h, e-table-utils.c, e-table-utils.h,
	e-table.c, e-table.h: Made these pay attention to the
	gettext-domain in the etspec.

	* e-table-config.c: Set the gettext-domain in the etspec here.

From gal/menus/ChangeLog:

2002-05-01  Christopher James Lahey  <clahey@ximian.com>

	* gal-define-views-dialog.c (SPEC),
	gal-view-instance-save-as-dialog.c (SPEC): Set the gettext-domain
	here.

svn path=/trunk/; revision=16658
2002-05-01 23:26:42 +00:00
95b711c4cd Ansification patch from danw.
2002-04-25  Christopher James Lahey  <clahey@ximian.com>

	* gal-define-views-dialog.c, gal-view-factory.c,
	gal-view-new-dialog.c, gal-view.c: Ansification patch from danw.

svn path=/trunk/; revision=16587
2002-04-25 20:00:21 +00:00
acf4bad9d0 Bumped version number to 0.19.99.14.
2002-04-22  Christopher James Lahey  <clahey@ximian.com>

	* configure.in: Bumped version number to 0.19.99.14.

	* gal/widgets/e-popup-menu.c, gal/widgets/e-popup-menu.h
	(e_popup_menu_copy_1, e_popup_menu_free_1, e_popup_menu_copy,
	e_popup_menu_free): Added these functions

From gal/e-table/ChangeLog:

2002-04-22  Christopher James Lahey  <clahey@ximian.com>

	* e-table-memory-store.c, e-table-memory-store.h: Renamed the
	insert functions in this class to make a bit more sense.

From gal/menus/ChangeLog:

2002-04-22  Christopher James Lahey  <clahey@ximian.com>

	* gal-view-instance.c, gal-view-instance.h
	(gal_view_instance_get_popup_menu,
	gal_view_instance_free_popup_menu):  Added these functions.  Used
	to add a current view menu to your popup menus.

From gal/shortcut-bar/ChangeLog:

2002-04-22  Christopher James Lahey  <clahey@ximian.com>

	* e-icon-bar.c (e_icon_bar_drag_motion): Removed an unused
	variable.

svn path=/trunk/; revision=16559
2002-04-22 21:46:59 +00:00
9c5cceeeb8 New signal for when the width of the column changes.
2002-02-13  Christopher James Lahey  <clahey@ximian.com>

	* gal/widgets/e-reflow.c, gal/widgets/e-reflow.h
	(column_width_changed): New signal for when the width of the
	column changes.

	* gal/util/e-util.c, gal/util/e-util.h (e_marshal_NONE__DOUBLE):
	New marshaller.

From gal/menus/ChangeLog:

2002-02-13  Christopher James Lahey  <clahey@ximian.com>

	* gal-view-etable.c (detach_table): Set
	view->table_state_changed_id to 0.
	(detach_tree): Set view->tree_state_changed_id to 0.

svn path=/trunk/; revision=15705
2002-02-13 13:03:48 +00:00
757d9ab56d New function to handle unmerging menus at control deactivation time. (d):
2002-02-07  Christopher James Lahey  <clahey@ximian.com>

	* menus/gal-view-menus.c, menus/gal-view-menus.h
	(gal_view_menus_unmerge): New function to handle unmerging menus
	at control deactivation time.
	(d): Turned off debugging output here.
	(build_menus): Gave the separators names and marked them with f=""
	to make them work better with bonobo 1.

svn path=/trunk/; revision=15599
2002-02-07 20:39:09 +00:00
b7ac37f6b1 Bumped the required version of gal.
2002-02-07  Christopher James Lahey  <clahey@ximian.com>

	* configure.in: Bumped the required version of gal.

From addressbook/ChangeLog:

2002-02-07  Christopher James Lahey  <clahey@ximian.com>

	* gui/widgets/e-addressbook-view.c
	(e_addressbook_view_setup_menus): Changed this function to use the
	new GalViewMenus which takes a GalViewInstance, instead of a
	GalViewCollection.

From calendar/ChangeLog:

2002-02-07  Christopher James Lahey  <clahey@ximian.com>

	* gui/e-tasks.c (e_tasks_setup_view_menus), gui/gnome-cal.c
	(gnome_calendar_setup_view_menus): Made these use the new
	GalViewMenus stuff.

From mail/ChangeLog:

2002-02-07  Christopher James Lahey  <clahey@ximian.com>

	* folder-browser.c, folder-browser.h, folder-browser-ui.c,
	folder-browser-ui.h
	(folder_browser_ui_setup_view_menus,
	folder_browser_ui_discard_view_menus): Changed this to use the new
	GalViewMenus stuff.  Made these exported functions.

	* mail-callbacks.c, message-browser.c: Changed these to not pass
	the now removed row parameter to message_list_select.

	* mail-config.c, mail-config.h (mail_config_folder_to_safe_url):
	Refactored this out of mail_config_folder_to_cachename.

	* message-list.c, message-list.h (message_list_select): Removed
	the row argument.  Changed this to use the new function in ETree
	for finding the next cursor row that matches a test.
	(message_list_construct): Handle a failed construction of the
	ETree here.
	(message_list_setup_etree, save_tree_state): Don't load or save
	the header state.  folder-browser-ui.c deals with this now.

From views/ChangeLog:

2002-02-07  Christopher James Lahey  <clahey@ximian.com>

	* addressbook/galview.xml, calendar/galview.xml, mail/galview.xml,
	tasks/galview.xml: Added default-view parameters.

	* mail/As_Sent_Folder.galview: New galview.

	* mail/Makefile.am, mail/galview.xml: Added As_Sent_Folder
	galview.

From widgets/ChangeLog:

2002-02-07  Christopher James Lahey  <clahey@ximian.com>

	* menus/gal-view-menus.c, menus/gal-view-menus.h
	(gal_view_menus_new): Made this take a GalViewInstance instead of
	a GalViewCollection.  Reworked most of this to utilize the
	interfaces provided by GalViewInstance.

svn path=/trunk/; revision=15592
2002-02-07 11:24:08 +00:00
9f83d6d318 Create the local directory when loading instead of when saving. This way
2002-02-07  Christopher James Lahey  <clahey@ximian.com>

	* gal-view-collection.c (gal_view_collection_load): Create the
	local directory when loading instead of when saving.  This way
	instance data will have somewhere to be saved.

svn path=/trunk/; revision=15591
2002-02-07 11:15:10 +00:00
9f1ac34671 Bumped the version number to 0.19.99.5.
2002-02-07  Christopher James Lahey  <clahey@ximian.com>

	* configure.in: Bumped the version number to 0.19.99.5.

	* gal/Makefile.am (libgal_la_LIBADD): Added
	menus/gal-view-instance-save-as-dialog.lo.

	* gal/e-text/e-text.c (next_word): Contains refactored code from
	the E_TEP_FORWARD_WORD case of e_text_command.
	(e_text_command): Implemented E_TEP_CAPS.

From gal/menus/ChangeLog:

2002-02-07  Christopher James Lahey  <clahey@ximian.com>

	* Makefile.am (glade_DATA): Added
	gal-view-instance-save-as-dialog.glade.
	(libgalmenus_la_SOURCES): Added
	gal-view-instance-save-as-dialog.c.
	(libgalmenusinclude_HEADERS): Added
	gal-view-instance-save-as-dialog.h.

	* gal-view-collection.c, gal-view-collection.h
	(gal_view_collection_append_with_title): Added this new version of
	the append function that sets the title and returns the new id as
	well.
	(gal_view_collection_set_nth_view): Added this function to save
	over another view.
	(gal_view_collection_get_default_view,
	gal_view_collection_set_default_view): Added the concept of a
	default view for GalViewCollections.

	* gal-view-etable.c, gal-view-etable.h
	(gal_view_etable_attach_table, gal_view_etable_attach_tree,
	gal_view_etable_detach): Added functions to set the state of a
	table or tree and then send GalView "changed" signals whenever
	that state changes.
	(gal_view_etable_set_state): New function to set the ETableState
	of a GalViewETable.

	* gal-view-instance-save-as-dialog.c,
	gal-view-instance-save-as-dialog.glade,
	gal-view-instance-save-as-dialog.h: New dialog to save the current
	custom view as a named view.

	* gal-view-instance.c, gal-view-instance.h
	(gal_view_instance_set_custom_view): New function to set the state
	of an instance to custom view and set the custom view to a
	particular GalView.
	(gal_view_instance_exists): New function to check if this
	particular instance has ever been opened before.  Use before
	gal_view_instance_load.
	(gal_view_instance_save_as): New function to open a save as
	dialog.
	(gal_view_instance_load): Added this function which used to be
	part of _construct.  This function can be called multiple times,
	and those extra times will be ignored.  This is so you can set a
	default view before loading.
	(gal_view_instance_get_default_view,
	gal_view_instance_set_default_view): Set the default view for this
	instance.  If unset, this falls back to the default view for the
	corresponding GalViewCollection.

svn path=/trunk/; revision=15590
2002-02-07 10:22:59 +00:00
3263cd2621 Added gal-view-instance.c and gal-view-instance.h.
2002-01-31  Christopher James Lahey  <clahey@ximian.com>

	* Makefile.am: Added gal-view-instance.c and gal-view-instance.h.

	* gal-view-collection.c, gal-view-collection.h
	(gal_view_collection_load_view_from_file): Factored out this
	function so that it can be used outside of gal-view-collection.c.
	(gal_view_collection_get_view_index_by_id,
	gal_view_collection_get_view_id_by_index,
	gal_view_collection_loaded): Added these functions.

	* gal-view-instance.c, gal-view-instance.h: New class representing
	a single folder of a particular type of folder.

svn path=/trunk/; revision=15544
2002-01-31 21:47:00 +00:00
79a377ddf2 Final cleanup for the CFLAGS and LIBS in the Makefiles.
svn path=/trunk/; revision=15486
2002-01-27 17:21:36 +00:00
a3dfed7a8e Bumped the version number here to 0.16.
2001-10-31  Christopher James Lahey  <clahey@ximian.com>

	* configure.in: Bumped the version number here to 0.16.

From gal/menus/ChangeLog:

2001-10-31  Christopher James Lahey  <clahey@ximian.com>

	* gal-define-views-model.c: Made this match pre_changes with
	changes.

svn path=/trunk/; revision=14524
2001-10-31 10:34:54 +00:00
34ee553276 Check item->type != NULL here. Fixes Ximian bug #4668.
2001-10-28  Christopher James Lahey  <clahey@ximian.com>

	* gal-view-collection.c (load_single_file): Check item->type !=
	NULL here.  Fixes Ximian bug #4668.

svn path=/trunk/; revision=14278
2001-10-28 05:30:29 +00:00