チェンジセット 2752: air/TLife/branches
- コミット日時:
- 2009/05/29 20:45:29 (3 年前)
- ファイル:
-
- air/TLife/branches/ULife/air/ULife.air (更新) (変更前)
- air/TLife/branches/ULife/air/version.xml (追加)
- air/TLife/branches/ULife/application.xml (更新) (1 diff)
- air/TLife/branches/ULife/bin/ULife.swf (更新) (変更前)
- air/TLife/branches/ULife/src/Main.mxml (更新) (4 diffs)
- air/TLife/branches/ULife/src/uwi/thread/MainThread.as (更新) (2 diffs)
- air/TLife/branches/ULife/src/uwi/thread/event/PostEventThread.as (更新) (1 diff)
- air/TLife/branches/ULife/src/uwi/ui/mainstatusbar/MainStatusBar.mxml (更新) (2 diffs)
- air/TLife/branches/ULife/src/uwi/util/Utility.as (更新) (2 diffs)
凡例:
- 変更無し
- 追加
- 削除
- 更新
- コピー
- 移動
air/TLife/branches/ULife/application.xml
r2751 r2752 3 3 4 4 <id>ULife</id> 5 <version>1.0 </version>5 <version>1.0.1</version> 6 6 <filename>ULife</filename> 7 7 air/TLife/branches/ULife/src/Main.mxml
r2751 r2752 21 21 statusBarFactory="{new ClassFactory(uwi.ui.mainstatusbar.MainStatusBar)}" 22 22 > 23 <!-- <jx:AirAutoUpdater url="http://www.libspark.org/svn/air/TLife/branches/ULife/air/version.xml" /> -->23 <jx:AirAutoUpdater url="http://www.libspark.org/svn/air/TLife/branches/ULife/air/version.xml" /> 24 24 25 25 <mx:Script> … … 106 106 //postvalidator.maxLength = CommonData.LIMLEN_POST; 107 107 //postvalidator.tooLongError = "長すぎですよー"; 108 MainStatusBar(statusBar).setStateOAuth(0);109 108 110 109 new MainThread().start(); … … 114 113 { 115 114 postarea.callLater(function() : void { 116 postbtn.enabled = (postarea.length != 0);115 validatePostButton(); 117 116 118 117 var left : int = CommonData.LIMLEN_POST - postarea.length; … … 168 167 } 169 168 } 169 170 public function validatePostButton() : void 171 { 172 postbtn.enabled = CommonData.state_oauth == 1 && postarea.length != 0; 173 } 170 174 ]]> 171 175 </mx:Script> air/TLife/branches/ULife/src/uwi/thread/MainThread.as
r2751 r2752 14 14 import uwi.thread.event.PostEventThread; 15 15 import uwi.thread.event.UndoThread; 16 import uwi.ui.mainstatusbar.MainStatusBar; 16 17 import uwi.util.CommonData; 17 18 import uwi.util.FileIO; … … 66 67 // OAuth 67 68 // 現状では正しく認証されているか確認する術はない 68 if (CommonData.configxml.login.oauth_token != "" && CommonData.configxml.login.oauth_token_secret != "") {69 if (CommonData.configxml.login.oauth_token == "" || CommonData.configxml.login.oauth_token_secret == "") { 69 70 Alert.show("右下のOAuthアイコンを右クリックしてログインしてね!", "ULife"); 70 71 } 71 72 72 CommonData.state_oauth =(CommonData.configxml.login.oauth_token != "" && CommonData.configxml.login.oauth_token_secret != "")73 ? 1 : 0 ;73 MainStatusBar(Application.application.statusBar).setStateOAuth((CommonData.configxml.login.oauth_token != "" && CommonData.configxml.login.oauth_token_secret != "") 74 ? 1 : 0); 74 75 } 75 76 air/TLife/branches/ULife/src/uwi/thread/event/PostEventThread.as
r2751 r2752 68 68 private function onKeyDown(e : KeyboardEvent) : void 69 69 { 70 // e.stopImmediatePropagation(); // インクリメンタルサーチ阻止71 // e.stopPropagation();72 73 70 if (e.altKey == true) { 74 71 e.preventDefault(); air/TLife/branches/ULife/src/uwi/ui/mainstatusbar/MainStatusBar.mxml
r2751 r2752 7 7 <
