reviewed by: Pavel Cisler <pavel@eazel.com>
2001-02-26 Gene Z. Ragan <gzr@eazel.com> reviewed by: Pavel Cisler <pavel@eazel.com> Fixed bug 7039, User-entered application that matches built-in application can't be deleted Fixed bug 7040, User-entered application that matches built-in application doesn't go away when "all user changes" reverted Fixed bug 7064, New mime types added by user using the capplet do not appear when capplet is launched again. * mime-type-capplet/Makefile.am: Add libuuid to build. * mime-type-capplet/libuuid/Makefile.am: * mime-type-capplet/libuuid/clear.c: (uuid_clear): * mime-type-capplet/libuuid/compare.c: (uuid_compare): * mime-type-capplet/libuuid/copy.c: (uuid_copy): * mime-type-capplet/libuuid/gen_uuid.c: (get_random_bytes), (get_node_id), (get_clock), (uuid_generate_time), (uuid_generate_random), (uuid_generate): * mime-type-capplet/libuuid/gen_uuid_nt.c: (Nt5), (uuid_generate): * mime-type-capplet/libuuid/isnull.c: (uuid_is_null): * mime-type-capplet/libuuid/pack.c: (uuid_pack): * mime-type-capplet/libuuid/parse.c: (uuid_parse): * mime-type-capplet/libuuid/tst_uuid.c: (main): * mime-type-capplet/libuuid/unpack.c: (uuid_unpack): * mime-type-capplet/libuuid/unparse.c: (uuid_unparse): * mime-type-capplet/libuuid/uuid.h: * mime-type-capplet/libuuid/uuidP.h: * mime-type-capplet/libuuid/uuid_time.c: (uuid_time), (uuid_type), (uuid_variant), (variant_string), (main): Add libuuid to capplet and link statically. This is sort of sad. It would be nice if gnome had a uuid library, but at this time it does not. * mime-type-capplet/nautilus-mime-type-capplet-dialogs.c: (nautilus_mime_type_capplet_show_new_mime_window): Call proper API to ensure that new mime type is added to the database. (add_or_update_application), (add_item_to_application_list), (run_edit_or_new_application_dialog): Create and assign a uuid to user defined application so that we never conflict with system defined types that use the application name as the application id.
Showing
- capplets/file-types/Makefile.am 13 additions, 3 deletionscapplets/file-types/Makefile.am
- capplets/file-types/file-types-capplet-dialogs.c 39 additions, 26 deletionscapplets/file-types/file-types-capplet-dialogs.c
- capplets/file-types/libuuid/.cvsignore 3 additions, 0 deletionscapplets/file-types/libuuid/.cvsignore
- capplets/file-types/libuuid/Makefile.am 28 additions, 0 deletionscapplets/file-types/libuuid/Makefile.am
- capplets/file-types/libuuid/clear.c 20 additions, 0 deletionscapplets/file-types/libuuid/clear.c
- capplets/file-types/libuuid/compare.c 32 additions, 0 deletionscapplets/file-types/libuuid/compare.c
- capplets/file-types/libuuid/copy.c 21 additions, 0 deletionscapplets/file-types/libuuid/copy.c
- capplets/file-types/libuuid/gen_uuid.c 257 additions, 0 deletionscapplets/file-types/libuuid/gen_uuid.c
- capplets/file-types/libuuid/gen_uuid_nt.c 92 additions, 0 deletionscapplets/file-types/libuuid/gen_uuid_nt.c
- capplets/file-types/libuuid/isnull.c 25 additions, 0 deletionscapplets/file-types/libuuid/isnull.c
- capplets/file-types/libuuid/pack.c 46 additions, 0 deletionscapplets/file-types/libuuid/pack.c
- capplets/file-types/libuuid/parse.c 52 additions, 0 deletionscapplets/file-types/libuuid/parse.c
- capplets/file-types/libuuid/tst_uuid.c 119 additions, 0 deletionscapplets/file-types/libuuid/tst_uuid.c
- capplets/file-types/libuuid/unpack.c 40 additions, 0 deletionscapplets/file-types/libuuid/unpack.c
- capplets/file-types/libuuid/unparse.c 28 additions, 0 deletionscapplets/file-types/libuuid/unparse.c
- capplets/file-types/libuuid/uuid.h 50 additions, 0 deletionscapplets/file-types/libuuid/uuid.h
- capplets/file-types/libuuid/uuidP.h 40 additions, 0 deletionscapplets/file-types/libuuid/uuidP.h
- capplets/file-types/libuuid/uuid_time.c 138 additions, 0 deletionscapplets/file-types/libuuid/uuid_time.c
Please register or sign in to comment