Commit graph

69 commits

Author SHA1 Message Date
Bradford Hovinen
7e964d36ec Remove obsolete stuff
2001-12-20  Bradford Hovinen  <hovinen@ximian.com>

	* Makefile.am: Remove obsolete stuff

	* screensavers/Makefile.am (install-data-local): Make sure
	share/control-center/screensavers directory is created

	* Replace screensaver.desktop.in.in with screensaver.desktop.in
2001-12-20 19:08:15 +00:00
Bradford Hovinen
30389610b4 Add parameter GNOME_PARAM_APP_DATADIR
2001-12-20  Bradford Hovinen  <hovinen@ximian.com>

	* capplets/screensaver/main.c (main): Add parameter
	GNOME_PARAM_APP_DATADIR

	* mouse-properties-capplet.c (main): Add parameter
	GNOME_PARAM_APP_DATADIR

	* configure.in (GNOMECC_DESKTOP_DIR): Define
	(GNOMECC_DATA_DIR): Define
	Remove AC_DEFINE_UNQUOTED for the rest of the directories

	* All: Update to reflect above
2001-12-20 18:52:39 +00:00
Bradford Hovinen
b65967ac90 Add common, background, keyboard, mouse back in
2001-12-20  Bradford Hovinen  <hovinen@ximian.com>

	* capplets/Makefile.am (always_built_SUBDIRS): Add common,
	background, keyboard, mouse back in

	* configure.in (PKG_CHECK_MODULES): Remove lines pertaining to the
	archiver, add line for gnome settings daemon

	* background-properties-capplet.c (dialog_button_clicked_cb):
	Remove call to apply_settings
	(apply_settings): Remove
	(main): Remove apply_only support

	* default-application-properties.c (main): Call gtk_main, not
	capplet_gtk_main

	* interface.c: Don't #include capplet-widget.h

	* main.c: Don't #include capplet-widget.h or the archiver stuff
	(main): Call gtk_main rather than capplet_gtk_main
	Remove archiver stuff
	(setup_capplet_widget): Don't connect to state_changed_cb
	(state_changed_cb): Remove
	(main): Don't pass cap_options

	* gnome-settings-daemon/Makefile.am
	(gnome_settings_daemon_SOURCES): Add
	gnome-settings-{keyboard|background}.[ch]
	(INCLUDES): Add -I$(top_srcdir)/libbackground
	(gnome_settings_daemon_LDADD): Add
	$(top_builddir)/libbackground/libbackground.a

	* gnome-settings-daemon.c (main): Initialize keyboard and
	background subsystems

	* Added gnome-settings-{keyboard|background}.[ch],
	gnome-settings-daemon/ChangeLog
2001-12-20 14:11:59 +00:00
Seth Nickell
d214b63fe2 Add Categories field so this won't show up in the root panel menu.
2001-12-19  Seth Nickell  <snickell@stanford.edu>

	* screensaver.desktop.in.in:

	Add Categories field so this won't show up in the root
	panel menu.
2001-12-19 11:41:19 +00:00
Havoc Pennington
16c673a0f7 add gnome-desktop-2.0 to CFLAGS, add AC_PROG_INTLTOOL
2001-12-08  Havoc Pennington  <hp@pobox.com>

	* configure.in (COMMON_MODULES): add gnome-desktop-2.0 to CFLAGS,
	add AC_PROG_INTLTOOL

2001-12-08  Havoc Pennington  <hp@pobox.com>

	* POTFILES.in: remove applier.c which doesn't exist

2001-12-08  Havoc Pennington  <hp@pobox.com>

	* capplet-dir-view.c: remove unused include that broke stuff

	* capplet-dir.c (capplet_activate): fix args to
	gnome_desktop_item_launch

2001-12-08  Havoc Pennington  <hp@pobox.com>

	* gnome-startup.h: use G_BEGIN_DECLS so it builds
2001-12-09 04:44:37 +00:00
Richard Hestilow
770968fa25 Port to GConf.
2001-12-08  Richard Hestilow  <hestilow@ximian.com>

	* preferences.c (preferences_load/save): Port to GConf.

	* main.c (setup_capplet_widget): Port away from libcapplet,
	use a GtkDialog.
	(main): Call gnome_program_init.

	* screensaver.schemas: Added.

	* Makefile.am: Install schema file.
