Commit graph

682 commits

Author SHA1 Message Date
Bradford Hovinen
9cd12bb3c2 Implement
2002-01-11  Bradford Hovinen  <hovinen@ximian.com>

	* service-info.c (get_apps_for_service_type): Implement

	* service-edit-dialog.c (program_changed_cb): Implement
	(service_edit_dialog_init): Connect program_select changed signal
	(populate_app_list): Fill app menu with results from
	get_apps_for_service_type

	* service-info.c (fill_service_apps): Implement
2002-01-11 17:47:31 +00:00
Bradford Hovinen
caa4385d60 Retrieve app info from option menu
2002-01-11  Bradford Hovinen  <hovinen@ximian.com>

	* service-edit-dialog.c (store_data): Retrieve app info from
	option menu
2002-01-11 16:10:03 +00:00
Bradford Hovinen
cd0aec7eaa Commit the changeset (main): Construct a changeset (edit_cb): Pass the
2002-01-11  Bradford Hovinen  <hovinen@ximian.com>

	* file-types-capplet.c (apply_cb): Commit the changeset
	(main): Construct a changeset
	(edit_cb): Pass the changeset to service_info_new

	* service-info.c (set_string): Don't set the value if it is NULL
	(service_info_load): Store changeset in info structure
	(service_info_save): Don't require a changeset; use the one stored
	in the structure
2002-01-11 16:01:15 +00:00
Bradford Hovinen
a53fac33f2 Don't set the value if it is NULL
2002-01-11  Bradford Hovinen  <hovinen@ximian.com>

	* service-info.c (set_string): Don't set the value if it is NULL

	* service-edit-dialog.c (store_data): Call service_info_save
2002-01-11 15:48:52 +00:00
Bradford Hovinen
ee6a2823a4 Terminate column list with -1
2002-01-11  Bradford Hovinen  <hovinen@ximian.com>

	* mime-edit-dialog.c (add_ext_cb): Terminate column list with -1

	* service-edit-dialog.c (store_data): Call service_info_update

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

	* mime-type-info.c (mime_type_info_update): Implement. Updates the
	model with data from the structure

	* service-info.c (service_info_update): Implement. Updates the
	model with data from the structure

	* mime-type-info.c (form_extensions_string): Implement. Factor
	from mime_type_info_save

	* service-info.c (service_info_load): Accept model and iter rather
	than protocol name; read protocol name from model

	* mime-type-info.c (mime_type_info_load): Accept model and iter
	rather than mime type; read the mime type from the model

	* mime-types-model.c (get_icon_pixbuf): Make this public
2002-01-11 15:32:10 +00:00
Bradford Hovinen
b097229244 Implement (program_sensitive_cb): Implement (response_cb): Call store_data
2002-01-11  Bradford Hovinen  <hovinen@ximian.com>

	* service-edit-dialog.c (store_data): Implement
	(program_sensitive_cb): Implement
	(response_cb): Call store_data if response_id is OK
	(service_edit_dialog_init): Connect toggled signal on
	run_program_toggle to program_sensitive_cb

	* mime-type-info.h: Add #include gnome-vfs-mime-info.h

	* service-edit-dialog.c (populate_app_list): Implement

	* mime-edit-dialog.c (populate_component_list): Make sure custom
	menu item is shown
2002-01-11 14:17:40 +00:00
Jonathan Blandford
f4c5ec56d0 remove unneeded files 2002-01-08 21:47:16 +00:00
Bradford Hovinen (Gdict maintainer)
98e37477fa Near total rewrite 2002-01-08 21:25:33 +00:00
Jonathan Blandford
d159298d55 remove unneeded files, and make naming more consistent 2002-01-08 21:24:41 +00:00
Jonathan Blandford
d317e2704e Add locate-pointer. Initial attempt at locate-pointer. Don't understand
Tue Jan  8 15:50:59 2002  Jonathan Blandford  <jrb@redhat.com>

	* Makefile.am: Add locate-pointer.
	* gnome-settings-keyboard.c: Initial attempt at locate-pointer.
	Don't understand XKB enough to figure it out.
	* gnome-settings-locate-pointer.[ch]: Draw the locate pointer
	box.  Pretty snazzy for a useless (but fun) feature.
	* gnome-settings-mouse.c:  Move locate pointer to it's own file.

