2000-09-24 Bradford Hovinen <hovinen@helixcode.com>
* capplets/new-ui-properties/preferences.c
(preferences_clone): Copy dialog_use_icons field
* capplets/new-ui-properties/prefs-widget-dialogs.c: Use standard
macro for dialog_icons
* capplets/new-ui-properties/prefs-widget.h
(struct _widget_desc_t): Remove field prefs_offset
* capplets/new-ui-properties/preferences.c
(preferences_get_dialog_icons):
(preferences_set_dialog_icons): Implement
* capplets/new-ui-properties/prefs-widget.c (read_preferences):
(register_callbacks):
(toggled_cb):
(selected_cb): Remove support for direct struct offset manipulation
* capplet-widget.c (capplet_widget_multi_new): Set capid
(capplet_widget_init): Set capid to current global value
(capplet_widget_class_get_capid): Implement; return the capid
passed on the command line
* capplet-widget.h (struct _CappletWidget): Remove buffer between
frame and plug sizes
2000-09-16 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 3042, Adding new mime type doesn't work
* mime-type-capplet/nautilus-mime-type-capplet-dialogs.c:
(nautilus_mime_type_capplet_show_new_mime_window):
Return the new mime type if one was created
* mime-type-capplet/nautilus-mime-type-capplet-dialogs.h:
* mime-type-capplet/nautilus-mime-type-capplet.c:
(nautilus_mime_type_capplet_update_info), (add_mime_clicked):
Add info to main list.
2000-09-12 Bradford Hovinen <hovinen@helixcode.com>
* new-keyboard-properties/preferences.c (preferences_clone): Added
in missing code to copy preferences over
2000-09-10 Bradford Hovinen <hovinen@helixcode.com>
* capplets/new-background-properties/prefs-widget.c
(read_preferences): Set gradient/wallpaper/background controls'
sensitivity depending on whether they are enabled
* capplets/new-background-properties/applier.c
(renderer_render_to_screen): Fixed solid, no wallpaper case to
work correctly with preview window; don't set root pixmap if
neither wallpaper nor gradient enabled
2000-09-08 Gene Z. Ragan <gzr@eazel.com>
* mime-type-capplet/nautilus-mime-type-capplet.c:
(populate_mime_list):
Fixed a couple of leaks and instances where
gdk_pixbuf_new_from_file was being passed a NULL char *.
2000-09-08 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 2766, viewer menu code is not finished.
Enjoy your Content Loser.
* mime-type-capplet/nautilus-mime-type-capplet.c:
(populate_viewer_menu):
Made function work.
2000-09-08 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 2789, Need to cancel non-file drags in icon
entry field.
* mime-type-capplet/nautilus-mime-type-icon-entry.c:
(drag_data_get):
2000-09-05 Mathieu Lacage <mathieu@eazel.com>
* mime-type-capplet/nautilus-mime-type-capplet.c:
(populate_viewer_menu): initialize found_match to TRUE
to avoid a segfault in certain non-obvious cases. this
is a temporary hack waiting for bug 2766.
2000-09-01 Mathieu Lacage <mathieu@eazel.com>
* mime-type-capplet/nautilus-mime-type-capplet.c: (main),
(init_mime_capplet), (populate_mime_list),
(create_mime_list_and_scroller):
remove debugging output. fix many run-time warnings.
Now, can go into fixing real bugs.
2000-08-31 Martin Baulig <baulig@suse.de>
* configure.in: Only check for GNOME if we're on the GNOME 1.2
platform.
* configure.in: Don't modify CFLAGS but set VFS_CLFAGS instead.
Otherwise CFLAGS gets longer every time config.status is run.
* */Makefile.am (INCLUDES): Add $(VFS_CFLAGS).
2000-08-31 Martin Baulig <baulig@suse.de>
* configure.in: Don't put -Werror into CFLAGS but into WERROR
and AC_SUBST it. Some configure checks don't work with -Werror.
* */Makefile.am (INCLUDES): Add $(WERROR).
2000-08-18 Bradford Hovinen <hovinen@helixcode.com>
* configure.in: Check for putenv and setenv and set appropriate
macros in config.h
2000-08-18 Bradford Hovinen <hovinen@helixcode.com>
* preview.c (setup_path): Use setenv only when available, try to
use putenv otherwise
2000-08-16 Bradford Hovinen <hovinen@helixcode.com>
* preferences.c (preferences_write_xml):
(preferences_read_xml): Added missing entries stored in
gnome-config rather than .xscreensaver
(screensaver_read_xml): Disable screensaver by default
(preferences_write_xml): Cast values to ints before passing to
g_strdup_printf
2000-08-16 Bradford Hovinen <hovinen@helixcode.com>
* capplet-widget.c: Add support for --get and --set to cap_options
(gnome_capplet_init): Add return values 3 for --get and 4 for --set
2000-08-16 Bradford Hovinen <hovinen@helixcode.com>
* rc-parse.c (write_screensaver_list): Don't try to write string
if the screensaver has no command line
* main.c (main): Register Popt table containing get and set
options; call do_get_xml and do_set_xml when necessary
(do_get_xml):
(do_set_xml): Implement
2000-08-16 Bradford Hovinen <hovinen@helixcode.com>
* screensaver-prefs-dialog.c (get_select_widget): Remove
extraneous precondition check
(read_command_line): Rewrote to support quoted strings in the
command line
2000-08-12 Bradford Hovinen <hovinen@helixcode.com>
* screensaver-prefs-dialog.c (write_command_line): Use flag free_v
to determine whether to free data; add support for strings
(write_string): Implement. Analagous to write_*
(populate_table): Add support for strings
(place_entry):
(get_entry): Implement
(place_screensaver_properties): Add support for strings
(read_string): Implement
(read_select):
(write_select): Skip over nodes that don't have id attributes
2000-08-10 Bradford Hovinen <hovinen@helixcode.com>
* screensaver-prefs-dialog.c (write_command_line): Fix memory leak
(read_select): Disable all widgets associated with unselected
nodes before enabling those associated with selected one
(read_select): Don't iterate through menu items
(read_number): Don't crash if person used bad argument
2000-08-10 Bradford Hovinen <hovinen@helixcode.com>
* expr.c (int_parse_atom): Have string -> boolean conversion
always convert to FALSE
(int_parse_factor): Set result to boolean TRUE when symbol of
value 1 encountered.
2000-08-09 Bradford Hovinen <hovinen@helixcode.com>
* preview.c (setup_path): Use get_screensaver_dir_list; iterate
through all the directories listed in list; use g_getenv
* rc-parse.c (get_screensaver_dir_list): Make public, cache
return value
(command_exists): Don't cache screensaver_dir_list
2000-08-09 Bradford Hovinen <hovinen@helixcode.com>
* rc-parse.c (get_screensaver_dir_list): Implement. Get a list of
possible directories where screensavers may be found by scanning
the XScreensaver binary.
(command_exists): Search through list of screensaver directories
from get_screensaver_dir_list rather than using the hardcoded one
Tue Aug 08 23:18:49 2000 George Lebl <jirka@5z.com>
* libgnomevfs/Makefile.am,
libgnomevfs/gnome-vfs-application-registry.[ch]:
A new application registry. The parsing is based upon
mime-info. The interface completely hides any structures
and is based entierly on querying string keys. Handles
user settings as a delta against the system settings. Also
adds mime_types list support to the registry instead of this
being read from the keys file.
* libgnomevfs/gnome-vfs-mime-handlers.[ch]
(gnome_vfs_mime_get_default_application)
(gnome_vfs_mime_get_short_list_applications)
(gnome_vfs_mime_get_all_applications)
(gnome_vfs_mime_extend_all_applications)
(gnome_vfs_mime_remove_from_all_applications)
(gnome_vfs_mime_application_new_from_id)
(application_known_to_be_nonexistent):
Use the application registry API internally. Remove the
gnome_vfs_mime_define_application call as it doesn't
make any sesnse any more and is replaced by an application
registry call. The all_applications calls now use the
registry api for all their work.
* libgnomevfs/gnome-vfs-mime-info.c (load_mime_type_info_from):
Fix a bug where comments would only be ignored on the first
line which would add nonsense mime types if comments were
elsewhere in the file.
* mime-type-capplet/nautilus-mime-type-capplet-dialogs.c
(add_new_application)
test/test-mime-handlers-set.c (main):
Use the application registry for adding new applications
* data/mime/Makefile.am, data/mime/gnome-vfs.keys,
data/mime/gnome-vfs.applications,
data/mime/application-registry-hack.keys:
Remove the registry hack stuff, remove all_applications
stuff from gnome-vfs.keys and add the applications from
the registry hack to gnome-vfs.applications including
the mime types they read.
* mime-type-capplet/nautilus-mime-type-capplet.c: Move include of
sys/types.h above include of regex.h to fix building on
FreeBSD. Fix from Bill Huey <billh@gnuppy.monkey.org>.