Skip to content

Commit

Permalink
Changed activate/deactivate to be bound to Gedit App instance - not t…
Browse files Browse the repository at this point in the history
…o Windows.
  • Loading branch information
Niko Lowry committed May 25, 2015
1 parent 6748206 commit 0922331
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions prefer-dark-theme/prefer-dark-theme.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
from gi.repository import GObject, Gedit, Gtk

class PreferDarkThemePlugin(GObject.Object, Gedit.WindowActivatable):
class PreferDarkThemePlugin(GObject.Object, Gedit.AppActivatable):
__gtype_name__ = "PreferDarkPlugin"

window = GObject.property(type=Gedit.Window)

def __init__(self):
GObject.Object.__init__(self)

Expand Down

0 comments on commit 0922331

Please sign in to comment.