diff --git a/res/swappy.ui b/res/swappy.glade similarity index 100% rename from res/swappy.ui rename to res/swappy.glade diff --git a/res/swappy.gresource.xml b/res/swappy.gresource.xml index 31b783e..89b25c2 100644 --- a/res/swappy.gresource.xml +++ b/res/swappy.gresource.xml @@ -2,6 +2,6 @@ style/swappy.css - swappy.ui + swappy.glade \ No newline at end of file diff --git a/src/application.c b/src/application.c index fd97841..007bcdf 100644 --- a/src/application.c +++ b/src/application.c @@ -577,7 +577,7 @@ static bool load_layout(struct swappy_state *state) { /* Construct a GtkBuilder instance and load our UI description */ GtkBuilder *builder = gtk_builder_new(); - if (gtk_builder_add_from_resource(builder, "/me/jtheoof/swappy/swappy.ui", + if (gtk_builder_add_from_resource(builder, "/me/jtheoof/swappy/swappy.glade", &error) == 0) { g_printerr("Error loading file: %s", error->message); g_clear_error(&error);