After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 512592 - Port totem_uri_get_subtitle_uri to gio
Port totem_uri_get_subtitle_uri to gio
Product: totem
Classification: Core
Component: Movie player
Other Linux
: Normal normal
: ---
Assigned To: General Totem maintainer(s)
General Totem maintainer(s)
Depends on:
Blocks: 512602
Reported: 2008-01-28 15:54 UTC by Bastien Nocera
Modified: 2008-03-14 23:09 UTC
See Also:
GNOME target: ---
GNOME version: ---

Port totem_uri_get_subtitle_uri to GIO (1.23 KB, patch)
2008-02-11 23:21 UTC, Philip Withnall
committed Details | Review

Description Bastien Nocera 2008-01-28 15:54:35 UTC
Just need to create a GFile and use g_file_query_exists() to check for the file existing.
Comment 1 Philip Withnall 2008-02-11 23:21:47 UTC
Created attachment 104998 [details] [review]
Port totem_uri_get_subtitle_uri to GIO

Untested patch. This depends on my patch-in-progress for bug #512596, and can only be tested once that's been finished.
Comment 2 Philip Withnall 2008-03-14 23:09:25 UTC
2008-03-14  Philip Withnall  <>

	* src/plugins/publish/totem-publish.c:
	* src/totem-menu.c: (totem_action_add_recent),
	(on_play_dvb_activate), (add_drive_to_menu),
	(update_drive_menu_items), (on_movie_menu_select),
	(on_g_volume_monitor_event), (totem_setup_play_disc):
	* src/totem-playlist.c: (totem_playlist_mrl_to_title),
	* src/totem-playlist.h:
	* src/totem-private.h:
	* src/totem-uri.c: (totem_get_mount_for_uri),
	(totem_get_mount_for_media), (totem_is_special_mrl),
	(totem_create_full_path), (totem_action_on_unmount),
	(totem_setup_file_monitoring), (totem_uri_exists),
	(totem_uri_get_subtitle_in_subdir), (totem_uri_get_subtitle_uri),
	* src/totem-uri.h:
	* src/totem.c: (totem_action_exit), (totem_action_eject),
	(drag_video_cb), (update_media_menu_items), (main): Convert the bulk
	of Totem to GIO, leaving the plugins and backends still to convert.
	(Closes: #512594, helps: #512602)