fixed some windows specific stuff
This commit is contained in:
parent
5aff6cacb4
commit
83bdd72bfe
3 changed files with 4 additions and 3 deletions
|
@ -171,7 +171,8 @@ namespace Buypeeb {
|
||||||
Directory.CreateDirectory(this.location);
|
Directory.CreateDirectory(this.location);
|
||||||
}
|
}
|
||||||
if (!File.Exists(p)) {
|
if (!File.Exists(p)) {
|
||||||
File.CreateText(p);
|
var fs = File.CreateText(p);
|
||||||
|
fs.Close();
|
||||||
}
|
}
|
||||||
File.WriteAllText(System.IO.Path.Combine(this.location, "userdata.json"), j);
|
File.WriteAllText(System.IO.Path.Combine(this.location, "userdata.json"), j);
|
||||||
}
|
}
|
||||||
|
|
|
@ -77,7 +77,7 @@ namespace Buypeeb {
|
||||||
throw e;
|
throw e;
|
||||||
}
|
}
|
||||||
|
|
||||||
var jst = TimeZoneInfo.FindSystemTimeZoneById("Asia/Tokyo");
|
var jst = TimeZoneInfo.CreateCustomTimeZone("JST", new TimeSpan(9, 0, 0), "Japan Standard Time", "Japen Standard Time");
|
||||||
|
|
||||||
var j = j_full["items"];
|
var j = j_full["items"];
|
||||||
this.originalName = j["productName"];
|
this.originalName = j["productName"];
|
||||||
|
|
|
@ -172,7 +172,7 @@
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkToolButton">
|
<object class="GtkToolButton">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="sensitive">False</property>
|
<property name="sensitive">True</property>
|
||||||
<property name="can_focus">False</property>
|
<property name="can_focus">False</property>
|
||||||
<property name="tooltip_text" translatable="yes">Save</property>
|
<property name="tooltip_text" translatable="yes">Save</property>
|
||||||
<property name="label" translatable="yes">Save</property>
|
<property name="label" translatable="yes">Save</property>
|
||||||
|
|
Loading…
Reference in a new issue