ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/DC/UI/ChatView.pm
(Generate patch)

Comparing deliantra/Deliantra-Client/DC/UI/ChatView.pm (file contents):
Revision 1.15 by elmex, Fri Mar 21 11:17:12 2008 UTC vs.
Revision 1.16 by elmex, Sun Jun 22 13:38:50 2008 UTC

112 $self->{input}->{tooltip} = $self->{entry_tooltip}; 112 $self->{input}->{tooltip} = $self->{entry_tooltip};
113 $self->set_title ($self->{title}); 113 $self->set_title ($self->{title});
114 } 114 }
115} 115}
116 116
117sub update_tooltip {
118 my ($self) = @_;
119 my $t = $self->{text_tooltip}
120 . (defined $self->{dockbar_pos}
121 ? "\n\n<small>Alt+"
122 . ($self->{dockbar_pos} == 10 ? '0' : $self->{dockbar_pos})
123 . " - activates this tab.\n"
124 . "Return - toggles activity of the entry."
125 . "</small>"
126 : "");
127 $self->{c_tab}->set_tooltip ($t);
128}
129
130sub set_dockbar_pos {
131 my ($self, @a) = @_;
132 $self->SUPER::set_dockbar_pos (@a);
133 $self->update_tooltip;
134}
135
117# (private) This method overloads the set_dockbar_tab_active method of 136# (private) This method overloads the set_dockbar_tab_active method of
118# the Dockbar to capture the activation event of the tab. Mainly used 137# the Dockbar to capture the activation event of the tab. Mainly used
119# to remove highlightin. 138# to remove highlightin.
120sub set_dockbar_tab_active { 139sub set_dockbar_tab_active {
121 my ($self, $active) = @_; 140 my ($self, $active) = @_;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines