Commit 73403dc6 authored by Bastien Nocera's avatar Bastien Nocera

Bug 579860 – Downloaded subtitles not available anymore after totem restart.

2009-04-24  Bastien Nocera  <hadess@hadess.net>

	* src/totem-uri.c (totem_add_subtitle):
	Add the cache subtitles directory to the subtitle file
	selection dialogue's shortcuts (Closes: #579860)
parent 8d936b0c
2009-04-24 Bastien Nocera <hadess@hadess.net>
* src/totem-uri.c (totem_add_subtitle):
Add the cache subtitles directory to the subtitle file
selection dialogue's shortcuts (Closes: #579860)
2009-04-23 Bastien Nocera <hadess@hadess.net>
* src/plugins/opensubtitles/opensubtitles.py:
......
......@@ -567,6 +567,13 @@ totem_add_subtitle (GtkWindow *parent, const char *path)
conf = gconf_client_get_default ();
set_folder = TRUE;
new_path = g_build_filename (g_get_user_cache_dir (),
"totem",
"subtitles",
NULL);
gtk_file_chooser_add_shortcut_folder_uri (GTK_FILE_CHOOSER (fs), new_path, NULL);
g_free (new_path);
new_path = gconf_client_get_string (conf, "/apps/totem/open_path", NULL);
if (new_path != NULL && *new_path != '\0') {
set_folder = gtk_file_chooser_set_current_folder_uri
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment