summaryrefslogtreecommitdiff
path: root/src/totem-playlist.c
Commit message (Collapse)AuthorAgeFilesLines
* playlist: Remove extra line feedBastien Nocera2022-02-101-1/+1
|
* playlist: Use GtkBuilder templateBastien Nocera2022-02-101-36/+6
| | | | And remove some UI niceties in the (hidden) debug window.
* playlist: Simplify TotemPlaylist creationBastien Nocera2022-02-101-187/+183
| | | | | Use G_DECLARE_FINAL_TYPE(), remove intermediate private struct and signals declaration in the class struct.
* 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) ```
* playlist: Add "print metadata" button in debug dialogueBastien Nocera2020-04-101-0/+40
|
* main: Don't throw warning when deleting state playlistBastien Nocera2020-03-301-1/+4
| | | | | Don't throw a warning if the playlist that keeps the current state is not present on disk.
* main: Saving playlist asynchronouslyBastien Nocera2020-02-281-15/+37
|
* main: Ignore more file types when parsing playlistsBastien Nocera2019-11-121-0/+7
| | | | | | | Including ignoring more files that could end up next to, but aren't used for video playback, such as text files, and other garbage. See https://gitlab.gnome.org/GNOME/totem-pl-parser/merge_requests/6
* main: Replace deprecated g_type_class_add_private()Gabor Karsay2019-09-261-4/+2
| | | | g_type_class_add_private has been deprecated since GObject 2.58.
* main: Also save unconsumed "start times" to the session playlistBastien Nocera2019-02-171-13/+18
| | | | | | One thing though, TOTEM_PL_PARSER_FIELD_STARTTIME is defined as being "parseable by totem_pl_parser_parse_duration() and this function returns seconds. So make totem_playlist_save_session_playlist() consume seconds.
* main: Use new starttime column in playlistBastien Nocera2019-02-171-27/+1
| | | | | | | | 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: Add totem_playlist_steal_current_starttime()Bastien Nocera2019-02-171-0/+30
| | | | Read, and remove starttime from currently playing entry.
* main: Save the starttime from the playlist parserBastien Nocera2019-02-171-12/+16
|
* main: Use Unicode in translatable stringsPiotr Drąg2017-01-311-1/+1
| | | | | | | | | | 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
* playlist: Remove dead codeBastien Nocera2015-12-041-9/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=750102
* main: Fix some icons not being symbolic anymoreBastien Nocera2014-07-041-1/+1
| | | | | | Hatchet job when we started using GTK+'s automatic RTL icon support. Spotted by jimmac and Lapo.
* main: Remove RTL helpersBastien Nocera2014-05-301-2/+1
| | | | The code now lives directly in GTK+'s GtkIconTheme handling.
* main: Remove GtkUIManager and related usage in playlistBastien Nocera2014-05-301-97/+11
| | | | | The playlist is an internal widget, so crudely replace the popup menu with buttons.
* all: Remove other users of video-utils.hBastien Nocera2014-05-151-1/+0
| | | | As started in 5b8498d98e59d57de0c573231056bac8504277b1
* main: Unmark strings as translatableBastien Nocera2014-02-141-1/+1
| | | | As those aren't user-visible anymore.
* main: Remove drag'n'drop code from the playlistBastien Nocera2014-02-011-173/+1
| | | | As it not used anymore.
* main: Remove unused totem_playlist_save_current_playlist_ext()Bastien Nocera2014-02-011-29/+0
|
* main: Fix warnings with broken grl-filesystem pathsBastien Nocera2014-02-011-46/+21
| | | | | | Report errors from the playlist through TotemObject, not through TotemPlaylist. It doesn't have a toplevel anymore, so can't parent dialogues properly.
* main: Remove totem_playlist_get_toplevel() functionBastien Nocera2014-02-011-9/+3
|
* main: Use app level spinner instead of waiting cursorBastien Nocera2014-01-261-23/+4
| | | | | | Instead of using a waiting cursor when long operations are on-going, use g_application_mark_busy(), which translates to a spinner in the top bar in gnome-shell.
* playlist: Send "current-removed" when clearing playlistBastien Nocera2014-01-261-0/+4
| | | | | Otherwise the video widget isn't cleared, the playing property notify signal isn't sent, etc.
* main: More dead code removalBastien Nocera2014-01-241-9/+0
| | | | | | The View and Sound menus are now empty. The Remove right-click menu for the playlist can also be removed (we can do the same with the toolbar button in that widget).
* main: Remove shuffle settingBastien Nocera2014-01-231-243/+35
| | | | | We now have a shuffle button in the grilo plugin, to allow shuffling the selection.
* main: Don't set the waiting cursor on the playlistBastien Nocera2014-01-231-2/+4
|
* main: Remove drop support from playlistBastien Nocera2014-01-231-115/+0
|
* main: Remove save property from playlistBastien Nocera2014-01-231-7/+1
| | | | Left-over bits from ec64084c71290557819ee007b969f080747e36e5
* main: Remove up/down buttons in playlist widgetBastien Nocera2014-01-231-127/+0
|
* main: Remove "Save playlist" from playlist widgetBastien Nocera2014-01-231-174/+0
| | | | It's completely unused now.
* main: Set button arrow icons according to locale's text directionYosef Or Boczko2013-07-311-1/+2
| | | | | | | | | | | | | | | | | | | | | | go-previous-symbolic in LTR, go-previous-rtl-symbolic in RTL. media-playback-start-symbolic in LTR, media-playback-start-rtl-symbolic in RTL. media-seek-forward-symbolic in LTR, media-seek-forward-rtl-symbolic in RTL. media-seek-backward-symbolic in LTR, media-seek-backward-rtl-symbolic in RTL. media-skip-forward-symbolic in LTR, media-skip-forward-rtl-symbolic in RTL. media-skip-backward-symbolic in LTR, media-skip-backward-rtl-symbolic in RTL. https://bugzilla.gnome.org/show_bug.cgi?id=702631
* all: Drop GtkStock usageBastien Nocera2013-07-221-2/+2
|
* main: Remove "save-playback-state" settingBastien Nocera2013-07-091-36/+1
|
* Revert "main: Set button arrow icons according to locale's text direction"Bastien Nocera2013-07-011-4/+1
| | | | This reverts commit b75bcc3d9d012182e33703c179051cba140147dc.
* main: Set button arrow icons according to locale's text directionYosef Or Boczko2013-07-011-1/+4
| | | | | | | | | | | | | | | | | | | | | | go-previous-symbolic in LTR, go-previous-rtl-symbolic in RTL. media-playback-start-symbolic in LTR, media-playback-start-rtl-symbolic in RTL. media-seek-forward-symbolic in LTR, media-seek-forward-rtl-symbolic in RTL. media-seek-backward-symbolic in LTR, media-seek-backward-rtl-symbolic in RTL. media-skip-forward-symbolic in LTR, media-skip-forward-rtl-symbolic in RTL. media-skip-backward-symbolic in LTR, media-skip-backward-rtl-symbolic in RTL. https://bugzilla.gnome.org/show_bug.cgi?id=702631
* main: Remove complicated tree path comparison codeBastien Nocera2013-03-201-27/+1
|
* main: Simplify freeing lists in playlistBastien Nocera2013-03-181-12/+6
|
* main: Handle cdda:// URIs as normal filesBastien Nocera2013-03-131-1/+0
| | | | | | | | | | | As we don't special-case the audio CDs anywhere anymore, don't block totem-pl-parser from handling it like a directory full of files. This also fixes loads of warnings from the autoload-subtitles plugin when launching totem cdda://sr0/ https://bugzilla.gnome.org/show_bug.cgi?id=685192
* main: Save the starttime in millisecondsBastien Nocera2013-03-131-7/+5
| | | | So that we can have sub-second precision when restoring the session.
* main: Merge finalize into disposeBastien Nocera2013-03-131-12/+1
| | | | The codepaths were similar.
* main: Use g_clear_{pointer,object}Bastien Nocera2013-03-131-42/+10
|
* main: Save the current position when saving sessionBastien Nocera2013-03-111-1/+16
|
* main: Split off saving of the session playlistBastien Nocera2013-03-111-7/+22
| | | | | | We were using the same code as the interactive playlist saving, which meant that error messages popped up in an error dialogue as we were closing the application.
* main: Don't save empty playlistsBastien Nocera2013-03-111-1/+1
|
* main: Rename totem_playlist_save_current_playlist()Bastien Nocera2013-03-111-2/+18
| | | | | | To totem_playlist_save_session_playlist() and make the new function check whether we should be saving the session state.
* main: Add accessors for the save propertyBastien Nocera2013-03-111-0/+17
|
* main: Add key for whether to remember the sessionBastien Nocera2013-03-111-1/+11
|