Commit graph

1824 commits

Author SHA1 Message Date
Bradford Hovinen
1dd4c2daa2 Create apply and close buttons, ala the setup tools
2001-09-14  Bradford Hovinen  <hovinen@ximian.com>

        * rollback-capplet-dialog.c (rollback_capplet_dialog_init): Create
        apply and close buttons, ala the setup tools
2001-09-22 23:36:41 +00:00
Bradford Hovinen
a6802d47af Don't call setup_cb after the first time
2001-09-14  Bradford Hovinen  <hovinen@ximian.com>

        * capplet-util.c (set_moniker_cb): Don't call setup_cb after the
        first time
2001-09-22 23:30:40 +00:00
Bradford Hovinen
4487cd8fcc Create the root pixmap after we know about the gradient geometry
2001-09-22  Bradford Hovinen  <hovinen@ximian.com>

        * applier.c (run_render_pipeline): Create the root pixmap after we
        know about the gradient geometry
        (place_pixbuf):
        (tile_pixbuf): Fix calls to gdk_pixbuf_composite[_color]
        (render_wallpaper): Fix setting of pixbuf_xlate
        (render_background): Fix pixbuf_render_geom here in case the
        gradient geometry is small
2001-09-22 22:23:56 +00:00
Stanislav Visnovsky
76bac313c5 Updated Slovak translation.
2001-09-22  Stanislav Visnovsky  <visnovsky@nenya.ms.mff.cuni.cz>

	* sk.po: Updated Slovak translation.
2001-09-22 13:01:37 +00:00
Bradford Hovinen
ee3356381a Total reorganization
2001-09-21  Bradford Hovinen  <hovinen@ximian.com>

	* applier.c: Total reorganization

2001-09-17  Bradford Hovinen  <hovinen@ximian.com>

	* preferences.c (preferences_save): Move from
	applier.c:output_compat_prefs; it really belongs here
	(preferences_class_init): Don't construct an applier here

	* background-properties-capplet.c (setup_dialog): Create a new
	applier for every dialog
	(create_dialog): Create applier locally, just for this one widget
	(apply_settings): Create applier locally and destroy on exit
	(main): Remove call to gnome_window_set_...
2001-09-22 02:25:59 +00:00
Bradford Hovinen
b90a84da60 Create a new applier for every dialog (create_dialog): Create applier
2001-09-17  Bradford Hovinen  <hovinen@ximian.com>

	* background-properties-capplet.c (setup_dialog): Create a new
	applier for every dialog
	(create_dialog): Create applier locally, just for this one widget
	(apply_settings): Create applier locally and destroy on exit
	(main): Remove call to gnome_window_set_...
2001-09-17 13:31:43 +00:00
Carlos Perelló Marín
c1ff88b8c3 Fixed.
2001-09-17  Carlos Perelló Marín <carlos@gnome-db.org>

	* cs.po: Fixed.
2001-09-17 00:53:31 +00:00
Bradford Hovinen
5c31978a28 Use applier_render_color_p (real_realize_cb): Ditto (get_legacy_settings):
2001-09-14  Bradford Hovinen  <hovinen@ximian.com>

	* background-properties-capplet.c (property_change_cb): Use
	applier_render_color_p
	(real_realize_cb): Ditto
	(get_legacy_settings): Set the wallpaper_enabled flag based on the
	value of wallpaper_filename; use (none) as the default for
	wallpaper_filename
2001-09-14 16:52:52 +00:00
Bradford Hovinen
862ce9a11b Use applier_render_color_p (real_realize_cb): Ditto
2001-09-14  Bradford Hovinen  <hovinen@ximian.com>

	* background-properties-capplet.c (property_change_cb): Use
	applier_render_color_p
	(real_realize_cb): Ditto

	* applier.c (applier_render_color_p): Renamed from
	applier_render_gradient_p; check both solid color and gradient

	* preferences.c (preferences_need_color_opts): Removed; use
	applier_render_color_p instead