Tue Jan  8 15:49:15 2002  Jonathan Blandford  <jrb@redhat.com>

	* .cvsignore: update
	* Makefile.am: Add gnome-keyboard-properties.c
	* gnome-keyboard-properties.c: New, much nicer capplet.
	* gnome-keyboard-properties.glade: glade file for above.
	* keyboard-bell.png:
	* keyboard-cursor.png:
	* keyboard-repeat.png:
	* keyboard-volume.png: Images for above.  Note,
	keyboard-cursor.png is my pathetic attempt at artwork, and will
	prolly change in the future.

Tue Jan  8 15:47:24 2002  Jonathan Blandford  <jrb@redhat.com>

	* .cvsignore: New ignores.
	* gnome-mouse-properties.glade: Update of glade file for cursors
	* mouse-cursor-normal-large.png: New images
	* mouse-cursor-normal.png:
	* mouse-cursor-white-large.png:
	* mouse-cursor-white.png:
	* mouse-properties-capplet.c: (setup_dialog), (create_dialog),
	(main): Add support for new properties.  Don't fully work yet, but
	we'll get it later.
	* mouse-properties.glade: not sure what changed -- need to remove
	this file.
2002-01-08 21:03:07 +00:00
Richard Hestilow
53a008eb3c Port to GNOME 2.0.
2002-01-08  Richard Hestilow  <hestilow@ximian.com>

	* Port to GNOME 2.0.
2002-01-08 14:58:12 +00:00
Jonathan Blandford
63c1b1daaf avoid recursive loops by only setting the UI if we're active.
Sun Jan  6 02:52:59 2002  Jonathan Blandford  <jrb@redhat.com>

	* gconf-property-editor.c (peditor_select_radio_widget_changed):
	avoid recursive loops by only setting the UI if we're active.
2002-01-06 07:55:41 +00:00
Bradford Hovinen
1bd61a6bdb Only remove from changeset if the changeset is non-NULL
2002-01-05  Bradford Hovinen  <hovinen@ximian.com>

	* gconf-property-editor.c (peditor_*_value_changed): Only remove
	from changeset if the changeset is non-NULL
2002-01-05 20:39:03 +00:00
Bradford Hovinen
68257fcb34 Implement. Sets the GConf value either in the changeset, or if changeset
2002-01-04  Bradford Hovinen  <hovinen@ximian.com>

	* gconf-property-editor.c (peditor_set_gconf_value):
	Implement. Sets the GConf value either in the changeset, or if
	changeset is NULL, directly
	(peditor_*_widget_changed): Use peditor_set_gconf_value
	(gconf_peditor_new_*): Don't complain if changeset is NULL
2002-01-04 20:48:17 +00:00
Bradford Hovinen
d3f81c7330 Check if tmp is NULL before continuing Use terminal/exec for terminal
2002-01-04  Bradford Hovinen  <hovinen@ximian.com>

	* default-application-properties.c (edit_read): Check if tmp is
	NULL before continuing
	Use terminal/exec for terminal executable name key
2002-01-04 18:40:41 +00:00
Bradford Hovinen
57d122b331 Use $(CONTROL_{CFLAGS|LIBS}) rather than @CONTROL_{CFLAGS|LIBS}@
2002-01-04  Bradford Hovinen  <hovinen@ximian.com>

	* control/Makefile.am (gnome_theme_preview_LDADD): Use
	$(CONTROL_{CFLAGS|LIBS}) rather than @CONTROL_{CFLAGS|LIBS}@
2002-01-04 14:23:24 +00:00
Seth Nickell
a3117bf52c Add Categories field.
2001-12-20  Seth Nickell  <snickell@stanford.edu>

	* mouse.desktop.in:

	Add Categories field.
2001-12-21 06:43:43 +00:00
Seth Nickell
230fdde663 Add Categories field so it shows up correctly in the panel menus.
2001-12-20  Seth Nickell  <snickell@stanford.edu>

	* keyboard.desktop.in:

	Add Categories field so it shows up correctly in the
	panel menus.
2001-12-21 06:42:42 +00:00
Bradford Hovinen
f9094a3189 Update
2001-12-20  Bradford Hovinen  <hovinen@ximian.com>

	* mouse.desktop.in (Icon, Exec): Update
2001-12-20 21:05:58 +00:00
Bradford Hovinen
1afc14e0c4 Eliminate compiler warnings
2001-12-20  Bradford Hovinen  <hovinen@ximian.com>

	* mouse-properties-capplet.c: Eliminate compiler warnings
