diff options
author | Denis Serdjuk <dserduk@productengine.com> | 2009-12-30 17:37:45 +0200 |
---|---|---|
committer | Denis Serdjuk <dserduk@productengine.com> | 2009-12-30 17:37:45 +0200 |
commit | 8da7889400a9dfeeefc5b9d7f9fb72aa093ae029 (patch) | |
tree | 40ab649f3907ba59f7e765800b079f991ffc4cab /indra/newview/llchiclet.h | |
parent | 5eb4d0b219ed0dd9928ecbcfbffe19fbaa318f22 (diff) |
fixed bug EXT-3722 New IM & Notification buttons can be clicked on, even when there's nothing to see
Note:
It was decided to handle an enabling of buttons from syswellwindow according to his empty state
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llchiclet.h')
-rw-r--r-- | indra/newview/llchiclet.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llchiclet.h b/indra/newview/llchiclet.h index ee9db10525..542fec2417 100644 --- a/indra/newview/llchiclet.h +++ b/indra/newview/llchiclet.h @@ -825,6 +825,8 @@ public: void setToggleState(BOOL toggled); void setNewMessagesState(bool new_messages); + //this method should change a widget according to state of the SysWellWindow + virtual void updateWidget(bool is_window_empty); protected: @@ -930,7 +932,7 @@ protected: // methods for updating a number of unread System notifications void incUreadSystemNotifications() { setCounter(++mUreadSystemNotifications); } void decUreadSystemNotifications() { setCounter(--mUreadSystemNotifications); } - + /*virtual*/ void setCounter(S32 counter); S32 mUreadSystemNotifications; }; |