2001-09-14 14:26:47 +00:00
Bradford Hovinen
84cbbbff3e Default to TRUE on enabled; check value of wallpaper_filename to set
2001-09-13  Bradford Hovinen  <hovinen@ximian.com>

	* preferences.c (preferences_load_from_bonobo_db):
	(preferences_load_from_bonobo_pbag): Default to TRUE on enabled;
	check value of wallpaper_filename to set wallpaper_enabled if
	wallpaper_enabled could not be found

	* background-properties-capplet.c (setup_dialog):
	(apply_settings): Check for error condition after creating
	preferences object

	* preferences.c (preferences_destroy): Make this static
	(read_color_from_string): Made argument const
	(bonobo_color_to_gdk): Made argument const
	(DB_GET_VALUE): Removed
	(PB_GET_VALUE): Removed
	(preferences_load_from_bonobo_pbag): Use
	local_bonobo_property_bag_client_get_value_{color|filename}
	(preferences_new_from_bonobo_db):
	(preferences_new_from_bonobo_pbag): Deallocate object and return
	NULL if there was an error
	(local_bonobo_property_bag_client_get_value_color):
	(local_bonobo_property_bag_client_get_value_filename): Implement
	(MAKE_GET_SIMPLE): Implement (copy from bonobo-conf)
	(preferences_load_from_bonobo_pbag): Read enabled property
	(preferences_load_from_bonobo_pbag): Forgive wallpaper_enabled and
	enabled not being found

	* applier.c (applier_render_gradient_p): Implement
	(applier_destroy): Make this static

	* preferences.c (preferences_load_from_bonobo_db): Use
	bonobo_config_get_boolean rather than BONOBO_ARG_GET_BOOLEAN
	(DB_GET_VALUE ()). Ditto bonobo_config_get_long
	(preferences_load_from_bonobo_db): Pass ev pointer to each call to
	bonobo_config_get_*
	(preferences_load_from_bonobo_db): Check ev pointer after each
	call to bonobo_config_get_* and return if an exception is set
	(preferences_load_from_bonobo_db): Allow the enabled flag not to
	be present in the database since some older configurations don't
	have it included
	(all): Remove support for compiling without bonobo-conf
2001-09-14 13:36:50 +00:00
Bradford Hovinen (Gdict maintainer)
d64bf81275 Added storageComplete method to Location, to notify Location that the
storage of rollback data is complete
2001-09-12 15:39:02 +00:00
Bradford Hovinen
26bb0ac925 Add GNOMECC_DEFAULTS_DIR
2001-09-04  Bradford Hovinen  <hovinen@ximian.com>

	* acconfig.h: Add GNOMECC_DEFAULTS_DIR
2001-09-12 15:38:10 +00:00
Bradford Hovinen
0c9ba43b5d Added rollback
2001-09-07  Bradford Hovinen  <hovinen@ximian.com>

	* capplets/Makefile.am (always_built_SUBDIRS): Added rollback

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

	* configure.in: Use ${real_prefix}/share rather than ${datadir},
	etc.

	* acconfig.h: Add GNOMECC_DEFAULTS_DIR

	* configure.in (GNOMECC_DEFAULTS_DIR): Define this here
2001-09-12 15:37:49 +00:00
Bradford Hovinen
cd3e448631 Free the full moniker to correct memory leak (set_moniker_cb): Disconnect
2001-09-03  Bradford Hovinen  <hovinen@ximian.com>

	* capplet-util.c (set_moniker_cb): Free the full moniker to
	correct memory leak
	(set_moniker_cb): Disconnect old signal handler
2001-09-12 15:35:44 +00:00
Bradford Hovinen
c0f0664680 Apply preferences now if the preview widget is already realized
2001-09-03  Bradford Hovinen  <hovinen@ximian.com>

	* background-properties-capplet.c (setup_dialog): Apply
	preferences now if the preview widget is already realized
2001-09-12 15:35:23 +00:00
Bradford Hovinen (Gdict maintainer)
c57c105d7e Added rollback capplet to SUBDIRS 2001-09-12 15:34:26 +00:00
Bradford Hovinen (Gdict maintainer)
e495f69181 Complete rewrite 2001-09-12 15:33:45 +00:00
Bradford Hovinen (Gdict maintainer)
a3aba9ecba Removed obsolete files 2001-09-12 15:31:23 +00:00
Bradford Hovinen
6ab6caa498 Make backend_id const
2001-09-07  Bradford Hovinen  <hovinen@ximian.com>

	* archiver-client.c (location_client_store_xml): Make backend_id
	const

	* util.c (parse_date): Set the time zone
	(parse_date): Initialize tm_isdst

	* archiver-client.c (location_client_store_xml): Call
	ConfigArchiver_Location_storageComplete when done
	(location_client_store_xml): Don't try to save the XML file if
	there was an error getting the storage filename

	* location.c (location_storage_complete): Implement
	(impl_ConfigArchiver_Location_storageComplete): Implement

	* config-log.c (config_log_get_backend_id_for_id): Make return
	value const

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

	* location.c (location_get_storage_filename): Notify listeners
	that new rollback data is available

	* bonobo-config-archiver.c (new_rollback_cb): Implement
	(bonobo_config_archiver_new): Connect above to event source

	* location.c (location_store):
	(location_init): Construct an event source and add its interface

	* Makefile.am (INCLUDES): Remove -DDEFAULTS_DIR

