Make remote bookmarks work better (#354887)

2006-09-22  Matthias Clasen  <mclasen@redhat.com>

	Make remote bookmarks work better (#354887)

	* gtk/gtkfilechooserdefault.c (shortcuts_reload_icons):
	(shortcuts_insert_path):
	* gtk/gtkfilechooserbutton.c (change_icon_theme):
	(model_add_bookmarks):
	(model_update_current_folder):
	(update_label_and_image):
	If the bookmark points to a remote file, don't call get_info(),
	since that may a) take a long time and b) pop up an auth dialog.
	Instead, just use a folder icon and create a display name
	from the uri.

	* gtk/gtkfilechooserdefault.c (_gtk_file_chooser_label_for_uri):
	New function to create a suitable display name for a remote
	uri. This should really be done in GtkFileSystem.
This commit is contained in:
Matthias Clasen
2006-09-22 16:11:04 +00:00
committed by Matthias Clasen
parent 2f50232a42
commit 09f461b01e
63 changed files with 454 additions and 50 deletions

View File

@ -4723,3 +4723,6 @@ msgstr ""
#~ msgid "Home"
#~ msgstr "個人資料夾"
msgid "%1$s on %2$s"
msgstr "%1$s 於 %2$s"