2001-12-08 06:55:45 +00:00
Richard Hestilow
478912430c Initial GNOME2 port.
2001-12-01  Richard Hestilow  <hestilow@ximian.com>

	* Initial GNOME2 port.
2001-12-02 04:54:32 +00:00
Jakub Steiner
24ac960602 fix the applet icon 2001-10-18 11:20:52 +00:00
Richard Hestilow
d42f9b3f79 Backport to GtkCList. Recreate -- something was messed up.
2001-10-13  Richard Hestilow  <hestilow@ximian.com>

	* prefs-widget.c: Backport to GtkCList.
	* checked.xpm, unchecked.xpm: Recreate -- something was messed up.
2001-10-13 05:50:38 +00:00
Richard Hestilow
e5440a5329 Change the default mode to "Select One Only" as opposed to Random From
2001-09-28  Richard Hestilow  <hestilow@ximian.com>

	* preferences.c (preferences_load): Change the default mode to
	"Select One Only" as opposed to Random From List. Fixes bug
	#60762.
2001-09-30 00:56:41 +00:00
Bradford Hovinen
3dc4919796 Initialize prefs_widget_parent_class (prefs_widget_destroy): Add more
2001-09-24  Bradford Hovinen  <hovinen@ximian.com>

	* prefs-widget.c (prefs_widget_class_init): Initialize
	prefs_widget_parent_class
	(prefs_widget_destroy): Add more paranoid checking to make sure we
	aren't derefing a NULL pointer
2001-09-25 01:57:28 +00:00
Tambet Ingo
e8eded8166 Fixed to build with new GAL.
2001-09-24  Tambet Ingo  <tambet@ximian.com>

	* prefs-widget.c (prefs_widget_init): Fixed to build with new GAL.
2001-09-24 18:24:19 +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
Kwok-Koon Cheung
7c531bc29e Added missing destdir to Makefile.am and fix description in attraction.xml. 2001-08-18 20:48:25 +00:00
Richard Hestilow
5890f11b77 Fix for SM_SELECT_FROM_LIST mode.
2001-08-10  Richard Hestilow  <hestilow@ximian.com>

	* capplet/prefs-widget.c (random_timeout_cb): Fix for
	  SM_SELECT_FROM_LIST mode.
2001-08-10 18:42:41 +00:00
Richard Hestilow
0fcf91e2bc Add perms to mkdir.
2001-08-10  Richard Hestilow  <hestilow@ximian.com>

	* capplets/screensavers/magic.pl.in: Add perms to mkdir.
2001-08-10 18:28:58 +00:00
Richard Hestilow
b35c2cf932 Remove screen.png, which was commented out anyway.
2001-08-10  Richard Hestilow  <hestilow@ximian.com>

	* Makefile.am (pixmaps_DATA): Remove screen.png,
	  which was commented out anyway.

	* preferences.c (screensaver_clone): Added.
	  (copy_screensavers): Added.
	  (preferences_clone): Copy screensaver list.
	  (screensaver_destroy): Destroy new fields.
	* prefs-widget.c (prefs_widget_set_screensavers): Translate
	  strings and utf8ize ahead of time.
	  (prefs_widget_destroy): Free translated strings.
	  (model_value_at): Return pre-translated string.
	  (about_cb): Call gettext on desc, name, and title.
	* screensaver-prefs-dialog.c (screensaver_prefs_dialog_new):
	  Call gettext on label and desc.
	* capplets/screensavers/Makefile.am: Fixes for make distcheck.
	* capplets/screensavers/magic.pl.in: Fix description parsing bug,
	  and fakepreview lost bug.
2001-08-10 17:55:36 +00:00
Carlos Perelló Marín
8902bd3632 Disabled desktop.png. It doesn't exists. Removed the xml.h generation
2001-08-10  Carlos Perelló Marín <carlos@gnome-db.org>

        * Makefile.am: Disabled desktop.png. It doesn't exists.
        * screensavers/Makefile.am: Removed the xml.h generation rule.

2001-08-10  Carlos Perelló Marín <carlos@gnome-db.org>

        * POTFILES.in: Fixed the screensaver files.
        * es.po: Updated Spanish translation.
