Commit graph

1316 commits

Author SHA1 Message Date
Bradford Hovinen
91012a3fac Support --location
2001-04-24  Bradford Hovinen  <hovinen@ximian.com>

	* capplets/*/main.c:
	* capplets/*/preferences.c: Support --location
2001-04-25 01:01:39 +00:00
Bradford Hovinen
9bf1996a30 Support --location
2001-04-24  Bradford Hovinen  <hovinen@ximian.com>

	* capplets/*/main.c:
	* capplets/*/preferences.c: Support --location

	* capplets/Makefile.am: Compile in screensaver properties
2001-04-25 01:00:46 +00:00
Bradford Hovinen
b38b466dc0 Use read rather than fread
2001-04-24  Bradford Hovinen  <hovinen@ximian.com>

	* location.c (location_store): Use read rather than fread

2001-04-23  Bradford Hovinen  <hovinen@ximian.com>

	* location.c (location_store): Block SIGPIPE
	(location_store): Fix off-by-one bug

	* archive.c (archive_get_current_location_id): Store a full
	snapshot of the system after the default location is created

	* location.c (run_backend_proc): Added parameter do_get to allow
	control of whether pipe is opened to read or write
	(store_snapshot_cb): Implement. Invokes the given backend with
	--get and stores the XML data
	(location_store_full_snapshot): Implement. Stores a complete
	snapshot with all backend data
	(subtract_xml_node): Assume all nodes are the same
	(location_store): Add string termination character
	(location_store): Only store data if any data were actually read

2001-04-22  Bradford Hovinen  <hovinen@ximian.com>

	* config-log.c (config_log_iterate): Use the correct data pointer
	to pass to the callback

	* location.c (location_new): Save the metadata for the newly
	created location right away

	* util.h: Defined DEBUG_MSG macro for debugging messages

	* archive.c (archive_unregister_location): Don't remove the
	location from the tree if the object is marked destroyed

2001-04-21  Bradford Hovinen  <hovinen@ximian.com>

	* archive.c (archive_destroy): Return if the archive was already
	destroyed

	* location.c (location_delete): Unregister the location before
	destroying it

	* config-log.c (config_log_delete): Set deleted flag
	(config_log_destroy): Only dump the log if the log is not marked
	deleted

	* location.c (location_delete): Check return value of rmdir

	* config-log.c (io_buffer_destroy): Call g_io_channel_close to
	close the GIOChannel
	(disconnect_socket): Force the removal of the source id from the
	main loop
	(config_log_destroy): Disconnect the socket after unloading, not
	before

	* location.c (location_delete): Remember to have a NULL at the end
	of arguments to g_strconcat ()

2001-04-22  Bradford Hovinen  <hovinen@ximian.com>

	* location-list.[ch]: Change to inherit GtkObject

	* location-manager-dialog.c (location_manager_dialog_destroy):
	Implement. Close and destroy all aggregated objects.
	(close_cb): Call gtk_object_destroy

2001-04-21  Bradford Hovinen  <hovinen@ximian.com>

	* location-manager-dialog.c (delete_location_cb): Don't let the
	user delete the default location
	(delete_ok_cb): Add some sanity checks to make sure the current
	location is set to something new if we delete it

	* location-list.c (location_list_select): Implement. Selectes the
	given location in the location list

	* location-manager-dialog.c (delete_ok_cb): Use correct semantics
	for callback
2001-04-25 00:57:59 +00:00
Anna Marie Dirks
fda9cc2357 This is the initial mockup of my reorganization of control center's menus;
2001-04-24  Anna Marie Dirks <anna@ximian.com>
	* capplets/interfaces/control-center.glade: This is the initial mockup of my reorganization of control center's menus; I'm committing it to garner input. This file includes separate menus for simple, intermediate and advanced modes; it does not include any graphics (yet).
