Commit graph

734 commits

Author SHA1 Message Date
Bradford Hovinen
54d540dd47 Free the structure if the user clicks cancel and this is an add dialog
2002-01-26  Bradford Hovinen  <hovinen@ximian.com>

	* service-edit-dialog.c (response_cb): Free the structure if the
	user clicks cancel and this is an add dialog

	* mime-edit-dialog.c (response_cb): Free the structure if the user
	clicks cancel and this is an add dialog

	* service-info.c (load_all_services): Call
	model_entry_insert_child here
	(service_info_new): Don't call model_entry_insert_child
	(get_services_category_entry): Make this public

	* service-edit-dialog.c (store_data): Call
	model_entry_insert_child here
2002-01-26 18:30:32 +00:00
Bradford Hovinen
d8c7752324 Implement (find_possible_supported_apps): Implement
2002-01-26  Bradford Hovinen  <hovinen@ximian.com>

	* mime-type-info.c (intersect_lists, reduce_supported_app_list)
	(mime_category_info_find_apps): Implement
	(find_possible_supported_apps): Implement

	* mime-category-edit-dialog.c (mime_category_edit_dialog_init):
	Use mime_category_edit_widget for the dialog source

	* model-entry.c (model_entry_remove_from_dirty_list): Accept a
	ModelEntry structure

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

	* service-edit-dialog.c (store_data): Call
	model_entry_append_to_dirty_list
2002-01-26 16:24:45 +00:00
Bradford Hovinen
fbdb86b151 Desensitize component select (populate_application_list): Desensitize
2002-01-25  Bradford Hovinen  <hovinen@ximian.com>

	* mime-category-edit-dialog.c (fill_dialog): Desensitize component
	select
	(populate_application_list): Desensitize application select if
	there are no applications
	(fill_dialog): Flip logic on category defaults toggle sensitivity

	* service-edit-dialog.c (populate_app_list): Desensitize program
	select if there are no programs
	(fill_dialog): Use service_info_get_description for description
	entry
2002-01-25 20:55:44 +00:00
Bradford Hovinen
e9c8acc492 Construct an iterator if the one given is NULL (store_data): Don't notify
2002-01-25  Bradford Hovinen  <hovinen@ximian.com>

	* mime-edit-dialog.c (store_data): Construct an iterator if the
	one given is NULL
	(store_data): Don't notify row deletion if the object was not in
	the model to begin with
	(store_data): Don't fetch the old path if this is an add dialog
	(populate_component_list): Desensitize the component select box if
	there are no components
	(populate_application_list): Ditto

	* mime-type-info.c (mime_type_info_new): Initialize the parent
	field even if the mime type field is NULL
	(mime_type_info_get_category_name): Don't crash if the parent
	field is NULL

	* mime-edit-dialog.c (store_data): Generate random MIME type if
	not already set
	(validate_data): Implement. Make sure all the data entered are valid
	(response_cb): Call validate_data

	* file-types-capplet.c (remove_cb): Check the entry type and
	notify the tree of the deletion; update according to earlier
	changes

	* mime-edit-dialog.c: Add property is-add
	(setup_add_dialog): Implement
	(add_ext_cb): Clear the entry after adding
	(choose_cat_cb): Pack the tree in a scrolled window
	(choose_cat_cb): Set the minimum size on the dialog to 300x300
2002-01-25 20:27:10 +00:00
Bradford Hovinen
7b769d453f Free icon_path
2002-01-25  Bradford Hovinen  <hovinen@ximian.com>

	* mime-type-info.c (mime_type_info_free): Free icon_path

	* mime-edit-dialog.c (fill_dialog): Set icon entry with the full
	path of the icon

	* mime-type-info.c (mime_type_info_get_icon_path):
	Implement. Factor from get_pixbuf

	* mime-edit-dialog.c (store_data): Reset the icon pixbufs so that
	they get reloaded

	* mime-type-info.c (get_icon_pixbuf): Use
	gnome_vfs_icon_path_from_filename and install the nautilus/ hack
	from the old capplet *sigh*
2002-01-25 17:27:02 +00:00
Bradford Hovinen
1a3c89e420 Code cleanup; create our own model rather than using GtkTreeStore Update
2002-01-24  Bradford Hovinen  <hovinen@ximian.com>

	* mime-type-info.[ch], mime-types-model.[ch], service-info.[ch]:
	Code cleanup; create our own model rather than using GtkTreeStore
	* All: Update to reflect the above
