summaryrefslogtreecommitdiff
path: root/src/totem-uri.h
Commit message (Collapse)AuthorAgeFilesLines
* screenshot: Move screenshot dir code to screenshot pluginJake Dane2022-08-181-1/+0
| | | | It wasn't used anywhere else in the codebase.
* screenshot: Save screenshots into ~/Pictures/ScreenshotsJake Dane2022-08-181-1/+1
| | | | | | Same as GNOME Shell 42 uses. Fixes #529
* all: Clean up headersBastien Nocera2022-03-311-9/+2
| | | | Use #pragma once and remove G_BEGIN_DECLS/G_END_DECLS
* main: Remove "remember position" settingBastien Nocera2013-03-111-3/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=675462
* main: Remove unused functions in totem-uriBastien Nocera2012-04-211-1/+0
|
* Bug 592103 - Adding subtitles defaults to the wrong directoryBastien Nocera2009-09-021-1/+1
| | | | | Select the directory in which the file is by default, and add the last directory used as a shortcut.
* Bug 589755 – Make screenshot dialogue more like GNOME'sPhilip Withnall2009-08-101-1/+0
| | | | | | This copies the GnomeScreenshotWidget from gnome-screenshot so that our interface can easily be kept consistent with the GNOME Screenshot dialogue. Permission for the licence exception was gained by e-mail. Closes: bgo#589755
* Bug 164918 – Remember current position when Pause is clickedRobin Stocker2009-07-261-0/+3
| | | | | Add functionality to remember the current position of a stream when pausing or closing, by saving it in a GIO metadata attribute. Closes: bgo#164918
* Add totem_uri_is_subtitle() to check whether a URI is a subtitleBastien Nocera2008-12-101-0/+1
| | | | | | | | | | | | | | | | | | | | | 2008-12-10 Bastien Nocera <hadess@hadess.net> * src/totem-uri.c (totem_uri_is_subtitle): * src/totem-uri.h: Add totem_uri_is_subtitle() to check whether a URI is a subtitle * src/totem-playlist.c (totem_playlist_set_current_subtitle): * src/totem-playlist.h: Add totem_playlist_set_current_subtitle() to set the subtitle for the currently playing movie * src/totem.c (totem_action_drop_files): When dropping files on the video widget, if there's only one file, and it looks like a subtitle, use it for the currently playing movie (Closes: #469566) svn path=/trunk/; revision=5847
* Patch from Kamil Pawlowski <kamilpe@gmail.com> to allow selecting a textBastien Nocera2008-12-101-0/+1
| | | | | | | | | | | | | | | | | | | 2008-12-10 Bastien Nocera <hadess@hadess.net> * data/totem.ui: * src/totem-menu.c (select_subtitle_action_callback): * src/totem-playlist.c (totem_playlist_select_subtitle_dialog), (playlist_select_subtitle_action_callback): * src/totem-playlist.h: * src/totem-uri.c: * src/totem-uri.h: * src/totem.c (totem_action_set_mrl_with_warning): Patch from Kamil Pawlowski <kamilpe@gmail.com> to allow selecting a text subtitle for the currently playing movie, from the View menu (Closes: #499463) svn path=/trunk/; revision=5844
* Use single GTK+/GLib includes.Cosimo Cecchi2008-11-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-11-10 Cosimo Cecchi <cosimoc@gnome.org> * browser-plugin/totem-glow-button.h: * src/backend/bacon-resize.h: * src/backend/bacon-video-widget.h: * src/ev-sidebar.h: * src/plugins/properties/bacon-video-widget-properties.h: * src/plugins/skipto/totem-skipto.h: * src/plugins/totem-plugins-engine.c: * src/totem-audio-preview.c: * src/totem-object.c: * src/totem-open-location.h: * src/totem-playlist.h: * src/totem-preferences.c: * src/totem-resources.c: * src/totem-screenshot.h: * src/totem-statusbar.c: * src/totem-statusbar.h: * src/totem-time-label.h: * src/totem-uri.h: * src/totem-video-indexer.c: Use single GTK+/GLib includes. svn path=/trunk/; revision=5799
* Use ~/.local/share/totem/plugins/ for user-pluginsBastien Nocera2008-06-101-0/+1
| | | | | | | | | | | | 2008-06-10 Bastien Nocera <hadess@hadess.net> * src/plugins/totem-plugin.c (totem_get_plugin_paths): * src/totem-uri.c (totem_ensure_dir), (totem_dot_dir), (totem_data_dot_dir): * src/totem-uri.h: Use ~/.local/share/totem/plugins/ for user-plugins svn path=/trunk/; revision=5459
* Update FSF address (Closes: #518264)Bastien Nocera2008-04-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-04-24 Bastien Nocera <hadess@hadess.net> * browser-plugin/idl/totemIBasicPlayer.idl: * browser-plugin/idl/totemIComplexPlayer.idl: * browser-plugin/idl/totemICone.idl: * browser-plugin/idl/totemIConeAudio.idl: * browser-plugin/idl/totemIConeInput.idl: * browser-plugin/idl/totemIConePlaylist.idl: * browser-plugin/idl/totemIConePlaylistItems.idl: * browser-plugin/idl/totemIConeVideo.idl: * browser-plugin/idl/totemIGMPControls.idl: * browser-plugin/idl/totemIGMPError.idl: * browser-plugin/idl/totemIGMPErrorItem.idl: * browser-plugin/idl/totemIGMPMedia.idl: * browser-plugin/idl/totemIGMPPlayer.idl: * browser-plugin/idl/totemIGMPPlayerApplication.idl: * browser-plugin/idl/totemIGMPPlaylist.idl: * browser-plugin/idl/totemIGMPPlaylistArray.idl: * browser-plugin/idl/totemIGMPPlaylistCollection.idl: * browser-plugin/idl/totemIGMPSettings.idl: * browser-plugin/idl/totemIMullYPlayer.idl: * browser-plugin/idl/totemINarrowSpacePlayer.idl: * browser-plugin/totem-glow-button.c: * browser-plugin/totem-glow-button.h: * browser-plugin/totem-plugin-viewer-constants.h: * browser-plugin/totem-plugin-viewer-options.h: * browser-plugin/totem-plugin-viewer.c: * browser-plugin/totemBasicPlugin.cpp: * browser-plugin/totemBasicPlugin.h: * browser-plugin/totemClassInfo.h: * browser-plugin/totemComplexPlugin.cpp: * browser-plugin/totemComplexPlugin.h: * browser-plugin/totemConePlugin.cpp: * browser-plugin/totemConePlugin.h: * browser-plugin/totemDebug.h: * browser-plugin/totemGMPError.cpp: * browser-plugin/totemGMPError.h: * browser-plugin/totemGMPPlaylist.cpp: * browser-plugin/totemGMPPlaylist.h: * browser-plugin/totemGMPPlugin.cpp: * browser-plugin/totemGMPPlugin.h: * browser-plugin/totemGMPSettings.cpp: * browser-plugin/totemGMPSettings.h: * browser-plugin/totemMullYPlugin.cpp: * browser-plugin/totemMullYPlugin.h: * browser-plugin/totemNarrowSpacePlugin.cpp: * browser-plugin/totemNarrowSpacePlugin.h: * browser-plugin/totemPlugin.cpp: * browser-plugin/totemPlugin.h: * browser-plugin/totemPluginGlue.cpp: * browser-plugin/totemPluginGlue.h: * browser-plugin/totemStringGlue.h: * lib/totem-scrsaver.c: * lib/totem-scrsaver.h: * src/backend/bacon-resize.c: * src/backend/bacon-resize.h: * src/backend/bacon-video-widget-common.c: * src/backend/bacon-video-widget-common.h: * src/backend/bacon-video-widget-gst-0.10.c: * src/backend/bacon-video-widget-gst-missing-plugins.c: * src/backend/bacon-video-widget-gst-missing-plugins.h: * src/backend/bacon-video-widget-xine.c: * src/backend/bacon-video-widget.h: * src/backend/gstscreenshot.c: * src/backend/gstscreenshot.h: * src/bacon-message-connection.c: * src/bacon-message-connection.h: * src/ev-sidebar.c: * src/ev-sidebar.h: * src/plugins/bemused/totem-bemused.c: * src/plugins/galago/totem-galago.c: * src/plugins/gromit/totem-gromit.c: * src/plugins/lirc/totem-lirc.c: * src/plugins/media-player-keys/totem-media-player-keys.c: * src/plugins/mythtv/totem-mythtv.c: * src/plugins/ontop/totem-ontop.c: * src/plugins/properties/bacon-video-widget-properties.c: * src/plugins/properties/bacon-video-widget-properties.h: * src/plugins/properties/totem-movie-properties.c: * src/plugins/publish/totem-publish.c: * src/plugins/screensaver/totem-screensaver.c: * src/plugins/sidebar-test/totem-sidebar-test.c: * src/plugins/skipto/totem-skipto-plugin.c: * src/plugins/skipto/totem-skipto-plugin.h: * src/plugins/skipto/totem-skipto.c: * src/plugins/skipto/totem-skipto.h: * src/plugins/thumbnail/totem-thumbnail.c: * src/plugins/tracker/totem-tracker.c: * src/totem-audio-preview.c: * src/totem-cell-renderer-video.c: * src/totem-cell-renderer-video.h: * src/totem-fullscreen.c: * src/totem-fullscreen.h: * src/totem-interface.c: * src/totem-interface.h: * src/totem-menu.c: * src/totem-menu.h: * src/totem-object.c: * src/totem-open-location.c: * src/totem-open-location.h: * src/totem-options.c: * src/totem-options.h: * src/totem-playlist.c: * src/totem-playlist.h: * src/totem-preferences.c: * src/totem-preferences.h: * src/totem-private.h: * src/totem-resources.c: * src/totem-resources.h: * src/totem-screenshot.c: * src/totem-screenshot.h: * src/totem-session.c: * src/totem-session.h: * src/totem-sidebar.c: * src/totem-sidebar.h: * src/totem-statusbar.c: * src/totem-statusbar.h: * src/totem-subtitle-encoding.c: * src/totem-uri.c: * src/totem-uri.h: * src/totem-video-indexer.c: * src/totem-video-list.c: * src/totem-video-list.h: * src/totem-video-thumbnailer.c: * src/totem.c: * src/totem.h: * src/totem_mozilla_scripting.idl: Update FSF address (Closes: #518264) svn path=/trunk/; revision=5373
* Convert the bulk of Totem to GIO, leaving the plugins and backends stillPhilip Withnall2008-03-141-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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) svn path=/trunk/; revision=5302
* Remove row_activated signal, it's already implemented in the list viewBastien Nocera2007-11-251-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-11-25 Bastien Nocera <hadess@hadess.net> * src/plugins/mythtv/totem-mythtv.c: (create_treeview): Remove row_activated signal, it's already implemented in the list view * bindings/python/totem.defs: * data/playlist.ui: * src/totem-menu.c: (clear_playlist_action_callback): * src/totem-object.c: (totem_add_to_playlist_and_play): * src/totem-playlist.c: (playlist_select_subtitle_action_callback), (playlist_copy_location_action_callback), (playlist_show_popup_menu), (totem_playlist_set_reorderable), (update_current_from_playlist), (totem_playlist_add_files), (playlist_remove_files), (init_treeview), (totem_playlist_add_one_mrl), (totem_playlist_add_mrl), (totem_playlist_clear), (totem_playlist_get_current_mrl), (totem_playlist_get_current_title), (totem_playlist_set_previous), (totem_playlist_class_init): * src/totem-playlist.h: * src/totem-session.c: (totem_session_restore): * src/totem-uri.c: (totem_setup_file_filters), (totem_add_subtitle), (totem_add_files): * src/totem-uri.h: * src/totem.c: (totem_action_set_mrl_and_play), (totem_action_open_dialog), (totem_action_load_media), (totem_action_play_media_device), (totem_action_play_media), (totem_action_play_pause), (window_state_event_cb), (totem_open_location_response_cb), (totem_action_set_mrl_with_warning), (totem_action_set_mrl), (totem_action_direction), (totem_action_drop_files), (on_got_redirect), (totem_action_set_playlist_index), (totem_action_remote), (playlist_changed_cb), (current_removed_cb), (subtitle_changed_cb), (on_eos_event), (totem_action_handle_key_press), (playlist_widget_setup), (main): * src/totem.h: Add big patch by Kamil Pawlowski <kamilpe@gmail.com>, adds text subtitle selection in the UI via right-clicking on the playlist item (Closes: #165981) svn path=/trunk/; revision=4901
* Fix Cone disabled message, it should say disabled...Bastien Nocera2007-08-311-1/+0
| | | | | | | | | | | | | | | | | | | | | | 2007-08-31 Bastien Nocera <hadess@hadess.net> * configure.in: Fix Cone disabled message, it should say disabled... * src/totem-uri.c: (totem_get_volume_for_media), (totem_is_special_mrl): Fix totem_is_special_mrl, as a file:/// URI has a volume, but isn't so special, make totem_is_special_mrl static, we're not using it anywhere else, Only get the volume monitor when we really need it * src/totem-uri.h: remove totem_is_special_mrl() * src/totem.c: (totem_action_eject), (totem_action_remote): Close the currently played item, and free it before we remove items from the playlist (in the eject's callbacks), _set_mrl_and_play with a NULL MRL means nothing svn path=/trunk/; revision=4642
* Print the URL that we detected from the device, for DVD and VCDsBastien Nocera2007-08-311-15/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-08-31 Bastien Nocera <hadess@hadess.net> * src/disc-test.c: (main): Print the URL that we detected from the device, for DVD and VCDs * src/backend/bacon-video-widget-xine.c: (bacon_video_widget_init), (setup_config), (bacon_video_widget_can_play), (bacon_video_widget_get_mrls): Remove CDDA playback altogether, don't say we have VCD support if we only have the old VCD plugin, Fake the DVD MRLs in _get_mrls so that we have the device in the MRL * src/backend/bacon-video-widget-gst-0.10.c: (bacon_video_widget_open_with_subtitle), (bacon_video_widget_can_play), (bacon_video_widget_get_mrls): Handle VCD MRLs with a device in the MRL, Remove CDDA support * src/plparse/totem-disc.c: (totem_cd_detect_type_with_url): Use the mountpoint in the MRL for the device when we have it available, so that we can look for the volume for that path * src/plparse/totem-pl-parser.c: (totem_pl_parser_parse_with_base): Return an error when we get invalid input * src/totem-menu.c: (add_device_to_menu), (on_movie_menu_select): Don't set the activation_uri data on the menu item, we're not using it Don't forget to reset ->drives_changed to avoid rebuilding the devices menu each time we open the menu• * src/totem-playlist.c: (totem_playlist_compare_with_volume): * src/totem-playlist.h: Remove totem_playlist_clear_with_prefix, not using it anymore, use totem_get_volume_for_media in totem_playlist_clear_with_gnome_vfs_volume * src/totem-uri.c: (totem_get_volume_for_uri), (totem_get_mountpoint_for_dvd), (totem_get_mountpoint_for_vcd), (totem_get_volume_for_media), (totem_is_special_mrl), (totem_action_on_unmount): * src/totem-uri.h: Remove totem_is_media and add a totem_get_volume_for_uri so that we know what to umount when using the eject menu item * src/totem.c: (totem_action_eject), (totem_action_load_media_device), (totem_action_open_files_list), (totem_action_remote), (update_media_menu_items): Use the gnome-vfs volume when ejecting the device, so that we work for more than just the "special" media, and use gnome-vfs' eject functionality Remove CDDA handling Use crafted MRLs to playback DVD and VCD, as they only give us one MRL anyway * configure.in: Disable the Cone plugin build for now, as the Javascript stubs aren't written (Closes: #472226) svn path=/trunk/; revision=4641
* Kill the old screenshot dialogue, and use a simple file chooser widgetBastien Nocera2007-04-131-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | 2007-04-13 Bastien Nocera <hadess@hadess.net> * data/Makefile.am: * data/screenshot.glade: * data/totem.schemas.in: * src/totem-screenshot.c: (totem_screenshot_make_filename_for_dir), (totem_screenshot_temp_file_create), (totem_screenshot_temp_file_remove), (drag_begin), (totem_screenshot_response), (totem_screenshot_init), (totem_screenshot_finalize), (totem_screenshot_new), (totem_screenshot_class_init): * src/totem-screenshot.h: * src/totem-uri.c: (totem_pictures_dir), (totem_add_pictures_dir): * src/totem-uri.h: * src/totem.c: (totem_action_take_screenshot): Kill the old screenshot dialogue, and use a simple file chooser widget with a preview image instead. Remember the path of where the previous screenshot was saved. Use the Pictures directory as the default save directory (Closes: RH #232788) svn path=/trunk/; revision=4227
* Turn Totem into a TotemObject, remove calling the screensaver directly,Bastien Nocera2007-04-031-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-04-04 Bastien Nocera <hadess@hadess.net> * Makefile.am: * configure.in: * data/Makefile.am: * data/plugins.glade: * data/totem-ui.xml: * data/totem.schemas.in: * src/Makefile.am: * src/plugins/*: * src/totem-menu.c: (totem_plugins_window_delete_cb), (totem_plugins_response_cb), (plugins_action_callback): * src/totem-object.c: (totem_object_class_init), (totem_object_init), (totem_object_finalize), (totem_object_set_property), (totem_object_get_property): * src/totem-private.h: * src/totem.c: (play_pause_set_label), (totem_action_play), (totem_action_seek), (totem_action_stop), (totem_action_play_pause), (totem_action_pause), (window_state_event_cb), (totem_action_seek_relative), (commit_hide_skip_to), (totem_is_playing), (on_eos_event), (video_widget_create), (main): * src/totem.h: Turn Totem into a TotemObject, remove calling the screensaver directly, and emit property notifies when switching to fullscreen, or playing/stopping playing, Add a plugin system, Move the screensaver handling to a builtin plugin. * src/totem-scrsaver.c: * src/totem-scrsaver.h: Move to... * lib/*: ...here * src/backend/bacon-video-widget-xine.c: (bacon_video_widget_class_init): Some cleanups * src/totem-interface.c: (totem_interface_boldify_label): * src/totem-interface.h: Add totem_interface_boldify_label() * src/totem-uri.c: (totem_dot_dir): * src/totem-uri.h: Add the totem_dot_dir svn path=/trunk/; revision=4190
* Save some memory in the object struct, add support for DVB playback,Bastien Nocera2007-03-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | 2007-03-25 Bastien Nocera <hadess@hadess.net> * src/backend/bacon-video-widget-xine.c: (bacon_video_widget_init), (bacon_video_widget_can_play), (bacon_video_widget_get_mrls), (bacon_video_widget_set_subtitle_font): Save some memory in the object struct, add support for DVB playback, including getting MRLs, fix build warning * src/backend/bacon-video-widget.h: add "special" MEDIA_TYPE_DVB * src/plparse/totem-disc.h: add MEDIA_TYPE_NUM_TYPES * src/totem-playlist.c: (totem_playlist_create_full_path), (totem_playlist_init), (totem_playlist_add_one_mrl): * src/totem-uri.c: (totem_is_special_mrl): * src/totem-uri.h: * src/totem.c: (totem_action_open_files_list), (totem_action_remote): totem_is_media cleanup, add totem_is_special_mrl for DVB mrls, use less RAM when adding new items to the playlist (unneeded duplication of strings), add basic DVB support ("totem dvb:" will do) svn path=/trunk/; revision=4139
* Remember the paths used in the Open dialogue and store them in GConfBastien Nocera2006-12-061-2/+1
| | | | | | | | | | | | | | | 2006-12-06 Bastien Nocera <hadess@hadess.net> * data/totem.schemas.in: * src/totem-playlist.c: (totem_playlist_add_files): * src/totem-uri.c: (totem_uri_get_subtitle_uri), (totem_add_files): * src/totem-uri.h: * src/totem.c: (totem_action_open_dialog), (totem_action_load_media_device), (totem_action_open), (totem_action_open_files_list): * src/totem.h: Remember the paths used in the Open dialogue and store them in GConf (Closes: #381432), Make _get_subtitle_uri faster by checking earlier if we support the scheme
* Fix crash when calling the "add to playlist dialogue twice" (Closes:Bastien Nocera2005-12-181-0/+1
| | | | | | | | | | 2005-12-18 Bastien Nocera <hadess@hadess.net> * src/totem-uri.c: (totem_setup_file_filters), (totem_destroy_file_filters), (totem_add_files): * src/totem-uri.h: * src/totem.c: (totem_action_exit): Fix crash when calling the "add to playlist dialogue twice" (Closes: #324240)
* Slightly better error message when trying to play a file for which thereBastien Nocera2005-10-221-1/+0
| | | | | | | | | | | | | 2005-10-22 Bastien Nocera <hadess@hadess.net> * src/backend/bacon-video-widget-xine.c: (xine_try_error): Slightly better error message when trying to play a file for which there isn't an input plugin * src/totem-uri.c: * src/totem-uri.h: * src/totem.c: (totem_action_exit): Don't destroy the filters on exit, they seem to go away on their own, somehow...
* add video/x-m4vBastien Nocera2005-10-221-0/+2
| | | | | | | | | | | 2005-10-22 Bastien Nocera <hadess@hadess.net> * data/mime-type-list.txt: add video/x-m4v * src/totem-uri.c: (totem_setup_file_filters), (totem_destroy_file_filters), (totem_add_files): * src/totem-uri.h: * src/totem.c: (totem_action_exit), (main): Use filters in the "Open" file dialogs (Closes: #318350)
* Move the file chooser to totem-uri.[ch] to allow for more code sharingBastien Nocera2005-10-221-0/+4
| | | | | | | | | | | 2005-10-22 Bastien Nocera <hadess@hadess.net> * src/totem-playlist.c: (totem_playlist_add_files): * src/totem-uri.c: (totem_uri_escape_for_display), (totem_add_files): * src/totem-uri.h: * src/totem.c: (totem_action_open_dialog): Move the file chooser to totem-uri.[ch] to allow for more code sharing
* Only support opening discs through either their mountpoint (data discs,Bastien Nocera2005-07-111-0/+1
| | | | | | | | | | | | | | | | | | | | 2005-07-11 Bastien Nocera <hadess@hadess.net> * src/plparse/totem-disc.c: (totem_cd_detect_type_with_url), (totem_cd_detect_type): * src/plparse/totem-pl-parser.c: * src/totem-menu.c: (on_play_disc_activate): * src/totem-uri.c: (totem_is_media), (totem_is_block_device): * src/totem-uri.h: * src/totem.c: (totem_action_load_media_device), (totem_action_play_media_device), (totem_action_play_media), (totem_action_open_files_list), (totem_action_open_dialog), (on_open1_activate), (main): * src/totem.h: Only support opening discs through either their mountpoint (data discs, VCD, DVD), or block device path (all discs) cd:, vcd: and dvd: are gone
* Add a totem_uri_escape_for_display function that tries harder thanBastien Nocera2005-04-101-0/+1
| | | | | | | | | | | | | | | | 2005-04-10 Bastien Nocera <hadess@hadess.net> * src/plparse/totem-pl-parser.c: (totem_pl_parser_add_directory), (totem_pl_parser_parse): * src/totem-uri.c: (totem_uri_escape_for_display): * src/totem-uri.h: * src/totem.c: (totem_action_play), (totem_action_seek), (totem_action_set_mrl_with_warning), (totem_action_seek_relative), (commit_hide_skip_to): Add a totem_uri_escape_for_display function that tries harder than gnome-vfs's unescape for display to create valid UTF-8, don't use g_build_filename to construct a URI, always escape the info->name of a file (Closes: #172838)
* add interface helpers for glade files, and images, Add vim bits to the gstBastien Nocera2005-01-121-1/+1
| | | | | | | | | | | | | | | | | | | 2005-01-12 Bastien Nocera <hadess@hadess.net> * src/Makefile.am: * src/bacon-video-widget-gst.c: * src/totem-interface.c: (totem_interface_error_dialog), (totem_interface_error), (totem_interface_error_blocking), (totem_interface_load), (totem_interface_load_pixbuf), (totem_interface_get_full_path): * src/totem-interface.h: * src/totem-playlist.c: (totem_playlist_new): * src/totem-playlist.h: * src/totem-uri.h: * src/totem.c: (totem_action_error), (totem_action_error_and_exit), (on_open_location1_activate), (main): * src/totem.h: add interface helpers for glade files, and images, Add vim bits to the gst widget
* do the automatic subtitle opening in the front-end, rather than in theBastien Nocera2005-01-121-0/+1
| | | | | | | | | | | | | | | | 2005-01-12 Bastien Nocera <hadess@hadess.net> * src/bacon-video-widget-gst.c: (bacon_video_widget_open_with_subtitle): * src/bacon-video-widget-xine.c: (bacon_video_widget_get_subtitled), (bacon_video_widget_open_with_subtitle): * src/bacon-video-widget.h: * src/totem-uri.c: (totem_uri_get_subtitle_uri): * src/totem-uri.h: * src/totem.c: (totem_action_set_mrl_with_warning): do the automatic subtitle opening in the front-end, rather than in the backends
* Create a generic playlist clearing function that takes a GCompareFunc toBastien Nocera2005-01-101-0/+3
| | | | | | | | | | | | | | | | | | | | 2005-01-10 Bastien Nocera <hadess@hadess.net> * src/totem-playlist.c: (totem_playlist_clear_with_compare), (totem_playlist_compare_with_prefix), (totem_playlist_clear_with_prefix), (totem_playlist_compare_with_volume), (totem_playlist_clear_with_gnome_vfs_volume): Create a generic playlist clearing function that takes a GCompareFunc to match playlist items * src/totem-playlist.h: * src/totem-private.h: * src/totem-uri.c: (totem_create_full_path), (totem_action_on_unmount), (totem_setup_file_monitoring): * src/totem-uri.h: * src/totem.c: (totem_action_exit), (main): Remove from the playlist all the items that are on a volume that's getting unmounted (Closes: #153209)
* upd update from libbaconBastien Nocera2004-12-301-0/+34
2004-12-30 Bastien Nocera <hadess@hadess.net> * src/Makefile.am: upd * src/bacon-message-connection.h: update from libbacon * src/bacon-video-widget-xine.c: * src/bacon-video-widget.h: remove bacon_video_widget_properties_get_title which nothing used * src/disc-test.c: (main): upd * src/totem-disc.c: (totem_cd_detect_type_from_dir), (totem_cd_detect_type), (totem_cd_get_human_readable_name): * src/totem-disc.h: change namespace from cd_ to totem_cd_ * src/totem-options.[ch]: moved from totem.c * src/totem-pl-parser.c: (totem_pl_parser_add_directory): upd * src/totem-preferences.c: upd * src/totem-private.h: upd * src/totem-session.[ch]: start of some session support * src/totem-skipto.c: (totem_skipto_finalize), (totem_skipto_set_seekable), (totem_skipto_new): * src/totem-skipto.h: Set the OK button disabled when the stream isn't seekable (as before moving the TotemSkipto to a separate widget) * src/totem-uri.[ch]: move from totem.c * src/totem-video-thumbnailer.c: fix compilation warning * src/totem.c: (totem_action_exit), (totem_action_load_media), (totem_action_previous), (totem_action_next), (totem_action_toggle_aspect_ratio), (update_seekable), (on_play_disc1_activate), (on_show_controls2_activate), (totem_action_toggle_controls), (update_media_menu_items), (update_buttons), (main): * src/totem.h: Fix compilation of the GTK+-only front-end