Add double click gesture on image bubbles to open
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user