2002-01-25 16:12:01 +00:00
Richard Hestilow
be83a3ec51 Remerge control-center-plus.
2002-01-21  Richard Hestilow <hestilow@ximian.com>

	* Remerge control-center-plus.
2002-01-22 03:13:30 +00:00
Anders Carlsson
a080e40edc Get the theme name right.
2002-01-21  Anders Carlsson  <andersca@gnu.org>

	* main.c: Get the theme name right.
2002-01-21 21:46:55 +00:00
Anders Carlsson
cae7461c17 Use a GtkTreeView instead of a clist.
2002-01-21  Anders Carlsson  <andersca@gnu.org>

	* control/control.c (create_form): Use a GtkTreeView instead of a
	clist.
2002-01-21 17:04:44 +00:00
Richard Hestilow
d5d2f1de7b Complete rewrite.
2002-01-21  Richard Hestilow  <hestilow@ximian.com>

	* Complete rewrite.
2002-01-21 07:16:19 +00:00
Jonathan Blandford
d56503be2a Move locate_pointer out.
Mon Jan 21 01:29:57 2002  Jonathan Blandford  <jrb@redhat.com>

	* gnome-settings-keyboard.c: Move locate_pointer out.

	* gnome-settings-mouse.c: Move locate_pointer in.  Clean up code.
	Remove print statements.
2002-01-21 06:38:45 +00:00
Seth Nickell
4669c9317d Install icons into the pixmaps directory so the Panel & Nautilus will pick
2002-01-19  Seth Nickell  <snickell@stanford.edu>

	* Makefile.am:

	Install icons into the pixmaps directory so the Panel
	& Nautilus will pick up on them.
2002-01-19 15:18:33 +00:00
Seth Nickell
58be34e064 Install the icon into the standard pixmaps dir so the Panel & Nautilus
2002-01-19  Seth Nickell  <snickell@stanford.edu>

	* Makefile.am:

	Install the icon into the standard pixmaps dir so
	the Panel & Nautilus will pick up on it.
2002-01-19 15:16:24 +00:00
Seth Nickell
d5ee896e9f Install the icon into the pixmaps dir so the Panel & Nautilus will pick up
2002-01-19  Seth Nickell  <snickell@stanford.edu>

	* Makefile.am:

	Install the icon into the pixmaps dir so
	the Panel & Nautilus will pick up on it.
2002-01-19 15:15:43 +00:00
Seth Nickell
9a79b122dc Install icon into the standard pixmaps directory so that Panel & Nautilus
2002-01-19  Seth Nickell  <snickell@stanford.edu>

	* Makefile.am:

	Install icon into the standard pixmaps directory
	so that Panel & Nautilus will pick up on it.
2002-01-19 15:14:50 +00:00
Jakub Steiner
f705ff5540 tweak the icon a bit 2002-01-17 20:58:51 +00:00
Jonathan Blandford
7113193d0c clean up directory 2002-01-16 05:43:18 +00:00
Rachel Hestilow
b3ef023780 Forgot to add this. 2002-01-15 23:28:23 +00:00
Richard Hestilow
9c985fe0cd .
2002-01-15  Richard Hestilow <hestilow@ximian.com>

	* (Many "make distcheck" fixes).
2002-01-15 20:45:34 +00:00
Bradford Hovinen (Gdict maintainer)
d3ed7b29b2 Updates to pass distcheck 2002-01-14 21:30:29 +00:00
Bradford Hovinen
5aa592f68b Compile common first
2002-01-14  Bradford Hovinen  <hovinen@ximian.com>

	* capplets/Makefile.am (always_built_SUBDIRS): Compile common first
2002-01-14 21:13:08 +00:00
Bradford Hovinen (Gdict maintainer)
9bf50c9911 Update 2002-01-14 21:12:20 +00:00
Jonathan Blandford
33a1451ddc add file so make dist can get it 2002-01-14 21:06:03 +00:00
Bradford Hovinen
b75d11e4cb Update (desktopfilesdir): Update
2002-01-14  Bradford Hovinen  <hovinen@ximian.com>

	* Makefile.am ($(desktop_in_files)): Update
	(desktopfilesdir): Update

	* Sawfish/Makefile.am (pixmapsdir): Update
