summaryrefslogtreecommitdiff
path: root/src/totem-object.c
Commit message (Collapse)AuthorAgeFilesLines
* main: Allow passing empty display name to add_to_playlist()Bastien Nocera2021-10-121-1/+1
|
* main: Make XF86Back go back up a level in libraryignapk2020-09-211-1/+6
| | | | | | | | | | | | | | | | Currently XF86Back key triggers the same action as XF86AudioPrev, which is seeking previous media in current playlist. In other GNOME apps like epiphany and nautilus XF86Back is used to navigate back in the UI, which makes totem behaviour inconsistent. On the other hand, totem doesn't have a strong spatial navigation between sections so navigating the playlist is more useful than between pages. With that in mind, make it possible to use XF86Back to go back up a level when in the library. Fixes https://gitlab.gnome.org/GNOME/totem/-/issues/367
* main: Make Alt+Right/Alt+Left workBastien Nocera2020-08-221-0/+25
|
* main: Fix Ctrl+Space shortcut not workingBastien Nocera2020-08-221-0/+4
|
* main: Fix Ctrl+F fullscreen shortcut not workingBastien Nocera2020-08-221-0/+2
|
* main: Re-indent window_key_press_event_cb()Bastien Nocera2020-08-221-10/+8
| | | | Looks like artistic indentation from the noughties.
* main: Add F1 shortcut to the player viewBastien Nocera2020-08-201-0/+3
| | | | It was bizarrely missing.
* main: Replace deprecated gtk_show_uri()Gabor Karsay2019-10-071-1/+1
| | | | | gtk_show_uri_on_window() is the recommended call to be used as it passes information necessary for sandbox helpers to parent their dialogs properly.
* build: Add support for building Nightly versionBastien Nocera2019-09-251-1/+1
| | | | | | | | This includes renaming a few files that mentioned org.gnome.Totem directly as we want the new nightly build to be parallel installable with a stable version, as org.gnome.Totem.Devel. Closes: #359
* main: Present application window if already openUmang Jain2019-05-061-0/+3
| | | | | | This raises the application window on the top of the stack of all the open windows and present it to the user. See gtk_window_present_with_time() documentation for more details.
* main: Add a useful totem_object_stop() APIBastien Nocera2019-02-231-15/+26
| | | | Which behaves like the Stop button on a CD player.
* main: Remove totem_object_stop()Bastien Nocera2019-02-231-18/+10
| | | | | | This API was unusable from outside the core of totem, as it only changed the state of a couple of items in the UI, but not all the ones needed to have the UI "in the right state".
* main: Remove unused TotemTimeLabel widgetBastien Nocera2019-02-191-1/+0
| | | | Unused since the browser plugin was removed.
* main: Use new starttime column in playlistBastien Nocera2019-02-171-11/+14
| | | | | | | | First, to reimplement the "starttime" session restore. This handily removes a variable in the TotemObject. Then use it to implement starttime from any playlist. Closes: #10
* main: Update state of previous/next when chapters info arrivesBastien Nocera2019-02-151-0/+1
| | | | | | | | | | | This fixes the previous/next buttons not being sensitive when a single file with chapter data is read as the "hey, a chapter is available now" would come in later than we usually check. The keyboard shortcuts for previous/next track already worked as whether a chapter marker is available is checked when the key has been pressed. Closes: #215
* main: Add API to track the current "main page"Bastien Nocera2019-02-141-1/+18
| | | | | | The "main page" is either "grilo" when browsing for content, or "player" when playing something back. This property might be of interest to plugins that only want to work in one of those 2 views.
* main: Simplify prev/next button sensitivity with new helpersBastien Nocera2019-02-141-13/+4
|
* main: Add can_seek_{previous,next} APIBastien Nocera2019-02-141-0/+28
|
* main: Don't allow --fullscreen when not playingBastien Nocera2019-02-141-15/+10
| | | | | | | | | | | When running "totem --fullscreen" (whether already running or not), only go fullscreen if playing, not when navigating content, as there's no way to get out of that mode easily. If you relied on this bug for something, use window manager keyboard shortcuts to set the fullscreen state instead. Closes: #197
* main: Fix media player controls not appearing in gnome-shellBastien Nocera2019-02-141-0/+2
| | | | | | | | | | | | | | | | Media player controls in gnome-shell wouldn't appear if totem was first launched normally, and a video selected afterwards, but would work if one double-clicked on a file. The problem was that the controls would only show if the CanPlay MPRIS property was set to true, and the plugin would only change that property if it received a property notification for an MRL being set. Nothing was sending that property notification though. One line later, the property is sent, and the MPRIS plugin works whether or not totem was opened with a double-click. Closes: #208
* main: Make it possible to load subtitles from the command-lineBastien Nocera2019-02-131-11/+36
| | | | | | | | | | | | | | Make commands like: $ totem foo.srt foo.mov or: $ totem foo.mov foo.srt or: $ totem foo.mov followed by: $ totem foo.srt work as expected. Closes: #256
* main: Make Ctrl+W go back before exitingBastien Nocera2019-02-131-9/+13
| | | | | | | | Make Ctrl+W the equivalent to pressing the back button, to return to the content view from the player, or go "up" in the navigation. Ctrl+W will still close the application when back isn't shown anymore. Closes: #280
* main: Remove unused math.h includeBastien Nocera2019-02-071-1/+0
|
* main: Remove "exit thread" work-aroundBastien Nocera2019-02-071-11/+0
| | | | | | | That can't really ever have worked, as calling exit() in the non-main thread caused crashes. Closes: #227
* main: Remove app menuBastien Nocera2019-02-051-1/+16
| | | | | | | | | | | | | | Move items from the app menu to a menu button in the main window. This new hamburger menu will show in the content navigation/selection view and include the same items that were available in the app menu. As we do not want 2 hamburger menus in the player view, duplicate the preferences and keyboard shortcuts menu items in the player menu. See: https://gitlab.gnome.org/GNOME/Initiatives/wikis/App-Menu-Retirement Closes: #265
* main: Change player view menu button iconsBastien Nocera2019-02-051-2/+2
| | | | | | | To accommodate a new main menu in the content navigation view, change the player view menu to use the "view more" icon (3 vertical dots). As that icon was already used for the "Go" menu inside the seekbar OSD, change that one to use the "go jump" icon.
* main: Remove Quit app menu itemBastien Nocera2019-02-041-0/+8
| | | | See https://gitlab.gnome.org/GNOME/Initiatives/wikis/App-Menu-Retirement
* main: Remove unused PROP_REMEMBER_POSITIONBastien Nocera2017-07-171-2/+1
|
* main: Use Unicode in translatable stringsPiotr Drąg2017-01-311-3/+3
| | | | | | | | | | See https://developer.gnome.org/hig/stable/typography.html Also takes the opportunity to make the use of single vs. double quotation marks consistent within totem, as well as with other GNOME apps that use double quotation marks, as GNOME HIG recommends. https://bugzilla.gnome.org/show_bug.cgi?id=774286
* main: Remove obsolete FIXMEBastien Nocera2016-12-051-2/+0
| | | | | | | | | The fullscreen gear menu now appears correctly when activated via the keyboard shortcut (F10). This was likely fixed in commit 80208a2. https://bugzilla.gnome.org/show_bug.cgi?id=723757
* docs: Documentation checking fixesPhilip Withnall2016-11-281-1/+3
| | | | | | | | | | • Add some new symbols to sections.txt, and remove old ones • Add some missing API version indexes to the documentation • Add a few missing documentation comments • Update the list of ignored files to include new headers which are not public API https://bugzilla.gnome.org/show_bug.cgi?id=774446
* main: Set a minimum width for the "Go" menuBastien Nocera2016-11-021-0/+1
| | | | | | It was too narrow and felt cramped. https://bugzilla.gnome.org/show_bug.cgi?id=773811
* data: Rename icon to org.gnome.TotemBastien Nocera2016-04-201-1/+1
| | | | To make it easier to export in xdg-app.
* main: Make playback rate available to pluginsBastien Nocera2016-03-211-0/+29
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=417141
* main: Remove sidebar handling APIBastien Nocera2016-03-111-37/+1
| | | | It was warning for a while, and now it's gone.
* data: Support RTL shortcuts as wellBastien Nocera2015-12-161-1/+1
| | | | | | | And make sure that only the shortcuts for the right direction are shown when creating the shortcuts window. See https://bugzilla.gnome.org/show_bug.cgi?id=759541
* totem-object: Fix segfaultFlorian Müllner2015-12-121-2/+2
| | | | | Commit 80208a260 added a check involving an uninitialized variable, swap the two instructions to fix the resulting crash.
* backend: embed the fullscreen top header bar in the video widgetLionel Landwerlin2015-12-101-55/+12
| | | | | | | | | | | | On wayland the video has its own subsurface. It is directly painted by the compositor on top of Totem's main window. As a result on wayland the top header bar is not visible in fullscreen mode. To solve this issue, we can embed the top header bar in the video widget. This solves this issue nicely by having the same behavior on X11 and Wayland. https://bugzilla.gnome.org/show_bug.cgi?id=758876
* main: Add Ctrl+W shortcut to exitBastien Nocera2015-12-041-0/+9
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=750339
* main: Add shortcuts help windowBastien Nocera2015-11-241-0/+28
| | | | | | It doesn't include shortcuts from optional plugins, yet. http://bugzilla.gnome.org/show_bug.cgi?id=757831
* Revert "main: Bring back video inside the window under Wayland"Lionel Landwerlin2015-09-151-20/+0
| | | | | | | | | This reverts commit 6051dd76ac5e1738e00cbb677aeadea32e3df3be. Now that Clutter/Clutter-Gtk work correctly with the GDK backend of Clutter, we can revert this. https://bugzilla.gnome.org/show_bug.cgi?id=754937
* main: Bring back video inside the window under WaylandBastien Nocera2015-08-241-0/+20
| | | | | | | Working around the lack of subsurface support in clutter's GDK backend by forcing the wayland backend when GTK+ uses the Wayland backend. See https://bugzilla.gnome.org/show_bug.cgi?id=752143
* main: Fix thumbnailing starting when launching with a videoBastien Nocera2015-04-231-10/+14
| | | | | | | | | | | | | | We were previously relying on optionstate.filenames being non-NULL to avoid starting thumbnailing when the user opened the player with a video, but that actually caused doubly-adding those files passed on the command-line, and didn't work when the Open() GApplication method was used. Use a separate option to keep track of whether to start populating the grilo icon view and thumbnailing, so that thumbnailing doesn't hamper playback performance. https://bugzilla.gnome.org/show_bug.cgi?id=746165
* main: Disable popover transitions for video menusBastien Nocera2015-03-131-0/+5
| | | | | | | The underlying clutter-gst/clutter-gtk widget doesn't like transparent widgets on top of it. https://bugzilla.gnome.org/show_bug.cgi?id=745819
* main: Always use a popover for menu buttonsBastien Nocera2015-03-131-3/+0
|
* main: Fix Totem doubling files added on the cmd lineBastien Nocera2015-01-061-0/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=740995
* main: Show popup when seeking with the keyboardBastien Nocera2014-12-071-1/+8
| | | | | | So that we can know where in the film we are. https://bugzilla.gnome.org/show_bug.cgi?id=728735
* main: Keep the controls visible when seeking with the sliderBastien Nocera2014-11-251-0/+3
| | | | | | | | When seeking with the handle, mark the popup as busy so it's not hidden, remove the business when releasing the slider handle, or when an error occurs. https://bugzilla.gnome.org/show_bug.cgi?id=732711
* main: Handle "Powerpoint" buttons on remotesBastien Nocera2014-11-251-3/+13
| | | | | | | | | | | | Some remotes, including the Logitech Presenter R800: http://www.logitech.com/en-us/product/professional-presenter-r800-business have a number of buttons bound to make it easier to use Powerpoint presentations. We bind some of the buttons used on those presenters to functions in Totem to allow starting/stopping playback and seeking. https://bugzilla.gnome.org/show_bug.cgi?id=704608
* main: Skip tracks when using 2-finger swipesBastien Nocera2014-11-251-0/+12
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=697896