summaryrefslogtreecommitdiff
path: root/src/totem-menu.c
AgeCommit message (Collapse)AuthorFilesLines
2007-08-31Print the URL that we detected from the device, for DVD and VCDsBastien Nocera1-9/+9
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
2007-08-25Clean up the seek to time functions, and don't set the statusbar or theBastien Nocera1-2/+2
2007-08-25 Bastien Nocera <hadess@hadess.net> * src/totem-menu.c: (skip_forward_action_callback), (skip_backwards_action_callback): * src/totem.c: (totem_seek_time_rel), (totem_action_seek_relative), (totem_action_seek_time), (totem_action_remote), (totem_action_handle_key_release), (totem_action_handle_seek), (totem_action_handle_key_press), (totem_action_handle_scroll): * src/totem.h: Clean up the seek to time functions, and don't set the statusbar or the full screen label as seeking when there's no MRL loaded (Closes: #469413) svn path=/trunk/; revision=4584
2007-08-11When adding items to the playlist, set the cursor waiting on the outermostBastien Nocera1-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
2007-08-09Patch from Jan Arne Petersen <jpetersen@jpetersen.org> to fix the sidebarBastien Nocera1-1/+1
2007-08-09 Bastien Nocera <hadess@hadess.net> * src/totem-menu.c: Patch from Jan Arne Petersen <jpetersen@jpetersen.org> to fix the sidebar accelerator conflicting with the sound menu's one (Closes: #457386) svn path=/trunk/; revision=4492
2007-07-05Patch from Philip Withnall <pwithnall@svn.gnome.org> to use GtkBuilderBastien Nocera1-4/+3
2007-07-05 Bastien Nocera <hadess@hadess.net> * Load of files: Patch from Philip Withnall <pwithnall@svn.gnome.org> to use GtkBuilder instead of libglade (Closes: #450635) svn path=/trunk/; revision=4427
2007-06-28fix valgrind error with a not-fully initialised GtkRecentData fix testsBastien Nocera1-2/+3
2007-06-28 Bastien Nocera <hadess@hadess.net> * src/totem-menu.c: (totem_action_add_recent): fix valgrind error with a not-fully initialised GtkRecentData * src/totem.c: (window_state_event_cb): fix tests when more than one flag has changed svn path=/trunk/; revision=4402
2007-06-27Convert to using gtk_recent_manager_get_default, as the per-screenPhilip Withnall1-3/+1
2007-06-27 Philip Withnall <pwithnall@svn.gnome.org> * src/totem-menu.c: (totem_setup_recent): * src/totem-open-location.c: (totem_open_location_new): Convert to using gtk_recent_manager_get_default, as the per-screen constructor is now deprecated. (Closes: #449225) svn path=/trunk/; revision=4397
2007-06-21Handle better having --fullscreen passed to the master program (Helps:Bastien Nocera1-0/+2
2007-06-21 Bastien Nocera <hadess@hadess.net> * data/totem.glade: * src/totem-menu.c: (show_controls_action_callback): * src/totem-options.c: (totem_options_process_late), (totem_options_process_early): * src/totem-options.h: * src/totem-private.h: * src/totem.c: (totem_action_save_state), (totem_action_exit), (totem_action_load_media), (totem_action_play_pause), (totem_action_pause), (window_state_event_cb), (totem_action_fullscreen_toggle), (show_controls), (video_widget_create), (main): Handle better having --fullscreen passed to the master program (Helps: #376149) * src/backend/bacon-video-widget-xine.c: (load_video_out_driver), (bacon_video_widget_realize), (xine_event), (bacon_video_widget_unrealize), (bacon_video_widget_show), (bacon_video_widget_hide), (show_vfx_update), (bacon_video_widget_open_with_subtitle), (bacon_video_widget_set_show_cursor), (bacon_video_widget_set_scale_ratio): Remove the video_window struct member, it was barely used. Fix the double-buffering on the widget being set/unset wrongly svn path=/trunk/; revision=4391
2007-06-17Add website to about dialogJaap A. Haitsma1-0/+2
2007-06-16 Jaap A. Haitsma <jaap@haitsma.org> * src/totem-menu.c: Add website to about dialog svn path=/trunk/; revision=4379
2007-06-01Make the "Switch angles" menu item work again (somebody forgot toBastien Nocera1-0/+1
2007-06-01 Bastien Nocera <hadess@hadess.net> * src/totem-menu.c: (next_angle_action_callback): * src/totem.c: (totem_action_next_angle), (totem_action_handle_key_press): * src/totem.h: Make the "Switch angles" menu item work again (somebody forgot to implement the callback...) svn path=/trunk/; revision=4333
2007-06-01Don't use UTF-8 unsafe string manipulations to ellipsise but simplyChristian Persch1-126/+83
2007-06-01 Christian Persch <chpe@gnome.org> * src/totem-menu.c: (connect_proxy_cb), (totem_recent_manager_changed_callback), (totem_setup_recent): Don't use UTF-8 unsafe string manipulations to ellipsise but simply ellipsise the label itself. Bug #442371. svn path=/trunk/; revision=4331
2007-05-14Move the skipto dialog into a new plugin. (Closes #428293)Philip Withnall1-7/+0
2007-05-14 Philip Withnall <pwithnall@svn.gnome.org> * configure.in: * data/Makefile.am: * data/skip_to.glade: * data/totem-ui.xml: * src/Makefile.am: * src/plugins/skipto/Makefile.am: * src/plugins/skipto/skip_to.glade: * src/plugins/skipto/skipto.totem-plugin.in: * src/plugins/skipto/totem-skipto-plugin.c: (totem_skipto_plugin_class_init), (totem_skipto_plugin_init), (destroy_dialog), (totem_skipto_plugin_finalize), (totem_skipto_update_from_state), (property_notify_cb), (skip_to_response_callback), (run_skip_to_dialog), (skip_to_action_callback), (on_window_key_press_event), (impl_activate), (impl_deactivate): * src/plugins/skipto/totem-skipto.c: (totem_skipto_class_init), (totem_skipto_response_cb), (totem_skipto_init), (totem_skipto_finalize), (totem_skipto_update_range), (totem_skipto_get_range), (totem_skipto_set_seekable), (totem_skipto_set_current), (spin_button_activate_cb), (spin_button_value_changed_cb), (totem_skipto_new): * src/plugins/skipto/totem-skipto.h: * src/plugins/totem-plugin.h: * src/totem-menu.c: * src/totem-object.c: (totem_object_class_init), (totem_object_get_property), (totem_get_ui_manager), (totem_get_current_time), (totem_remove_sidebar_page): * src/totem-private.h: * src/totem-skipto.c: * src/totem-skipto.h: * src/totem.c: (update_mrl_label), (totem_action_seek_relative), (totem_action_seek_time), (update_seekable), (update_current_time), (totem_is_fullscreen), (totem_is_playing), (totem_is_seekable), (totem_action_handle_key_press), (totem_callback_connect): * src/totem.h: Move the skipto dialog into a new plugin. (Closes #428293) svn path=/trunk/; revision=4308
2007-05-04Yield to the newly created open() thread so that we can block on openBastien Nocera1-0/+5
2007-05-04 Bastien Nocera <hadess@hadess.net> * src/backend/bacon-video-widget-xine.c: (bacon_video_widget_open_async), (bacon_video_widget_open_with_subtitle), (bacon_video_widget_play): Yield to the newly created open() thread so that we can block on open later, fix "cat foo | totem fd://0" not working, fix a comment about the icyx protocol * src/totem-menu.c: (totem_action_add_recent): don't try to add movies without a mime-type to the recent files list svn path=/trunk/; revision=4284
2007-04-17Fix language labels when we have multiple occurences of the same languagesBastien Nocera1-7/+22
2007-04-17 Bastien Nocera <hadess@hadess.net> * src/totem-menu.c: (add_lang_action), (create_lang_actions): Fix language labels when we have multiple occurences of the same languages (eg. was "en #2", is "English #2" now) svn path=/trunk/; revision=4234
2007-04-12Plenty of code cleanups by Kjartan Maraas <kmaraas@broadpark.no>Bastien Nocera1-2/+1
2007-04-12 Bastien Nocera <hadess@hadess.net> * browser-plugin/totem-plugin-viewer.c: (totem_embedded_construct): * src/backend/bacon-resize.c: * src/backend/bacon-video-widget-common.c: * src/backend/bacon-video-widget-gst-0.10.c: (bacon_video_widget_class_init), (bacon_video_widget_finalize), (bacon_video_widget_close), (bacon_video_widget_get_current_frame): * src/backend/bacon-video-widget-xine.c: (bacon_video_widget_play), (bacon_video_widget_can_set_volume), (bacon_video_widget_is_playing), (bacon_video_widget_is_seekable), (bacon_video_widget_get_mrls): * src/backend/bvw-test.c: * src/bacon-message-connection.c: * src/test-properties-page.c: * src/totem-interface.c: (totem_gtk_plug_get_toplevel), (totem_interface_get_license): * src/totem-menu.c: (totem_action_add_recent): * src/totem-playlist.c: (totem_playlist_get_current_mrl), (totem_playlist_get_current_title): * src/totem-screenshot.c: * src/totem-skipto.c: * src/totem-statusbar.c: (totem_statusbar_init): * src/totem-subtitle-encoding.c: (subtitle_encoding_init): * src/totem-time-label.c: * src/totem-video-indexer.c: Plenty of code cleanups by Kjartan Maraas <kmaraas@broadpark.no> svn path=/trunk/; revision=4220
2007-04-09Add a plugin to replace the not-so-useful "Always On Top" menu item whichBastien Nocera1-11/+0
2007-04-09 Bastien Nocera <hadess@hadess.net> * configure.in: * data/totem-ui.xml: * src/plugins/Makefile.am: * src/totem-menu.c: * src/totem-object.c: (totem_get_main_window): * src/totem-preferences.c: (totem_setup_preferences): Add a plugin to replace the not-so-useful "Always On Top" menu item which will make Totem "on top" if it's playing something (Closes: #171691) 2007-04-09 Bastien Nocera <hadess@hadess.net> * POTFILES.in: more plugins to translate svn path=/trunk/; revision=4205
2007-04-03Turn Totem into a TotemObject, remove calling the screensaver directly,Bastien Nocera1-0/+56
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
2007-03-26Patch from Philip Withnall <bugzilla@tecnocode.co.uk> to grab the recentBastien Nocera1-1/+3
2007-03-26 Bastien Nocera <hadess@hadess.net> * src/totem-menu.c: (totem_setup_recent): Patch from Philip Withnall <bugzilla@tecnocode.co.uk> to grab the recent files manager from the right screen (Closes: #395195) svn path=/trunk/; revision=4158
2007-03-20Avoid crashing on play when we can't get a display name for the file we'reBastien Nocera1-1/+1
2007-03-20 Bastien Nocera <hadess@hadess.net> * src/totem-menu.c: (totem_action_add_recent): Avoid crashing on play when we can't get a display name for the file we're trying to play svn path=/trunk/; revision=4127
2007-03-12Add myself to credits in about dialog.Tim-Philipp Müller1-0/+1
* src/totem-menu.c: (about_action_callback): Add myself to credits in about dialog. svn path=/trunk/; revision=4109
2007-01-30Don't let hash table take ownership of and free strings that it doesn'tTim-Philipp Müller1-4/+5
* src/totem-menu.c: (create_lang_actions): Don't let hash table take ownership of and free strings that it doesn't own (causes crashes in totem_sublang_update() when accessing already freed memory or trying to free it again); also fix up hash table usage so that it really detects equal language strings. (Closes: #402512) svn path=/trunk/; revision=3971
2007-01-29Avoid leaking data from the language hash-table, escape languages beforeBastien Nocera1-13/+11
2007-01-29 Bastien Nocera <hadess@hadess.net> * src/totem-menu.c: (add_lang_action), (create_lang_actions): Avoid leaking data from the language hash-table, escape languages before putting them in the subtitles or languages menu svn path=/trunk/; revision=3955
2007-01-29Truncate the URI before escaping it for use in the menu items, avoidsBastien Nocera1-34/+40
2007-01-29 Bastien Nocera <hadess@hadess.net> * src/totem-menu.c: (escape_label_for_menu), (totem_recent_manager_changed_callback), (add_device_to_menu): Truncate the URI before escaping it for use in the menu items, avoids mnemonics showing up in the menu if we have underscores in filenames (Closes: #401872) svn path=/trunk/; revision=3954
2007-01-19Number duplicate languages in the subtitles and audio tracks menusBastien Nocera1-3/+17
2007-01-19 Bastien Nocera <hadess@hadess.net> * src/totem-menu.c: (create_lang_actions): Number duplicate languages in the subtitles and audio tracks menus (Closes: #394063) svn path=/trunk/; revision=3924
2007-01-18HIG capitalization fixesDennis Cranston1-1/+1
2007-01-17 Dennis Cranston <dennis_cranston@yahoo.com> * src/totem-menu.c: * src/totem-playlist.c: HIG capitalization fixes svn path=/trunk/; revision=3918
2007-01-16C89 fix by Jens Granseuer <jensgr@gmx.net> (Closes: #397350)Bastien Nocera1-1/+2
2007-01-16 Bastien Nocera <hadess@hadess.net> * src/totem-menu.c: (totem_recent_manager_changed_callback): C89 fix by Jens Granseuer <jensgr@gmx.net> (Closes: #397350) svn path=/trunk/; revision=3909
2007-01-14Patch from Rene Vahtel <vahtel@starman.ee> to add a "Clear Playlist" menuBastien Nocera1-0/+8
2007-01-14 Bastien Nocera <hadess@hadess.net> * data/totem-ui.xml: * src/totem-menu.c: (clear_playlist_action_callback): * src/totem-playlist.c: (totem_playlist_clear): * src/totem.c: (totem_action_set_mrl_with_warning): Patch from Rene Vahtel <vahtel@starman.ee> to add a "Clear Playlist" menu item (Closes: #393111) svn path=/trunk/; revision=3886
2007-01-10fix browser plugin linking, we need the parser backends as wellBastien Nocera1-3/+10
2007-01-10 Bastien Nocera <hadess@hadess.net> * src/plparse/Makefile.am: fix browser plugin linking, we need the parser backends as well * src/plparse/totem-pl-parser-lines.c: (totem_pl_parser_get_extinfo_title): Handle both ":" and "," as a field separator as seen used at http://www.catradio.cat/pilotcatradio/ * src/totem-menu.c: (totem_action_add_recent): only add local files to the recently used list if there's a mime-type, otherwise it means the file isn't there, or not readable svn path=/trunk/; revision=3850
2007-01-10fix compile warningBastien Nocera1-0/+4
2007-01-10 Bastien Nocera <hadess@hadess.net> * src/bacon-video-widget-properties.c: (bacon_video_widget_properties_new): fix compile warning * src/totem-interface.c: (totem_interface_get_license): * src/totem-interface.h: add totem_interface_get_license(), which shows and translates the license * src/totem-menu.c: (about_action_callback): * browser-plugin/totem-plugin-viewer.c: (on_about1_activate): Use totem_interface_get_license() (Closes: #330871) svn path=/trunk/; revision=3847
2007-01-09Patch from Philip Withnall <bugzilla@tecnocode.co.uk> to make sure remoteBastien Nocera1-17/+81
2007-01-09 Bastien Nocera <hadess@hadess.net> * src/totem-menu.c: (totem_str_middle_truncate), (totem_recent_manager_changed_callback), (totem_action_add_recent): * src/totem-menu.h: * src/totem.c: (totem_action_open_location): Patch from Philip Withnall <bugzilla@tecnocode.co.uk> to make sure remote streams launched on the command-line appear in the "Open URL" dialogue (Closes: #394096) svn path=/trunk/; revision=3844
2007-01-04Escape the disc name before adding it to the menu, so we don't haveBastien Nocera1-3/+18
2007-01-04 Bastien Nocera <hadess@hadess.net> * src/totem-menu.c: (escape_device_name_for_menu), (add_device_to_menu): Escape the disc name before adding it to the menu, so we don't have mnemonics when we don't mean to (Closes: #391206) svn path=/trunk/; revision=3821
2006-12-06fix warningBastien Nocera1-1/+2
2006-12-06 Bastien Nocera <hadess@hadess.net> * src/totem-menu.c: (add_device_to_menu): fix warning * src/totem-scrsaver.c: (totem_scrsaver_set_state): * src/totem-scrsaver.h: * src/totem.c: (totem_action_play): only disable the screensaver if we actually managed to play the movie
2006-12-06Send an Object Notify event when the logo mode changesBastien Nocera1-0/+7
2006-12-06 Bastien Nocera <hadess@hadess.net> * src/backend/bacon-video-widget-gst-0.10.c: (bacon_video_widget_set_logo_mode): * src/backend/bacon-video-widget-xine.c: (bacon_video_widget_set_logo_mode): Send an Object Notify event when the logo mode changes * src/totem-menu.c: (totem_ui_manager_setup): * src/totem.c: (totem_action_zoom), (property_notify_cb), (totem_callback_connect), (video_widget_create): Disable the zoom menu entries when the logo mode is on (Closes: #355506)
2006-11-27up the sonameBastien Nocera1-0/+6
2006-11-27 Bastien Nocera <hadess@hadess.net> * configure.in: up the soname * src/plparse/totem-disc.c: (cd_cache_has_medium), (totem_cd_detect_type), (totem_cd_has_medium): * src/plparse/totem-disc.h: add a public totem_cd_has_medium to check whether a drive has a medium inserted using HAL, don't print warnings if a child of a drive doesn't have a is_disc property * src/totem-menu.c: (add_device_to_menu): if there's no medium inside the drive, disabled the menu entry (Closes: #320269)
2006-11-06Re-add a "Properties" menu item in the Movie menu, by popular demandBastien Nocera1-0/+7
2006-11-06 Bastien Nocera <hadess@hadess.net> * data/totem-ui.xml: * src/totem-menu.c: (properties_action_callback): * src/totem-private.h: * src/totem-sidebar.c: (totem_sidebar_toggle), (totem_sidebar_set_current_page): * src/totem-sidebar.h: * src/totem.c: (totem_action_show_properties), (totem_action_handle_key_press): Re-add a "Properties" menu item in the Movie menu, by popular demand (Closes: #369958)
2006-11-03fix CFLAGS Invert Left/Right in the menu entries when using an RTLBastien Nocera1-14/+37
2006-11-03 Bastien Nocera <hadess@hadess.net> * src/plparse/Makefile.am: fix CFLAGS * src/totem-menu.c: (totem_ui_manager_connect_proxy_callback), (totem_ui_manager_setup): Invert Left/Right in the menu entries when using an RTL language * src/totem.c: (totem_action_handle_seek), (totem_action_handle_key_press): swap GDK_Right and GDK_Left actions when using an RTL language, so that it matches the directions used in the icons (Closes: #369440)
2006-11-01avoid warnings when parsing the qaa-qtz iso-codes entryBastien Nocera1-2/+2
2006-11-01 Bastien Nocera <hadess@hadess.net> * src/totem-menu.c: (totem_lang_table_parse_start_tag): avoid warnings when parsing the qaa-qtz iso-codes entry
2006-11-01Big patch from Jan Arne Petersen <jpetersen@jpetersen.org> to make use ofBastien Nocera1-17/+28
2006-11-01 Bastien Nocera <hadess@hadess.net> * data/Makefile.am: * data/playlist-playing.png: * data/stock_media_next.png: * data/stock_media_pause.png: * data/stock_media_play.png: * data/stock_media_previous.png: * data/totem.glade: * src/Makefile.am: * src/bacon-volume.c: (bacon_volume_button_init), (bacon_volume_button_dispose), (bacon_volume_button_new), (bacon_volume_scale_value_changed), (bacon_volume_theme_changed), (bacon_volume_load_icons): * src/bacon-volume.h: * src/totem-menu.c: (on_recent_file_item_activated), (totem_recent_manager_changed_callback), (totem_ui_manager_connect_proxy_callback): * src/totem-playlist.c: (totem_playlist_set_reorderable), (load_icon), (icon_theme_changed), (totem_playlist_save_playlist), (set_playing_icon), (init_columns), (init_treeview), (totem_playlist_realize), (totem_playlist_init), (totem_playlist_finalize), (totem_playlist_new), (totem_playlist_add_one_mrl), (totem_playlist_set_playing): * src/totem-stock-icons.c: * src/totem-stock-icons.h: * src/totem.c: (totem_action_exit), (totem_callback_connect), (main): Big patch from Jan Arne Petersen <jpetersen@jpetersen.org> to make use of named icons instead of stock icons (Closes: #357143)
2006-10-02Use gtk_show_about_dialog, remove unused codeBastien Nocera1-16/+1
2006-10-02 Bastien Nocera <hadess@hadess.net> * src/totem-menu.c: (about_action_callback): * src/totem-private.h: Use gtk_show_about_dialog, remove unused code
2006-09-24remove earlier removed files add missing i18n macros (Closes: #357515)Jan Arne Petersen1-57/+57
2006-09-25 Jan Arne Petersen <jpetersen@jpetersen.org> * po/POTFILES.in: remove earlier removed files * src/totem-menu.c: (totem_ui_manager_setup): add missing i18n macros (Closes: #357515)
2006-09-11Huge patch from Jan Arne Petersen <jpetersen@jpetersen.org> to move TotemBastien Nocera1-206/+698
2006-09-11 Bastien Nocera <hadess@hadess.net> * configure.in: * data/Makefile.am: * data/popup.glade: * data/totem.glade: * src/Makefile.am: * src/egg-recent-item.c: * src/egg-recent-item.h: * src/egg-recent-model.c: * src/egg-recent-model.h: * src/egg-recent-util.c: * src/egg-recent-util.h: * src/egg-recent-view-gtk.c: * src/egg-recent-view-gtk.h: * src/egg-recent-view.c: * src/egg-recent-view.h: * src/totem-menu.c: (subtitles_changed_callback), (languages_changed_callback), (add_lang_action), (create_lang_actions), (totem_languages_update), (totem_subtitles_update), (on_recent_file_item_activated), (totem_compare_recent_items), (totem_recent_manager_changed_callback), (totem_setup_recent), (totem_action_add_recent), (on_play_disc_activate), (add_device_to_menu), (on_movie_menu_select), (totem_setup_play_disc), (open_action_callback), (open_location_action_callback), (eject_action_callback), (play_action_callback), (quit_action_callback), (take_screenshot_action_callback), (preferences_action_callback), (fullscreen_action_callback), (zoom_1_2_action_callback), (zoom_1_1_action_callback), (zoom_2_1_action_callback), (zoom_in_action_callback), (zoom_reset_action_callback), (zoom_out_action_callback), (next_angle_action_callback), (dvd_root_menu_action_callback), (dvd_title_menu_action_callback), (dvd_audio_menu_action_callback), (dvd_angle_menu_action_callback), (dvd_chapter_menu_action_callback), (next_chapter_action_callback), (previous_chapter_action_callback), (skip_to_action_callback), (skip_forward_action_callback), (skip_backwards_action_callback), (volume_up_action_callback), (volume_down_action_callback), (contents_action_callback), (about_action_callback), (repeat_mode_action_callback), (shuffle_mode_action_callback), (deinterlace_action_callback), (always_on_top_action_callback), (show_controls_action_callback), (show_sidebar_action_callback), (aspect_ratio_changed_callback), (totem_ui_manager_connect_proxy_callback), (totem_ui_manager_setup): * src/totem-menu.h: * src/totem-preferences.c: (deinterlace_changed_cb), (totem_setup_preferences): * src/totem-private.h: * src/totem-sidebar.c: (totem_sidebar_toggle), (toggle_sidebar_from_sidebar), (totem_sidebar_setup): * src/totem-sidebar.h: * src/totem-stock-icons.c: (totem_set_default_icons): * src/totem.c: (totem_action_menu_popup), (play_pause_set_label), (window_state_event_cb), (totem_action_open), (totem_action_open_location), (totem_action_take_screenshot), (totem_action_set_mrl_with_warning), (totem_action_zoom), (totem_action_toggle_aspect_ratio), (totem_action_show_help), (update_seekable), (commit_hide_skip_to), (totem_action_skip_to), (show_controls), (totem_action_toggle_controls), (playlist_repeat_toggle_cb), (playlist_shuffle_toggle_cb), (totem_action_handle_key_press), (update_media_menu_items), (update_buttons), (totem_callback_connect), (main): Huge patch from Jan Arne Petersen <jpetersen@jpetersen.org> to move Totem to GtkUIManager, instead of the old menus (Closes: #353560)
2006-06-13Pop down language/subtitle menus before replacing them with a differentTim-Philipp Müller1-2/+12
* src/totem-menu.c: (totem_languages_update), (totem_subtitles_update): Pop down language/subtitle menus before replacing them with a different one, otherwise the session might lock up hard if a menu is replaced while being open (#342411).
2006-04-28Remove the DXR3 support, nobody uses that anymore, remove the "proprietaryBastien Nocera1-0/+1
2006-04-28 Bastien Nocera <hadess@hadess.net> * data/totem.glade: * help/C/totem.xml: * src/backend/bacon-video-widget-gst-0.10.c: * src/backend/bacon-video-widget-gst.c: (bacon_video_widget_fullscreen_mode_available): * src/backend/bacon-video-widget-xine.c: (load_video_out_driver), (bacon_video_widget_fullscreen_mode_available), (bacon_video_widget_set_tv_out): * src/backend/bacon-video-widget.h: * src/backend/video-utils.c: * src/backend/video-utils.h: * src/totem-menu.c: (add_device_to_menu): * src/totem-preferences.c: (totem_setup_preferences), (totem_preferences_tvout_setup): Remove the DXR3 support, nobody uses that anymore, remove the "proprietary plugins path" support, it was unused in GStreamer, and everybody just uses /usr/lib/win32 (Closes: #335445) Remove trailing spaces from disc names in the Movie menu
2006-02-28pass the mount point onto Totem when the disc is mounted, rather than theBastien Nocera1-1/+15
2006-02-28 Bastien Nocera <hadess@hadess.net> * src/totem-menu.c: (my_gnome_vfs_volume_get_mount_path), (add_device_to_menu): pass the mount point onto Totem when the disc is mounted, rather than the device path
2005-11-24remove CD playback from the UI (as to avoid double-use with sound- juicerBastien Nocera1-3/+5
2005-11-24 Bastien Nocera <hadess@hadess.net> * configure.in: * src/backend/bacon-video-widget-gst-0.10.c: (bacon_video_widget_get_metadata_string), (bacon_video_widget_get_metadata): * src/backend/bacon-video-widget-gst.c: (bacon_video_widget_get_metadata_string), (bacon_video_widget_get_metadata): * src/backend/bacon-video-widget-xine.c: (bacon_video_widget_get_metadata_string), (bacon_video_widget_get_metadata): * src/backend/bacon-video-widget.h: * src/metadata-test.c: (on_got_metadata_event): * src/totem-menu.c: (add_device_to_menu): * src/totem-playlist.c: (totem_playlist_clear), (totem_playlist_set_title): * src/totem-playlist.h: * src/totem.c: (on_got_metadata_event): remove CD playback from the UI (as to avoid double-use with sound- juicer and Rhythmbox), as well as musicbrainz dependency
2005-11-10Don't call g_str_has_prefix with NULL string.Tim-Philipp Müller1-1/+1
* src/totem-menu.c: (add_device_to_menu): Don't call g_str_has_prefix with NULL string.
2005-11-02upd Disable menu items for CD drives with blank CDs in them (Helps:Bastien Nocera1-1/+14
2005-11-02 Bastien Nocera <hadess@hadess.net> * NEWS: upd * src/totem-menu.c: (add_device_to_menu): Disable menu items for CD drives with blank CDs in them (Helps: #320269)
2005-07-12remove unneeded line don't free object data from the menu item (Closes:Bastien Nocera1-1/+0
2005-07-12 Bastien Nocera <hadess@hadess.net> * src/backend/bacon-video-widget-xine.c: (bacon_video_widget_get_current_frame): remove unneeded line * src/totem-menu.c: (on_play_disc_activate): don't free object data from the menu item (Closes: #310108)
2005-07-11Only support opening discs through either their mountpoint (data discs,Bastien Nocera1-33/+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
2005-07-10add a totem_action_open_dialog() function to be called when a data disc isBastien Nocera1-5/+12
2005-07-10 Bastien Nocera <hadess@hadess.net> * src/totem-menu.c: (on_play_disc_activate), (add_device_to_menu): * src/totem.c: (totem_action_open_dialog), (on_open1_activate): * src/totem.h: add a totem_action_open_dialog() function to be called when a data disc is inserted