From 1625326838ef2b9ca38662128cad8f415162d609 Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Tue, 5 Jan 2010 12:55:05 +0000 Subject: [PATCH] Support setting the window role --- terminatorlib/window.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/terminatorlib/window.py b/terminatorlib/window.py index de9d6091..d75f689a 100755 --- a/terminatorlib/window.py +++ b/terminatorlib/window.py @@ -56,6 +56,9 @@ class Window(Container, gtk.Window): if forcedtitle is not None: self.title.force_title(forcedtitle) + if role is not None: + self.set_role(role) + def register_callbacks(self): """Connect the GTK+ signals we care about""" self.connect('key-press-event', self.on_key_press)