Commit 187f480a authored by Edward Hervey's avatar Edward Hervey

Reviewed by: Edward Hervey <bilboed@bilboed.com>

* pitivi/ui/mainwindow.py: (PitiviMainWindow.about_cb):
Added about dialog


git-svn-id: svn+ssh://svn.gnome.org/svn/pitivi/trunk@636 d3729300-e425-0410-8a4c-d956edccc248
parent fda04e14
2005-06-03 Jono Bacon <jonobacon@gmail.com>
Reviewed by: Edward Hervey <bilboed@bilboed.com>
* pitivi/ui/mainwindow.py: (PitiviMainWindow.about_cb):
Added about dialog
2005-05-09 Edward Hervey <bilboed@bilboed.com>
* docs/design/timeline.txt:
......
......@@ -64,7 +64,7 @@ class PitiviMainWindow(gtk.Window):
self.actiongroup.add_actions (self.actions)
# deactivating non-functional actions
for action in self.actiongroup.list_actions():
if action.get_name() in ["ProjectSettings", "Quit", "File", "Help"]:
if action.get_name() in ["ProjectSettings", "Quit", "File", "Help", "About"]:
action.set_sensitive(True)
else:
action.set_sensitive(False)
......@@ -136,6 +136,14 @@ class PitiviMainWindow(gtk.Window):
def about_cb(self, action):
print "About..."
abt = gtk.AboutDialog()
abt.set_name("PiTiVi")
abt.set_version("v%s" % PITIVI_VERSION)
abt.set_website("http://www.pitivi.org/")
authors = ["Edward Hervey" ]
abt.set_authors(authors)
abt.set_license("GNU Lesser Public License\nSee http://www.gnu.org/copyleft/lesser.html for more details")
abt.show()
def _new_project_cb(self, pitivi, project):
print "Starting up a new project", project
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment