summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* lib: Remove obsolete screensaver inhibition codeBastien Nocera2012-03-283-619/+0
|
* lib: Fix possibly broken behaviourBastien Nocera2011-12-041-1/+1
|
* scrsaver: Don't send out X11 events if not focusedBastien Nocera2011-09-051-0/+7
| | | | | | Should stop OpenOffice menus popping up. https://bugzilla.gnome.org/show_bug.cgi?id=654250
* scrsaver: Force gnome-session being presentBastien Nocera2011-09-051-1/+1
| | | | | | If gnome-session isn't present, we should error out earlier. https://bugzilla.gnome.org/show_bug.cgi?id=656988
* lib: Don't unhibit with '0' as the cookieBastien Nocera2011-03-101-8/+10
|
* lib: Add "window" property for screensaver inhibitorBastien Nocera2011-03-101-43/+36
| | | | So that we can pass the actual top-level window to the session.
* lib: Use gnome-session to Inhibit idleBastien Nocera2011-03-101-6/+12
|
* lib: Remove support for old screensaver APIBastien Nocera2011-03-101-36/+4
|
* lib: Fix refcount when trying the old Inhibit methodBastien Nocera2011-03-101-2/+2
|
* Fix assertions on entry to TotemScrsaver methodsPhilip Withnall2011-03-091-3/+3
|
* lib: Fix warning when there's no reason setBastien Nocera2011-02-221-1/+2
| | | | And D-Bus shows up.
* scrsaver: Disable even when fullscreen comes quickBastien Nocera2011-02-211-0/+3
| | | | | | | | | As the screensaver might be disabled before we get access to the D-Bus proxy, try again after we have the proxy. Spotted by Chris Coulson. https://bugzilla.gnome.org/show_bug.cgi?id=630711
* Don't use GDK_DISPLAY()Matthias Clasen2010-09-151-20/+20
| | | | It's been deprecated as part of the GTK+ 3 work. Closes: bgo#629758
* Clean up lib/Makefile.amPhilip Withnall2010-09-051-24/+11
|
* Add git.mk supportPhilip Withnall2010-09-041-0/+1
| | | | Add git.mk from Pango to automatically generate and update .gitignore files.
* Use GSettings binding for the preferencesPhilip Withnall2010-09-041-1/+0
|
* Ref TotemScreensaver so it's still valid in the cbBastien Nocera2010-08-051-0/+7
| | | | | | | | Especially on exit, we need to keep our own reference of the screensaver object, or it might disappear by the time we receive the callback from GDBus. https://bugzilla.gnome.org/show_bug.cgi?id=626092
* [scrsaver] Adapt to GDBus API changeFlorian Müllner2010-06-181-37/+40
| | | | | | | The g_bus_watch_proxy/g_bus_unwatch_proxy API has been removed. Instead, it is now possible to use well-known names for GBusProxy. https://bugzilla.gnome.org/show_bug.cgi?id=621445
* Fix up screensaver supportBastien Nocera2010-06-122-128/+232
| | | | | Copy evince screensaver code, and add the ability to set the reason outside the module itself.
* Port TotemScrsaver to GDBusChristian Persch2010-06-111-103/+97
| | | | | | (Untested) Bug #618244.
* Fix disabling of the screensaver in the browser pluginBastien Nocera2009-10-161-2/+1
| | | | | | Did this ever work? Probably not... https://bugzilla.gnome.org/show_bug.cgi?id=554750
* Fix screensaver code warningsBastien Nocera2009-10-161-2/+6
| | | | | | | | | Avoid warnings because of our re-use of GErrors. When the "new" (-ish) APIs of gnome-screensaver fail, don't overwrite the existing GError, and print the original error. https://bugzilla.gnome.org/show_bug.cgi?id=598173
* And delete totem_internal.h too, thanks ChristianBastien Nocera2009-03-311-16/+0
| | | | | | | | | | 2009-04-01 Bastien Nocera <hadess@hadess.net> * lib/totem_internal.h: And delete totem_internal.h too, thanks Christian svn path=/trunk/; revision=6212
* Remove unused file (Closes: #577538)Bastien Nocera2009-03-311-57/+0
| | | | | | | | | 2009-04-01 Bastien Nocera <hadess@hadess.net> * lib/asprintf.c: Remove unused file (Closes: #577538) svn path=/trunk/; revision=6211
* Cleanups to fix a few warnings when building with more gcc warning flagsPhilip Withnall2009-01-041-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-01-04 Philip Withnall <philip@tecnocode.co.uk> * data/mime-type-include.sh: * lib/totem-scrsaver.c: * src/backend/bacon-resize.c: * src/backend/bvw-test.c (test_bvw_set_mrl): * src/backend/video-utils.c (totem_time_to_string): * src/plugins/gromit/totem-gromit.c (totem_gromit_ensure_config_file): * src/plugins/media-player-keys/totem-media-player-keys.c: * src/plugins/ontop/totem-ontop.c: * src/plugins/properties/bacon-video-widget-properties.c: * src/plugins/properties/totem-movie-properties.c: * src/plugins/screensaver/totem-screensaver.c: * src/plugins/screenshot/totem-gallery-progress.c: * src/plugins/screenshot/totem-gallery.c: * src/plugins/screenshot/totem-screenshot-plugin.c: * src/plugins/screenshot/totem-screenshot.c: * src/plugins/sidebar-test/totem-sidebar-test.c: * src/plugins/skipto/totem-skipto-plugin.c: * src/plugins/skipto/totem-skipto.c: * src/plugins/thumbnail/totem-thumbnail.c: * src/plugins/totem-module.c: * src/plugins/totem-plugin.h: * src/plugins/totem-plugins-engine.c (garbage_collect_cb): * src/plugins/totem-python-module.c (totem_python_module_init_python), (totem_python_garbage_collect), (totem_python_shutdown): * src/plugins/tracker/totem-tracker-widget.c: * src/plugins/tracker/totem-tracker.c: * src/totem-fullscreen.c: * src/totem-menu.c: * src/totem-open-location.c: * src/totem-options.c (option_version_cb): * src/totem-playlist.c: * src/totem-preferences.c (tpw_color_reset_clicked_cb): * src/totem-properties-view.c: * src/totem-resources.c: * src/totem-session.c: * src/totem-statusbar.c: * src/totem-subtitle-encoding.c: * src/totem-time-label.c: * src/totem-uri.c (totem_uri_get_subtitle_for_uri): * src/totem-video-indexer.c: * src/totem.c (main_window_destroy_cb): Cleanups to fix a few warnings when building with more gcc warning flags than normal. (Closes: #565874) svn path=/trunk/; revision=5895
* Use g_timeout_add_seconds instead of g_timeout_add for a couple of nonBastien Nocera2008-12-101-6/+5
| | | | | | | | | | | | | 2008-12-10 Bastien Nocera <hadess@hadess.net> * browser-plugin/totemPlugin.cpp: * lib/totem-scrsaver.c (screensaver_disable_x11): * src/totem-statusbar.c (totem_statusbar_push): Use g_timeout_add_seconds instead of g_timeout_add for a couple of non time critical places svn path=/trunk/; revision=5845
* Big patch from Christian Persch <chpe@gnome.org> to remove the libgnomeBastien Nocera2008-10-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-10-07 Bastien Nocera <hadess@hadess.net> * bindings/python/Makefile.am: * browser-plugin/Makefile.am: * configure.in: * lib/Makefile.am: * src/Makefile.am: * src/backend/Makefile.am: * src/plugins/Makefile.am: * src/plugins/bemused/Makefile.am: * src/plugins/galago/Makefile.am: * src/plugins/gromit/Makefile.am: * src/plugins/lirc/Makefile.am: * src/plugins/media-player-keys/Makefile.am: * src/plugins/mythtv/Makefile.am: * src/plugins/ontop/Makefile.am: * src/plugins/properties/Makefile.am: * src/plugins/publish/Makefile.am: * src/plugins/sample-vala/Makefile.am: * src/plugins/screensaver/Makefile.am: * src/plugins/sidebar-test/Makefile.am: * src/plugins/skipto/Makefile.am: * src/plugins/skipto/totem-skipto.c: * src/plugins/thumbnail/Makefile.am: * src/plugins/tracker/Makefile.am: * src/totem-interface.c (totem_interface_error), (totem_interface_error_with_link): * src/totem-options.c (option_version_cb): * src/totem-session.c (totem_save_state_cb), (totem_quit_cb), (totem_session_setup), (totem_session_restore): * src/totem.c (about_url_hook), (about_email_hook), (main): * src/update-from-egg.sh: Big patch from Christian Persch <chpe@gnome.org> to remove the libgnome dependencies (Closes: #554226) svn path=/trunk/; revision=5753
* Update FSF address (Closes: #518264)Bastien Nocera2008-04-242-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-04-24 Bastien Nocera <hadess@hadess.net> * browser-plugin/idl/totemIBasicPlayer.idl: * browser-plugin/idl/totemIComplexPlayer.idl: * browser-plugin/idl/totemICone.idl: * browser-plugin/idl/totemIConeAudio.idl: * browser-plugin/idl/totemIConeInput.idl: * browser-plugin/idl/totemIConePlaylist.idl: * browser-plugin/idl/totemIConePlaylistItems.idl: * browser-plugin/idl/totemIConeVideo.idl: * browser-plugin/idl/totemIGMPControls.idl: * browser-plugin/idl/totemIGMPError.idl: * browser-plugin/idl/totemIGMPErrorItem.idl: * browser-plugin/idl/totemIGMPMedia.idl: * browser-plugin/idl/totemIGMPPlayer.idl: * browser-plugin/idl/totemIGMPPlayerApplication.idl: * browser-plugin/idl/totemIGMPPlaylist.idl: * browser-plugin/idl/totemIGMPPlaylistArray.idl: * browser-plugin/idl/totemIGMPPlaylistCollection.idl: * browser-plugin/idl/totemIGMPSettings.idl: * browser-plugin/idl/totemIMullYPlayer.idl: * browser-plugin/idl/totemINarrowSpacePlayer.idl: * browser-plugin/totem-glow-button.c: * browser-plugin/totem-glow-button.h: * browser-plugin/totem-plugin-viewer-constants.h: * browser-plugin/totem-plugin-viewer-options.h: * browser-plugin/totem-plugin-viewer.c: * browser-plugin/totemBasicPlugin.cpp: * browser-plugin/totemBasicPlugin.h: * browser-plugin/totemClassInfo.h: * browser-plugin/totemComplexPlugin.cpp: * browser-plugin/totemComplexPlugin.h: * browser-plugin/totemConePlugin.cpp: * browser-plugin/totemConePlugin.h: * browser-plugin/totemDebug.h: * browser-plugin/totemGMPError.cpp: * browser-plugin/totemGMPError.h: * browser-plugin/totemGMPPlaylist.cpp: * browser-plugin/totemGMPPlaylist.h: * browser-plugin/totemGMPPlugin.cpp: * browser-plugin/totemGMPPlugin.h: * browser-plugin/totemGMPSettings.cpp: * browser-plugin/totemGMPSettings.h: * browser-plugin/totemMullYPlugin.cpp: * browser-plugin/totemMullYPlugin.h: * browser-plugin/totemNarrowSpacePlugin.cpp: * browser-plugin/totemNarrowSpacePlugin.h: * browser-plugin/totemPlugin.cpp: * browser-plugin/totemPlugin.h: * browser-plugin/totemPluginGlue.cpp: * browser-plugin/totemPluginGlue.h: * browser-plugin/totemStringGlue.h: * lib/totem-scrsaver.c: * lib/totem-scrsaver.h: * src/backend/bacon-resize.c: * src/backend/bacon-resize.h: * src/backend/bacon-video-widget-common.c: * src/backend/bacon-video-widget-common.h: * src/backend/bacon-video-widget-gst-0.10.c: * src/backend/bacon-video-widget-gst-missing-plugins.c: * src/backend/bacon-video-widget-gst-missing-plugins.h: * src/backend/bacon-video-widget-xine.c: * src/backend/bacon-video-widget.h: * src/backend/gstscreenshot.c: * src/backend/gstscreenshot.h: * src/bacon-message-connection.c: * src/bacon-message-connection.h: * src/ev-sidebar.c: * src/ev-sidebar.h: * src/plugins/bemused/totem-bemused.c: * src/plugins/galago/totem-galago.c: * src/plugins/gromit/totem-gromit.c: * src/plugins/lirc/totem-lirc.c: * src/plugins/media-player-keys/totem-media-player-keys.c: * src/plugins/mythtv/totem-mythtv.c: * src/plugins/ontop/totem-ontop.c: * src/plugins/properties/bacon-video-widget-properties.c: * src/plugins/properties/bacon-video-widget-properties.h: * src/plugins/properties/totem-movie-properties.c: * src/plugins/publish/totem-publish.c: * src/plugins/screensaver/totem-screensaver.c: * src/plugins/sidebar-test/totem-sidebar-test.c: * src/plugins/skipto/totem-skipto-plugin.c: * src/plugins/skipto/totem-skipto-plugin.h: * src/plugins/skipto/totem-skipto.c: * src/plugins/skipto/totem-skipto.h: * src/plugins/thumbnail/totem-thumbnail.c: * src/plugins/tracker/totem-tracker.c: * src/totem-audio-preview.c: * src/totem-cell-renderer-video.c: * src/totem-cell-renderer-video.h: * src/totem-fullscreen.c: * src/totem-fullscreen.h: * src/totem-interface.c: * src/totem-interface.h: * src/totem-menu.c: * src/totem-menu.h: * src/totem-object.c: * src/totem-open-location.c: * src/totem-open-location.h: * src/totem-options.c: * src/totem-options.h: * src/totem-playlist.c: * src/totem-playlist.h: * src/totem-preferences.c: * src/totem-preferences.h: * src/totem-private.h: * src/totem-resources.c: * src/totem-resources.h: * src/totem-screenshot.c: * src/totem-screenshot.h: * src/totem-session.c: * src/totem-session.h: * src/totem-sidebar.c: * src/totem-sidebar.h: * src/totem-statusbar.c: * src/totem-statusbar.h: * src/totem-subtitle-encoding.c: * src/totem-uri.c: * src/totem-uri.h: * src/totem-video-indexer.c: * src/totem-video-list.c: * src/totem-video-list.h: * src/totem-video-thumbnailer.c: * src/totem.c: * src/totem.h: * src/totem_mozilla_scripting.idl: Update FSF address (Closes: #518264) svn path=/trunk/; revision=5373
* Move to totem-pl-parser moduleBastien Nocera2007-12-031-9/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-12-03 Bastien Nocera <hadess@hadess.net> * plparse/*: * totem-plparser-uninstalled.pc.in: * totem-plparser.pc.in: Move to totem-pl-parser module * Makefile.am: * bindings/python/totem.override: * browser-plugin/Makefile.am: * configure.in: * lib/Makefile.am: * src/Makefile.am: * src/backend/bacon-video-widget.h: * src/totem-playlist.h: * src/totem.c: * src/totem.h: Update includes and configure to use the external totem-pl-parser (Closes: #462153) 2007-12-03 Bastien Nocera <hadess@hadess.net> * POTFILES.in: remove removed files svn path=/trunk/; revision=4942
* upd 2.21.1 Fix extraneous character breaking the buildV_2_21_2Bastien Nocera2007-11-121-1/+1
| | | | | | | | | | | 2007-11-12 Bastien Nocera <hadess@hadess.net> * NEWS: upd * configure.in: 2.21.1 * lib/Makefile.am: Fix extraneous character breaking the build svn path=/trunk/; revision=4862
* Fix compilation on Solaris, which lacks asprintf, based on patch by DamienBastien Nocera2007-11-053-1/+85
| | | | | | | | | | | | | | | | | 2007-11-05 Bastien Nocera <hadess@hadess.net> * configure.in: * lib/Makefile.am: * lib/asprintf.c: (totem_private_asprintf): * lib/totem_internal.h: * src/plparse/Makefile.am: * src/plparse/xmlparser.c: (xml_parser_get_node_internal): Fix compilation on Solaris, which lacks asprintf, based on patch by Damien Carbery <damien.carbery@sun.com> (Closes: #492074) svn path=/trunk/; revision=4854
* Fix crash when there's no screensaver objects, and add assertion guards inBastien Nocera2007-09-261-0/+6
| | | | | | | | | | | | | 2007-09-26 Bastien Nocera <hadess@hadess.net> * browser-plugin/totem-plugin-viewer.c: (totem_embedded_set_state): * lib/totem-scrsaver.c: (totem_scrsaver_disable), (totem_scrsaver_enable), (totem_scrsaver_set_state): Fix crash when there's no screensaver objects, and add assertion guards in totem-scrsaver.c (Closes: #480558) svn path=/trunk/; revision=4735
* Move those files to src/plugins/galagoBastien Nocera2007-04-123-191/+1
| | | | | | | | | | | | | | | | | 2007-04-12 Bastien Nocera <hadess@hadess.net> * lib/totem-galago.c: * lib/totem-galago.h: Move those files to src/plugins/galago * lib/Makefile.am: * src/plugins/galago/Makefile.am: Update for the file move above Fixes build without galago available svn path=/trunk/; revision=4219
* Don't print errors when we can't set the status as Galago isn't available,Bastien Nocera2007-04-111-3/+5
| | | | | | | | | | | | 2007-04-11 Bastien Nocera <hadess@hadess.net> * lib/totem-galago.c: (totem_galago_init), (totem_galago_set_idleness), (totem_galago_finalize): Don't print errors when we can't set the status as Galago isn't available, we already printed out an error in _init() svn path=/trunk/; revision=4215
* Patch from Philip Withnall <bugzilla@tecnocode.co.uk> to add a GalagoBastien Nocera2007-04-113-2/+189
| | | | | | | | | | | | | | | | | | 2007-04-11 Bastien Nocera <hadess@hadess.net> * configure.in: * lib/Makefile.am: * lib/totem-galago.[ch]: * lib/totem-galago.h: * src/plugins/Makefile.am: * src/plugins/galago/*: Patch from Philip Withnall <bugzilla@tecnocode.co.uk> to add a Galago plugin that will set your IM status as away when playing a film in fullscreen (Closes: #427580) svn path=/trunk/; revision=4214
* Turn Totem into a TotemObject, remove calling the screensaver directly,Bastien Nocera2007-04-033-0/+536
2007-04-04 Bastien Nocera <hadess@hadess.net> * Makefile.am: * configure.in: * data/Makefile.am: * data/plugins.glade: * data/totem-ui.xml: * data/totem.schemas.in: * src/Makefile.am: * src/plugins/*: * src/totem-menu.c: (totem_plugins_window_delete_cb), (totem_plugins_response_cb), (plugins_action_callback): * src/totem-object.c: (totem_object_class_init), (totem_object_init), (totem_object_finalize), (totem_object_set_property), (totem_object_get_property): * src/totem-private.h: * src/totem.c: (play_pause_set_label), (totem_action_play), (totem_action_seek), (totem_action_stop), (totem_action_play_pause), (totem_action_pause), (window_state_event_cb), (totem_action_seek_relative), (commit_hide_skip_to), (totem_is_playing), (on_eos_event), (video_widget_create), (main): * src/totem.h: Turn Totem into a TotemObject, remove calling the screensaver directly, and emit property notifies when switching to fullscreen, or playing/stopping playing, Add a plugin system, Move the screensaver handling to a builtin plugin. * src/totem-scrsaver.c: * src/totem-scrsaver.h: Move to... * lib/*: ...here * src/backend/bacon-video-widget-xine.c: (bacon_video_widget_class_init): Some cleanups * src/totem-interface.c: (totem_interface_boldify_label): * src/totem-interface.h: Add totem_interface_boldify_label() * src/totem-uri.c: (totem_dot_dir): * src/totem-uri.h: Add the totem_dot_dir svn path=/trunk/; revision=4190