2001-09-03  Bradford Hovinen  <hovinen@ximian.com>

	* bonobo-config-archiver.c (bonobo_config_archiver_new): Accept
	complete moniker as an argument; do the parsing here

	* archiver-client.c (location_client_load_rollback_data): Adjust
	time from mktime according to time zone information

	* bonobo-moniker-archiver.c (is_leap_year):
	(mod_date_by_str): Implement
	(parse_name): Use correct math for computing offsets

	* bonobo-config-archiver.c (bonobo_config_archiver_new): Don't
	print an error message if the parent moniker is bad
	(bonobo_config_archiver_new): Remove debugging messages

	* archiver-client.c (location_client_load_rollback_data): Make
	date and backend_id const

	* bonobo-moniker-archiver.c (archiverdb_resolve): Determine date
	from moniker and pass to bonobo_config_archiver_new

	* bonobo-config-archiver.c (bonobo_config_archiver_new): Accept
	date structure as argument
2001-09-12 15:30:41 +00:00
Chema Celorio
7f4dbc6ff6 substite ${prefix}/share with {datadir} thanks peter@ximian.com
2001-09-10  Chema Celorio  <chema@celorio.com>

	* configure.in (GNOMECC_PIXMAPS_DIR): substite ${prefix}/share with {datadir}
	thanks peter@ximian.com
2001-09-10 18:57:05 +00:00
Wang Jian
8a8e21c009 *** empty log message *** 2001-09-08 16:45:31 +00:00
Jose Maria Celorio
978387067a . 2001-09-08 01:03:00 +00:00
Richard Hestilow
f29d4a9502 Redid UI a bit to add new enabled checkbox.
2001-09-07  Richard Hestilow  <hestilow@ximian.com>

	* background-properties.glade: Redid UI a bit to add new enabled
	checkbox.

	* background-properties.xml: Add default for "wallpaper_enabled".

	* preferences.[ch]: New function preferences_need_color_opts.
	(preferences_load_from_bonobo_db): Load wallpaper_enabled from
	bonobo-conf.
	(preferences_load_from_bonobo_pbag): Ditto.

	* applier.[ch]: New function applier_get_wallpaper_pixbuf
	(needed by preferences_need_color_opts, else pixbuf gets created
	twice).

	* background-properties-capplet.c (real_realize_cb): Set
	color frame sensitivity based on preferences_need_color_opts.
	(property_change_cb): Ditto.
	(setup_dialog): Add peditor/guard for wallpaper_enabled. Also,
	set glade object data on the preferences structure as well.
2001-09-08 00:42:11 +00:00
Chema Celorio
fee5ad7111 dont set the pixmaps (capplet_fool_the_linker):
2001-09-07  Chema Celorio  <chema@celorio.com>

	* mouse-properties-capplet.c (create_dialog): dont set the pixmaps
	(capplet_fool_the_linker):
	(mouse_capplet_create_image_widget):
	(mouse_capplet_create_image_widget_canvas): implement.
	This sets antialiased pixmaps for the mouse capplet. Maybe this
	call should in common. Closes bug #58293
2001-09-07 21:45:59 +00:00
Pablo Saratxaga
a6e3b093e3 updated Azeri file 2001-09-05 10:00:59 +00:00
Kwok-Koon Cheung
243ab12f36 Usual update. 2001-09-04 20:37:08 +00:00
Kwok-Koon Cheung
aa885c400b Rename all traces of zh_TW.Big5 to zh_TW 2001-09-04 20:08:49 +00:00
Jose Maria Celorio
797be7fba6 I hate gettext 2001-09-04 18:56:24 +00:00
Bradford Hovinen
1d03bbd1c5 1.5.7
2001-08-29  Bradford Hovinen  <hovinen@ximian.com>

        * RELEASE : 1.5.7

        * archive.c (foreach_build_list_cb): Don't unref the location if
        it is deleted
        (load_all_locations): Check if the location is marked deleted and
        throw it away if so

        * location.c (location_new): Don't unref parent location
