2001-11-18 Richard Hestilow <hestilow@ximian.com>
* Makefile.am (sound_properties_control_LDADD): Add libsounds.a.
* prefs-widget.c (apply_settings): Export our settings to
gnome-config (needed by gnome-libs). Also save and reload event
sounds.
(create_dialog): Add a SoundView on the sound events.
* sound-properties.glade: Add a tab for the sound events.
2001-10-26 Bradford Hovinen <hovinen@ximian.com>
* capplets/Makefile.am: Remove screensaver from
always_built_SUBDIRS and add $(SCREENSAVER) to SUBDIRS
* capplets/{background|keyboard|mouse|sound}/Makefile.am:
Fix so that automake does not choke on these files
2001-10-13 Bradford Hovinen <hovinen@ximian.com>
* lister.c (edit_file_to_use): Be paranoid about what we have read
from the input file -- make sure the string is always
NULL-terminated
2001-10-13 Bradford Hovinen <hovinen@ximian.com>
* bonobo-config-archiver.c (real_sync): Try to resolve a listener
to make sure that something is listening when we issue the sync
event (disabled for now)
(get_listener_oafiid): Implement (disabled for now)
2001-10-12 Bradford Hovinen <hovinen@ximian.com>
* capplet-util.c (get_factory_name): Updated factory name to
reflect new, expanded roles
* Bonobo_Control_Capplet_generic.oaf.in: Create
2001-09-29 Bradford Hovinen <hovinen@ximian.com>
* capplet-util.c (create_control_cb): Elimite reference counter --
it's not necessary
(create_control_cb): Make this a multi-factory so that we can
return the listener when needed
(capplet_init): Set up the listener here rather than in
get_control_cb; also remove the listener and unref the database
here
(quit_cb, real_quit_cb): Remove (thank the gods)
2001-10-12 Bradford Hovinen <hovinen@ximian.com>
* Makefile.am ($(oaffile)): Make creation of the .oaf file generic
2001-10-12 Bradford Hovinen <hovinen@ximian.com>
* capplet-dir.c (capplet_control_launch): Unref the property bag
when we are done
simultaneous visuals. I will revert them if it turns out not to work in that
case.
Fixes Ximian bugzilla bug #10541
2001-10-12 Bradford Hovinen <hovinen@ximian.com>
* applier.c (render_to_screen): Use standard gdk and gdk_pixbuf
rather than xlib and gdk_pixbuf_xlib
(make_root_pixmap): Create a GdkPixmap
(set_root_pixmap): Accept GdkPixmap and convert to X id
2001-10-01 Israel Escalante <israel@ximian.com>
* capplet/Makefile.am (always_built_SUBDIRS): Removed rollback
* po/POTFILES.in: Removed some *.c files that was called and
don't exist.
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-29 Richard Hestilow <hestilow@ximian.com>
* prefs-widget.c (prefs_widget_set_arg): Register
callbacks after loading the preferences; otherwise they will
get triggered unnecessarily.
(selected_cb): Only trigger a change if there really was one.
Fixes bug #9161.
2001-09-29 Richard Hestilow <hestilow@ximian.com>
* wm-list.c (wm_list_read_dir): Check if config_tryexec is blank,
and if it is, free it and set it to NULL.
(wm_check_present): If there is no config_tryexec, fall back
on checking the path of the config_exec. Fix for bug #58306.
2001-09-29 Richard Hestilow <hestilow@ximian.com>
* lister.c: (list_themes, list_system_themes, list_user_themes):
Return a GList of ThemeEntry*, and remove extraneous number argument.
Also, use g_strdup_printf instead of g_snprintf.
* da.h (ThemeEntry): Add a "row" data member.
* gui.c: Change variables current_theme, current_global_theme,
initial_theme, and last_theme to ThemeEntry*.
(make_main): Change GtkList to a GtkCList to avoid scrolling bug.
(click_entry): Changed to "select_row" callback prototype.
(delete_entry): Removed.
(item_destroy_notify): Added in lieu of delete_entry.
(sort_alpha): Accept ThemeEntry* and not GtkBin*.
(add_theme_list): Added.
(update_theme_entries): Use clist functions.
2001-09-28 Bradford Hovinen <hovinen@ximian.com>
* preferences.c (preferences_load_from_bonobo_db):
(preferences_load_from_bonobo_pbag): Use BONOBO_RET_EX rather than
RETURN_IF_EX; remove the definition of the latter macro
* applier.c (fill_gradient): Copied from control center 1.4.0
(render_background): Create the pixbuf first and then pass to
fill_gradient
(render_to_screen): Use XLIB_RGB_DITHER_MAX rather than
GDK_RGB_DITHER_NORMAL
2001-09-28 Bradford Hovinen <hovinen@ximian.com>
* capplet-util.c (get_default_moniker): Remove -control from the
end of the string as well as -capplet
(get_factory_name): Ditto
(get_property_name): Ditto
* capplets/*/Makefile.am: Change the binary name to
*-properties-control and create a wrapper script from
../common/wrapper-script.in to be named
*-properties-capplet
Remove support for disabling bonobo-conf build
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-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-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 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-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-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-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 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-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-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-03 Bradford Hovinen <hovinen@ximian.com>
* background-properties-capplet.c (setup_dialog): Apply
preferences now if the preview widget is already realized