summaryrefslogtreecommitdiff
path: root/stickynotes/stickynotes.c
diff options
context:
space:
mode:
Diffstat (limited to 'stickynotes/stickynotes.c')
-rw-r--r--stickynotes/stickynotes.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/stickynotes/stickynotes.c b/stickynotes/stickynotes.c
index dd0a4fc5..f8d9ebb1 100644
--- a/stickynotes/stickynotes.c
+++ b/stickynotes/stickynotes.c
@@ -105,7 +105,8 @@ stickynote_new_aux (GdkScreen *screen, gint x, gint y, gint w, gint h)
note = g_new (StickyNote, 1);
builder = gtk_builder_new ();
- gtk_builder_add_from_file (builder, BUILDER_PATH, NULL);
+ gtk_builder_add_from_resource (builder, GRESOURCE "sticky-notes-note.ui", NULL);
+ gtk_builder_add_from_resource (builder, GRESOURCE "sticky-notes-properties.ui", NULL);
note->w_window = GTK_WIDGET (gtk_builder_get_object (builder, "stickynote_window"));
gtk_window_set_screen(GTK_WINDOW(note->w_window),screen);
@@ -659,7 +660,7 @@ void stickynotes_remove(StickyNote *note)
GtkWidget *dialog;
builder = gtk_builder_new ();
- gtk_builder_add_from_file (builder, BUILDER_PATH, NULL);
+ gtk_builder_add_from_resource (builder, GRESOURCE "sticky-notes-delete.ui", NULL);
dialog = GTK_WIDGET (gtk_builder_get_object (builder, "delete_dialog"));