X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=UI%2FCommon%2FUIxToolbar.m;h=1959aaac6da3a34b11520a4faaf1aa50a0cc43b3;hb=204a5e9e597063c8a01142f01d91f2138f93e5a5;hp=e7fd1009757ff64e50de237cf67cee3e1af468c2;hpb=8b0788e36eaf6cefd6d20e1c4970b7942c76ea60;p=scalable-opengroupware.org diff --git a/UI/Common/UIxToolbar.m b/UI/Common/UIxToolbar.m index e7fd1009..1959aaac 100644 --- a/UI/Common/UIxToolbar.m +++ b/UI/Common/UIxToolbar.m @@ -214,6 +214,15 @@ return image; } +- (NSString *) buttonTooltip +{ + NSString *key; + + key = [[self buttonInfo] valueForKey: @"tooltip"]; + + return [self labelForKey: key]; +} + /* enable/disable buttons */ - (BOOL)isButtonEnabled {