diff options
author | Yana Stamcheva <yana@jitsi.org> | 2012-10-15 10:29:29 +0000 |
---|---|---|
committer | Yana Stamcheva <yana@jitsi.org> | 2012-10-15 10:29:29 +0000 |
commit | 507cf8370429d1b2df92993552f0573273e815c6 (patch) | |
tree | d4e758f4bc262a739c97c791d77f1fb30d0a36f6 /src/net/java/sip/communicator | |
parent | a4e0f832c14a4b5a8e6d67812ed3a7d1d11dd841 (diff) | |
download | jitsi-507cf8370429d1b2df92993552f0573273e815c6.zip jitsi-507cf8370429d1b2df92993552f0573273e815c6.tar.gz jitsi-507cf8370429d1b2df92993552f0573273e815c6.tar.bz2 |
Updates chat room icons.
Diffstat (limited to 'src/net/java/sip/communicator')
3 files changed, 15 insertions, 3 deletions
diff --git a/src/net/java/sip/communicator/impl/gui/main/chat/ChatContactRightButtonMenu.java b/src/net/java/sip/communicator/impl/gui/main/chat/ChatContactRightButtonMenu.java index 89565d1..c1524fc 100644 --- a/src/net/java/sip/communicator/impl/gui/main/chat/ChatContactRightButtonMenu.java +++ b/src/net/java/sip/communicator/impl/gui/main/chat/ChatContactRightButtonMenu.java @@ -590,7 +590,7 @@ public class ChatContactRightButtonMenu this.revokeOwnershipItem.setIcon(ImageUtils.getScaledRoundedIcon( ImageLoader.getImage(ImageLoader.CHATROOM_MEMBER_ADMIN), 16, 16)); this.revokeVoiceItem.setIcon(ImageUtils.getScaledRoundedIcon( - ImageLoader.getImage(ImageLoader.CHATROOM_MEMBER_SILENT), 16, 16)); + ImageLoader.getImage(ImageLoader.CHAT_ROOM_REVOKE_VOICE), 16, 16)); this.kickItem.setIcon(new ImageIcon(ImageLoader.getImage( ImageLoader.KICK_ICON_16x16))); this.banItem.setIcon(new ImageIcon(ImageLoader.getImage( diff --git a/src/net/java/sip/communicator/impl/gui/main/chatroomslist/ChatRoomRightButtonMenu.java b/src/net/java/sip/communicator/impl/gui/main/chatroomslist/ChatRoomRightButtonMenu.java index d5be43c..3bcba30 100644 --- a/src/net/java/sip/communicator/impl/gui/main/chatroomslist/ChatRoomRightButtonMenu.java +++ b/src/net/java/sip/communicator/impl/gui/main/chatroomslist/ChatRoomRightButtonMenu.java @@ -72,12 +72,12 @@ public class ChatRoomRightButtonMenu "leaveChatRoom"); createMenuItem( "service.gui.REMOVE", - ImageLoader.DELETE_16x16_ICON, + ImageLoader.REMOVE_CHAT_ICON, "removeChatRoom"); JMenuItem nickNameChatRoomItem = createMenuItem( "service.gui.CHANGE_NICK", - ImageLoader.LEAVE_ICON, + ImageLoader.RENAME_16x16_ICON, "nickNameChatRoom"); ChatRoom chatRoom = chatRoomWrapper.getChatRoom(); diff --git a/src/net/java/sip/communicator/impl/gui/utils/ImageLoader.java b/src/net/java/sip/communicator/impl/gui/utils/ImageLoader.java index 2f676da..05e5790 100644 --- a/src/net/java/sip/communicator/impl/gui/utils/ImageLoader.java +++ b/src/net/java/sip/communicator/impl/gui/utils/ImageLoader.java @@ -942,6 +942,12 @@ public class ImageLoader = new ImageID("service.gui.icons.LEAVE_ICON"); /** + * The image used to set to the chat room "remove" right button menu. + */ + public static final ImageID REMOVE_CHAT_ICON + = new ImageID("service.gui.icons.REMOVE_CHAT_ICON"); + + /** * Background image of the dial button. */ public static final ImageID DIAL_BUTTON_BG @@ -1183,6 +1189,12 @@ public class ImageLoader = new ImageID("service.gui.icons.RENAME_16x16_ICON"); /** + * Rename 16x16 image. + */ + public static final ImageID CHAT_ROOM_REVOKE_VOICE + = new ImageID("service.gui.icons.CHAT_ROOM_REVOKE_VOICE"); + + /** * Toolbar drag area icon. */ public static final ImageID TOOLBAR_DRAG_ICON = new ImageID( |