From e713760554c0b130b6d3b7e46e2a91746b894224 Mon Sep 17 00:00:00 2001 From: rbuj Date: Sun, 26 Jan 2020 13:02:18 +0100 Subject: sendto: use gresources for UI files --- sendto/caja-sendto-command.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sendto/caja-sendto-command.c') diff --git a/sendto/caja-sendto-command.c b/sendto/caja-sendto-command.c index 0d002cb..1b0d7da 100644 --- a/sendto/caja-sendto-command.c +++ b/sendto/caja-sendto-command.c @@ -531,8 +531,8 @@ caja_sendto_create_ui (void) GtkWidget *button_image; app = gtk_builder_new (); - if (!gtk_builder_add_from_file (app, UIDIR "/" "caja-sendto.ui", &error)) { - g_warning ("Couldn't load builder file: %s", error->message); + if (gtk_builder_add_from_resource (app, "/org/mate/caja/extensions/sendto/caja-sendto.ui", &error) == 0) { + g_warning ("Could not parse UI definition: %s", error->message); g_error_free (error); } -- cgit v1.2.1