totem r5815 - in trunk: . bindings/python
- From: hadess svn gnome org
- To: svn-commits-list gnome org
- Subject: totem r5815 - in trunk: . bindings/python
- Date: Wed, 3 Dec 2008 15:40:51 +0000 (UTC)
Author: hadess
Date: Wed Dec 3 15:40:51 2008
New Revision: 5815
URL: http://svn.gnome.org/viewvc/totem?rev=5815&view=rev
Log:
2008-12-03 Bastien Nocera <hadess hadess net>
* bindings/python/totem.defs: Add add_to_playlist_and_play to the
bindings, add toggle-aspect and stop to the possible remote commands
Modified:
trunk/ChangeLog
trunk/bindings/python/totem.defs
Modified: trunk/bindings/python/totem.defs
==============================================================================
--- trunk/bindings/python/totem.defs (original)
+++ trunk/bindings/python/totem.defs Wed Dec 3 15:40:51 2008
@@ -62,6 +62,7 @@
'("unknown" "TOTEM_REMOTE_COMMAND_UNKNOWN")
'("play" "TOTEM_REMOTE_COMMAND_PLAY")
'("pause" "TOTEM_REMOTE_COMMAND_PAUSE")
+ '("stop" "TOTEM_REMOTE_COMMAND_STOP")
'("playpause" "TOTEM_REMOTE_COMMAND_PLAYPAUSE")
'("next" "TOTEM_REMOTE_COMMAND_NEXT")
'("previous" "TOTEM_REMOTE_COMMAND_PREVIOUS")
@@ -88,10 +89,10 @@
'("eject" "TOTEM_REMOTE_COMMAND_EJECT")
'("play-dvd" "TOTEM_REMOTE_COMMAND_PLAY_DVD")
'("mute" "TOTEM_REMOTE_COMMAND_MUTE")
+ '("toggle-aspect" "TOTEM_REMOTE_COMMAND_TOGGLE_ASPECT")
)
)
-
;; From totem-plugin.h
(define-function totem_plugin_error_quark
@@ -389,6 +390,17 @@
(return-type "gint64")
)
+(define-method add_to_playlist_and_play
+ (of-object "Totem")
+ (c-name "totem_add_to_playlist_and_play")
+ (return-type "none")
+ (parameters
+ '("const-char*" "uri")
+ '("const-char*" "display_name")
+ '("gboolean" "add_to_recent")
+ )
+)
+
(define-method get_current_mrl
(of-object "TotemObject")
(c-name "totem_get_current_mrl")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]