Private
Public Access
1
0

Add double click gesture on image bubbles to open

This commit is contained in:
2025-06-18 18:07:59 -07:00
parent 0dece34012
commit 3379198940
5 changed files with 112 additions and 21 deletions

View File

@@ -135,4 +135,13 @@ public class Repository : DBusServiceProxy {
return dbus_repository.upload_attachment(filename);
}
public AttachmentInfo get_attachment_info(string attachment_guid) throws DBusServiceProxyError, GLib.Error {
if (dbus_repository == null) {
throw new DBusServiceProxyError.NOT_CONNECTED("Repository not connected");
}
var info = dbus_repository.get_attachment_info(attachment_guid);
return new AttachmentInfo(info.attr1, info.attr2, info.attr3, info.attr4);
}
}