by
Changes to 4 files · Browse files at c3ea4b949391 Showing diff from parent 7fc45062a3b4 887a043dd524 Diff from another changeset...
@@ -978,12 +978,12 @@ f = open(self.fn, "w")
f.write(str(self.ini))
f.close()
+ self._btn_apply.set_sensitive(False)
+ self.dirty = False
except IOError, e:
dialog.error_dialog(self, _('Unable to write configuration file'),
str(e))
- self._btn_apply.set_sensitive(False)
- self.dirty = False
return 0
def run(ui, *pats, **opts):
|
@@ -39,8 +39,6 @@ extern "C"
int APIENTRY DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved)
{
- TDEBUG_TRACE("DllMain");
-
if (dwReason == DLL_PROCESS_ATTACH)
{
TDEBUG_TRACE("DllMain: DLL_PROCESS_ATTACH");
|
@@ -47,7 +47,7 @@
fSuccess = ::CallNamedPipeA(
pname.c_str(), (void*)request.c_str(), request.size(), 0, 0, &cbRead,
- 200 /* ms */
+ NMPWAIT_NOWAIT
);
DWORD err = GetLastError();
|
Loading...