mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: System file properties dialog timeout
This commit is contained in:
parent
f733324983
commit
69fe6f35f0
1 changed files with 4 additions and 1 deletions
|
|
@ -14,6 +14,9 @@ implementation
|
|||
uses
|
||||
DBus, URIParser, uDebug;
|
||||
|
||||
const
|
||||
DBUS_TIMEOUT_INFINITE = Integer($7fffffff);
|
||||
|
||||
const
|
||||
FileManagerAddress = 'org.freedesktop.FileManager1';
|
||||
FileManagerObjectPath = '/org/freedesktop/FileManager1';
|
||||
|
|
@ -45,7 +48,7 @@ var
|
|||
AReply: PDBusMessage;
|
||||
begin
|
||||
dbus_error_init (@DBusError);
|
||||
AReply := dbus_connection_send_with_reply_and_block(DBusConn, AMessage, -1, @DBusError);
|
||||
AReply := dbus_connection_send_with_reply_and_block(DBusConn, AMessage, DBUS_TIMEOUT_INFINITE, @DBusError);
|
||||
|
||||
if CheckError('Error sending message', @DBusError) then
|
||||
Result:= False
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue