You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
49fff53e34
git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@140872 d073be05-634f-4543-b044-5fe20cf6d1d6
24 lines
770 B
Diff
24 lines
770 B
Diff
--- plugins/pythonconsole/__init__.py.orig 2015-03-23 15:21:26.000000000 -0700
|
|
+++ plugins/pythonconsole/__init__.py 2015-09-28 13:38:11.000000000 -0700
|
|
@@ -25,6 +25,11 @@
|
|
# Copyright (C), 2005 Adam Hooper <adamh@densi.com>
|
|
# Copyrignt (C), 2005 Raphaƫl Slinckx
|
|
|
|
+import gi
|
|
+
|
|
+gi.require_version('Gtk', '3.0')
|
|
+gi.require_version('Eog', '3.0')
|
|
+gi.require_version('PeasGtk', '1.0')
|
|
from gi.repository import GObject, Gio, GLib, Gtk, Eog, PeasGtk
|
|
|
|
from .console import PythonConsole
|
|
@@ -41,7 +46,7 @@
|
|
PeasGtk.Configurable):
|
|
|
|
# Override EogWindowActivatable's window property
|
|
- window = GObject.property(type=Eog.Window)
|
|
+ window = GObject.Property(type=Eog.Window)
|
|
action_group = None
|
|
|
|
def __init__(self):
|