mirror of
https://github.com/igniterealtime/Spark.git
synced 2025-12-01 12:27:58 +00:00
SPARK-621 Clicking on a user's avatar, then view full profile brings up "edit profile information"
git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@7683 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
@ -400,7 +400,6 @@ public class ChatManager implements MessageEventNotificationListener {
|
|||||||
final ChatManager chatManager = SparkManager.getChatManager();
|
final ChatManager chatManager = SparkManager.getChatManager();
|
||||||
Iterator filters = chatManager.getMessageFilters().iterator();
|
Iterator filters = chatManager.getMessageFilters().iterator();
|
||||||
try {
|
try {
|
||||||
getChatContainer().getChatRoom(StringUtils.parseBareAddress(message.getFrom()));
|
|
||||||
cancelledNotification(message.getFrom(), "");
|
cancelledNotification(message.getFrom(), "");
|
||||||
}
|
}
|
||||||
catch (Exception e) {
|
catch (Exception e) {
|
||||||
|
|||||||
@ -144,6 +144,7 @@ public class PersonalPanel extends JPanel {
|
|||||||
Component comp = comps[i];
|
Component comp = comps[i];
|
||||||
if (comp instanceof JTextField) {
|
if (comp instanceof JTextField) {
|
||||||
((JTextField)comp).setEditable(allowEditing);
|
((JTextField)comp).setEditable(allowEditing);
|
||||||
|
comp.setEnabled(allowEditing);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -182,7 +182,7 @@ public class VCardEditor {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Create the title panel for this dialog
|
// Create the title panel for this dialog
|
||||||
titlePanel = new TitlePanel(Res.getString("title.edit.profile"), Res.getString("message.save.profile"), icon, true);
|
titlePanel = new TitlePanel(Res.getString("title.profile.information"), "", icon, true);
|
||||||
|
|
||||||
// Construct main panel w/ layout.
|
// Construct main panel w/ layout.
|
||||||
final JPanel mainPanel = new JPanel();
|
final JPanel mainPanel = new JPanel();
|
||||||
|
|||||||
Reference in New Issue
Block a user