Commit graph

72 commits

Author SHA1 Message Date
Pasupathi Duraisamy
c18d856b22 Reset Picture option to "Wall paper" only in the case of "none" while DnD.
2002-11-13  Pasupathi Duraisamy <pasupathi.duraisamy@wipro.com>

        * background-properties-capplet.c (drag_data_received_cb):
        Reset Picture option to "Wall paper" only in the case of
        "none" while DnD. Fixes #94329
2002-11-13 09:08:44 +00:00
Jody Goldberg
435b950dc1 some aix portability fixes 2002-10-01 15:12:56 +00:00
Jody Goldberg
5f9e193597 http://bugzilla.gnome.org/show_bug.cgi?id=84014 unescape the path.
2002-07-02  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=84014
	* background-properties-capplet.c (drag_data_received_cb) : unescape
	  the path.
2002-07-03 02:48:12 +00:00
Jody Goldberg
0977fadab0 http://bugzilla.gnome.org/show_bug.cgi?id=85628 The dialog - should not be
2002-06-18  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=85628
	* background-properties-capplet.c (main) : The dialog
	    - should not be modal
	    - has no parent to destroy with
	    - and should have a seperator
	    - set default response
2002-06-19 00:21:26 +00:00
Satyajit Kanungo
b4123f15b1 capplet_help () The Help directory is changed to user-guide.
2002-05-28 Satyajit Kanungo <satyajit.kanungo@wipro.com>

	* capplet-util.c : capplet_help () The Help directory is changed to
	  user-guide.
2002-05-29 04:14:29 +00:00
Jody Goldberg
49d1a5af36 Improve help handling.
2002-05-26  Jody Goldberg <jody@gnome.org>

	* capplet-util.c (capplet_help) : new utility.

2002-05-24  Jody Goldberg <jody@gnome.org>

	* mime-type-info.c (mime_category_info_load_all) : make this more paranoid.
	* mime-category-edit-dialog.c (update_subcategories) : Move this over
	  here.

2002-05-17  Jody Goldberg <jody@gnome.org>

	* mime-type-info.c (mime_category_info_using_custom_app) : add some
	  protection.
2002-05-27 02:53:33 +00:00
Jonathan Blandford
6985207425 Use APPID instead of argv[0] for gnome-program-init 2002-05-26 16:11:37 +00:00
Jonathan Blandford
0ff953e1e6 accept drops from the nautilus patterns pallet. There's something broken
Thu May 16 02:25:03 2002  Jonathan Blandford  <jrb@gnome.org>

	* background-properties-capplet.c (drag_data_received_cb): accept
	drops from the nautilus patterns pallet.  There's something broken
	here, though.
2002-05-16 06:36:51 +00:00
Jody Goldberg
c25f749979 add a help button.
2002-05-09  Jody Goldberg <jody@gnome.org>

	* background-properties-capplet.c (main) : add a help button.
2002-05-09 17:54:50 +00:00
Dennis Cranston
29cc929d0c add a stock information image to the "You can drag image files..." text.
2002-05-02  Dennis Cranston <dennis_cranston@yahoo.com>

 	* background-properties.glade: add a stock information image
	to the "You can drag image files..." text.

2002-05-08  Jody Goldberg <jody@gnome.org>

	* background-properties-capplet.c (cb_dialog_response) : new.
	(main) : support help.
2002-05-08 21:07:17 +00:00
Rachel Hestilow
5a438a6fec Update for new enum peditor prototypes.
2002-04-21  Rachel Hestilow  <hestilow@ximian.com>

	* background-properties-capplet.c (setup_dialog): Update for
	new enum peditor prototypes.
2002-04-22 01:28:20 +00:00
Rachel Hestilow
d4e6287116 s/Richard/Rachel
2002-04-21  Rachel Hestilow  <hestilow@ximian.com>

	* *.c: s/Richard/Rachel

	* configure.in: Bump version to 1.99.7

	* RELEASE: 1.99.7
2002-04-21 21:22:35 +00:00
Jonathan Blandford
882a14730b handle GTK_RESPONSE_DELETE_EVENT
Mon Apr  1 19:19:39 2002  Jonathan Blandford  <jrb@redhat.com>

	* background-properties-capplet.c (dialog_button_clicked_cb):
	handle GTK_RESPONSE_DELETE_EVENT

	* Makefile.am (bin_PROGRAMS):
	s/gnome2-background-properties/gnome-background-properties
2002-04-02 00:27:40 +00:00
Richard Hestilow
18bd56b74a Add mnemonics. (main): Set title to "Background Preferences".
2002-03-28  Richard Hestilow  <hestilow@ximian.com>

	* background-properties-capplet.c (create_dialog),
	background-properties.glade: Add mnemonics.
	(main): Set title to "Background Preferences".
