[gnome-initial-setup] gnome-initial-setup: Don't load from the .ui file



commit c732d1ccd9784d41b3dceb26dd5c32c612a6775e
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Fri Jun 22 15:32:12 2012 -0400

    gnome-initial-setup: Don't load from the .ui file

 gnome-initial-setup/gnome-initial-setup.c |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/gnome-initial-setup/gnome-initial-setup.c b/gnome-initial-setup/gnome-initial-setup.c
index c4a07ce..7324842 100644
--- a/gnome-initial-setup/gnome-initial-setup.c
+++ b/gnome-initial-setup/gnome-initial-setup.c
@@ -202,11 +202,7 @@ main (int argc, char *argv[])
         g_debug ("Registering: %s\n", g_type_name (gis_assistant_get_type ()));
 
         setup->builder = gtk_builder_new ();
-        if (g_file_test ("setup.ui", G_FILE_TEST_EXISTS)) {
-                gtk_builder_add_from_file (setup->builder, "setup.ui", &error);
-        } else {
-                gtk_builder_add_from_resource (setup->builder, "/ui/setup.ui", &error);
-        }
+        gtk_builder_add_from_resource (setup->builder, "/ui/setup.ui", &error);
 
         if (error != NULL) {
                 g_printerr ("%s", error->message);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]