summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--bindings/python/totem.defs14
2 files changed, 18 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 3b5de820b..2e498a712 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
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
+
+2008-12-03 Bastien Nocera <hadess@hadess.net>
+
* configure.in: Patch from DJ Lucas
<blfs-dev@lfs.lucasit.com> to allow building the browser plugin
when X11 isn't in the defined include dirs already (Closes: #563087)
diff --git a/bindings/python/totem.defs b/bindings/python/totem.defs
index 8cc287b27..e13223a87 100644
--- a/bindings/python/totem.defs
+++ b/bindings/python/totem.defs
@@ -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")