2002-03-28 21:25:04 +00:00
Seth Nickell
00450ae290 Set the window icon.
2002-03-21  Seth Nickell  <snickell@stanford.edu>

	* background-properties-capplet.c: (main):

	Set the window icon.
2002-03-22 00:40:44 +00:00
Seth Nickell
c05f4f18a3 Recapture some of the more subtle interactions of "Seth's UI". Change
2002-03-21  Seth Nickell  <snickell@stanford.edu>

	* background-properties-capplet.c: (string_to_orientation),
	(update_color_widget_labels_and_visibility),
	(peditor_value_changed), (setup_dialog), (create_dialog):
	* background-properties.glade:

	Recapture some of the more subtle interactions of "Seth's UI".
	Change colour labels when the gradient orientation changes,
	and use mnemonics so the capplet is accessible. Pad and space
	as designed.

	There are still at least two things wrong:

	1) Havoc & Jonathan convinced me that the large button with
	   label was wrong. This should instead look like:
	   http://beauty.stanford.edu/bg_button.png
	   The new format should be right for all image selectors, the
	   old mechanism had serious usability problems.
	2) "No Picture" should be the first toggle
2002-03-22 00:36:17 +00:00
Richard Hestilow
be50597a25 Link to common.la and not common.a.
2002-03-19  Richard Hestilow  <hestilow@ximian.com>

	* configure.in (COMMON_LIBS): Link to common.la and not common.a.
2002-03-20 03:30:11 +00:00
Richard Hestilow
c10c6c06ce Committed new schemas patch.
2002-03-14  Richard Hestilow  <hestilow@ximian.com>

	* Committed new schemas patch.
2002-03-15 03:56:44 +00:00
Richard Hestilow
ed6922aae0 Hook up the previewing file selector to the FileEntry.
2002-03-09  Richard Hestilow  <hestilow@ximian.com>

	* background-properties-capplet.c (setup_dialog): Hook up
	the previewing file selector to the FileEntry.
2002-03-10 00:38:36 +00:00
Kjartan Maraas
1074a1f27e s/PACKAGE/GETTEXT_PACKAGE/g Same here.
2002-02-27  Kjartan Maraas  <kmaraas@gnome.org>

	* background-properties-capplet.c (main): s/PACKAGE/GETTEXT_PACKAGE/g
	* main.c: Same here.
2002-02-27 22:12:44 +00:00
Bradford Hovinen
e336b75473 Switch to instant apply; remove apply button
2002-02-17  Bradford Hovinen  <hovinen@ximian.com>

	* background-properties-capplet.c (main)
	(dialog_button_clicked_cb): Switch to instant apply; remove apply
	button
2002-02-17 20:34:51 +00:00
Lauris Kaplinski
1eef9d7561 Replaced all deprecated methods except 2 GtkCTree instances with gnome-2
alternatives.
2002-02-13 16:52:18 +00:00
Rachel Hestilow
42c170078b Reverting changes back to hovinen's pre-seth-ui setup. 2002-02-11 04:13:39 +00:00
Seth Nickell
54d7e22f60 More fixes. Change layout in glade a bit, make DND work, fix widget
2002-02-06  Seth Nickell  <snickell@stanford.edu>

	* background-properties-capplet.c: (drag_motion_cb),
	(drag_leave_cb), (drag_data_received_cb),
	(change_background_type_toggles), (set_background_picture),
	(quit_cb), (main):
	* background-properties.glade:
	* background-properties.glade1:

	More fixes. Change layout in glade a bit, make DND work,
	fix widget previews.
