~vcs-imports/gnome-control-center/+git/gnome-control-center:gnome-vfs-1

Last commit made on 2001-03-05
Get this branch:
git clone -b gnome-vfs-1 https://git.launchpad.net/~vcs-imports/gnome-control-center/+git/gnome-control-center

Branch merges

Branch information

Recent commits

6b6d4bb... by Dan Winship <email address hidden>

 reviewed by: Maciej Stachowiak <email address hidden>

 * mime-type-capplet/libuuid/Makefile.am (NULL): Remove "SUBDIRS="
 line, which causes automake (1.4 at least) to generate a Makefile
 containing invalid sh script that bash (2.03.0(1) at least) won't
 parse.

d423110... by "Gene Z. Ragan" <email address hidden>

reviewed by: Pavel Cisler <email address hidden>

2001-03-01 Gene Z. Ragan <email address hidden>

 reviewed by: Pavel Cisler <email address hidden>

 * mime-type-capplet/Makefile.am:
 The capplet .desktop should be copied to the Documents
 directory of the control-center .desktop files directory,
 not the root level.

d97f432... by Maciej Stachowiak <email address hidden>

 another unreviewed change to fix tinderox

 * mime-type-capplet/Makefile.am: Install .desktop file in both the
 places the .spec file expects it. Not sure if it was removed
 intentionally or not.

9e7e24a... by Maciej Stachowiak <email address hidden>

 unreviewed change to fix tinderox

 * mime-type-capplet/Makefile.am: Add .desktop.in file to
 EXTRA_DIST.

9662231... by Rebecca Schulman <email address hidden>

Fixed bugzilla.eazel.com bug 7010, that the file types capplet should use

2001-02-26 Rebecca Schulman <email address hidden>
 Fixed bugzilla.eazel.com bug 7010, that the
 file types capplet should use .desktop.in
 xml-i18-tools stuff.

 reviewed by: Maciej Stachowiak <email address hidden>

 * libgnomevfs/gnome-vfs-mime.c:
 * libgnomevfs/gnome-vfs-mime.h:
 Add a FIXME and a comment about functions
 in this file; no code changes

 * mime-type-capplet/.cvsignore:
 Add file-types-capplet.desktop
 * mime-type-capplet/file-types-capplet.desktop.in:
 Add this with new nifty xml-18n technology
 * mime-type-capplet/file-types-capplet.desktop:
 Remove the old file

 * mime-type-capplet/Makefile.am:
 Fix the build to build and install the new desktop file
 instead of the old one

808b6df... by jjranta <email address hidden>

Updated Finnish translation by Pauli Virtanen.

ba220eb... by "Gene Z. Ragan" <email address hidden>

reviewed by: Pavel Cisler <email address hidden>

2001-02-26 Gene Z. Ragan <email address hidden>

 reviewed by: Pavel Cisler <email address hidden>

 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.