2001-04-24 20:45:23 +00:00
Bradford Hovinen
49876695d2 Added InputBuffer, removed get_line (struct _Slave): (struct
2001-04-20  Bradford Hovinen  <hovinen@ximian.com>

	* config-log.c: Added InputBuffer, removed get_line
	(struct _Slave):
	(struct _ConfigLogPrivate ): Replaced GIOChannel * and FILE * with
	InputBuffer *'s
	(input_buffer_new): Implement. Constructs a new input buffer
	(input_buffer_destroy): Implement. Destroys an input buffer and
	closes the file descriptor
	(input_buffer_cycle): Implement (borrowed from GDict). Reads
	additional data from the input file
	(input_buffer_read_line): Implement (borrowed from GDict). Reads a
	line from the input file and returns a pointer to it
	(input_buffer_write): Implement. Write the indicated string out to
	the channel

2001-04-15  Bradford Hovinen  <hovinen@ximian.com>

	* config-log.c (config_log_set_arg): Create semaphore for
	auto-reloading
	(do_load): Removed locking code
	(load_log_entry): Support prepending log entries to the beginning
	of the log; free entry->date if parsing was unsuccessful
	(config_log_reset_filenames): Unlink socket filename if not owner
	(config_log_reset_filenames): Rebind socket when filename is reset
	(connect_socket): Implement. Creates or connects to the socket
	associated with the config log
	(check_socket_filename): Implement. Checks to see if the filename
	associated with the socket is in use.
	(bind_socket): Implement. Binds the socket to the filename.
	(socket_connect_cb): Implement. Callback issued when a master gets
	a new connection.
	(socket_data_cb): Implement. Callback issued when a slave gets
	data from the master.
	(slave_new): Implement. Creates a new slave structure
	(slave_destroy): Implement. Destroys a slave structure
	(slave_data_cb): Implement. Callback issued when data comes in
	from a slave
	(slave_broadcast_data): Implement. Broadcast the first log entry
	to all the slaves except the given one
	(disconnect_socket): Implement. Disconnects the socket
	(config_log_open): Call connect_socket
	(do_unload): Don't dump the log unless currently the socket owner
	(config_log_write_entry): Broadcast data to slaves or write data
	to socket, depending on whether currently the socket owner

2001-04-14  Bradford Hovinen  <hovinen@ximian.com>

	* config-log.c (do_unload): Add a parameter write_log to tell
	whether to write out the log when unloading
	(config_log_finalize): Implement

	* config-log.[ch]: Put all data fields in ConfigLogPrivate
	structure

	* gui-backend-list.c (gui_backend_list_launch_current): Rewrite to
	use popen
2001-04-22 01:05:26 +00:00
Kenneth Christiansen
1ce0887b68 Translations from keld
control-center/po/da.po eog/po/da.po gb/po/da.po
gernel/po/da.po gimp/po/da.po gnome-db/po/da.po
gnome-libs/po/da.po gnome-lokkit/po/da.po gnome-print/po/da.po
gnomeicu/po/da.po gphoto/po/da.po gtk+/po/da.po
gtranslator/po/da.po libgda/po/da.po mc/po/da.po pan/po/da.po
pong/po/da.po sodipodi/po/da.po ximian-setup-tools/po/da.po
2001-04-21 21:19:33 +00:00
Stano Visnovsky
6388ed3ee8 Updated Slovak translation 2001-04-18 14:40:16 +00:00
Bradford Hovinen
69ff23e49b Make sure to search location of XST backends
2001-04-11  Bradford Hovinen  <hovinen@ximian.com>

	* location.c (run_backend_proc): Make sure to search location of
	XST backends

	* Makefile.am (INCLUDES): Added XST_BACKEND_LOCATION
2001-04-12 01:43:31 +00:00
Bradford Hovinen
c366b85ccf Search XST_FRONTEND_LOCATION if we are in a global state, to make sure
2001-04-11  Bradford Hovinen  <hovinen@ximian.com>

	* gui-backend-list.c: Search XST_FRONTEND_LOCATION if we are in a
	global state, to make sure XSTs are found
	(populate_from_dir): If dealing with an XST, replace "-admin" with
	"-conf" to get the backend

	* Makefile.am (INCLUDES): Added XST_FRONTEND_LOCATION

	* Makefile.am (INCLUDES): Replace obsolete hcm directory names
	with ximian-config
2001-04-12 00:57:01 +00:00
Christian Rose
3ad1a18d65 Updated Swedish translation. 2001-04-09 11:53:01 +00:00
Jacob Leach
e0d1f2ff03 Pipe down! 2001-04-03 01:07:25 +00:00
Fatih Demir
14b66884a9 Ignore fix 2001-03-30 15:29:41 +00:00
Anna Marie Dirks
727740f13e added this directory to store gladed mockups of new capplets. added this
2001-03-29  Anna Marie Dirks <anna@ximian.com>
	* capplets/interfaces: added this directory to store gladed mockups of new capplets.
	* capplets/pixmaps: added this directory to store the supporting images for the capplet mockups.

	* capplets/interfaces/background-capplet-mockup.glade: initial version of the new and improved background capplet. i still need to figure out exactly which labels to use where (ie, "alignment" is not really correct).

	* capplets/pixmaps/athens-bg.png: graphic used to demonstrate how/where the preview should go in the new background capplet.
2001-03-29 21:48:08 +00:00
Fatih Demir
a9611e4f41 Commit 2001-03-29 16:16:34 +00:00
Andraz Tori
e0ac44f896 Updated Slovenian translation 2001-03-25 13:13:47 +00:00
John Fleck
04de16c8ab file sgmldocs.make was initially added on branch control-center-1-0. 2001-03-23 03:05:08 +00:00
Ravi Pratap
8541eab4ff Correct to cast to CappletWidgetClass
2001-03-18  Ravi Pratap  <ravi@che.iitm.ac.in>

	* control-center/capplet-widget.h (CAPPLET_WIDGET_CLASS): Correct
	to cast to CappletWidgetClass

	* capplets/wm-properties.c (store_archive_data): add
	(ok_callback): Modify to store settings using wm_list_save

	* capplets/gnome-edit-properties.c (edit_apply): Modify to call
	store_archive_data before exiting.
	(current_info): Add new global variable to hold current state.
2001-03-19 04:32:37 +00:00
Kjartan Maraas
e2b921ebf0 Updated Norwegian translation.
2001-03-16  Kjartan Maraas  <kmaraas@gnome.org>

	* no.po: Updated Norwegian translation.

2001-03-14  Fatih Demir <kabalak@gtranslator.org>
2001-03-16 12:32:15 +00:00
Bradford Hovinen
ed0d760991 Added code to store archive data with the ximian archiver
2001-03-15  Bradford Hovinen  <hovinen@ximian.com>

	* capplets/new-*/main.c: Added code to store archive data with the
	ximian archiver
2001-03-15 05:24:57 +00:00
Fatih Demir
1af60708fb tr.po 2001-03-14 17:56:32 +00:00
Fatih Demir
cbbc6bfbc6 Updated Korean translation for gnomecc 2001-03-14 12:00:45 +00:00
Christian Meyer
6ad01e765f Updated German translation. 2001-03-13 16:32:35 +00:00
Chema Celorio
2c63f8ead7 s/gEdit/gedit
2001-03-13  Chema Celorio  <chema@celorio.com>

	* capplets/gnome-edit-properties/gnome-edit-properties.c:
	s/gEdit/gedit
2001-03-13 05:17:20 +00:00
Bradford Hovinen
45c0705006 Fix call to location_store_xml
2001-03-12  Bradford Hovinen  <hovinen@ximian.com>

	* main.c (store_archive_data): Fix call to location_store_xml
2001-03-13 03:16:08 +00:00
Andraz Tori
a4d3d1b934 Updated Slovenian translation 2001-03-11 22:21:26 +00:00
Maciej Stachowiak
2afb61f809 file theme-selector.desktop.in was initially added on branch control-center-1-0. 2001-03-09 16:22:47 +00:00
Darin Adler
e7d9f82a0f Merge all changes from gnome-vfs-1 branch to HEAD. 2001-03-06 23:33:19 +00:00
Pablo Saratxaga
e0d6ca4c74 updated Spanish file 2001-03-02 23:40:34 +00:00
Andraz Tori
966a112621 Updated Slovenian translation 2001-03-01 23:37:30 +00:00
Stano Visnovsky
68c70f63b0 fixup 2001-02-23 18:23:26 +00:00
Stano Visnovsky
aeed9a0a55 Fixup of MIME 2001-02-23 18:10:19 +00:00
Stano Visnovsky
944746e669 Updated Slovak translation 2001-02-23 17:36:05 +00:00
Fatih Demir
aa64359cbc Updated Korean translation committed 2001-02-21 11:41:14 +00:00
Gene Ragan
298bbf1137 file files-types-capplet.desktop was initially added on branch gnome-vfs-1. 2001-02-20 20:10:46 +00:00
Bradford Hovinen
737118953b Use attr->val rather than attr->node Created Removed parts dealing with
2001-02-20  Bradford Hovinen  <hovinen@ximian.com>

	* location.c (compare_xml_nodes): Use attr->val rather than
	attr->node
	* tests/test-3.sh: Created
	* tests/test-2.sh: Removed parts dealing with partial containment
2001-02-20 15:37:48 +00:00
Bradford Hovinen
afc3333a5a Added test-1.sh and test-2.sh, the first two tests in the test suite
2001-02-19  Bradford Hovinen  <hovinen@ximian.com>

	* Added test-1.sh and test-2.sh, the first two tests in the test suite

	* location.c (location_foreach_backend): Update to use BackendNote
	(do_rollback): Don't do rollback if the doc is NULL
	(location_store_xml): Return if this location does not contain the
	backend specified
	(location_store_xml): Use fprintf rather than g_warning
	(subtract_xml_node):
	(merge_xml_nodes): Update child node while iterating

	* config-log.c (config_log_get_rollback_ids_for_date): Remove

	* location.c (location_set_arg): ref inherited object

	* main.c (main): Don't check if the location is default; don't
	create default location if non-existant
	(main): Signal error if the user is adding a location and did not
	specify a name
	(main): Use fprintf to signal the error that a location could not
	be opened
	(main): Signal error and exit when archive cannot be opened,
	rather than using g_error
	(do_add_location): Check for NULL location_id
	(do_add_location): Create default location if it does not exist
	and it is specified as the parent

	* archive.c (archive_get_current_location_id): Create the default
	location if it does not exist

	* backend-list.c (backend_list_contains): Use strcmp and iterate
	through the list

	* location.c (location_contains): Read whether the backend is in
	the master list if this location is toplevel

2001-02-18  Bradford Hovinen  <hovinen@ximian.com>

	* main.c (do_add_backend): Support ContainmentType specification
	(do_store): Support StoreType specification
	(struct store_options): Add set of options to support
	compare_parent, mask_previous, options
	(struct add_remove_backend_options): Add option for partial
	containment when adding backend

	* location.c (subtract_xml_node):
	(merge_xml_nodes):
	(compare_xml_nodes):
	(merge_xml_docs):
	(subtract_xml_doc): Implement. XML node compare/merging operations
	(location_store): Rewrite to call location_store_xml
	(location_store_xml): Include support for diffing with
	configuration data from parent config
	(location_dump_rollback_data): Rewrite to use
	location_load_rollback_data
	(dump_xml_data): Remove
	(do_rollback): Rewrite to use xmlDocDump; pass xmlDocPtr rather
	than id number
	(location_rollback_id): Add node merging support
	(location_rollback_backend_by):
	(location_rollback_backend_to): Rewrite to use
	location_load_rollback_data
	(location_rollback_backends_to): Rewrite to iterate through
	backend list and call location_rollback_backend_to for each
	element
	(location_rollback_all_to): Ditto

2001-02-14  Bradford Hovinen  <hovinen@ximian.com>

	* location.h (_ContainmentType): Introduce. Specifies the type of
	containment (full, partial, none), of a backend in a location

	* location.c: Added struct BackendNote; have backend list include
	type of containment as well as backend id
	(location_contains): Use find_note
	(find_note): Implement. Finds a note for the given backend id in
	the backend list
	(backend_note_new):
	(backend_note_destroy): Implement. Convenience functions for
	creating and destroying backend notes
	(load_metadata_file):
	(write_metadata_file): Read/write type of backend containment
	(full or partial)
	(location_add_backend): Pass parameter telling whether containment
	is partial
2001-02-20 02:43:35 +00:00
Andraz Tori
bb7ec451a6 Updated Slovenian translation 2001-02-19 23:11:47 +00:00
Almer S. Tigelaar
24ff376b65 Updated Dutch translation.
2001-02-19  Almer S. Tigelaar  <almer@gnome.org>

	* nl.po: Updated Dutch translation.
2001-02-19 19:37:25 +00:00
Simos Xenitellis
a0a85a4021 Updated Greek translation - fixed the font setting 2001-02-18 23:13:45 +00:00
Andraz Tori
57aba6525e Updated Slovenian translation 2001-02-18 19:50:16 +00:00
Akira TAGOH
25fdd38095 Updated Japanese translation.
2001-02-16  Akira TAGOH  <tagoh@gnome.gr.jp>

	* ja.po: Updated Japanese translation.
2001-02-17 03:30:26 +00:00
Andraz Tori
56c33b89cf Updated Slovenian translation 2001-02-16 21:48:39 +00:00
jjranta
319f6d2123 Updated Finnish translation by Pauli Virtanen 2001-02-14 19:14:55 +00:00
Sami Pesonen
fb7c18e2b2 Finnish translation updated by Pauli Virtanen <pauli.virtanen@saunalahti.fi> 2001-02-13 21:12:36 +00:00
Marius Andreiana
b073d16b50 Update ro (Romanian) translation 2001-02-12 14:01:36 +00:00
Andraz Tori
02784ee5fa Updated Slovenian translation 2001-02-12 13:59:58 +00:00
Christian Meyer
599b62dce7 Corrections for German translation. 2001-02-11 17:01:16 +00:00
Andraz Tori
c2f9e09991 Updated Slovenian translation 2001-02-09 16:28:35 +00:00
Christian Meyer
d01fdd1c71 updated German translation. 2001-02-09 16:21:07 +00:00
Valek Frob
824c8bfaff Updated russian translation. 2001-02-09 14:13:30 +00:00