summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* menu: Show sub/audio tracks titles if availablewip/hadess/track-titlesBastien Nocera2022-02-142-1/+73
| | | | Closes: #21
* backend: Fix "None" subtitle not selected when opening fileBastien Nocera2022-02-141-0/+3
| | | | | | | | | | When opening a file, the GST_PLAY_FLAG_TEXT flag is set because we want to be able to show a default subtitle track if any is selected. But that means that bacon_video_widget_get_subtitle() will return -1 (automatic) instead of -2 (none). Check whether we have a single subtitle track (which must be "none") and claim it was selected when checking the current subtitle.
* Update Slovenian translationMatej Urbančič2022-02-131-93/+107
|
* Update Russian translationAleksandr Melman2022-02-131-96/+107
|
* menu: Split menu item creationBastien Nocera2022-02-131-9/+13
|
* backend: Restore audio track when adding a text subtitleBastien Nocera2022-02-131-1/+7
| | | | Closes: #226
* backend: Better debug in print_lang_list()Bastien Nocera2022-02-131-0/+5
|
* backend: Always add a "None" choice for subtitlesBastien Nocera2022-02-131-8/+7
| | | | Because even if there's no subtitles, there's "None".
* backend: Simplify _set_language() implementationBastien Nocera2022-02-131-22/+1
| | | | To be more like the _set_subtitle() one.
* Update Galician translationFran Dieguez2022-02-121-96/+113
|
* Update Catalan translationJordi Mas i Hernandez2022-02-121-273/+275
|
* Updated Czech translationMarek Černocký2022-02-121-114/+110
|
* Update Basque translationAsier Sarasua Garmendia2022-02-121-192/+209
|
* Update Portuguese translationHugo Carvalho2022-02-111-96/+110
|
* Update Brazilian Portuguese translationRafael Fontenelle2022-02-111-101/+114
|
* Update Ukrainian translationYuri Chornoivan2022-02-111-98/+114
|
* main: Add Shift+V to toggle subtitlesBastien Nocera2022-02-112-9/+24
| | | | Closes: #130
* backend: Add bacon_video_toggle_subtitles()Bastien Nocera2022-02-112-0/+24
|
* backend: Don't overwrite current sub when disabling itBastien Nocera2022-02-111-13/+21
| | | | | When disabling the "Render subtitles" flag, don't overwrite the subtitle, so it's easy to switch between enabled/disabled subtitles.
* main: Add "V" keyboard shortcut to cycle through subtitlesBastien Nocera2022-02-112-0/+9
|
* menu: Remove the use of submenus in subtitle menuBastien Nocera2022-02-111-15/+13
| | | | This means that we now always show content in the subtitles menu.
* main: Move subtitles and audio tracks to a separate menuBastien Nocera2022-02-113-17/+49
|
* backend: Move more sub/lang generation inside backendBastien Nocera2022-02-115-71/+157
| | | | | | Instead of letting the front-end handle magic numbers for no subtitle, or automatic lang selection, add those directly to the backend, and export an opaque "id" for the front-end to use.
* tests: Prepare for using title as part of sub/lang namingBastien Nocera2022-02-111-12/+14
|
* backend: Add subtitles/languages changed signalsBastien Nocera2022-02-112-10/+50
| | | | This fixes the subtitles and languages menus being updated too often.
* menu: Split updating subtitles and languages menusBastien Nocera2022-02-113-7/+16
|
* backend: Move subtitles/languages list caching to video widgetBastien Nocera2022-02-115-79/+105
| | | | | | | | | | | | Instead of having the front-end keep track of track lists, and compare them, keep them inside the video widget. This also fixes the old totem-menu code that didn't check for title equality when comparing lists. Note that this updates the subtitles and languages menu too often, as we're *always* updating the menu even when it hasn't changed. Fixes: becbe7f8ef61f51ccbbb228f248b85b02e1eeab9
* backend: Add auto cleanup for BvwLangInfoBastien Nocera2022-02-111-2/+4
|
* backend: Make placeholders dimmerBastien Nocera2022-02-111-0/+6
| | | | | As per: https://gitlab.gnome.org/Teams/Design/app-mockups/-/issues/38#note_1380716
* Revert "ci: Install a much newer glib2"Bastien Nocera2022-02-111-2/+0
| | | | This reverts commit 992776462903783944421801330ac69fdf1fd683.
* backend: Export subtitle/lang track titlesBastien Nocera2022-02-102-4/+8
|
* playlist: Remove extra line feedBastien Nocera2022-02-101-1/+1
|
* main: Remove error check on playlist initialisationBastien Nocera2022-02-101-3/+0
| | | | This can't happen now, the playlist uses a GResource and a template.
* docs: Document bacon_video_widget_check_init()Bastien Nocera2022-02-101-0/+1
| | | | Fixes: ef4e800766ca5029257994c7cc482062f858b17c
* main: Use template to create TotemOpenLocationBastien Nocera2022-02-104-85/+83
|
* main: Simplify TotemOpenLocation creationBastien Nocera2022-02-102-37/+13
| | | | Use G_DECLARE_FINAL_TYPE(), and remove intermediate private struct.
* playlist: Use GtkBuilder templateBastien Nocera2022-02-104-42/+13
| | | | And remove some UI niceties in the (hidden) debug window.
* playlist: Simplify TotemPlaylist creationBastien Nocera2022-02-102-220/+185
| | | | | Use G_DECLARE_FINAL_TYPE(), remove intermediate private struct and signals declaration in the class struct.
* main: Move fullscreen toolbar to GtkBuilderBastien Nocera2022-02-103-16/+24
|
* data: Fix volume button iconsBastien Nocera2022-02-101-3/+3
| | | | | The icons need to be in a specific format for GtkBuilder to parse them properly.
* Updated Czech translationMarek Černocký2022-02-091-202/+208
|
* playlist: Port to GTaskGeorges Basile Stavracas Neto2022-02-091-28/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | GSimpleAsyncResult is deprecated, and it makes compiling Totem a bit noisy. The port is pretty straightforward, since TotemPlaylist usage of GSimpleAsyncResult is not complicated. The major difference is that GTasks can only be returned once, so replace the following (pseudo)code: ``` if (error) async_result.set_error(error) async_result.set_boolean(result) async_result.complete() ``` by this: ``` if (error) task.return_error(error) else task.return_boolean(result) ```
* open-directory: Replace GTimeVal by g_get_monotonic_time()Georges Basile Stavracas Neto2022-02-091-4/+3
| | | | | GTimeVal is deprecated, and will be removed in a future version of GLib. Use g_get_monotonic_time() instead.
* grilo: Remove unused variables in finalize()Georges Basile Stavracas Neto2022-02-091-2/+0
|
* backend: Fix declaration in the middle of a functionBastien Nocera2022-02-091-1/+3
|
* main: Merge controls.ui into totem.uiBastien Nocera2022-02-096-208/+194
|
* main: Move spinner to GtkBuilderBastien Nocera2022-02-092-6/+17
|
* main: Move bvw_grid to GtkBuilderBastien Nocera2022-02-092-5/+8
|
* main: Move video widget creation to GtkBuilderBastien Nocera2022-02-092-7/+9
|
* main: Port to new video widget APIBastien Nocera2022-02-091-2/+2
|