| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BaconVideoWidget could fail to initialise if GStreamer plugins were
missing, but GStreamer is initialised after options are parsed in the
GtkApplication's ->startup vfunc, which we want to use a GtkBuilder
template for, which has the fallible widget inside it.
This means that we can't be using a GInitable as we don't want to
have unreportable errors during the template creation[1].
Instead, move all the initialisation inside the GObject's _init()
function and add a function to check on its success and propagate an
error.
See https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/4461
|
|
|
|
|
| |
g_object_new() will already have initialised the object struct to all
zeroes, so remove NULL, and 0 assignments, they're unnecessary.
|
| |
|
|
|
|
| |
See https://gitlab.gnome.org/Infrastructure/GitLab/-/issues/545#note_1376925
|
| |
|
| |
|
| |
|
|
|
|
| |
Except for the video widget itself, which requires code.
|
|
|
|
| |
Use G_DECLARE_FINAL_TYPE(), and remove intermediate private struct.
|
|
|
|
| |
Use G_DECLARE_FINAL_TYPE(), and remove intermediate private struct.
|
|
|
|
| |
Use G_DECLARE_FINAL_TYPE(), and remove intermediate private struct.
|
|
|
|
| |
Use G_DECLARE_FINAL_TYPE(), and remove intermediate private struct.
|
|
|
|
| |
tmw_bvw_box contained the video widget and an unused revealer.
|
|
|
|
| |
totem_main_vbox wasn't used anymore, so remove it from the hierarchy.
|
|
|
|
| |
tmw_main_vbox wasn't used anymore, so remove it from the hierarchy.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
If we exited the player with the popups still shown, the timeout to hide
the popups would hide the cursor. Remove the timeouts when switching
away from the player and don't schedule new timeouts.
Closes: #502
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Alt+Tab'ing the window after starting totem without any movies throws
an error:
(totem:511152): Gtk-CRITICAL **: 18:12:59.499: gtk_widget_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed
The widget in question is BaconVideoWidget for which we removed an explicit
gtk_widget_realize() while doing the GL port.
Reinstate that call for GTK 3.
Closes: #503
|
|
|
|
|
|
|
|
|
|
|
| |
Remove the GNOME nightlies as we could not ship all the codecs we
needed. Development versions will now be made available regularly on
Flathub.
Click to install the "Preview" version:
https://flathub.org/beta-repo/appstream/org.gnome.Totem.Devel.flatpakref
Closes: #260
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
When there's no video because we're playing an audio-only file, or
because a plugin is missing, show a placeholder that corresponds to that
type of media.
See https://gitlab.gnome.org/Teams/Design/icon-development-kit/-/issues/44
|
| |
|
|
|
|
|
| |
They were disabled because they broke in clutter-gtk, but now the calls
are obsolete, and the animations work correctly, so remove those calls.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
All user input is now handled in the front-end.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Replace the clutter-gtk based video widget with a native GL GStreamer
widget, "gtkglsink".
- Display aspect-ratio support for non-square pixels was removed. While
it still worked correctly (you can try setting your display's resolution
to a different aspect ratio), things like text and icons, and everything
else in every application and the shell chrome would have been looked
broken, including the video player. Except the video in the video player.
- Video aspect ratio, pillar-boxing, letter-boxing and automatic rotation
is now handled in the GStreamer widget
- The placeholder logos, when playing files with unsupported video, or
no video tracks have been changed.
- Handling of mouse events has been simplified
Some functionality could not be brought forward at this time:
- Crop-zooming (available using the R/T keys) isn't implemented yet
- Gestures support, which never worked properly anyway, wasn't
reimplemented
|
| |
|
| |
|
| |
|
|
|
|
| |
See https://gitlab.gnome.org/GNOME/Initiatives/-/wikis/DevOps-with-Flatpak#adding-a-visual-hint-for-development
|
|
|
|
|
|
|
|
| |
Rather than using an icon, use a string that can be translated as the
app name.
"Preview" will the suffix for that app name until we agree on a common
name in https://gitlab.gnome.org/Teams/Design/os-mockups/-/issues/155
|
|
|
|
|
|
|
|
| |
(totem:2268540): Gtk-CRITICAL **: 21:59:00.013: gtk_style_context_add_provider_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
(totem:2268540): GLib-GObject-WARNING **: 21:59:00.013: invalid (NULL) pointer instance
etc.
Fixes: a784629f446f024bc585a9484fd0e119f7f28fcb
|
| |
|
|
|
|
| |
They were removed in commit 2970e93373b46482d1ddabe01f52a6c0fc2c2b16
|
|
|
|
|
|
| |
We were using the wrong configuration to substitute the application ID.
But appstream-glib validate should have caught this, but didn't:
https://github.com/hughsie/appstream-glib/issues/426
|
|
|
|
| |
We now generate a desktop file with the correct filename.
|
| |
|
|
|
|
| |
So we can reuse variables declared locally in the appdata subfolder.
|
| |
|