From 2eb0a23a93e023d35cd532d0b4a344a575a2ecc3 Mon Sep 17 00:00:00 2001
From: Aleksey Lim <alsroot@member.fsf.org>
Date: Mon, 30 Mar 2009 15:14:12 +0000
Subject: "share or invite" hint even on resume of shared instance #402
---
pippy_app.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/pippy_app.py b/pippy_app.py
index 215f349..9609cdb 100644
a
|
b
|
class Chat(ViewSourceActivity): |
87 | 87 | self._one_to_one_connection(handle.uri) |
88 | 88 | else: |
89 | 89 | # we are creating the activity |
90 | | self._alert(_('Off-line'), _('Share, or invite someone.')) |
| 90 | if not handle.object_id: |
| 91 | # if we creating new session |
| 92 | self._alert(_('Off-line'), _('Share, or invite someone.')) |
91 | 93 | self.connect('shared', self._shared_cb) |
92 | 94 | |
93 | 95 | def _shared_cb(self, activity): |