2002-02-07 05:46:36 +00:00
Lauris Kaplinski
533c0f416b Fix crash on NULL values from GConf 2002-02-05 11:13:58 +00:00
Lauris Kaplinski
35e192827a Lot of little fixes to make it to compile without most of the deprecated stuff 2002-02-04 17:48:43 +00:00
Seth Nickell
5fe3e40279 Read control center directory structure out of GnomeVFS instead of
2002-01-28  Seth Nickell  <snickell@stanford.edu>

	* control-center/capplet-dir.c: (capplet_new), (capplet_dir_new),
	(capplet_dir_entry_destroy), (read_entries),
	(get_root_capplet_dir):
	* control-center/capplet-dir.h:

	Read control center directory structure out of GnomeVFS instead of
	directly off the disk.

	Also deal with pixmaps more uniformly, and properly load them
	out of PREFIX/share/pixmaps when they aren't an absolute path.

	* capplets/desktop-links/Sawfish/appearance-properties.desktop.in:
	* capplets/desktop-links/Sawfish/bindings-properties.desktop.in:
	* capplets/desktop-links/Sawfish/focus-properties.desktop.in:
	* capplets/desktop-links/Sawfish/match-properties.desktop.in:
	* capplets/desktop-links/Sawfish/maximize-properties.desktop.in:
	* capplets/desktop-links/Sawfish/meta-properties.desktop.in:
	* capplets/desktop-links/Sawfish/misc-properties.desktop.in:
	* capplets/desktop-links/Sawfish/move-properties.desktop.in:
	* capplets/desktop-links/Sawfish/placement-properties.desktop.in:
	* capplets/desktop-links/Sawfish/sound-properties.desktop.in:
	* capplets/desktop-links/Sawfish/workspace-properties.desktop.in:
	* capplets/ui-properties/behavior.desktop.in.in:

	Add a Categories Field.

	* capplets/desktop-links/Makefile.am:
	* capplets/desktop-links/Sawfish/Makefile.am:
	* capplets/file-types/Makefile.am:
	* capplets/theme-switcher/Makefile.am:
	* capplets/ui-properties/Makefile.am:
	* control-center/Gnome.directory.in.in:
	* control-center/Makefile.am:

	Install directory files into PREFIX/share/gnome/vfolders, the standard
	vfolder description location.
2002-01-29 04:48:25 +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
7953e8085a Eliminate compiler warnings
2001-12-20  Bradford Hovinen  <hovinen@ximian.com>

	* background-properties-capplet.c: Eliminate compiler warnings