2001-08-10 13:31:10 +00:00
Richard Hestilow
1d840a3813 Install all pixmaps. (pixmaps_DATA): Add blank-screen.png.
2001-08-09  Richard Hestilow  <hestilow@ximian.com>

	* Makeflie.am (EXTRA_DIST): Install all pixmaps.
	(pixmaps_DATA): Add blank-screen.png.

	* pref-file.c: Replace "programs" value with a regenerated
	string.
	(print_aligned_row): Added.
	(print_list_to_str): Added.

	* preferences.h (Screensaver): Add new fields "filename",
	"compat_command_line", "fakepreview", and "fakes",
	to deal with the new xml storage.
	(Preferences): Add new fields "savers_hash" and "invalidsavers".

	* preferences.c (screensaver_list_prepend_dir): Added.
	(screensaver_cmp_func): Added.
	(screensaver_list_load): Added.
	(preferences_new): Initialize savers_hash.
	(clean_saver_list): Added.
	(preferences_load): Load screensavers from xml.
	(parse_arg_default): Added.
	(screensaver_read_xml): Updated for the new format.
	(screensaver_new_from_file): Added.

	* prefs-widget.c (double_click_cb): Added.
	(): Remove right click menu, add double click handler.
	(model_is_cell_editable): Fix for etable bug.
	(random_timeout_cb): Avoid vidwhacker and webcollage.
	* preview.c: Optionally show fakepreview if set, and
	deal with compat_command_line, and refresh pixbufs.
	(command_exists): Renamed to rc_command_exists.

	* rc-parse.c: (parse_screensaver_list): Merely update
	the existing entries, via the provided hash.

	* screensaver-prefs-dialog.c (get_argument_data): Just
	find the xml file using ::filename.

	* screensavers/magic.pl.in: Added.
	* screensavers/Makefile.am: Generate .xml.h files for translators,
	and install all .xml files and .png files, and run magic.pl on
	make install.
2001-08-10 03:36:17 +00:00
Jose Maria Celorio
06d16ff133 Add DISTDIR to install-data-local 2001-08-01 04:02:20 +00:00
Richard Hestilow
2d9be3eb4e Don't go into an infinite loop if there are absolutely no enabled
2001-07-27  Richard Hestilow  <hestilow@ximian.com>

	* prefs-widget.c (random_timeout_cb): Don't go into an infinite
	loop if there are absolutely no enabled screensavers.
2001-07-27 18:21:44 +00:00
Bradford Hovinen
33b3809115 1.5.2
2001-07-27  Bradford Hovinen  <hovinen@ximian.com>

	* RELEASE : 1.5.2
2001-07-27 16:02:08 +00:00
Jose Maria Celorio
baba8dddd0 Remove the desktop_IN_RULE. Althou it sounds nice cause we have a central
location to set it up, it causes problems in some configruations.
2001-07-26 01:49:13 +00:00
Richard Hestilow
bce60c194e New function show_blank_preview.
2001-07-03  Richard Hestilow  <hestilow@ximian.com>

	* preview.[ch]: New function show_blank_preview.

	* prefs-widget.c (prefs_widget_set_mode): Call show_blank_preview
	if set to disabled or blank screen.
	(selection_changed_cb): Don't show the preview if mode is set to
	disabled or blank screen.
2001-07-25 09:31:58 +00:00
Jose Maria Celorio
0ae3d29c91 1.5.0 here we go 2001-07-20 09:49:49 +00:00
Jose Maria Celorio
118317da3b make distcheck passes 2001-07-20 01:28:02 +00:00
Bradford Hovinen (Gdict maintainer)
4b40c52874 Added missing files to EXTRA_DIST, removed nonexistant files from POTFILES.in 2001-07-19 18:36:19 +00:00
Bradford Hovinen
08a5e55afc Don't free the description
2001-07-19  Bradford Hovinen  <hovinen@ximian.com>

	* prefs-widget.c (about_cb): Don't free the description
2001-07-19 15:58:19 +00:00
Bradford Hovinen
273fe29147 Use capplet->dialog for parent of prefs widget
2001-07-19  Bradford Hovinen  <hovinen@ximian.com>

	* main.c (setup_capplet_widget): Use capplet->dialog for parent of
	prefs widget

	* prefs-widget.c: Added copyright notice
