[pitivi] Remove the deprecated About dialog URL hook for GTK3



commit 3234fab7fa33b421049adc9005b3e0050a055c2d
Author: Jean-FranÃois Fortin Tam <nekohayo gmail com>
Date:   Mon Jul 30 15:50:48 2012 +0200

    Remove the deprecated About dialog URL hook for GTK3

 pitivi/mainwindow.py |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/pitivi/mainwindow.py b/pitivi/mainwindow.py
index 822e959..ca09ce2 100644
--- a/pitivi/mainwindow.py
+++ b/pitivi/mainwindow.py
@@ -28,7 +28,6 @@ import os
 import gtk
 import gst
 import ges
-import webbrowser
 
 from time import time
 from urllib import unquote
@@ -631,9 +630,6 @@ class PitiviMainWindow(gtk.Window, Loggable):
     def _aboutResponseCb(self, dialog, unused_response):
         dialog.destroy()
 
-    def _showWebsiteCb(self, dialog, uri):
-        webbrowser.open_new(uri)
-
     def _aboutCb(self, unused_action):
         abt = gtk.AboutDialog()
         abt.set_name(APPNAME)
@@ -642,7 +638,6 @@ class PitiviMainWindow(gtk.Window, Loggable):
             abt.set_version("git")
         else:
             abt.set_version(pitivi_version)
-        gtk.about_dialog_set_url_hook(self._showWebsiteCb)
         abt.set_website(APPURL)
         ges_version_str = "GES %i.%i.%i.%i" % (ges.version())
         gst_version_str = "GStreamer %i.%i.%i.%i" % (gst.version())



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