diff options
author | Marco Pesenti Gritti <mpg@redhat.com> | 2006-04-21 22:34:41 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <mpg@redhat.com> | 2006-04-21 22:34:41 (GMT) |
commit | 490c146da95c938a0904c96552dc37f0f7221d64 (patch) | |
tree | b9e5ac2cd693b646c2de05f13baa41cd6909e0a6 /shell/example-activity | |
parent | c5a70f1798979c6bfa00e19dee641f39e93f91c8 (diff) |
Ellipsize tabs only when necessary (unknown title size basically)
Diffstat (limited to 'shell/example-activity')
-rw-r--r-- | shell/example-activity/activity.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/shell/example-activity/activity.py b/shell/example-activity/activity.py index 986a91d..8ff6835 100644 --- a/shell/example-activity/activity.py +++ b/shell/example-activity/activity.py @@ -60,7 +60,14 @@ class Activity(dbus.service.Object): def activity_get_gtk_plug(self): return self.__plug - + + def activity_set_ellipsize_tab(self, ellipsize): + self.__activity_object.set_ellipsize_tab(ellipsize) + + @dbus.service.method("com.redhat.Sugar.Activity", \ + in_signature="", \ + out_signature="") + def activity_set_can_close(self, can_close): self.__activity_object.set_can_close(can_close) |