gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] /srv/bzr/gnash/trunk r10856: Pass variables to the movie


From: Tomeu Vizoso
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r10856: Pass variables to the movie in the gtk widget.
Date: Tue, 28 Apr 2009 20:53:40 +0200
User-agent: Bazaar (1.5)

------------------------------------------------------------
revno: 10856
committer: Tomeu Vizoso <address@hidden>
branch nick: gnash
timestamp: Tue 2009-04-28 20:53:40 +0200
message:
  Pass variables to the movie in the gtk widget.
modified:
  gui/pythonmod/gnash-view.cpp
=== modified file 'gui/pythonmod/gnash-view.cpp'
--- a/gui/pythonmod/gnash-view.cpp      2009-04-28 09:44:25 +0000
+++ b/gui/pythonmod/gnash-view.cpp      2009-04-28 18:53:40 +0000
@@ -446,6 +446,10 @@
     gtk_widget_queue_resize (GTK_WIDGET(view));
 
     std::auto_ptr<gnash::Movie> mr ( view->movie_definition->createMovie() );
+    
+    std::map<std::string, std::string> variables;
+    gnash::URL::parse_querystring(url.querystring(), variables);
+    mr->setVariables(variables);
 
     view->stage->setRootMovie( mr.release() ); // will construct the instance
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]