2001-12-20 20:23:36 +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
bc02837644 Eliminate compiler warnings
2001-12-20  Bradford Hovinen  <hovinen@ximian.com>

	* gconf-property-editor.c: Eliminate compiler warnings

	* capplet-util.c: Eliminate compiler warnings
2001-12-20 20:21:39 +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
7ec25076f0 Add background, screensaver files (install-data-local): Allow
2001-12-20  Bradford Hovinen  <hovinen@ximian.com>

	* schemas/Makefile.am (schema_DATA): Add background, screensaver
	files
	(install-data-local): Allow specification of multiple schema files

	* capplets/default-applications/Makefile.am: Clean up
2001-12-20 19:45:12 +00:00
Bradford Hovinen (Gdict maintainer)
ac652d54ee Add missing rule for building screensaver.desktop 2001-12-20 19:10:50 +00:00
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 (Gdict maintainer)
89b1e89843 Moved background, screensaver schema files to schemas 2001-12-20 18:58:11 +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
cb0a578f7e Add
2001-12-20  Bradford Hovinen  <hovinen@ximian.com>

	* schemas/Makefile.am (EXTRA_DIST): Add

	* configure.in: Removed capplets/sound/Makefile

	* capplets/*/Makefile.am: Compilation fixes
2001-12-20 17:58:44 +00:00
Hans Petter Jansson
a41721b331 Remove rule that prevented install.
2001-12-20  Hans Petter Jansson  <hpj@ximian.com>

	* Makefile.am: Remove rule that prevented install.
2001-12-20 17:09:32 +00:00
Bradford Hovinen (Gdict maintainer)
f51312135c Replace .desktop.in.in with .desktop.in, as we no longer need the pixmap
filename substitution in GNOME 2.0
2001-12-20 15:53:57 +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
26f7fd7a09 Comment out; pending removal to gnome-settings-daemon (setup_dialog): Set
2001-12-19  Bradford Hovinen  <hovinen@ximian.com>

	* keyboard-properties.c (apply_settings): Comment out; pending
	removal to gnome-settings-daemon
	(setup_dialog): Set conversion functions
	(rate_to_widget, rate_from_widget, delay_to_widget)
	(delay_from_widget): Implement
2001-12-19 21:20:20 +00:00
Bradford Hovinen
e6e398cbae Return FALSE (peditor_*_widget_changed): Just return if we are not fully
2001-12-19  Bradford Hovinen  <hovinen@ximian.com>

	* gconf-property-editor.c (init_widget_cb): Return FALSE
	(peditor_*_widget_changed): Just return if we are not fully
	initialized
	(init_widget_cb): Set initialized flag
	(struct _GConfPropertyEditorPrivate): Add inited
2001-12-19 20:44:11 +00:00
Bradford Hovinen
9ec85dedd5 Connect to value_changed signal Add properties conv-{to|from}-widget-cb
2001-12-19  Bradford Hovinen  <hovinen@ximian.com>

	* gconf-property-editor.c (gconf_peditor_new_float_range)
	(gconf_peditor_new_int_range): Connect to value_changed signal Add
	properties conv-{to|from}-widget-cb and use those for conversion
	of values to and from the widget
	(peditor_{int|float}_range_value_changed, friends): Combine into
	peditor_numeric_*
	(gconf_peditor_new): Implement. Factor out some common code from
	the various type-specific constructors
	(peditor_*_value_changed): Don't check if the value is the same as
	what is already in the widget; it's not very important
	(peditor_*_value_changed): Remove the key from the changeset
	(gconf_peditor_new_*): Add g_return_val_if_fail macros
	(gconf_peditor_widget_set_guard): Add g_return_if_fail macros
	(gconf_value_float_to_int, gconf_value_int_to_float): Implement
	(gconf_property_editor_set_prop): Store the callback in the
	property editor proper
	(gconf_peditor_new): Put initialization code in an idle handler

	* gconf-property-editor.c: Add ui-control property storing the
	object (normally a widget) that controls the property; remove
	object property and replace its function with ui-control
2001-12-19 20:19:03 +00:00
Bradford Hovinen
e70b2fb620 Update to reflect changes in gconf peditors (setup_dialog): Use
2001-12-19  Bradford Hovinen  <hovinen@ximian.com>

	* mouse-properties-capplet.c (*_{to|from}_gconf): Update to
	reflect changes in gconf peditors
	(setup_dialog): Use numeric_range
2001-12-19 20:18:23 +00:00
Bradford Hovinen
bf698d95b1 Remove --apply and --init-session-settings
2001-12-19  Bradford Hovinen  <hovinen@ximian.com>

	* mouse-properties-capplet.c (main): Remove --apply and
	--init-session-settings
2001-12-19 14:59:13 +00:00
Bradford Hovinen
3cacd8d820 Connect to value_changed signal
2001-12-19  Bradford Hovinen  <hovinen@ximian.com>

	* gconf-property-editor.c (gconf_peditor_new_float_range)
	(gconf_peditor_new_int_range): Connect to value_changed signal

	* capplet-util.c: Comment out most of this file

	* gconf-property-editor.c (gconf_peditor_new_int_range): Convert
	to ~_float_range
	(gconf_peditor_new_float_range): Add callbacks for conversion
	between widget's values and GConf values in the signature
	(peditor_float_range_widget_changed): Issue callback, if
	available, to convert from widget's values to GConf values
	(peditor_float_range_value_changed): Vice verca above
	(gconf_peditor_new_int_range, peditor_int_range_widget_changed)
	(peditor_int_range_value_changed): Implement. Copy from float
	versions
2001-12-19 14:53:59 +00:00
Bradford Hovinen
b8fd80b0a1 Divide by 1000.0, use floats (double_click_to_gconf): Implement
2001-12-19  Bradford Hovinen  <hovinen@ximian.com>

	* mouse-properties-capplet.c (double_click_from_gconf): Divide by
	1000.0, use floats
	(double_click_to_gconf): Implement
	(drawing_area_button_press_event): Don't call
	double_click_from_gconf
	(drawing_area_button_press_event): Use response of
	gconf_change_set_check_value to determine if value is in changeset

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

	* mouse-properties-capplet.c (double_click_from_gconf): Single
	closed-form formula here
	Code reorganization; many changes
2001-12-19 14:53:45 +00:00
Seth Nickell
c1a1e50573 Remove because gnome-core is now installing for the new GNOME CC.
2001-12-19  Seth Nickell  <snickell@stanford.edu>

	* Makefile.am:
	* gnome-hint-properties.desktop.in:

	Remove because gnome-core is now installing for the
	new GNOME CC.
2001-12-19 11:58:34 +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
Seth Nickell
b7e19c96b3 Add Categories field so it shows up under the Settings submenu in the
2001-12-19  Seth Nickell  <snickell@stanford.edu>

	* default-applications.desktop.in.in:

	Add Categories field so it shows up under the
	Settings submenu in the panel menus.
2001-12-19 11:38:30 +00:00
Seth Nickell
3419fa82da Add Categories field so it goes into the right location in the panel
2001-12-19  Seth Nickell  <snickell@stanford.edu>

	* background.desktop.in.in:

	Add Categories field so it goes into the right location
	in the panel menus.
2001-12-19 11:37:18 +00:00
Bradford Hovinen
f1aa0eed71 Don't #include bonobo*.h
2001-12-18  Bradford Hovinen  <hovinen@ximian.com>

	* capplet-util.h: Don't #include bonobo*.h
2001-12-18 21:13:16 +00:00
Bradford Hovinen
5cf9b9e178 Enable
2001-12-18  Bradford Hovinen  <hovinen@ximian.com>

	* keyboard-properties.c (get_legacy_settings): Enable
2001-12-18 21:13:03 +00:00
Bradford Hovinen
9cf6051537 Use return value of gconf_change_set_check_value to determine if the key
2001-12-18  Bradford Hovinen  <hovinen@ximian.com>

	* keyboard-properties.c: (get_int_from_changeset): Use return
	value of gconf_change_set_check_value to determine if the key
	is in the set
2001-12-18 21:06:51 +00:00
Bradford Hovinen
4afd7a226f Port to GConf/GNOME 2.0. Many changes. (setup_dialog): Use correct widget
2001-12-18  Bradford Hovinen  <hovinen@ximian.com>

	* keyboard-properties.c: Port to GConf/GNOME 2.0. Many changes.
	(setup_dialog): Use correct widget name
	(create_dialog): Use gtk_image_ functions for the volume icon

	* keyboard-properties.glade: Remove placeholders
2001-12-18 21:03:54 +00:00