summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* backend: Remove DIRECTION_STR macrowip/hadess/rate-2nd-fileBastien Nocera2022-11-301-2/+1
| | | | It's used in a single place now.
* backend: Restore speed after opening new fileBastien Nocera2022-11-301-48/+45
| | | | | | | After opening a new file, restore the playback rate and set the forward direction, as users expect the speed to carry over from file to file. Closes: #219
* backend: Add missing period at the end of error messageBastien Nocera2022-11-301-1/+1
| | | | Add the missing period at the end of the Open GL error message.
* backend: Bump max playback rate to 3xBastien Nocera2022-11-301-1/+1
| | | | | | As used in some podcasting applications. Note that this doesn't make it possible to change the playback rate above what's currently possible in the UI.
* backend: Move min/max playback rates to constantsBastien Nocera2022-11-303-2/+18
|
* backend: Return an error on playback failureBastien Nocera2022-11-301-0/+2
| | | | | If setting the playback direction fails, make sure to return an error, otherwise the application will crash trying to access it.
* main: Change the percentage skip labelBastien Nocera2022-11-291-1/+1
| | | | Following discussion with design team.
* main: Document digits 1 through 9 skipping 10% to 90%Bastien Nocera2022-11-292-2/+7
| | | | The functionality was added in 42.beta.
* skipto: Remove skipto pluginBastien Nocera2022-11-2914-898/+0
| | | | | | | | The skip to dialogue is not easy to use, and the menu item doesn't really fit in with the rest of the functionality. Instead, we'll rely on digit 1 to 9 skipping 10% to 90% into the video. Closes: #554
* opensubtitles: Re-enable menu item after DownloadKrifa752022-11-291-0/+2
| | | | | | After downloading a subtitle, the menu was disabled. Closes: #532
* main: Fix popup showing up on startupBastien Nocera2022-11-281-1/+1
| | | | | | | The popup shows up in the top-left of the window when starting the application before getting hidden. Make sure it's hidden by default. Fixes: dc0a72b117 ("main: Use template to create TotemSearchEntry")
* main: Merge the main header and fullscreen headerKrifa752022-11-283-117/+49
| | | | | | | | HdyFlap can act as a GtkBox or a GtkOverlay. We make full use of that so that the main header can act as the fullscreen header. With this, we avoid to have two separate header having the same content. Co-authored: Bastien Nocera <hadess@hadess.net>
* Update Russian translationAleksandr Melman2022-11-281-227/+245
|
* opensubtitles: Fix invalid format specifierKrifa752022-11-271-1/+1
| | | | Fixes: 267f18b ("opensubtitles: Fix some pylint warnings")
* main: Simplify playing the current playlist itemBastien Nocera2022-11-261-36/+18
| | | | | | | Simplify a common pattern that: - reads the current mrl and subtitle uri from the playlist - sets the mrl and subtitle uri and plays them, if there's an mrl - or takes another action if there's no mrl
* main: Clean up some code by using g_auto*Bastien Nocera2022-11-261-59/+32
|
* main: Simplify filename handling in totem_setup_window()Bastien Nocera2022-11-251-4/+1
|
* main: Simplify GError handlingBastien Nocera2022-11-251-24/+12
|
* main: Use new playback options iconJakub Steiner2022-11-253-1/+17
| | | | Closes: #429
* main: Use HdyApplicationWindow instead of GtkApplicationWindowKrifa752022-11-252-406/+413
| | | | | | Make sure to hide the windowed headerbar in fullscreen mode, as HdyWindow doesn't have a titlebar, unlike GtkWindow, and the documentation warns us not to use gtk_window_set_titlebar().
* main: Use template to create TotemSearchEntryKrifa752022-11-243-48/+72
|
* main: Use HdyHeaderBar as a base class for TotemMainToolbarKrifa752022-11-244-14/+14
|
* opensubtitles: Re-fix blank dialogue (and traceback)Bastien Nocera2022-11-242-2/+6
| | | | | | | | | | | | Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/gi/overrides/Gtk.py", line 85, in _builder_connect_callback handler, args = _extract_handler_and_args(obj_or_map, handler_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/site-packages/gi/_gtktemplate.py", line 34, in _extract_handler_and_args raise AttributeError('Handler %s not found' % handler_name) AttributeError: Handler Gtk.Widget.hide_on_delete not found Fixes: f2ae04f ("opensubtitles: Fix blank dialogue when reopened")
* opensubtitles: Fix blank dialogue when reopenedBastien Nocera2022-11-241-0/+1
| | | | | | | | | | | | | | | | totem_plugin_load_interface() used to call totem_interface_load_with_full_path() which itself called gtk_builder_connect_signals(). And as we didn't do that anymore when we started loading the file ourselves, gtk_widget_hide_on_delete() wasn't called so the dialogue was destroyed which we didn't expect. With help from Krifa75 <yahiaoui.fakhri@gmail.com> Fixes: 2001dfe ("opensubtitles: Fix dialogue not showing up") Closes: #549
* main: Remove unused totem_interface_create_header_button()Krifa752022-11-243-43/+0
|
* properties: Use HdyWindow instead of GtkDialogKrifa752022-11-233-6/+12
| | | | GtkDialog has been deprecated in Gtk4 so we stop using it.
* properties: Use template to create dialogueKrifa752022-11-234-857/+1043
| | | | | Clean up properties dialogue creation by using template and object properties to fill it in.
* main: Connect to BaconVideoWidget properties in GtkBuilderKrifa752022-11-232-6/+6
|
* main: Set BaconVideoWidget window mask events in GtkBuilderKrifa752022-11-232-3/+1
|
* main: Move BaconVideoWidget signal connection to GtkBuilderKrifa752022-11-232-76/+55
|
* main: Move fullscreen headerbar signal connection to GtkBuilderKrifa752022-11-232-2/+1
|
* main: Move fullscreen headerbar button signal connection to GtkBuilderKrifa752022-11-232-4/+2
|
* main: Bind properties between headerbars in GtkBuilderKrifa752022-11-232-4/+2
|
* main: Move fullscreen headerbar widgets to GtkBuilderKrifa752022-11-232-30/+68
|
* main: Set window mask events in GtkBuilderKrifa752022-11-232-3/+1
|
* main: Move headerbar signals connection to GtkBuilderKrifa752022-11-233-9/+11
|
* main: Move TotemMainToolbar to GtkBuilderKrifa752022-11-232-4/+2
|
* main: Move header bar widgets to GtkBuilderKrifa752022-11-232-49/+126
|
* main: Move volume button signal connection to GtkBuilderKrifa752022-11-232-6/+8
|
* main: Move seekbar signal connection to GtkBuilderKrifa752022-11-232-9/+9
|
* main: Move "Go" button signal connection to GtkBuilderKrifa752022-11-232-3/+5
|
* main: Move the control buttons to GtkBuilderKrifa752022-11-232-56/+77
|
* flatpak: Disable libpeas-gtkKrifa752022-11-231-0/+1
| | | | We don't need libpeas-gtk anymore so let's disable it.
* preferences: Simplify video widget refcountingBastien Nocera2022-11-231-3/+1
|
* preferences: Move the plugins settingsKrifa752022-11-2310-84/+441
| | | | | | | Libpeas-gtk will not be ported to Gtk4, so let's remove the dependency and build the list of plugins ourselves. Closes: #548
* properties: Update item visibilityKrifa752022-11-221-2/+1
| | | | | If a general metadata is not available we hide the items but if we have this info on a update the item was still hidden.
* plugins: Simplify TOTEM_PLUGIN_REGISTER() macroBastien Nocera2022-11-171-19/+5
| | | | Type and register codes aren't used anymore.
* plugins: Remove support for configurable pluginsBastien Nocera2022-11-172-22/+0
| | | | We don't use them internally, and they usually make for bad UI anyway.
* preferences: Allow to disable hardware accelerationKrifa752022-11-172-0/+26
| | | | Closes: #501
* mpris: Work-around some players not handling empty TrackIdBastien Nocera2022-11-161-0/+5
| | | | | | | | | | | | | It's unclear what to pass to the SetPosition() method when the application doesn't implement the TrackList interface and so doesn't have TrackId metadata. Export placeholder "/org/mpris/MediaPlayer2/TrackList/NoTrack" in the meanwhile, which we'll ignore in when SetPosition() is called. See https://gitlab.freedesktop.org/mpris/mpris-spec/-/issues/19 Closes: #538