diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llfloatergroups.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/linden/indra/newview/llfloatergroups.cpp b/linden/indra/newview/llfloatergroups.cpp index e94734d..f00489c 100644 --- a/linden/indra/newview/llfloatergroups.cpp +++ b/linden/indra/newview/llfloatergroups.cpp | |||
@@ -45,6 +45,7 @@ | |||
45 | #include "message.h" | 45 | #include "message.h" |
46 | #include "roles_constants.h" | 46 | #include "roles_constants.h" |
47 | 47 | ||
48 | #include "hbfloatergrouptitles.h" | ||
48 | #include "llagent.h" | 49 | #include "llagent.h" |
49 | #include "llbutton.h" | 50 | #include "llbutton.h" |
50 | #include "llfloatergroupinfo.h" | 51 | #include "llfloatergroupinfo.h" |
@@ -233,6 +234,8 @@ BOOL LLPanelGroups::postBuild() | |||
233 | 234 | ||
234 | childSetAction("Invite...", onBtnInvite, this); | 235 | childSetAction("Invite...", onBtnInvite, this); |
235 | 236 | ||
237 | childSetAction("Titles...", onBtnTitles, this); | ||
238 | |||
236 | setDefaultBtn("IM"); | 239 | setDefaultBtn("IM"); |
237 | 240 | ||
238 | childSetDoubleClickCallback("group list", onBtnIM); | 241 | childSetDoubleClickCallback("group list", onBtnIM); |
@@ -333,6 +336,12 @@ void LLPanelGroups::onBtnSearch(void* userdata) | |||
333 | if(self) self->search(); | 336 | if(self) self->search(); |
334 | } | 337 | } |
335 | 338 | ||
339 | void LLPanelGroups::onBtnTitles(void* userdata) | ||
340 | { | ||
341 | LLPanelGroups* self = (LLPanelGroups*)userdata; | ||
342 | if(self) self->titles(); | ||
343 | } | ||
344 | |||
336 | void LLPanelGroups::create() | 345 | void LLPanelGroups::create() |
337 | { | 346 | { |
338 | llinfos << "LLPanelGroups::create" << llendl; | 347 | llinfos << "LLPanelGroups::create" << llendl; |
@@ -440,6 +449,12 @@ void LLPanelGroups::invite() | |||
440 | LLFloaterGroupInvite::showForGroup(group_id); | 449 | LLFloaterGroupInvite::showForGroup(group_id); |
441 | } | 450 | } |
442 | 451 | ||
452 | void LLPanelGroups::titles() | ||
453 | { | ||
454 | HBFloaterGroupTitles::toggle(); | ||
455 | } | ||
456 | |||
457 | |||
443 | // static | 458 | // static |
444 | bool LLPanelGroups::callbackLeaveGroup(const LLSD& notification, const LLSD& response) | 459 | bool LLPanelGroups::callbackLeaveGroup(const LLSD& notification, const LLSD& response) |
445 | { | 460 | { |