summaryrefslogtreecommitdiff
path: root/sendto/caja-sendto-command.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-01-26 13:02:18 +0100
committerraveit65 <[email protected]>2020-02-10 00:37:02 +0100
commite713760554c0b130b6d3b7e46e2a91746b894224 (patch)
treebdb68464c495388666c507bbd5bd27403d596427 /sendto/caja-sendto-command.c
parenta956971b492c65c452dbab46bb81cafb9e0e85d0 (diff)
downloadcaja-extensions-e713760554c0b130b6d3b7e46e2a91746b894224.tar.bz2
caja-extensions-e713760554c0b130b6d3b7e46e2a91746b894224.tar.xz
sendto: use gresources for UI files
Diffstat (limited to 'sendto/caja-sendto-command.c')
-rw-r--r--sendto/caja-sendto-command.c4
1 files changed, 2 insertions, 2 deletions
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);
}