2002-01-14 20:57:16 +00:00
Jonathan Blandford
04828ee8cc forgot a file 2002-01-14 20:34:16 +00:00
Bradford Hovinen (Gdict maintainer)
4c56d1ef3f Update Makefile.am 2002-01-14 20:29:51 +00:00
Bradford Hovinen (Gdict maintainer)
a4e4c5cc88 Update .desktop.in scheme 2002-01-14 20:26:33 +00:00
Jonathan Blandford
a02f5d7b53 Rewritten. Works with new gconf. Fun Fun. 2002-01-14 20:24:46 +00:00
Bradford Hovinen (Gdict maintainer)
2f6e28dcdd Update to be parallel installable with gnome2-* binary name convention 2002-01-14 19:48:43 +00:00
Bradford Hovinen (Gdict maintainer)
ce01a530be Renamed binaries with the convention gnome2-* so as to be guaranteed
fully parallel installable (and consistent)
2002-01-14 19:30:34 +00:00
Bradford Hovinen (Gdict maintainer)
912bd0a83c Moved sound.desktop.in.in to sound.desktop.in 2002-01-14 19:21:24 +00:00
Bradford Hovinen
6531b64e1c Update
2002-01-14  Bradford Hovinen  <hovinen@ximian.com>

	* Sawfish/Makefile.am (pixmapsdir): Update
2002-01-14 18:47:02 +00:00
Bradford Hovinen
3f8efae18f Update
2002-01-14  Bradford Hovinen  <hovinen@ximian.com>

	* Makefile.am: Update
