pitivi r1293 - trunk/pitivi/ui



Author: edwardrv
Date: Sun Sep 28 09:22:28 2008
New Revision: 1293
URL: http://svn.gnome.org/viewvc/pitivi?rev=1293&view=rev

Log:
mainwindow : Don't propose screencast option until dbus features are available in Istanbul

Modified:
   trunk/pitivi/ui/mainwindow.py

Modified: trunk/pitivi/ui/mainwindow.py
==============================================================================
--- trunk/pitivi/ui/mainwindow.py	(original)
+++ trunk/pitivi/ui/mainwindow.py	Sun Sep 28 09:22:28 2008
@@ -226,11 +226,15 @@
                 self.webcam_button = action
             elif action.get_name() == "AdvancedView":
                 if not instance.PiTiVi.settings.advancedModeEnabled:
-                    action.set_visible(False)
+                    action.set_sensitive(False)
+            elif action.get_name() == "Screencast":
+                # FIXME : re-enable this action once istanbul integration is complete
+                # and upstream istanbul has applied packages for proper interaction.
+                action.set_visible(False)
             elif action.get_name() in [
                 "ProjectSettings", "Quit", "File", "Edit", "Help",
                 "About", "View", "FullScreen", "ImportSources",
-                "ImportSourcesFolder", "AdvancedView", "PluginManager","ImportfromCam","NetstreamCapture","Screencast"]:
+                "ImportSourcesFolder", "AdvancedView", "PluginManager","ImportfromCam","NetstreamCapture"]:
                 action.set_sensitive(True)
             elif action.get_name() in ["SaveProject", "SaveProjectAs",
                     "NewProject", "OpenProject"]:



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