diff options
author | Yana Stamcheva <yana@jitsi.org> | 2007-01-04 10:54:38 +0000 |
---|---|---|
committer | Yana Stamcheva <yana@jitsi.org> | 2007-01-04 10:54:38 +0000 |
commit | 3c5f1f1979a3a792127a2a9a67d81989de5e7023 (patch) | |
tree | e84a6e9b9803bacb20ed3955cfb5872c4b77c01d /src/net/java | |
parent | 18109d4b9d6e7aae931e1af1984dc96465f81dee (diff) | |
download | jitsi-3c5f1f1979a3a792127a2a9a67d81989de5e7023.zip jitsi-3c5f1f1979a3a792127a2a9a67d81989de5e7023.tar.gz jitsi-3c5f1f1979a3a792127a2a9a67d81989de5e7023.tar.bz2 |
save status information for accounts that don't support presence
Diffstat (limited to 'src/net/java')
-rwxr-xr-x | src/net/java/sip/communicator/impl/gui/main/MainFrame.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/net/java/sip/communicator/impl/gui/main/MainFrame.java b/src/net/java/sip/communicator/impl/gui/main/MainFrame.java index 2dd0ee9..3382ecf 100755 --- a/src/net/java/sip/communicator/impl/gui/main/MainFrame.java +++ b/src/net/java/sip/communicator/impl/gui/main/MainFrame.java @@ -688,7 +688,7 @@ public class MainFrame * as he was the last time before closing the application. */ public void saveStatusInformation(ProtocolProviderService protocolProvider, - PresenceStatus status) + String statusName) { ConfigurationService configService = GuiActivator.getConfigurationService(); @@ -713,7 +713,7 @@ public class MainFrame configService.setProperty( accountRootPropName + ".lastAccountStatus", - status.getStatusName()); + statusName); savedAccount = true; } @@ -732,7 +732,7 @@ public class MainFrame configService.setProperty( accountPackage+".lastAccountStatus", - status.getStatusName()); + statusName); } } @@ -989,14 +989,14 @@ public class MainFrame * @return the last protocol provider presence status, or null if this * provider doesn't support presence operation set */ - public PresenceStatus getProtocolProviderLastStatus( + public Object getProtocolProviderLastStatus( ProtocolProviderService protocolProvider) { if(getProtocolPresence(protocolProvider) != null) return this.statusPanel - .getProtocolProviderLastStatus(protocolProvider); + .getLastPresenceStatus(protocolProvider); else - return null; + return this.statusPanel.getLastStatusString(protocolProvider); } /** |