2001-09-04 13:43:48 +00:00
Kwok-Koon Cheung
608b418c3e Rename zh_TW.Big5 -> zh_TW, to prevent future encoding naming problem. 2001-08-31 11:59:21 +00:00
Bradford Hovinen
eab386057e Don't unref parent location
2001-08-29  Bradford Hovinen  <hovinen@ximian.com>

	* location.c (location_new): Don't unref parent location
2001-08-29 15:12:10 +00:00
Bradford Hovinen
579d651161 Unref the location given if we are not going to use it
2001-08-28  Bradford Hovinen  <hovinen@ximian.com>

	* archive.c (foreach_build_list_cb): Unref the location given if
	we are not going to use it
2001-08-29 14:23:01 +00:00
Bradford Hovinen
2d85752882 Retrieve the correct value for wallpaper_types
2001-08-28  Bradford Hovinen  <hovinen@ximian.com>

	* background-properties-capplet.c (get_legacy_settings): Retrieve
	the correct value for wallpaper_types
2001-08-28 13:45:20 +00:00
Bradford Hovinen
25d5132381 Output the correct value for wallpaperAlign
2001-08-28  Bradford Hovinen  <hovinen@ximian.com>

	* applier.c (output_compat_prefs): Output the correct value for
	wallpaperAlign
2001-08-28 13:42:49 +00:00
Bradford Hovinen
3c6740ca6f Don't adjust the opacity if the opacity setting is invalid
2001-08-28  Bradford Hovinen  <hovinen@ximian.com>

	* preferences.c (preferences_load_from_bonobo_pbag): Don't adjust
	the opacity if the opacity setting is invalid
	(preferences_load_from_bonobo_db): Ditto
2001-08-28 13:32:01 +00:00
Bradford Hovinen
a82ec1573c Don't add the location to the list if it is marked deleted
2001-08-27  Bradford Hovinen  <hovinen@ximian.com>

	* archive.c (foreach_build_list_cb): Don't add the location to the
	list if it is marked deleted
	(impl_ConfigArchiver_Archive_createLocation): Do
	CORBA_Object_duplicate rather than bonobo_object_dup_ref

	* location.c (location_is_deleted): Implement

	* background-properties-capplet.c (setup_dialog): Initialize/free
	the CORBA environment structure
	(real_realize_cb): Put into an idle handler, called by
	realize_2_cb, the new timeout handler

	* preferences.c (preferences_load_from_bonobo_pbag):
	(preferences_load_from_bonobo_db): Extract from preferences_new_*

	* background-properties-capplet.c (property_change_cb):
	(realize_cb): Accept prefs structure in lieu of
	Bonobo_PropertyBag; don't reload the preferences structure from
	the property bag
	(property_change_cb): Call preferences_apply_event to modify the
	preferences structure appropriately
	(property_change_cb):
	(realize_cb): If the preferences structure is marked destroyed,
	just return
	(setup_dialog): Create a preferences structure from the property
	bag given and use that as the extra data passed to callbacks
	(realize_cb): Put into an idle handler real_realize_cb

	* preferences.c (preferences_apply_event): Implement

	* applier.c (output_compat_prefs): Make prefs const

	* applier.[ch]: Have applier_apply_prefs take a const Preferences
	structure

	* preferences.[ch]: Make preferences_clone take a const
	Preferences structure
2001-08-28 13:01:54 +00:00
Bradford Hovinen
8b63aee560 1.5.6
2001-08-23  Bradford Hovinen  <hovinen@ximian.com>

	* RELEASE : 1.5.6
2001-08-23 20:10:14 +00:00
Bradford Hovinen
286cb3899a Make sure we don't try to do this if we are marked deleted
2001-08-23  Bradford Hovinen  <hovinen@ximian.com>

	* config-log.c (do_unload): Make sure we don't try to do this if
	we are marked deleted
	(config_log_delete): Call do_unload to eliminate memory leaks

	* location.c (location_delete): Set the deleted flag

	* config-log.c (dump_log): Don't try to dump the log if we are
	deleted

	* location.c (save_metadata): Don't try to save metadata if we are
	deleted
2001-08-23 20:09:21 +00:00
Kai Lahmann
0ddf82fefe pwr_conf_dialog had a fixed size.. 2001-08-23 19:35:18 +00:00
Bradford Hovinen
74b7c332bc Don't try to archive the data if the archive is NULL
2001-08-23  Bradford Hovinen  <hovinen@ximian.com>

	* main.c: (store_archive_data): Don't try to archive the data
	if the archive is NULL