2001-07-19 15:41:58 +00:00
Carlos Perelló Marín
e7c670aa05 /s/label/_label, /s/low-label/_low-label/, /s/high-label/_high-label/ &&
2001-07-18  Carlos Perelló Marín <carlos@gnome-db.org>

	* screensavers/*.xml: /s/label/_label, /s/low-label/_low-label/,
	/s/high-label/_high-label/ && removed the i18n section.
2001-07-18 09:47:30 +00:00
Jose Maria Celorio
ab0fef8323 Fix fix fix fix fix & clean stuff. With their changelog entries for your
pleasure.
2001-07-18 06:36:24 +00:00
Jose Maria Celorio
35d967aed2 clean this mess. 2001-07-18 03:21:07 +00:00
Bradford Hovinen
0e87220f2f Changed Applications_DATA to Applications_in_files
2001-07-17  Bradford Hovinen  <hovinen@ximian.com>

	* Makefile.am (EXTRA_DIST): Changed Applications_DATA to
	Applications_in_files
2001-07-17 16:48:52 +00:00
Carlos Perelló Marín
068c095238 Renamed to *.directory.in to be used with xml-i18n-tools. Renamed to
2001-07-14  Carlos Perelló Marín <carlos@gnome-db.org>

        * *.directory: Renamed to *.directory.in to be used with
        xml-i18n-tools.
        * *.desktop: Renamed to *.desktop to be used with xml-i18n-tools.
        * *.glade: Modified to not generate the glade.h files.
        * *.glade.h: Removed.
        * Makefile.am: Modify to use xml-i18n-tools
        * configure.in: ditto.
        * autogen.sh: ditto, now we use the macros/autogen.sh

2001-07-14  Carlos Perelló Marín <carlos@gnome-db.org>

        * .cvsignore: ssshhhh

2001-07-14  Carlos Perelló Marín <carlos@gnome-db.org>

        * screensavers/*.xml: /s/label/_label, /s/low-label/_low-label/,
        /s/high-label/_high-label/: Changed to let xml-i18n-tools extract
        this labels.
        * extract-labels.c: Removed, now, we use xml-i18n-tools.
        * preferences.c: /s/label/_label, /s/low-label/_low-label/,
        /s/high-label/_high-label/: Changed to sync with the xml changes.
        * screensaver-prefs-dialog.c: ditto.

2001-07-16  Carlos Perelló Marín <carlos@gnome-db.org>

        * no.po: Solved some conflicts with my patch.

2001-07-14  Carlos Perelló Marín <carlos@gnome-db.org>

        * POTFILES.in: Updated to reflect the xml-i18n-tools use.
        * *.po: Added the .directory && .desktop translations.
        * update.*: Removed.
        * wa.po: Added.
        * es.po: Updated Spanish translation.
2001-07-16 17:04:18 +00:00
Richard Hestilow
70f3cc51cc Added. (prefs_widget_init): Connect to "Add" and "Remove"
2001-07-03  Richard Hestilow  <hestilow@ximian.com>

	* prefs-widget.c:
	  (add_select_cb, screensaver_add_cb, screensaver_remove_cb): Added.
	  (prefs_widget_init): Connect to "Add" and "Remove"

	* screensaver-prefs-dialog.c (get_basic_screensaver_widget): Replace
	confusing stuff with ultra-simple dialog.

	* screensaver-properties.glade[.h]: Remove "Demo" popup item, as it
	is on the settings dialogs and is not easy to manage with
	menu selection anyway. (Too much mouse movement).
2001-07-03 20:40:58 +00:00
Richard Hestilow
77d73e6a26 Added.
2001-07-03  Richard Hestilow  <hestilow@ximian.com>

	* screensaver-properties.glade[.h]: Added.

	* prefs-widget.[ch]: Complete rewrite.

	* Makefile.am: Add glade stuff.

	* main.c: Call glade_gnome_init.

	* pref-file.c: Restart xscreensaver on save.

	* screensaver-prefs-dialog.c (screensaver_prefs_dialog_new):
	Change g_strconcat to g_strdup_printf for i18n purposes.
2001-07-03 17:47:36 +00:00
Bradford Hovinen
f707e7350e Fix to use correct termination condition and g_string API
2001-06-21  Bradford Hovinen  <hovinen@ximian.com>

	* capplets/new-*/main.c (do_set_xml): Fix to use correct
	termination condition and g_string API

	* capplets/new-screensaver-properties/preferences.c (clone_cb):
	Remove debugging code
