summaryrefslogtreecommitdiff
path: root/src/totem-session.c
Commit message (Collapse)AuthorAgeFilesLines
* main: Use GSignalGroup to simplify playlist signal handlingBastien Nocera2022-04-071-3/+3
| | | | | | Remove some helper macros, and unsightly signal connection/disconnection in favour of using GSignalGroup to block/unblock all signals coming from the playlist widget.
* main: Small clean up in totem_session_save()Bastien Nocera2020-02-281-2/+2
| | | | | Make sure to pass -1 as was intended rather than 0. Note that this makes no difference to the called code as it checks for > 0.
* main: Also save unconsumed "start times" to the session playlistBastien Nocera2019-02-171-1/+1
| | | | | | One thing though, TOTEM_PL_PARSER_FIELD_STARTTIME is defined as being "parseable by totem_pl_parser_parse_duration() and this function returns seconds. So make totem_playlist_save_session_playlist() consume seconds.
* main: Use new starttime column in playlistBastien Nocera2019-02-171-1/+3
| | | | | | | | First, to reimplement the "starttime" session restore. This handily removes a variable in the TotemObject. Then use it to implement starttime from any playlist. Closes: #10
* main: Remove transitions between player/browserBastien Nocera2014-01-291-1/+1
|
* core: Consistently prefix plugin-visible API with “totem_object_”Philip Withnall2013-08-041-2/+2
| | | | Helps: https://bugzilla.gnome.org/show_bug.cgi?id=626399
* main: Remove "save-playback-state" settingBastien Nocera2013-07-091-3/+1
|
* main: Optimise session savingBastien Nocera2013-07-091-12/+14
|
* main: Switch to player when restored sessionBastien Nocera2013-05-081-0/+3
|
* main: Don't save the current time for DVDsBastien Nocera2013-04-291-2/+3
| | | | | Otherwise we'll try to restore the play time from a chapter in the menu, and things will break.
* main: Use totem_dot_dir() to get the session fileBastien Nocera2013-03-191-1/+1
| | | | So that we make sure Totem's config directory is created.
* main: Don't save session if video widget failedBastien Nocera2013-03-131-0/+3
| | | | | If the video widget couldn't be instantiated, don't try to save the session.
* main: _set_mrl_with_warning() did not workBastien Nocera2013-03-131-1/+1
| | | | | | | | | GStreamer would return the errors asynchronously, so it was impossible for us to detect errors through bvw_open()'s retval. Remove all the code that relied on that retval. We're still left with the same bugs we were before, that some errors are reported async when we don't want to hear about them.
* main: Remove FIXME implemented in the playlist widgetBastien Nocera2013-03-111-1/+0
|
* main: Save the current position when saving sessionBastien Nocera2013-03-111-2/+3
|
* main: Split off saving of the session playlistBastien Nocera2013-03-111-8/+22
| | | | | | We were using the same code as the interactive playlist saving, which meant that error messages popped up in an error dialogue as we were closing the application.
* main: Don't restore anything if session save is disabledBastien Nocera2013-03-111-0/+3
|
* main: Rename totem_playlist_save_current_playlist()Bastien Nocera2013-03-111-1/+1
| | | | | | To totem_playlist_save_session_playlist() and make the new function check whether we should be saving the session state.
* main: Save the session state on exitBastien Nocera2013-03-091-127/+23
| | | | | | Using a playlist to save the complete state. In the future, we'll check whether the user wants to save the state, and save it more regularly to stave off crashes.
* main: Save session playlist in XSPF formatBastien Nocera2013-03-091-1/+1
|
* Bug 559628 — Support async loading of playlistsPhilip Withnall2010-04-271-1/+3
| | | | | | | Add async playlist support. This converts most calls to the playlist add MRL function to be async, dealing with the cursor appropriately (such that concurrent operations using a busy cursor don't trample on each others' cursors when they finish). Closes: bgo#559628
* Fixed some strict gcc warningsPhilip Withnall2009-07-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-07-18 Philip Withnall <philip@tecnocode.co.uk> * src/backend/bacon-resize.c (bacon_resize_resize), (bacon_resize_restore): * src/backend/bacon-video-widget-gst-0.10.c (bacon_video_widget_open), (bacon_video_widget_seek_time), (bacon_video_widget_set_logo): * src/backend/bacon-video-widget.h: * src/backend/bvw-test.c (test_bvw_set_mrl), (on_redirect), (on_eos_event), (main): * src/backend/video-utils.c (totem_time_to_string), (totem_time_to_string_text): * src/plugins/brasero-disc-recorder/totem-disc-recorder.c (totem_disc_recorder_plugin_start_burning): * src/plugins/properties/bacon-video-widget-properties.c (bacon_video_widget_properties_from_time): * src/plugins/properties/bacon-video-widget-properties.h: * src/plugins/publish/totem-publish.c (totem_publish_plugin_playlist_cb): * src/plugins/screenshot/totem-gallery.c (dialog_response_callback): * src/plugins/screenshot/totem-screenshot.c (drag_data_get): * src/plugins/skipto/totem-skipto-plugin.c (totem_skipto_update_from_state): * src/plugins/skipto/totem-skipto.c (totem_skipto_update_range), (totem_skipto_get_range), (totem_skipto_set_current): * src/plugins/skipto/totem-skipto.h: * src/plugins/totem-plugins-engine.c (load_plugin_module), (totem_plugins_engine_plugin_active_cb), (totem_plugins_engine_plugin_visible_cb): * src/plugins/youtube/totem-youtube.c (starting_video_cb): * src/totem-menu.c (add_lang_action), (totem_action_add_recent): * src/totem-object.c (totem_get_title_at_playlist_pos), (totem_action_load_media), (window_state_event_cb), (totem_action_set_mrl_with_warning), (totem_time_within_seconds), (totem_seek_time_rel), (drop_video_cb), (drag_motion_video_cb), (drop_playlist_cb), (drag_motion_playlist_cb), (drag_video_cb), (seek_slider_changed_cb), (totem_action_set_playlist_index), (totem_action_remote), (totem_action_handle_key_release), (window_key_press_event_cb): * src/totem-options.c (totem_options_process_late): * src/totem-options.h: * src/totem-playlist.c (drop_cb), (playlist_show_popup_menu), (totem_playlist_set_reorderable), (totem_playlist_clear_with_compare), (totem_playlist_get_title), (totem_playlist_get_current), (totem_playlist_set_current): * src/totem-playlist.h: * src/totem-preferences.c (totem_setup_preferences): * src/totem-private.h: * src/totem-session.c (totem_save_state_cb): * src/totem-statusbar.c (totem_statusbar_update_time), (totem_statusbar_set_time), (totem_statusbar_set_time_and_length): * src/totem-subtitle-encoding.c (subtitle_encoding_get_charset), (subtitle_encoding_create_store), (totem_subtitle_encoding_get_selected), (totem_subtitle_encoding_set): * src/totem-time-label.c (totem_time_label_init), (totem_time_label_set_time): * src/totem-video-thumbnailer.c (create_gallery), (main): * src/totem.c (totem_message_received_cb), (main): * src/totem.h: Fixed some strict gcc warnings.
* Update smclient from libegg masterChristian Persch2009-06-251-1/+1
| | | | | And use egg_set_desktop_file_without_defaults() instead of egg_set_desktop_file(). Bug #586128, bug #585734.
* Call egg_set_desktop_file on x11Christian Persch2009-06-141-0/+9
| | | | | | Also move eggdesktopfile.[ch] to WITH_SMCLIENT_XSMP case, since it depends on x11. Bug #585734.
* Add smclient options when parsing totem's command line. Bug #576620.Christian Persch2009-03-241-0/+11
| | | | | | | | | * src/totem-session.c: (totem_session_restore): * src/totem-session.h: * src/totem.c: (main): Add smclient options when parsing totem's command line. Bug #576620. svn path=/trunk/; revision=6191
* Add a check for filenames != NULL to totem_session_restore. (Closes:Philip Withnall2009-01-221-0/+1
| | | | | | | | | | 2009-01-22 Philip Withnall <philip@tecnocode.co.uk> * src/totem-session.c (totem_session_restore): Add a check for filenames != NULL to totem_session_restore. (Closes: #443605) svn path=/trunk/; revision=5930
* Cleanups to fix a few warnings when building with more gcc warning flagsPhilip Withnall2009-01-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-01-04 Philip Withnall <philip@tecnocode.co.uk> * data/mime-type-include.sh: * lib/totem-scrsaver.c: * src/backend/bacon-resize.c: * src/backend/bvw-test.c (test_bvw_set_mrl): * src/backend/video-utils.c (totem_time_to_string): * src/plugins/gromit/totem-gromit.c (totem_gromit_ensure_config_file): * src/plugins/media-player-keys/totem-media-player-keys.c: * src/plugins/ontop/totem-ontop.c: * src/plugins/properties/bacon-video-widget-properties.c: * src/plugins/properties/totem-movie-properties.c: * src/plugins/screensaver/totem-screensaver.c: * src/plugins/screenshot/totem-gallery-progress.c: * src/plugins/screenshot/totem-gallery.c: * src/plugins/screenshot/totem-screenshot-plugin.c: * src/plugins/screenshot/totem-screenshot.c: * src/plugins/sidebar-test/totem-sidebar-test.c: * src/plugins/skipto/totem-skipto-plugin.c: * src/plugins/skipto/totem-skipto.c: * src/plugins/thumbnail/totem-thumbnail.c: * src/plugins/totem-module.c: * src/plugins/totem-plugin.h: * src/plugins/totem-plugins-engine.c (garbage_collect_cb): * src/plugins/totem-python-module.c (totem_python_module_init_python), (totem_python_garbage_collect), (totem_python_shutdown): * src/plugins/tracker/totem-tracker-widget.c: * src/plugins/tracker/totem-tracker.c: * src/totem-fullscreen.c: * src/totem-menu.c: * src/totem-open-location.c: * src/totem-options.c (option_version_cb): * src/totem-playlist.c: * src/totem-preferences.c (tpw_color_reset_clicked_cb): * src/totem-properties-view.c: * src/totem-resources.c: * src/totem-session.c: * src/totem-statusbar.c: * src/totem-subtitle-encoding.c: * src/totem-time-label.c: * src/totem-uri.c (totem_uri_get_subtitle_for_uri): * src/totem-video-indexer.c: * src/totem.c (main_window_destroy_cb): Cleanups to fix a few warnings when building with more gcc warning flags than normal. (Closes: #565874) svn path=/trunk/; revision=5895
* Fix totem_playlist_get_current() and totem_playlist_get_last() returningBastien Nocera2008-12-101-2/+7
| | | | | | | | | | | | | | | | | 2008-12-10 Bastien Nocera <hadess@hadess.net> * src/totem-object.c (totem_add_to_playlist_and_play), (totem_get_playlist_length): * src/totem-playlist.c (totem_playlist_get_current), (totem_playlist_get_last): * src/totem-playlist.h: * src/totem-session.c (totem_save_state_cb): * src/totem.h: Fix totem_playlist_get_current() and totem_playlist_get_last() returning negative values (Closes: #563961) svn path=/trunk/; revision=5839
* Big patch from Christian Persch <chpe@gnome.org> to remove the libgnomeBastien Nocera2008-10-071-27/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-10-07 Bastien Nocera <hadess@hadess.net> * bindings/python/Makefile.am: * browser-plugin/Makefile.am: * configure.in: * lib/Makefile.am: * src/Makefile.am: * src/backend/Makefile.am: * src/plugins/Makefile.am: * src/plugins/bemused/Makefile.am: * src/plugins/galago/Makefile.am: * src/plugins/gromit/Makefile.am: * src/plugins/lirc/Makefile.am: * src/plugins/media-player-keys/Makefile.am: * src/plugins/mythtv/Makefile.am: * src/plugins/ontop/Makefile.am: * src/plugins/properties/Makefile.am: * src/plugins/publish/Makefile.am: * src/plugins/sample-vala/Makefile.am: * src/plugins/screensaver/Makefile.am: * src/plugins/sidebar-test/Makefile.am: * src/plugins/skipto/Makefile.am: * src/plugins/skipto/totem-skipto.c: * src/plugins/thumbnail/Makefile.am: * src/plugins/tracker/Makefile.am: * src/totem-interface.c (totem_interface_error), (totem_interface_error_with_link): * src/totem-options.c (option_version_cb): * src/totem-session.c (totem_save_state_cb), (totem_quit_cb), (totem_session_setup), (totem_session_restore): * src/totem.c (about_url_hook), (about_email_hook), (main): * src/update-from-egg.sh: Big patch from Christian Persch <chpe@gnome.org> to remove the libgnome dependencies (Closes: #554226) svn path=/trunk/; revision=5753
* Move the playlist treeview model to the GtkBuilder UI file. Also remove anPhilip Withnall2008-08-261-1/+0
| | | | | | | | | | | | | 2008-08-26 Philip Withnall <philip@tecnocode.co.uk> * data/playlist.ui: * src/totem-playlist.c: (init_treeview): * src/totem-session.c: Move the playlist treeview model to the GtkBuilder UI file. Also remove an extraneous #include. (Closes: #454243) svn path=/trunk/; revision=5608
* Only seek for session restore once we've opened the file, and we know it'sBastien Nocera2008-08-181-5/+2
| | | | | | | | | | | | | | 2008-08-18 Bastien Nocera <hadess@hadess.net> * src/totem-session.c (totem_session_restore): * src/totem.c (update_mrl_label), (on_error_event), (update_seekable): Only seek for session restore once we've opened the file, and we know it's seekable, fixes restoring playlists from the session, including seeking (Closes: #434936) svn path=/trunk/; revision=5564
* 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
* Remove row_activated signal, it's already implemented in the list viewBastien Nocera2007-11-251-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* When adding items to the playlist, set the cursor waiting on the outermostBastien Nocera2007-08-111-1/+1
| | | | | | | | | | | | | | | | | | | | 2007-08-11 Bastien Nocera <hadess@hadess.net> * src/totem-menu.c: (on_recent_file_item_activated): * src/totem-playlist.c: (totem_playlist_set_waiting_cursor), (totem_playlist_unset_waiting_cursor), (drop_cb), (totem_playlist_add_files), (totem_playlist_add_mrl_with_cursor), (totem_playlist_add_mrl): * src/totem-playlist.h: * src/totem-session.c: (totem_session_restore): * src/totem.c: (totem_action_drop_files), (totem_action_open_files_list), (totem_action_remote): When adding items to the playlist, set the cursor waiting on the outermost loop, so that we don't set it once per file added to the playlist (and get flicker when doing "totem ~/Movies/*") svn path=/trunk/; revision=4505
* Use totem_dot_dir() all over, and make sure that ~/.gnome2/Totem isBastien Nocera2007-04-101-3/+3
| | | | | | | | | | | | | | 2007-04-11 Bastien Nocera <hadess@hadess.net> * src/backend/bacon-video-widget-xine.c: * src/totem-session.c: (totem_session_create_key): * src/totem-uri.c: (totem_ensure_dot_dir), (totem_dot_dir): * src/totem.c: (totem_action_save_state), (totem_setup_window): Use totem_dot_dir() all over, and make sure that ~/.gnome2/Totem is created before trying to put stuff into it svn path=/trunk/; revision=4210
* Remove useless cast Fix xine-lib build Return early if we don't have anyBastien Nocera2006-11-291-2/+2
| | | | | | | | | | | | | | | | | | | | | 2006-11-29 Bastien Nocera <hadess@hadess.net> * src/backend/bacon-video-widget-gst-0.10.c: (bacon_video_widget_get_option_group): Remove useless cast * src/backend/bacon-video-widget-xine.c: (bacon_video_widget_get_option_group), (bacon_video_widget_init_backend): Fix xine-lib build * src/totem-options.c: (totem_options_process_for_server): Return early if we don't have any filenames to pass * src/totem-options.h: Put the "seek to" option in a gint64 * src/totem-session.c: (totem_save_yourself_cb): Fix thinko, and properly set the playlist name to be a URI * src/totem-video-indexer.c: (main): Finish porting to GOption * src/totem.c: (main): Fix option parsing when using the GTK+ only version GOption-related fixes, with help from Christian Persch <chpe@cvs.gnome.org>
* upd the glib and libgnome requirementsBastien Nocera2006-11-291-16/+13
| | | | | | | | | | | | | | | | | | | | | | 2006-11-29 Bastien Nocera <hadess@hadess.net> * configure.in: upd the glib and libgnome requirements * src/backend/bacon-video-widget-gst-0.10.c: (bacon_video_widget_get_option_group), (bacon_video_widget_init_backend): * src/backend/bacon-video-widget.h: * src/totem-options.c: (totem_options_process_late), (totem_options_process_early), (totem_options_process_for_server): * src/totem-options.h: * src/totem-private.h: * src/totem-session.c: (totem_save_yourself_cb), (totem_session_setup), (totem_session_restore): * src/totem-session.h: * src/totem-video-indexer.c: (main): * src/totem-video-thumbnailer.c: * src/totem.c: (main): Adapted patch from Luis Menina <liberforce@fr.st> to port the main movie player, and the indexer to GOption (Closes: #338954)
* Patch from Marek Schmidt <xschmi01@stud.fit.vutbr.cz> to fix restoring theBastien Nocera2006-11-231-2/+8
| | | | | | | | | 2006-11-23 Bastien Nocera <hadess@hadess.net> * src/totem-session.c: (totem_session_restore): Patch from Marek Schmidt <xschmi01@stud.fit.vutbr.cz> to fix restoring the session. The playlist expects URI, we fed it a local filename (Closes: Debian #399983)
* Don't save the state if the save style is Global, thanks to Dan WinshipBastien Nocera2006-10-081-0/+3
| | | | | | | | 2006-10-08 Bastien Nocera <hadess@hadess.net> * src/totem-session.c: (totem_save_yourself_cb): Don't save the state if the save style is Global, thanks to Dan Winship <danw@novell.com> for pointing that out
* Fix GTK+-only build (Closes: #300488), some warning fixesBastien Nocera2005-04-131-1/+2
| | | | | | | | | | 2005-04-13 Bastien Nocera <hadess@hadess.net> * src/metadata-test.c: * src/totem-session.c: (totem_session_restore): * src/totem-video-thumbnailer.c: * src/totem.c: (on_open_location1_activate): Fix GTK+-only build (Closes: #300488), some warning fixes
* move the totem_signal_(un)block_by_data helpers to totem-private.h,Bastien Nocera2005-03-271-3/+0
| | | | | | | | | | 2005-03-27 Bastien Nocera <hadess@hadess.net> * src/totem-menu.c: (on_recent_file_activate): * src/totem-private.h: * src/totem-session.c: move the totem_signal_(un)block_by_data helpers to totem-private.h, prevent double-open when activating files from the recent-files menu
* when restoring a playlist, or when rewinding to the start of a playlistBastien Nocera2005-01-131-0/+1
| | | | | | | | | 2005-01-13 Bastien Nocera <hadess@hadess.net> * src/totem-session.c: (totem_session_restore): * src/totem.c: (on_eos_event): when restoring a playlist, or when rewinding to the start of a playlist (without repeat), set the video widget to pause to release the sound device (Closes: #163875)
* Remove possible "burps" on startup when the sound is supposed to be muteBastien Nocera2005-01-011-13/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-01 Bastien Nocera <hadess@hadess.net> * data/totem.glade: * src/Makefile.am: * src/bacon-video-widget-xine.c: (setup_config_stream), (bacon_video_widget_new), (bacon_video_widget_seek_time), (bacon_video_widget_get_volume), (bacon_video_widget_get_current_time): * src/totem-options.c: (totem_options_process_late): * src/totem-options.h: * src/totem-pl-parser.c: (totem_pl_parser_add_pls): * src/totem-playlist.c: (totem_playlist_key_press), (totem_playlist_set_at_end), (totem_playlist_get_current), (totem_playlist_get_last), (totem_playlist_set_current): * src/totem-playlist.h: * src/totem-private.h: * src/totem-session.c: (totem_session_create_key), (totem_save_yourself_cb), (totem_session_restore), (totem_session_setup), (totem_action_restore_pl): * src/totem-session.h: * src/totem.c: (totem_action_save_size), (totem_action_exit), (totem_action_menu_popup), (play_pause_set_label), (totem_action_play), (totem_action_seek), (totem_action_fullscreen_toggle), (totem_action_seek_relative), (on_recent_file_activate), (on_channels_change_event), (totem_action_open_files), (show_controls), (totem_action_toggle_controls), (on_about1_activate), (commit_hide_skip_to), (totem_action_remote), (popup_timeout_remove), (popup_hide), (on_mouse_click_fullscreen), (on_video_motion_notify_event), (on_video_button_press_event), (totem_action_handle_key), (totem_setup_window), (totem_callback_connect), (main): * src/totem.h: * src/totem-sublang.[ch]: Remove possible "burps" on startup when the sound is supposed to be mute (xine-lib) Fix parsing of .pls files with relative paths (they're relative to the .pls file, not to the working directory) (Closes: #162440) Fix problems with activating a multi-item playlist from the recent files, we should play the first item added, not the last one Move languages and subtitles menu code to totem-sublang.[ch] Add session saving support (Closes: #131811) Fix seeking into streams that haven't been played yet, only opened Some code cleanups
* upd update from libbaconBastien Nocera2004-12-301-0/+84
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