summaryrefslogtreecommitdiff
path: root/src/totem-menu.c
AgeCommit message (Collapse)AuthorFilesLines
2011-03-17main: Don't poke at web servers for infoBastien Nocera1-3/+31
When loading videos from some websites, through quvi, we already have a lot of information about the file, so we don't really need to go and look for that information ourselves. We now store the content-type of the stream in question, and don't hit the web server to fill in GtkRecent if that's the case. https://bugzilla.gnome.org/show_bug.cgi?id=644949
2011-02-18Fix warnings spotted by new gccIgnacio Casal Quinteiro1-0/+1
2011-02-18Make the plugin dialog bigger so it is more readable.Ignacio Casal Quinteiro1-0/+1
2011-02-14Update totem against latest libpeas API changes.Steve Frécinaux1-1/+1
2011-01-21main: Fix plugins preferences packingBastien Nocera1-4/+3
gtk_container_add() changed semantics, so use gtk_box_pack_start() instead.
2010-12-15Bug 637309 — translation context neededPhilip Withnall1-2/+2
Add a translation context and a new translators' comment for the string “Auto”. Closes: bgo#637309
2010-10-04Fix plugin manager creation with new libpeasBastien Nocera1-1/+1
2010-09-16Remove calls to gtk_dialog_set_has_separator()Philip Withnall1-1/+0
It's deprecated in GTK+ 2.22 and removed in GTK+ 3.
2010-08-19Port to libpeas 0.5.5Bastien Nocera1-2/+2
With its renaming of PeasUI to PeasGtk
2010-08-09Bug 626422 — Translation comment neededPhilip Withnall1-0/+2
Add some extra translation comments. Closes: bgo#626422
2010-06-16Port to libpeas for plugin handlingBastien Nocera1-2/+2
https://bugzilla.gnome.org/show_bug.cgi?id=604830
2010-05-18Add support for accurate seekAlexander Saprykin1-2/+2
Add "accurate" argument to seek functions, and use GST_SEEK_FLAG_ACCURATE instead of GST_SEEK_FLAG_KEY_UNIT when an accurate seek is requested. All the users of the seek functions will request "inaccurate" seeks except the video thumbnailer and the skipto plugin. https://bugzilla.gnome.org/show_bug.cgi?id=618746
2010-05-05Move deinterlacing to the preferencesBastien Nocera1-12/+0
As deinterlacing is now automatic in playbin2 for interlaced streams, enable it by default, so that interlaced videos look nicer by default. https://bugzilla.gnome.org/show_bug.cgi?id=617283
2010-05-01Use GIcon for the recent menu items' iconsChristian Persch1-21/+15
Bug #617199.
2010-04-06Use GstTag library to translate subtitle languagesBastien Nocera1-152/+2
Instead of implementing iso-codes parsing ourselves. https://bugzilla.gnome.org/show_bug.cgi?id=614976
2010-02-12Use accessor functions instead direct accessJavier Jardón1-3/+3
This is necessary to build with -DGSEAL_ENABLE Required GTK+ version bumped to 2.19.5 http://bugzilla.gnome.org/show_bug.cgi?id=594053
2009-12-22Don't rebuild the Movie menu when nothing changedBastien Nocera1-3/+2
As there's no DVB menu items to check any more.
2009-12-22Remove built-in DVB supportSebastian Pölsterl1-58/+0
This will now be handled through gnome-dvb-daemon's Totem plugin. https://bugzilla.gnome.org/show_bug.cgi?id=515759
2009-12-07Remove more unneeded GtkActionEntriesBastien Nocera1-16/+0
2009-12-07Removed unused GtkActionEntries declarationsBastien Nocera1-10/+0
2009-12-07Fix translation of skip menu items in RTL languagesBastien Nocera1-6/+5
https://bugzilla.gnome.org/show_bug.cgi?id=603604
2009-12-05Replace hack to set always-show-image for devicesRobin Stocker1-10/+1
https://bugzilla.gnome.org/show_bug.cgi?id=589808
2009-11-27Add translator comments for new image playbackBastien Nocera1-4/+5
2009-11-26Add support for playing DVDs from images in the menuBastien Nocera1-31/+192
Show mounted archives in the Movie menu, and allow playback from those archives.
2009-11-26Fix some memory leaks in volume handlingBastien Nocera1-2/+6
2009-11-26Move volume handling for the menus into its own functionBastien Nocera1-98/+112
2009-09-11Use playlist name to add to recent files for streamsBastien Nocera1-3/+5
When playing a YouTube video, we probably won't be able to get any file information, so remember the display name, and use that in the recent files.
2009-09-11Bug 594817 - Hangs playing a search resultBastien Nocera1-11/+24
When querying for info on files we want to add to the recent files, we might as well use the async functions, saves us hanging on remote files.
2009-09-02Fix crasher when USB storage is encryptedBastien Nocera1-1/+1
Meaning that it has an emblem.
2009-08-08Bug 589808 – Set always-show-image on some menu itemsRobin Stocker1-0/+11
2009-07-31Fix crash when a (storage) volume has an emblemBastien Nocera1-5/+15
See https://bugzilla.redhat.com/show_bug.cgi?id=514914
2009-07-27Bug 537399 – debug option messPhilip Withnall1-1/+1
Tidied up the debugging infrastructure as well.
2009-07-26Added missing tooltips to menu actionsPhilip Withnall1-5/+3
2009-07-26Bug 484142 – Show menu item descriptions in status barRobin Stocker1-0/+55
2009-07-19Move subtitles-related menu items to View → SubtitlesPhilip Withnall1-2/+1
2009-07-19 Philip Withnall <philip@tecnocode.co.uk> * data/totem.ui: * src/plugins/opensubtitles/opensubtitles.py: * src/totem-menu.c (totem_subtitles_update): Move subtitles-related menu items to View → Subtitles. (Closes: #581366)
2009-07-18Fixed some strict gcc warningsPhilip Withnall1-5/+6
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.
2009-07-17Only call totem_action_add_recent() when playing the fileBastien Nocera1-0/+3
2009-07-17 Bastien Nocera <hadess@hadess.net> * src/totem-menu.c (totem_action_add_recent): * src/totem-object.c (totem_action_set_mrl_with_warning), (totem_action_open_files_list), (totem_action_remote): Only call totem_action_add_recent() when playing the file, not when adding it to the playlist
2009-04-30Bug 578387 – Remaining API documentation additionsPhilip Withnall1-0/+2
This adds a load of .h files to the ignore list, and documents the remaining functions which would be useful to plugins. It makes TOTEM_MAX_RECENT_ITEM_LEN private to totem-menu.c, since that was the only file which used it. It also removes a completely unused declaration of bacon_cd_selection_create from totem-preferences.h. See the changes to totem-sections.txt for the list of API I've considered useful to expose (by way of documentation) to plugins.
2009-04-08Patch from Shixin Zeng <zeng.shixin@gmail.com> to add G_MODULE_EXPORT toPhilip Withnall1-37/+37
2009-04-08 Philip Withnall <philip@tecnocode.co.uk> * src/plugins/totem-plugin-manager.c: * src/totem-fullscreen.c: * src/totem-menu.c: * src/totem-object.c: * src/totem-playlist.c: * src/totem-preferences.c: * src/totem-statusbar.c: * src/totem-time-label.c: * src/totem-video-list.c: Patch from Shixin Zeng <zeng.shixin@gmail.com> to add G_MODULE_EXPORT to signal handlers and *_get_type functions. (Helps: #342926) svn path=/trunk/; revision=6248
2009-03-31Update the About dialogue. (Closes: #573295)Philip Withnall1-8/+5
2009-03-31 Philip Withnall <philip@tecnocode.co.uk> * Makefile.am: * src/totem-menu.c (about_action_callback): Update the About dialogue. (Closes: #573295) 2009-03-31 Philip Withnall <philip@tecnocode.co.uk> * C/totem.xml: * Makefile.am: Allow the list of documenters to be automatically- generated. (Closes: #573295) svn path=/trunk/; revision=6210
2009-01-18Don't add the recent file to the recent files list *again* Don't try toBastien Nocera1-1/+1
2009-01-18 Bastien Nocera <hadess@hadess.net> * src/totem-menu.c (on_recent_file_item_activated): Don't add the recent file to the recent files list *again* * src/totem-object.c (totem_add_to_playlist_and_play): Don't try to play past the last item in the playlist, so that clicking on a menu item doesn't play the current file again, but the one we just added svn path=/trunk/; revision=5922
2009-01-04Cleanups to fix a few warnings when building with more gcc warning flagsPhilip Withnall1-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
2008-12-27Add UI to allow creation of galleries, by moving the current screenshotPhilip Withnall1-7/+0
2008-12-27 Philip Withnall <philip@tecnocode.co.uk> * configure.in: * data/totem.ui: * src/Makefile.am: * src/plugins/screenshot/Makefile.am: * src/plugins/screenshot/gallery.ui: * src/plugins/screenshot/screenshot.totem-plugin.in: * src/plugins/screenshot/totem-gallery-progress.c (totem_gallery_progress_class_init), (totem_gallery_progress_init), (totem_gallery_progress_finalize), (totem_gallery_progress_new), (dialog_response_callback), (process_line), (stdout_watch_cb), (totem_gallery_progress_run): * src/plugins/screenshot/totem-gallery-progress.h: * src/plugins/screenshot/totem-gallery.c (totem_gallery_class_init), (totem_gallery_init), (totem_gallery_new), (default_screenshot_count_toggled_callback), (dialog_response_callback): * src/plugins/screenshot/totem-gallery.h: * src/plugins/screenshot/totem-screenshot-plugin.c (totem_screenshot_plugin_class_init), (totem_screenshot_plugin_init), (take_screenshot_action_cb), (take_gallery_action_cb), (window_key_press_event_cb), (update_state), (got_metadata_cb), (notify_logo_mode_cb), (disable_save_to_disk_changed_cb), (impl_activate), (impl_deactivate), (make_filename_for_dir), (totem_screenshot_plugin_setup_file_chooser), (totem_screenshot_plugin_update_file_chooser): * src/plugins/screenshot/totem-screenshot-plugin.h: * src/plugins/screenshot/totem-screenshot.c (totem_screenshot_response), (totem_screenshot_init), (totem_screenshot_new): * src/plugins/screenshot/totem-screenshot.h: * src/totem-menu.c: * src/totem-preferences.c (totem_setup_preferences): * src/totem-private.h: * src/totem-screenshot.c: * src/totem-screenshot.h: * src/totem-video-thumbnailer.c (create_gallery), (main): * src/totem.c (totem_action_set_mrl_with_warning), (on_got_metadata_event), (totem_action_handle_key_press): Add UI to allow creation of galleries, by moving the current screenshot dialogue out to a built-in "screenshot" plugin, and adding a dialogue for creating galleries, as well as a progress dialogue. Currently, the progress dialogue does not fully work due to pipe problems. (Helps: #561088) * po/POTFILES.in: Added screenshot plugin files. svn path=/trunk/; revision=5878
2008-12-10Patch from Kamil Pawlowski <kamilpe@gmail.com> to allow selecting a textBastien Nocera1-0/+8
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
2008-12-08Add TV icon from da.needcoffee at googlemail.comBastien Nocera1-1/+1
2008-12-08 Bastien Nocera <hadess@hadess.net> * data/icons/16x16/Makefile.am: * data/icons/16x16/totem-tv.svg: * data/icons/22x22/Makefile.am: * data/icons/22x22/totem-tv.svg: * data/icons/24x24/Makefile.am: * data/icons/32x32/Makefile.am: * data/icons/32x32/totem-tv.svg: * data/icons/48x48/Makefile.am: * data/icons/scalable/Makefile.am: * data/icons/scalable/totem-tv.svg: Add TV icon from da.needcoffee at googlemail.com http://lists.freedesktop.org/archives/tango-artists/2007-June/001336.html * src/totem-menu.c (update_dvb_menu_items): Use new icon in the menus for DVB adapters (Closes: #515763) svn path=/trunk/; revision=5834
2008-09-21Add the subtitle and languages menus to the fullscreen popup as wellBastien Nocera1-12/+15
2008-09-21 Bastien Nocera <hadess@hadess.net> * data/totem.ui: * src/totem-menu.c (add_lang_action), (create_lang_actions), (totem_languages_update), (totem_subtitles_update): Add the subtitle and languages menus to the fullscreen popup as well (Closes: #164036) svn path=/trunk/; revision=5711
2008-09-20Fix using unvetted strings in printf-style functions.Philip Withnall1-1/+1
2008-09-20 Philip Withnall <philip@tecnocode.co.uk> * src/plugins/tracker/totem-tracker-widget.c (get_search_count): * src/totem-playlist.c (totem_playlist_error): Fix using unvetted strings in printf-style functions. * data/totem.schemas.in: * src/totem-menu.c (about_action_callback): * src/totem-options.c: Fix some hyphenation problems in strings, and update the copyright date in the about dialogue. svn path=/trunk/; revision=5710
2008-09-09Fix recent-menu not adding anything because it couldn't get a fastBastien Nocera1-36/+18
2008-09-09 Bastien Nocera <hadess@hadess.net> * data/mime-type-list.txt: * src/totem-menu.c (totem_action_add_recent): * src/totem-menu.h: Fix recent-menu not adding anything because it couldn't get a fast mime-type for the file, (Closes: #551360), also fix addition of streams to the list, otherwise nothing to go in the "Open Location" dialogue svn path=/trunk/; revision=5660
2008-08-18update GTK+ req remove unneeded gnome includeBastien Nocera1-6/+0
2008-08-18 Bastien Nocera <hadess@hadess.net> * configure.in: update GTK+ req * src/totem-audio-preview.c: remove unneeded gnome include * src/totem-menu.c (totem_ui_manager_setup): * src/totem.c (totem_action_show_help): Use a newer GTK+ to launch the help, and don't require libgnomeui for that, based on patch from Philip Withnall <philip@tecnocode.co.uk> (Closes: #514384) svn path=/trunk/; revision=5563
2008-05-26Add video/x-flv as a support mime-typeBastien Nocera1-11/+3
2008-05-26 Bastien Nocera <hadess@hadess.net> * data/mime-type-list.txt: Add video/x-flv as a support mime-type * src/totem-menu.c (about_action_callback): Remove "GNOME" vs. "GTK+" backends * src/totem-video-indexer.c (main): * src/totem-video-thumbnailer.c (main): * src/totem.c (main): Remove calls to gnome_authentication_manager_init (), as we don't use gnome-vfs anymore (Closes: #534824) svn path=/trunk/; revision=5433