Skip to content

Commit ce61710

Browse files
committed
add icons
1 parent 3c129c9 commit ce61710

File tree

7 files changed

+11
-4
lines changed

7 files changed

+11
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Eclipse的插件请访问 https://github.com/Jamling/SmartIM4Eclipse/
3434
也可以通过exe快捷方式添加参数,如快捷方式目标指向:`E:\Android\eclipse\eclipse.exe -nl=en -Djsse.enableSNIExtension=false`,注意这种方式要求exe所在的路径不能带空格。
3535

3636
## 更新日志
37-
37+
- v2.7.0 2019-04-25,添加自定义聊天消息样式,添加dark主题下的相关图标
3838
- v2.6.1 2019-03-02, 修复代码评审xml被过滤和选择对象错误的issue 优化微信联系人,不显示emoji
3939
- v2.4.0 2018-05-10, 修复部分微信用户登录异常的问题
4040
- v2.3.0 2018-02-27, 添加发送工程中的文件,图灵机器人,消息群发等功能,在功能上,终于与eclipse版本相差无几了

resources/icons/subscriber.svg

Lines changed: 1 addition & 0 deletions
Loading

resources/icons/subscriber_dark.svg

Lines changed: 1 addition & 0 deletions
Loading

resources/icons/wechat.svg

Lines changed: 1 addition & 0 deletions
Loading

resources/icons/wechat_dark.svg

Lines changed: 1 addition & 0 deletions
Loading

src/cn/ieclipse/smartim/settings/StyleConfPanel.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package cn.ieclipse.smartim.settings;
22

3+
import cn.ieclipse.smartim.common.Notifications;
34
import cn.ieclipse.util.IOUtils;
45

56
import javax.swing.*;
@@ -63,7 +64,7 @@ public void changedUpdate(DocumentEvent e) {
6364
btnRestore.addActionListener(e -> {
6465
update(true);
6566
});
66-
textPane.setMargin(new Insets(5,5,5,5));
67+
textPane.setMargin(new Insets(5, 5, 5, 5));
6768
}
6869

6970
public StyleConfPanel() {
@@ -153,6 +154,7 @@ public void save() {
153154
saveFile();
154155
} catch (Exception e) {
155156
e.printStackTrace();
157+
Notifications.notify("保存样式失败", "错误原因:" + e.getMessage());
156158
}
157159
}
158160

@@ -179,6 +181,7 @@ private void saveFile() throws Exception {
179181
byte[] b = content.getBytes();
180182
raf.write(b);
181183
raf.close();
184+
Notifications.notify("样式保存成功", "目标位置:" + file.getCanonicalPath());
182185
}
183186

184187
public void apply() {

src/icons/SmartIcons.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ public class SmartIcons {
2222
public static Icon group = IconLoader.getIcon("/icons/user-circle.svg");
2323
public static Icon friend = IconLoader.getIcon("/icons/user.svg");
2424
public static Icon discuss = IconLoader.getIcon("/icons/user-o.svg");
25-
public static Icon subscriber = IconLoader.getIcon("/icons/subscriber.png");
25+
public static Icon subscriber = IconLoader.getIcon("/icons/subscriber.svg");
2626
public static Icon app3rd = IconLoader.getIcon("/icons/app.svg");
27-
public static Icon wechat = IconLoader.getIcon("/icons/wechat.png");
27+
public static Icon wechat = IconLoader.getIcon("/icons/wechat.svg");
2828

2929
public static Icon file = AllIcons.FileTypes.Any_type;//IconLoader.getIcon("/icons/File.png");
3030
public static Icon projectFile = IconLoader.getIcon("/icons/folder.svg");

0 commit comments

Comments
 (0)