2002-01-14 18:39:01 +00:00
Bradford Hovinen
57513c09d7 Added ui-properties back in
2002-01-14  Bradford Hovinen  <hovinen@ximian.com>

	* capplets/Makefile.am (SUBDIRS): Added ui-properties back in

	* capplets/ui-properties/main.c (main): Remove Ximian archiver stuff

	* capplets/ui-properties/*.c: Change GNOMECC_blah_DIR to
	GNOMECC_DATA_DIR "/blah
2002-01-14 18:31:38 +00:00
Richard Hestilow
26c2c85107 Gnome 2 port. (Settings only halfway work right now.)
2002-01-14  Richard Hestilow  <hestilow@ximian.com>

	* Gnome 2 port. (Settings only halfway work right now.)
2002-01-14 18:25:44 +00:00
Bradford Hovinen
56d19870d2 Removed references to obsolete capplets (GNOMECC_CAPPLETS_EXTRA_DIST,
2002-01-14  Bradford Hovinen  <hovinen@ximian.com>

	* configure.in: Removed references to obsolete capplets
	(GNOMECC_CAPPLETS_EXTRA_DIST, GNOMECC_CAPPLETS_CLEANFILES): Update

	* capplets/Makefile.am (SUBDIRS): Remove obsolete wm-properties
	and url-properties

	* Makefile.am: capplets/theme-selector/Update
2002-01-14 18:05:34 +00:00
Bradford Hovinen
7dc5a3ede1 Remove obsolete wm-properties and url-properties
2002-01-14  Bradford Hovinen  <hovinen@ximian.com>

	* capplets/Makefile.am (SUBDIRS): Remove obsolete wm-properties
	and url-properties
2002-01-14 17:40:19 +00:00
Jonathan Blandford
b47bd9d7f9 we now depend on esound.
Tue Jan  8 15:00:27 2002  Jonathan Blandford  <jrb@redhat.com>

	* configure.in (XF86MISC_LIBS): we now depend on esound.

	* background-properties-capplet.c (main): Removed call to set up
	session management - obsolete

	* gnome-settings-daemon/Makefile.am (INCLUDES): Added missing
	-I$(top_srcdir)

	* POTFILES.in: Update
2002-01-14 17:39:15 +00:00
Bradford Hovinen (Gdict maintainer)
63979d3820 Removed obsolete default-applications.desktop.in.in 2002-01-14 17:00:28 +00:00
Bradford Hovinen (Gdict maintainer)
edc0685878 Added missing default-applications.desktop.in 2002-01-14 17:00:07 +00:00
Bradford Hovinen
09974bbcd7 Reparent the iterator if necessary (mime_type_info_update): Don't call
2002-01-14  Bradford Hovinen  <hovinen@ximian.com>

	* mime-type-info.c (mime_type_info_update): Reparent the iterator
	if necessary
	(mime_type_info_update): Don't call reinsert_model_entry

	* mime-types-model.c (insert_mime_type): Implement. Factor from
	mime_types_model_new
2002-01-14 16:35:16 +00:00
Bradford Hovinen
d6d5ff20d9 Implement. Mostly a copy from the corresponding function in
2002-01-14  Bradford Hovinen  <hovinen@ximian.com>

	* mime-category-edit-dialog.c (populate_application_list):
	Implement. Mostly a copy from the corresponding function in
	mime-edit-dialog.c

	* mime-types-model.c (get_insertion_point): Make this public
	(find_supported_apps_for_category, reduce_supported_app_list)
	(intersect_lists, find_possible_supported_apps): Implement

	* mime-edit-dialog.c (fill_dialog): Fill category_entry
	(choose_cat_cb): Implement
	(mime_edit_dialog_init): Connect choose_button to choose_cat_cb

	* mime-type-info.c (mime_type_info_load): Load category name
	(mime_type_info_save): Call reinsert_iter to affect category name
	change

	* mime-types-model.c (mime_types_model_new): Add parameter
	is_category_select; TRUE iff this model should be only for
	selecting a category and not list the actual file types or
	Internet services
	(get_category_name): Implement

	* mime-edit-dialog.c (mime_edit_dialog_init): Add category_label
	to first size group

2002-01-13  Bradford Hovinen  <hovinen@ximian.com>

	* file-types-capplet.c (edit_cb, row_activated_cb): Don't try to
	create a category edit dialog if this is the Internet Services
	category
	(count_cb): Only count other than internet services category

	* mime-types-model.c (model_entry_is_category): Implement
	(model_entry_is_protocol): Use categories[INTERNET_SERVICES_IDX]
	rather than string
	(model_entry_is_internet_services_category): Implement

	* Makefile.am (gnome_file_types_properties_SOURCES): Add
	mime-category-edit-dialog.[ch]

	* file-types-capplet.c (edit_cb): Construct a category edit dialog
	if the tree iterator has children
	(row_activated_cb): Ditto
2002-01-14 15:28:36 +00:00
Bradford Hovinen
70df5729da Rename to add_mime_cb (create_dialog): Update add_button ->
2002-01-11  Bradford Hovinen  <hovinen@ximian.com>

	* file-types-capplet.c (add_cb): Rename to add_mime_cb
	(create_dialog): Update add_button -> add_mime_button
2002-01-11 21:18:04 +00:00
Bradford Hovinen
10be28c26f Implement (count_cb): Implement (create_dialog): Connect changed signal on
2002-01-11  Bradford Hovinen  <hovinen@ximian.com>

	* file-types-capplet.c (selection_changed_cb): Implement
	(count_cb): Implement
	(create_dialog): Connect changed signal on treeview selection to
	selection_changed_cb
	(create_dialog): Desensitize edit button
	(remove_cb): Call selection_changed_cb
2002-01-11 21:13:51 +00:00
Bradford Hovinen
b11fd58903 Set sensitivity of needs_terminal_toggle (store_data): Set needs_terminal
2002-01-11  Bradford Hovinen  <hovinen@ximian.com>

	* mime-edit-dialog.c (default_action_changed_cb): Set sensitivity
	of needs_terminal_toggle
	(store_data): Set needs_terminal
	(fill_dialog): Set needs_terminal_toggle
2002-01-11 20:54:55 +00:00
Bradford Hovinen
6a71b6f339 Remove from dirty list (mime_type_info_save): Use libuuid to generate a
2002-01-11  Bradford Hovinen  <hovinen@ximian.com>

	* mime-type-info.c (mime_type_info_free): Remove from dirty list
	(mime_type_info_save): Use libuuid to generate a unique ID for the
	custom app
	(mime_type_info_load): Check for custom line based on name
2002-01-11 20:45:15 +00:00
Bradford Hovinen
d3bff505c2 Remove from dirty list
2002-01-11  Bradford Hovinen  <hovinen@ximian.com>

	* mime-type-info.c (mime_type_info_free): Remove from dirty list
2002-01-11 20:14:51 +00:00
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