[Tween-svn] [1400] 画像投稿先を保持するように

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2011年 1月 23日 (日) 13:32:47 JST


Revision: 1400
          http://sourceforge.jp/projects/tween/svn/view?view=rev&revision=1400
Author:   f_swallow
Date:     2011-01-23 13:32:47 +0900 (Sun, 23 Jan 2011)

Log Message:
-----------
画像投稿先を保持するように

Modified Paths:
--------------
    trunk/Tween/Setting/SettingCommon.vb
    trunk/Tween/Tween.vb


-------------- next part --------------
Modified: trunk/Tween/Setting/SettingCommon.vb
===================================================================
--- trunk/Tween/Setting/SettingCommon.vb	2011-01-22 16:00:10 UTC (rev 1399)
+++ trunk/Tween/Setting/SettingCommon.vb	2011-01-23 04:32:47 UTC (rev 1400)
@@ -188,4 +188,5 @@
     Public UserTimelinePeriod As Integer = 600
     Public OpenUserTimeline As Boolean = True
     Public ListCountApi As Integer = 100
+    Public UseImageSurvice As Integer = 0
 End Class

Modified: trunk/Tween/Tween.vb
===================================================================
--- trunk/Tween/Tween.vb	2011-01-22 16:00:10 UTC (rev 1399)
+++ trunk/Tween/Tween.vb	2011-01-23 04:32:47 UTC (rev 1400)
@@ -907,6 +907,8 @@
         SetImageServiceCombo()
         ImageSelectionPanel.Enabled = False
 
+        ImageServiceCombo.SelectedIndex = _cfgCommon.UseImageSurvice
+
         'ウィンドウ設定
         Me.ClientSize = _cfgLocal.FormSize
         _mySize = _cfgLocal.FormSize                     'サイズ保持(最小化・最大化されたまま終了した場合の対応用)
@@ -5991,6 +5993,7 @@
             _cfgCommon.AllAtReply = tw.AllAtReply
             _cfgCommon.OpenUserTimeline = SettingDialog.OpenUserTimeline
             _cfgCommon.ListCountApi = SettingDialog.ListCountApi
+            _cfgCommon.UseImageSurvice = ImageServiceCombo.SelectedIndex
 
             _cfgCommon.Save()
         End SyncLock
@@ -9664,6 +9667,8 @@
             Catch ex As Exception
 
             End Try
+            _modifySettingCommon = True
+            SaveConfigsAll(False)
         End If
     End Sub
 #End Region



Tween-svn メーリングリストの案内
Back to archive index