2001-08-23 19:16:03 +00:00
Bradford Hovinen
768a3d5a46 Port to new CORBA interface
2001-08-23  Bradford Hovinen  <hovinen@ximian.com>

	* main.c: Port to new CORBA interface
2001-08-23 19:08:26 +00:00
Gustavo Maciel Dias Vieira
11696dba5a Updated Brazilian Portuguese translation.
2001-08-22  Gustavo Maciel Dias Vieira <gdvieira@zaz.com.br>

* pt_BR.po: Updated Brazilian Portuguese translation.
2001-08-22 21:04:50 +00:00
Hans Petter Jansson
917268be7c Fixed include path, libxml -> gnome-xml. It's consistent with the includes
2001-08-22  Hans Petter Jansson  <hpj@ximian.com>

	* archiver-client.h: Fixed include path, libxml -> gnome-xml. It's
	consistent with the includes in archiver-client.c, and it stops the build
	breaking here.
2001-08-22 19:15:13 +00:00
Bradford Hovinen
fd5b08bb5a Bump version to 1.5.6
2001-08-22  Bradford Hovinen  <hovinen@ximian.com>

	* configure.in: Bump version to 1.5.6
2001-08-22 13:57:38 +00:00
Bradford Hovinen
b37d7f6897 Added exception RollbackDataNotFound Added exception LocationNotFound
2001-08-21  Bradford Hovinen  <hovinen@ximian.com>

	* idl/ConfigArchiver.idl: Added exception RollbackDataNotFound
	Added exception LocationNotFound

	* archive.c (archive_get_current_location_id): Use
	archive_create_location rather than location_new
	(archive_get_current_location_id): Unref the location once we have
	created it

	* archiver-client.c (location_client_load_rollback_data): Don't
	try to parse the XML file if there was an exception

	* bonobo-config-archiver.c (bonobo_config_archiver_new): Make sure
	to release_unref location and archive if aborting
	(bonobo_config_archiver_new): Reinitialize exception structure
	after we have succeeded

	* location.c (location_get_rollback_filename): Recurse on parent
	location if parent_chain is set to TRUE

	* archive.c (impl_ConfigArchiver_Archive_getLocation): Set the
	LocationNotFound exception if the location returned was NULL

	* location.c (impl_ConfigArchiver_Location_getRollbackFilename): Don't try

	* archive.c (impl_ConfigArchiver_Archive_getLocation): Don't try
	to CORBA_Object_duplicate the result if it is NULL
	(archive_get_location): Don't try to cast the result of
	location_open before we know whether it is non-NULL
	(impl_ConfigArchiver_Archive_createLocation): Call
	bonobo_object_from_servant on parent_ref->servant

	* location.c (location_destroy): Remove debugging message; make
	remaining debugging message more enlightening

	* archive.c (archive_get_child_locations): Rename from
	archive_foreach_child_location; rewrite to return a GList of child
	locations
	(impl_ConfigArchiver_Archive_getChildLocations): Use
	archive_get_child_locations
	(archive_destroy): Remove debugging message

	* bonobo-moniker-archiver.c (archive_resolve): Remove debugging
	messages

	* archive.c (archive_get_location): Remove debugging messages

	* config-log.c (dump_log): Remove debugging messages

	* archive.c (archive_foreach_child_location): Build a list first
	and then traverse it to avoid screwing up the tree traversal

	* mouse-properties-capplet.c (apply_settings): Use a CORBA
	exception structure
2001-08-22 13:56:23 +00:00
Kwok-Koon Cheung
1b30f14a62 Really remove zh_TW.Big5.po . 2001-08-22 13:20:44 +00:00
Kwok-Koon Cheung
3fc40acce4 Convert from zh_TW.Big5 to UTF8 encoded zh_TW file. 2001-08-22 13:20:11 +00:00
Richard Hestilow
be5fc9d840 Add dependency on CORBA_SOURCE to archiver-client.c. (clean-local): Add
2001-08-20  Richard Hestilow  <hestilow@ximian.com>

	* Makefile.am: Add dependency on CORBA_SOURCE to archiver-client.c.
	(clean-local): Add CORBA_SOURCE to files to be removed.
2001-08-20 23:43:10 +00:00
Bradford Hovinen (Gdict maintainer)
4e6a3b89d6 Added CORBA interface to the archiver 2001-08-20 15:47:57 +00:00
Kwok-Koon Cheung
7c531bc29e Added missing destdir to Makefile.am and fix description in attraction.xml. 2001-08-18 20:48:25 +00:00