2001-06-21 14:28:48 +00:00
Bradford Hovinen
6fb797ca6b Implement. Create a copy of a preferences structure (clone_cb): Implement
2001-05-06  Bradford Hovinen  <hovinen@ximian.com>

	* preferences.c (preferences_clone): Implement. Create a copy of a
	preferences structure
	(clone_cb): Implement
	(read_prefs_from_db): Parse screensavers from a copy of the string
	so that we don't overwrite the original

	* main.c (main): Call preferences_clone instead of reloading old
	preferences
2001-05-06 17:33:27 +00:00
Bradford Hovinen
7bfddd30e4 Fix segv
2001-05-05  Bradford Hovinen  <hovinen@ximian.com>

	* prefs-widget.c (one_screensaver_cb): Fix segv

	* screensavers/*.xml: Added test attribute to monochrome setting
2001-05-05 19:16:21 +00:00
Bradford Hovinen
a7fa858b61 Handle --get-defaults (do_restore_from_defaults): Implement
2001-05-03  Bradford Hovinen  <hovinen@ximian.com>

	* capplets/*/main.c (main): Handle --get-defaults
	(do_restore_from_defaults): Implement

	* capplets/*/preferences.c (preferences_init): Load default values
2001-05-04 00:05:14 +00:00
Bradford Hovinen
fc7487ef4f Make desktop-entry an attribute rather than a child node
2001-04-27  Bradford Hovinen  <hovinen@ximian.com>

	* capplets/wm-properties/wm-list.c (wm_read_from_xml): Make
	desktop-entry an attribute rather than a child node

	* capplets/*/main.c: Do not try to load preferences from XML if
	there was not XML data
2001-04-29 16:22:27 +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
Bradford Hovinen
990862633d Implement; copy from background-properties-capplet (ok_cb): Call
2001-01-25  Bradford Hovinen  <hovinen@ximian.com>

	* main.c (store_archive_data): Implement; copy from
	background-properties-capplet
	(ok_cb): Call store_archive_data
2001-01-25 18:09:00 +00:00
Bradford Hovinen
6829db0eb3 Fixed compilation warnings: removed unused variables, initialized
2000-12-16  Bradford Hovinen  <hovinen@helixcode.com>

	* all: Fixed compilation warnings: removed unused variables,
	initialized variables properly, returned default values
	* selection-dialog.c (get_known_savers): Return list_head when done
	* resources.c: Include ctype.h
2000-12-17 00:32:11 +00:00
Bradford Hovinen
fae7e29e13 Add missing _() around label strings
2000-10-28  Bradford Hovinen  <hovinen@helixcode.com>

	* screensaver-prefs-dialog.c (get_spinbutton):
	(get_check_button):
	(get_select_widget):
	(get_file_entry):
	(get_entry):
	(place_number): Add missing _() around label strings
2000-10-28 17:23:13 +00:00
Bradford Hovinen
6ac6997216 Added rorschach.xml[.h]
2000-10-14  Bradford Hovinen  <hovinen@helixcode.com>

	* screensavers/Makefile.am (Screensavers_DATA):
	(screensavers_msgs): Added rorschach.xml[.h]

	* screensaver-prefs-dialog.c (write_boolean): Return the attribute
	arg-unset if the toggle button is inactive
2000-10-14 16:05:59 +00:00
Bradford Hovinen
e5c0852368 Bumped version no to 1.3.1
2000-10-08  Bradford Hovinen  <hovinen@helixcode.com>

	* configure.in: Bumped version no to 1.3.1

	* capplets/new-mouse-properties/Makefile.am (EXTRA_DIST): Remove
	erroneous ChangeLog entry
2000-10-08 22:53:44 +00:00
Bradford Hovinen
650b11cd19 Implement (show_screensaver): Call fix_arguments to handle quoted strings
2000-10-08  Bradford Hovinen  <hovinen@helixcode.com>

	* preview.c (fix_arguments): Implement
	(show_screensaver): Call fix_arguments to handle quoted strings in
 	the command line
2000-10-08 18:56:27 +00:00