Commit graph

7 commits

Author SHA1 Message Date
Bradford Hovinen
e037e72d54 Don't check default action id if default action is NULL
2002-01-11  Bradford Hovinen  <hovinen@ximian.com>

	* mime-edit-dialog.c (populate_application_list): Don't check
	default action id if default action is NULL

	* mime-type-info.c (mime_type_info_free): Remove data from
	mime_type_table

	* service-info.c (service_info_free): Free the info structure

	* mime-type-info.c (mime_type_info_load): Ditto below

	* service-info.c (service_info_load): Use service_info_table as a
	cache
	(service_info_free): Remove data from service_info_table
2002-01-11 20:13:50 +00:00
Bradford Hovinen
fe788d66c6 Use custom_line for program_entry
2002-01-11  Bradford Hovinen  <hovinen@ximian.com>

	* mime-edit-dialog.c (populate_application_list): Use custom_line
	for program_entry
2002-01-11 19:42:24 +00:00
Bradford Hovinen
558c9c00f4 Read custom_line from default_action (mime_type_info_save): Set custom
2002-01-11  Bradford Hovinen  <hovinen@ximian.com>

	* mime-type-info.c (mime_type_info_load): Read custom_line from
	default_action
	(mime_type_info_save): Set custom line through GnomeVFS app
	registry
2002-01-11 19:28:08 +00:00
Bradford Hovinen
e0bf4c9e25 Don't create a separate dialog; just read from new_ext_entry
2002-01-11  Bradford Hovinen  <hovinen@ximian.com>

	* mime-edit-dialog.c (add_ext_cb): Don't create a separate dialog;
	just read from new_ext_entry
2002-01-11 18:37:17 +00:00
Bradford Hovinen
ee6a2823a4 Terminate column list with -1
2002-01-11  Bradford Hovinen  <hovinen@ximian.com>

	* mime-edit-dialog.c (add_ext_cb): Terminate column list with -1

	* service-edit-dialog.c (store_data): Call service_info_update

	* mime-edit-dialog.c (store_data): Call mime_type_info_update

	* mime-type-info.c (mime_type_info_update): Implement. Updates the
	model with data from the structure

	* service-info.c (service_info_update): Implement. Updates the
	model with data from the structure

	* mime-type-info.c (form_extensions_string): Implement. Factor
	from mime_type_info_save

	* service-info.c (service_info_load): Accept model and iter rather
	than protocol name; read protocol name from model

	* mime-type-info.c (mime_type_info_load): Accept model and iter
	rather than mime type; read the mime type from the model

	* mime-types-model.c (get_icon_pixbuf): Make this public
2002-01-11 15:32:10 +00:00
Bradford Hovinen
b097229244 Implement (program_sensitive_cb): Implement (response_cb): Call store_data
2002-01-11  Bradford Hovinen  <hovinen@ximian.com>

	* service-edit-dialog.c (store_data): Implement
	(program_sensitive_cb): Implement
	(response_cb): Call store_data if response_id is OK
	(service_edit_dialog_init): Connect toggled signal on
	run_program_toggle to program_sensitive_cb

	* mime-type-info.h: Add #include gnome-vfs-mime-info.h

	* service-edit-dialog.c (populate_app_list): Implement

	* mime-edit-dialog.c (populate_component_list): Make sure custom
	menu item is shown
2002-01-11 14:17:40 +00:00
Bradford Hovinen (Gdict maintainer)
98e37477fa Near total rewrite 2002-01-08 21:25:33 +00:00