2001-12-20 20:22:37 +00:00
Bradford Hovinen
fb0d289855 Fold the callback back in; accept variable argument list with extra
2001-12-20  Bradford Hovinen  <hovinen@ximian.com>

	* gconf-property-editor.c (gconf_peditor_new): Fold the callback
	back in; accept variable argument list with extra parameters
	(gconf_peditor_new_filename): Return the property editor
	(gconf_peditor_new_string_valist): Split this out
	(gconf_peditor_new_string): Call _valist variant
	(gconf_peditor_new*): Update

	* */*-properties*.c: Update according to above
2001-12-20 20:14:59 +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
2dd5ccf964 Update (main): Use a GtkDialog rather than a GnomeDialog; don't place a
2001-12-20  Bradford Hovinen  <hovinen@ximian.com>

	* *-properties*.c (dialog_button_clicked_cb): Update
	(main): Use a GtkDialog rather than a GnomeDialog; don't place a
	weak ref on gtk_main_quit
2001-12-20 18:21:12 +00:00
Bradford Hovinen
02397e55aa Put gnome-settings-daemon after libbackgrounds
2001-12-20  Bradford Hovinen  <hovinen@ximian.com>

	* Makefile.am (SUBDIRS): Put gnome-settings-daemon after
	libbackgrounds

	* background-properties-capplet.c: Update

	* capplets/background/Makefile.am: Update

	* background.desktop.in.in (Exec): Update

	* mouse.desktop.in.in (Exec): Update

	* capplets/keyboard/Makefile.am: Update

	* keyboard.desktop.in.in (Exec): Update

	* mouse.desktop.in.in (Exec): Update

	* gnome-settings-background.c: Update

	* applier.[ch]: Rename applier to bg_applier to avoid possible
	namespace collision
2001-12-20 15:46:08 +00:00
Bradford Hovinen
a2b2b7932a Rename preferences to bg_preferences to avoid possible namespace collision
2001-12-20  Bradford Hovinen  <hovinen@ximian.com>

	* libbackground/preferences.[ch]: Rename preferences to
	bg_preferences to avoid possible namespace collision

	* All: Update to reflect the above
2001-12-20 14:24:56 +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
Bradford Hovinen
cb0a97e5a3 Don't #include bonobo.h
2001-12-18  Bradford Hovinen  <hovinen@ximian.com>

	* background-properties-capplet.c: Don't #include bonobo.h
2001-12-18 19:46:26 +00:00
Bradford Hovinen
66f47e6a78 Use gconf_client rather than gconf_engine (setup_dialog): Use correct path
2001-12-18  Bradford Hovinen  <hovinen@ximian.com>

	* background-properties-capplet.c: Use gconf_client rather than
	gconf_engine
	(setup_dialog): Use correct path for enabled
	(main): Preload the background settings directory for performance
2001-12-18 16:39:30 +00:00
Bradford Hovinen
1279ed6dcf Update keys to use /desktop/gnome/background
2001-12-18  Bradford Hovinen  <hovinen@ximian.com>

	* background.schema: Update keys to use /desktop/gnome/background

	* background-properties-capplet.c: Update GConf keys to use
	/desktop/gnome/background
2001-12-18 16:17:44 +00:00
Bradford Hovinen
82a6d01255 Remove (create_dialog): Return GladeXML, not GtkWidget (setup_dialog): Put
2001-12-18  Bradford Hovinen  <hovinen@ximian.com>

	* background-properties-capplet.c (property_change_cb): Remove
	(create_dialog): Return GladeXML, not GtkWidget
	(setup_dialog): Put GladeXML in the signature rather than
	GtkWidget
	(peditor_value_changed): Retrieve color_frame directory rather
	than through Glade
	(real_realize_cb): Ditto
	(setup_dialog): Set color-frame rather than glade-data
	(main): Construct the preview applier here rather than in
	create_dialog
	(main): Unref the applier object when the dialog is destroyed
	(setup_dialog, create_dialog): Put the applier in the signature
	Use weak_ref rather than the destroy signal for all relevant
	objects
2001-12-18 16:01:47 +00:00
Bradford Hovinen
0fb231b7d0 Set the sensitivity of the color frame depending on the settings
2001-12-17  Bradford Hovinen  <hovinen@ximian.com>

	* background-properties-capplet.c (peditor_value_changed): Set
	the sensitivity of the color frame depending on the settings
	(peditor_value_changed): Use correct keys
2001-12-17 20:01:22 +00:00
Bradford Hovinen
27097008ce Enabled set_guard call
2001-12-17  Bradford Hovinen  <hovinen@ximian.com>

	* background-properties-capplet.c (setup_dialog): Enabled
	set_guard call
2001-12-17 19:33:12 +00:00
Bradford Hovinen
7b408b24fc Connect missing signal
2001-12-17  Bradford Hovinen  <hovinen@ximian.com>

	* background-properties-capplet.c (setup_dialog): Connect
	missing signal
2001-12-17 18:33:12 +00:00
Bradford Hovinen
7241f04206 Retrieve the applier from the preferences object and use it to apply
2001-12-17  Bradford Hovinen  <hovinen@ximian.com>

	* background-properties-capplet.c (peditor_value_changed):
	Retrieve the applier from the preferences object and use it to
	apply settings on the preview widget
2001-12-17 18:17:57 +00:00
Bradford Hovinen
756102ee52 Apply settings after commiting the change set
2001-12-17  Bradford Hovinen  <hovinen@ximian.com>

	* background-properties-capplet.c (dialog_button_clicked_cb):
	Apply settings after commiting the change set
2001-12-17 17:34:38 +00:00
Bradford Hovinen
f8dbd8090f Don't hide opacity controls
2001-12-17  Bradford Hovinen  <hovinen@ximian.com>

	* background-properties-capplet.c (setup_dialog): Don't hide
	opacity controls

	* background-properties.glade: Remove opacity controls
2001-12-17 17:28:23 +00:00
Bradford Hovinen
fd0119b1e9 Use prefs_widget rather than preview placeholder widget
2001-12-17  Bradford Hovinen  <hovinen@ximian.com>

	* background-properties-capplet.c (create_dialog): Use
	prefs_widget rather than preview placeholder widget

	* background-properties.glade: Remove the preview placeholder
2001-12-17 16:23:10 +00:00
Gediminas Paulauskas
9f8ed1254f retrieve translation in utf-8 codeset. Do not setlocale (). remove intl.
2001-12-09  Gediminas Paulauskas <menesis@delfi.lt>

	* *.c (main): retrieve translation in utf-8 codeset. Do not
	setlocale ().
	* some Makefile.am (INCLUDES): remove intl.
	(..._LDADD): remove INTLLIBS
2001-12-09 12:23:40 +00:00
Bradford Hovinen
bf475e9374 Connect the destroy signal
2001-12-07  Bradford Hovinen  <hovinen@ximian.com>

	* background-properties-capplet.c (main): Connect the destroy
	signal

	* background.schema: Fix type on opacity schema
2001-12-07 19:56:23 +00:00
Bradford Hovinen
8133132cd2 NULL-terminate the dialog construction parameters
2001-12-07  Bradford Hovinen  <hovinen@ximian.com>

	* background-properties-capplet.c (main): NULL-terminate the
	dialog construction parameters
2001-12-07 19:35:11 +00:00
Bradford Hovinen
a52a434f78 Remove use of capplet_init, instead do the initialization ourselves (note:
2001-12-07  Bradford Hovinen  <hovinen@ximian.com>

	* background-properties-capplet.c (main): Remove use of
	capplet_init, instead do the initialization ourselves (note: this
	means we are no longer a Bonobo control)
	(dialog_button_clicked_cb): Implement

	* background-properties.glade: libglade-convert
2001-12-07 17:29:43 +00:00