mirror of
https://github.com/nmap/nmap.git
synced 2025-12-08 21:51:28 +00:00
Merge #2088: Update Zenmap to Python 3 and PyGObject
Note: Ndiff build will be broken until subsequent changes are made. Deprecation warnings will need to be addressed in future changes. Closes #2088
This commit is contained in:
@@ -57,19 +57,22 @@
|
||||
# * *
|
||||
# ***************************************************************************/
|
||||
|
||||
import gtk
|
||||
import gi
|
||||
|
||||
gi.require_version("Gtk", "3.0")
|
||||
from gi.repository import Gtk
|
||||
|
||||
from radialnet.core.Info import INFO
|
||||
from radialnet.gui.Image import Pixmaps
|
||||
|
||||
|
||||
class AboutDialog(gtk.AboutDialog):
|
||||
class AboutDialog(Gtk.AboutDialog):
|
||||
"""
|
||||
"""
|
||||
def __init__(self):
|
||||
"""
|
||||
"""
|
||||
gtk.AboutDialog.__init__(self)
|
||||
Gtk.AboutDialog.__init__(self)
|
||||
|
||||
self.set_name(INFO['name'])
|
||||
self.set_version(INFO['version'])
|
||||
|
||||
Reference in New Issue
Block a user