• R/O
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

OmegaT の翻訳状況(Statistics)を Excel で表示します。


Commit MetaInfo

Révision3 (tree)
l'heure2013-12-01 16:03:21
Auteuryu-tang

Message de Log

Fix #50101

Change Summary

Modification

--- src/jp/sourceforge/users/yutang/omegat/plugin/stats2excel/VersionInfo.java (revision 2)
+++ src/jp/sourceforge/users/yutang/omegat/plugin/stats2excel/VersionInfo.java (revision 3)
@@ -26,7 +26,7 @@
2626
2727 private static final String APP_NAME = "Stats2Excel";
2828 private static final String APP_VERSION = "0.1";
29- private static final String APP_BUILD = "20131130";
29+ private static final String APP_BUILD = "20131201";
3030 private static final String APP_AUTHOR = "Yu Tang";
3131
3232 public static void main(String[] args) {
--- src/jp/sourceforge/users/yutang/omegat/plugin/stats2excel/SplashStatisticsWindow.java (revision 2)
+++ src/jp/sourceforge/users/yutang/omegat/plugin/stats2excel/SplashStatisticsWindow.java (revision 3)
@@ -34,6 +34,7 @@
3434
3535 private ScheduledExecutorService service = null;
3636 private boolean isErrorOnDisplay = false;
37+ private boolean isWindowClosing = false;
3738
3839 public SplashStatisticsWindow(STAT_TYPE statType) {
3940 super(statType);
@@ -42,6 +43,7 @@
4243
4344 @Override
4445 public void windowClosing(WindowEvent e) {
46+ isWindowClosing = true;
4547 if (service != null && !service.isShutdown()) {
4648 service.shutdown();
4749 service = null;
@@ -48,6 +50,12 @@
4850 }
4951 }
5052
53+ @Override
54+ public void windowDeactivated(WindowEvent e) {
55+ if (! isWindowClosing) {
56+ dispose();
57+ }
58+ }
5159 });
5260 setSize(400, 100);
5361 }
@@ -89,7 +97,6 @@
8997 if (ExcelModel.activate()) {
9098 service.shutdown();
9199 service = null;
92- dispose();
93100 }
94101 } catch (IOException ex) {
95102 Log.log(ex);