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 512594 - Port totem_create_full_path to gio
Port totem_create_full_path to gio
Status: RESOLVED FIXED
Product: totem
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: General Totem maintainer(s)
General Totem maintainer(s)
Depends on:
Blocks: 512602
 
 
Reported: 2008-01-28 15:56 UTC by Bastien Nocera
Modified: 2008-03-14 23:07 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Port totem_create_full_path to GIO (1.34 KB, patch)
2008-02-11 22:02 UTC, Philip Withnall
committed Details | Review

Description Bastien Nocera 2008-01-28 15:56:32 UTC
Should be easy to do with gio, create a GFile using g_file_new_for_commandline_arg()
Comment 1 Philip Withnall 2008-02-11 22:02:08 UTC
Created attachment 104991 [details] [review]
Port totem_create_full_path to GIO

Tested from the command line with absolute and relative paths, as well as URIs.
Comment 2 Bastien Nocera 2008-03-07 04:32:03 UTC
Goodie.
Comment 3 Philip Withnall 2008-03-14 23:07:25 UTC
2008-03-14  Philip Withnall  <pwithnall@svn.gnome.org>

	* configure.in:
	* 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),
	(totem_playlist_compare_with_mount),
	(totem_playlist_clear_with_g_mount):
	* 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),
	(totem_uri_escape_for_display):
	* 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)