mirror of
https://github.com/igniterealtime/Spark.git
synced 2025-12-01 12:27:58 +00:00
SPARK-1235, added Functions to CTRL-E and CTRL-T dialogs
use SwingUtilities.isRightMouseButton rather than MouseEvent.Button3 (are there still people without scrollwheel around?) reformatting SysTrayPlugin.java, to prevent eye-cancer added leftclick to ReconnectPanelSmall adding new Locale Strings for CTRL-E and CTRL-T: label.recent.conversation = Recent Conversations label.frequent.contacts = Frequent Contacts git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@12171 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
committed by
wolf.posdorfer
parent
ae2870d869
commit
1de57b7ecd
@ -41,6 +41,7 @@ import javax.swing.BorderFactory;
|
||||
import javax.swing.JFrame;
|
||||
import javax.swing.JLabel;
|
||||
import javax.swing.JPanel;
|
||||
import javax.swing.SwingUtilities;
|
||||
|
||||
import java.awt.BorderLayout;
|
||||
import java.awt.Component;
|
||||
@ -422,7 +423,7 @@ public class UserManager {
|
||||
|
||||
contactField.getList().addMouseListener(new MouseAdapter() {
|
||||
public void mouseClicked(MouseEvent e) {
|
||||
if(e.getButton() == MouseEvent.BUTTON3)
|
||||
if(SwingUtilities.isRightMouseButton(e))
|
||||
{
|
||||
contactField.setSelectetIndex(e);
|
||||
ContactItem item = contactField.getSelectedContactItem();
|
||||
|
||||
Reference in New Issue
Block a user