summaryrefslogtreecommitdiff
path: root/src/totem.c
Commit message (Collapse)AuthorAgeFilesLines
* main: Rely on libX11 initialising threadsBastien Nocera2022-07-181-10/+0
|
* main: Remove UI when XInitThreads() failsBastien Nocera2022-03-311-8/+1
| | | | | We fixed those bugs in Xlib nearly 20 years ago, we should be out of the woods now.
* main: Remove unused header includesBastien Nocera2022-03-311-5/+0
|
* main: Allow translation of development branch app nameBastien Nocera2022-02-031-0/+4
| | | | | | | | 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
* main: Use libhandy to force the dark style preferenceChristopher Davis2022-01-261-0/+2
| | | | | | | Also ensures that we use hc-dark when highcontrast mode is set. Closes: #492
* totem: Remove unused headerGeorges Basile Stavracas Neto2021-06-291-1/+0
| | | | | totem.c doesn't use anything related to the preferences. Remove the include.
* build: Add support for building Nightly versionBastien Nocera2019-09-251-3/+3
| | | | | | | | 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
* data: Rename icon to org.gnome.TotemBastien Nocera2016-04-201-2/+2
| | | | To make it easier to export in xdg-app.
* main: Fix Videos icon not showing in volume controlBastien Nocera2015-03-131-1/+1
| | | | | | | Forcefully set PulseAudio icon property. Seems that PulseAudio's client libraries aren't quite working things out in some cases. https://bugzilla.gnome.org/show_bug.cgi?id=745874
* main: Move GApplication signal handlers to TotemObjectBastien Nocera2014-10-201-119/+0
| | | | Instead of doing this inside the main() file.
* main: Re-implement command-line handlingBastien Nocera2014-10-201-53/+13
| | | | | | | | | Instead of implementing command-line parsing ourselves, use the "handle-local-options" signal along with g_application_add_main_option_entries() to parse command-line options. Command-line options that work with a remote primary instance will be passed over D-Bus with the "remote-command" action.
* main: Make it possible to call app_init multiple timesBastien Nocera2014-10-201-1/+6
| | | | | This avoids us having to look inside the app's implementation to know whether a window had been shown or not.
* main: Move some app init code to totem_object_init()Bastien Nocera2014-10-201-9/+0
|
* main: Remove debug optionBastien Nocera2014-10-201-20/+0
| | | | | Using G_MESSAGES_DEBUG=... or GStreamer's logging facilities yields better results.
* main: Fix opening filesBastien Nocera2014-09-031-1/+1
| | | | | | Caused by the switch to D-Bus activation. https://bugzilla.gnome.org/show_bug.cgi?id=735935
* main: Postpone loading library after playbackBastien Nocera2014-08-171-0/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=728716
* main: Remove GtkUIManager usageBastien Nocera2014-05-301-17/+0
| | | | Plenty of deprecated code gone.
* all: Remove other users of video-utils.hBastien Nocera2014-05-151-1/+0
| | | | As started in 5b8498d98e59d57de0c573231056bac8504277b1
* main: Add support for starting a playlist pausedCosimo Cecchi2014-03-281-0/+1
| | | | | | | | | | Currently, when --pause is specified in the first command line invocation of Totem, the passed-in media will still start. This patch saves the initial state of the pause option to a separate variable, so that when we receive the first playlist changed event, we can avoid starting up the stream if the option was specified. https://bugzilla.gnome.org/show_bug.cgi?id=708184
* Set preferences window modal and transient to main window.Baptiste Mille-Mathias2014-02-081-0/+4
| | | | | | | Changed also the hint of the preference window to dialog else modal/transient properties don't work. https://bugzilla.gnome.org/show_bug.cgi?id=723828
* main: Set CSD titlebar with GriloBastien Nocera2014-01-311-1/+0
|
* grilo: Move grilo plugin to the coreBastien Nocera2014-01-301-0/+1
|
* main: Use app level spinner instead of waiting cursorBastien Nocera2014-01-261-2/+2
| | | | | | 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.
* main: Remove all the sidebar handling codeBastien Nocera2014-01-241-5/+1
|
* main: Remove "show-menubar" hookBastien Nocera2014-01-241-3/+0
| | | | We don't have a menubar anymore.
* main: Simplify setting RTL iconsBastien Nocera2013-09-181-8/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=702631
* main: Add helper function to set RTL iconsBastien Nocera2013-09-181-1/+11
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=702631
* core: Consistently prefix plugin-visible API with “totem_object_”Philip Withnall2013-08-041-7/+7
| | | | Helps: https://bugzilla.gnome.org/show_bug.cgi?id=626399
* main: Set button arrow icons according to locale's text directionYosef Or Boczko2013-07-311-0/+11
| | | | | | | | | | | | | | | | | | | | | | 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: Fixes height < 0 warningsAlban Browaeys2013-07-031-3/+3
| | | | | | | | | | | | | | Show/realizes the main window after the video widget (and removes the realize of the bvw widget). Totem used to show the main window, minus the video widget, and then show the video widget so that any initialisation by the video widget (like registering plugins) would be done with the window visible. That's not the case anymore, so we might as well work around those problems by realizing the video widget in a big enough placeholder. https://bugzilla.gnome.org/show_bug.cgi?id=703095
* Revert "main: Set button arrow icons according to locale's text direction"Bastien Nocera2013-07-011-16/+0
| | | | This reverts commit b75bcc3d9d012182e33703c179051cba140147dc.
* main: Set button arrow icons according to locale's text directionYosef Or Boczko2013-07-011-0/+16
| | | | | | | | | | | | | | | | | | | | | | 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: Add API to add page to the main windowBastien Nocera2013-05-081-0/+1
|
* main: Implement new overlay controlsBastien Nocera2013-04-291-11/+12
| | | | | | | | | | To replace the static controls we currently have. With help from Cosimo Cecchi for the overlay theming. Note that how controls will be shown and hidden will be implemented as part of bug 697897. https://bugzilla.gnome.org/show_bug.cgi?id=694435
* main: Remove recent menu entriesBastien Nocera2013-04-101-2/+0
| | | | | | They're now in the browse section of the Grilo plugin. https://bugzilla.gnome.org/show_bug.cgi?id=697237
* main: Use non-obsolete public functionsBastien Nocera2013-03-191-2/+2
|
* main: Use g_clear_pointer()Bastien Nocera2013-03-131-2/+1
|
* main: Fix build of totem.cSébastien Wilmet2013-03-111-0/+1
| | | | | | | The error was: Undefined symbol: totem_session_try_restore() https://bugzilla.gnome.org/show_bug.cgi?id=695565
* main: Remove unused headerBastien Nocera2013-03-091-1/+0
|
* main: Save the session state on exitBastien Nocera2013-03-091-9/+7
| | | | | | Using a playlist to save the complete state. In the future, we'll check whether the user wants to save the state, and save it more regularly to stave off crashes.
* main: Remove obsolete g_type_init() callBastien Nocera2013-03-081-2/+0
|
* main: Call setlocale() on startup to ensure locale & gettext are initialisedPhilip Withnall2012-12-261-1/+2
| | | | | | | | | | This reverts commit 99966f034601f1b652fec0e7292f5e8940168152 and implements a better fix which doesn’t have the potential to break startup notification. See the discussion in https://bugzilla.gnome.org/show_bug.cgi?id=690705 for details. Closes: https://bugzilla.gnome.org/show_bug.cgi?id=690682
* main: Call gtk_init() on startup to ensure locale and gettext are initialisedPhilip Withnall2012-12-251-0/+1
| | | | | | | | The translated application name passed to g_set_application_name() wasn’t actually being translated because setlocale() hadn’t been called and Totem was still in the C locale. Closes: https://bugzilla.gnome.org/show_bug.cgi?id=690682
* main: Fix spinning cursor when launched through nautilusBastien Nocera2012-10-101-4/+7
| | | | | | | | | | | As in nautilus' bug 664147, DESKTOP_STARTUP_ID was being reset by a call to _gdk_x11_display_make_default() as we were opening the display in the secondary instance, which we didn't need. See also: http://git.gnome.org/browse/nautilus/commit/?h=gnome-3-6&id=629c9bc27ae8f43df35943e25e78c0d5bd39cfae https://bugzilla.gnome.org/show_bug.cgi?id=680046
* main: Stop the cursor spinner when file gets loadedBastien Nocera2012-09-101-0/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=680046
* main: Fix remote Totem exiting when --help was calledBastien Nocera2012-07-131-0/+1
| | | | | | | The age-old bug. Run totem &, and totem --help would exit the already running instance. https://bugzilla.gnome.org/show_bug.cgi?id=679621
* main: Call g_set_prgname() on startupBastien Nocera2012-07-121-0/+1
|
* main: Use new preferences.ui fileBastien Nocera2012-04-271-0/+2
|
* main: Update application nameBastien Nocera2012-04-201-2/+2
| | | | It's now Videos, as per design.
* main: Use grilo to list DVDs and co.Bastien Nocera2012-04-121-1/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=673591