730e168... by John Sullivan <email address hidden>

 reviewed by: Gene Ragan <email address hidden>

 Fixed bug 6675 (Capplet allows user to add application for
 non-existent program (or not in path).

 * libgnomevfs/gnome-vfs-utils.h:
 * libgnomevfs/gnome-vfs-utils.c: (strdup_to), (is_executable_file),
 (executable_in_path), (get_executable_name_from_command_string),
 (gnome_vfs_is_executable_command_string): Moved code that tests
 for executable commands from -mime-handlers.c to here. Made
 gnome_vfs_is_executable_command_string public. Added FIXMEs
 and tweaked full-path handling code to work in more cases.

 * libgnomevfs/gnome-vfs-mime-handlers.c:
 (application_known_to_be_nonexistent): Replaced the code testing
 for executable commands with call to
 gnome_vfs_is_executable_command_string.

 * mime-type-capplet/nautilus-mime-type-capplet-dialogs.c:
 (initialize_edit_applications_dialog): Added FIXME.
 (handle_invalid_application_input): New function, handles bad
 name or command string with explanatory error message.
 (run_edit_or_new_application_dialog): New function, guts of both
 show_ and edit_new_application_window, which formerly had nearly
 identical copy/pasted code. Now doesn't close dialog if input
 is bad and user clicks OK; other minor cleanup.
 (show_new_application_window), (show_edit_application_window):
 Each of these now calls run_edit_or_new_application_dialog.

 * mime-type-capplet/nautilus-mime-type-capplet.c:
 (add_mime_clicked), (update_mime_list_action),
 (populate_mime_list): Added tests for missing icon files to
 avoid zillions of GTK-CRITICALs from gdk_pixbuf if you run
 the capplet without installing Nautilus firt (discovered during
 clean rebuild); fixed a couple of leaking strings.

d5e8621... by Christian Rose <email address hidden>

Added sv description.

d8fabf0... by John Sullivan <email address hidden>

 reviewed by: Gene Ragan <email address hidden>

 Fixed bug 6524 (No default icons for MIME types)

 Fixed bug 6525 (capplet will only let you pick icons
 from a single directory)

 Fixed bug 6596 ("We need a good explanation here"
 isn't a good explanation)

 I didn't fix all the fundamental brokenness about Nautilus
 themes vs. the MIME database, but I fixed the most obvious
 problems and added some FIXMEs to help clarify some of the
 remaining issues. I also did a tiny fraction of the cleanup
 that could be done in this code. Users can now browse around
 to choose icons from anywhere, and they will all work in
 Nautilus (no change required in Nautilus).

 * mime-type-capplet/files-types-capplet.desktop:
 Replaced placeholder description string with Vera's.

 * mime-type-capplet/nautilus-mime-type-capplet.c:
 Removed bogus but relatively harmless initial slashes
 from two DEFAULT_REGULAR_ICON and DEFAULT_ACTION_ICON.
 (really_change_icon): Handle full as well as relative
 filenames; update displayed info here instead of relying
 on the icon_entry widget doing it.
 (icon_chosen_callback): Renamed from gil_icon_selected_cb;
 hide the dialog here so we can eliminate the almost-identical
 code in nautilus-mime-type-icon-entry.c that did that one
 extra thing.
 (change_icon_clicked_cb_real): use GNOME_OK instead of 0
 (change_icon_clicked): Update for name change.
 (is_full_path): Little bitty helper function that checks for
 initial slash, mainly separated for clarity.
 (capplet_get_icon_path): New function used to get a full icon
 path from a file name, icon name, relative path, or
 possibly non-existent full path.
 (nautilus_mime_type_capplet_update_info): Simplify logic,
 use capplet_get_icon_path.
 (add_mime_clicked), (update_mime_list_action),
 (populate_mime_list):
 Use capplet_get_icon_path; use generic
 executable icon for app instead of repeating MIME-type icon.
 (capplet_get_icon_pixbuf): Simplify logic; use capplet_get_icon_path;
 Add FIXME about future code cleanup

 * mime-type-capplet/nautilus-mime-type-icon-entry.h:
 * mime-type-capplet/nautilus-mime-type-icon-entry.c:
 (nautilus_mime_type_icon_entry_get_full_filename): Renamed from
 _get_filename for clarity
 (entry_activated): Made behavior match comment (act like OK
 button was hit)
 (icon_selected_cb): Removed this function; this was redundant with
 code in nautilus-mime-type-capplet.c.
 (gil_icon_selected_cb): Removed this function; it was redundant
 with a function in nautilus-mime-type-capplet.c except that this one
 hid the dialog and that one didn't (now that one does).
 (nautilus_mime_type_show_icon_selection): Remove commented-out
 line that implemented the Browse button that let the user choose
 from different directories; removed redundant signal handlers;
 added FIXME.
 (nautilus_mime_type_icon_entry_get_relative_filename): Simplify
 logic; made it return NULL instead of "" and a g_warning when
 it can't create a relative path from the full path.

 * libgnomevfs/gnome-vfs-utils.c: Added FIXME