2001-02-06 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 6258, Determine initial capplet sort column
* mime-type-capplet/nautilus-mime-type-capplet.c:
(init_mime_capplet):
Sort based on first column in list.
2001-02-05 Gene Z. Ragan <gzr@eazel.com>
Work done to improve the mime tpye capplet.
Enable the capplet to be launched with a mime type.
If a mime type is an argument, have the capplet scroll
to that item in the list before the user begins interaction.
* mime-type-capplet/nautilus-mime-type-capplet.c: (main),
(list_move_vertical), (list_moveto), (list_reveal_row),
(init_mime_capplet), (populate_mime_list):
2001-01-29 Rebecca Schulman <rebecka@eazel.com>
Change the value of the "expects_uris" attribute
of applications to have 3 possible values:
"yes", "no", and "non-file". This change will
allow applications to understand how to launch programs
that expect local paths for local files, but uris
for non-file locations.
reviewed by: Darin Adler <darin@eazel.com>
* data/mime/gnome-vfs.applications:
Change expects_uris to "non-file" where appropriate
(for now mpg123), and added supported_uri_schemes
in places where "expects_uris" was "yes" but no
supported uri schemes were listed. This information
is not yet complete.
* doc/mime-data-specification.txt: Remove the "[to be
implemented]" tag from fields that are now fully implemented
(supported_uri_schemes and expects_uris)
* libgnomevfs/gnome-vfs-mime-handlers.h:
* libgnomevfs/gnome-vfs-application-registry.h:
* libgnomevfs/gnome-vfs-application-registry.c: (application_new),
(value_looks_true), (get_bool_value), (application_add_key),
(gnome_vfs_application_registry_get_mime_application),
(gnome_vfs_application_registry_save_mime_application):
Parse, set and get the new "expects_uris"
attribute, and represent its set of possible values using
an enum, rather than a gboolean.
* mime-type-capplet/nautilus-mime-type-capplet-dialogs.c:
(show_new_application_window), (show_edit_application_window):
Add the right bug number to fixmes about updates need in the capplet
to reflect the new application attributes
* test/test-mime-handlers.c:
(format_mime_application_argument_type_for_display),
(print_application):
Print the "expects_uris" attribute as part of the test
program for application information parsing.
2001-01-29 Bradford Hovinen <hovinen@ximian.com>
* rollback-widget.c (rollback_widget_realize): Check entire
success array and warn if any allocation did not succeed
* config-manager-dialog.c (cancel_cb): Don't do rollback
* Makefile.am (rollback_capplet_SOURCES): Added rollback-control.[ch]
* config-manager-dialog.c (config_manager_dialog_init): Construct
a rollback widget with a rollback control and place it in the
dialog
2001-01-27 Bradford Hovinen <hovinen@ximian.com>
* rollback-widget.c (rollback_widget_realize): Allocate control
colors
* rollback-widget.h (struct _RollbackWidget ): Added array
control_colors
* rollback-widget.c (rollback_widget_realize):
(rollback_widget_unrealize): Implement. Just calls the parent's
[un]realize and creates/destroys a GC to be used by the individual
controls.
(rollback_widget_get_gc): Implement. Return the GC created above
2001-01-29 Gene Z. Ragan <gzr@eazel.com>
Fixed bug 5847, MIME type capplet alphabetical oder case sensitive
* mime-type-capplet/nautilus-mime-type-capplet.c:
(sort_case_insensitive), (column_clicked),
(create_mime_list_and_scroller):
Create a sort routine that is not case sensitive.
2001-01-27 Bradford Hovinen <hovinen@ximian.com>
* capplets/new-background-properties/applier.c
(applier_apply_prefs): Disable wallpaper in new_prefs structure,
not structure passed to function
2001-01-26 Bradford Hovinen <hovinen@ximian.com>
* capplets/new-background-properties/main.c
(do_restore_from_defaults): Implement. Creates a preferences
object with factory defaults and saves and applies those changes.
2001-01-26 Rebecca Schulman <rebecka@eazel.com>
Add support for the "supported_uri_schemes"
attributes in the mime applications file,
and changed can_open_uris to "expects_uris"
because this attribute is more about
the way arguments should be specified than
about its capabilities of understanding
locations.
The supported uri schemes attributes is
optional, and if it is not included, the
value is assumed to be file.
reviewed by: Pavel Cisler <pavel@eazel.com>
* libgnomevfs/gnome-vfs-application-registry.h:
Add the new function
gnome_vfs_application_registry_supports_uri_scheme to the
public api
* libgnomevfs/gnome-vfs-application-registry.c: (application_new),
(add_application_to_mime_type_table),
(add_mime_type_to_application),
(add_supported_uri_scheme_to_application),
(remove_application_from_mime_type_table),
(remove_mime_type_for_application),
(supported_uri_scheme_list_copy),
(gnome_vfs_application_registry_supports_uri_scheme),
(gnome_vfs_application_registry_supports_mime_type),
(gnome_vfs_application_registry_add_mime_type),
(gnome_vfs_application_registry_remove_mime_type),
Add supported uri schemes functions to complement
the current mime type functions
and refactor the mime_type functions to share code with
the new supported_uri_schemes functions where
appropriate
(application_clear_mime_types),
(application_add_key),
Add ability to parse the supported_uri_schemes attribute
(gnome_vfs_application_registry_get_mime_application),
(gnome_vfs_application_registry_save_mime_application):
Add supported_uri_schemes to these functions
* libgnomevfs/gnome-vfs-mime-handlers.h:
* libgnomevfs/gnome-vfs-mime-handlers.c:
(gnome_vfs_mime_get_short_list_applications),
(gnome_vfs_mime_application_copy),
(gnome_vfs_mime_application_free),
(copy_str_list):
Add supported_uri_schemes to the MimeApplication
structure
* data/mime/gnome-vfs.applications:
Add some new "supported_uri_schemes".
What I have added is not complete.
* doc/mime-data-specification.txt:
Add information about how user files can augment, but
not replace information about applications' accepted mime
types and supported uri schemes. Add FIXMEs about
how this isn't clearly correct.
* mime-type-capplet/nautilus-mime-type-capplet-dialogs.c:
(add_or_update_application), (show_new_application_window),
(show_edit_application_window):
Change can_open_uris to "Expects URIs"
* test/test-mime-handlers-set.c: (main):
* test/test-mime-handlers.c: (append_comma_and_scheme),
(format_supported_uri_schemes_for_display), (print_application):
Update tests, by adding new attribute
2001-01-25 Bradford Hovinen <hovinen@ximian.com>
* config-log.c (get_current_date): Use local time rather than
Greenwich Mean Time
* location.c (location_store_xml): Implement; copy from
location_store
(location_store): Free filename after use
* archive.c (archive_load): Free prefix only if not global
* location.c (location_rollback_all_to): Increment array
* util.c (parse_date): Normalize values
2001-01-25 Bradford Hovinen <hovinen@ximian.com>
* main.c (main): Support operating on global backends
Add popt option for operating on global backends
2001-01-25 jacob berkman <jacob@ximian.com>
* root-manager/root-manager.c (main): add a \n to the usage
message
* root-manager/root-manager-wrap.c: change some g_print's to
fprintf to stderr
2001-01-24 Bradford Hovinen <hovinen@ximian.com>
* config-manager-dialog.c (config_manager_dialog_finalize): Update
unrefs
(config_manager_dialog_init): GLADE_DIR -> GLADE_DATADIR
(config_manager_dialog_init): Remove outdated signal connections
(config_manager_dialog_init): Remove code to create location list
Inherit from CappletWidget rather than GnomeDialog
(config_manager_dialog_init): Remove gtk_window_set_policy call
(ok_cb):
(cancel_cb): Remove gnome_dialog_close call
(config_manager_dialog_init): Set state to "changed" so that the
Ok button is active
(populate_backends_cb): Set backend_id in dialog if not already set
2001-01-24 Bradford Hovinen <hovinen@ximian.com>
* capplets/new-background-properties/preferences.c
(preferences_read_xml): Fix typo in adjust-opacity part
* capplets/new-background-properties/main.c (do_set_xml): Apply
preferences as well as saving them
2001-01-24 Jason Leach <jasonleach@usa.net>
* Makefile.am (INCLUDES): Forgot a trailing backslash so
GNOMECC_CFLAGS wasn't actually being used. It is now.
2001-01-24 jacob berkman <jacob@ximian.com>
* new-control-center/*.[ch]: new (temporary) html view and bug
fixication
* root-manager/*.[ch]: gnomeify dialogs and other cleanups
* configure.in: flags for root-manager-helper
2001-01-17 jacob berkman <jacob@ximian.com>
* root-manager/Makefile.am
* root-manager/root-manager.h: fix finding the root-manager
2001-01-24 Bradford Hovinen <hovinen@ximian.com>
* config-manager-dialog.c (config_manager_dialog_finalize): Update
unrefs
(config_manager_dialog_init): GLADE_DIR -> GLADE_DATADIR
(config_manager_dialog_init): Remove outdated signal connections
(config_manager_dialog_init): Remove code to create location list
* Makefile.am (INCLUDES): Changed CAPPLET_CFLAGS to
ROLLBACK_CAPPLET_CFLAGS
(rollback_capplet_LDADD): Ditto for CAPPLET_LIBS
* config-manager-dialog.c: Remove #include
"create-location-dialog.h" and #include "location-list.h"; set all
the includes from libarchiver to get their files from the right
directory
2001-01-24 Bradford Hovinen <hovinen@ximian.com>
* Makefile.am (INCLUDES): Cleaned out kruft and replaced it with
GNOMECC_CFLAGS
(gnomecc_LDADD): Ditto