[gnome-initial-setup] Use a better gresource prefix



commit cb72dbf53a280b05b18be98e2b364b2f836d9a71
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Thu Jan 24 18:09:45 2013 -0500

    Use a better gresource prefix
    
    Use /org/gnome/initial-setup/ instead of /ui/

 gnome-initial-setup/gis-page.c                     |    2 +-
 .../pages/keyboard/gnome-region-panel-input.c      |    2 +-
 .../pages/welcome/gis-welcome-page.ui              |    2 +-
 gnome-initial-setup/setup.gresource.xml            |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gnome-initial-setup/gis-page.c b/gnome-initial-setup/gis-page.c
index 697f4d4..9b85982 100644
--- a/gnome-initial-setup/gis-page.c
+++ b/gnome-initial-setup/gis-page.c
@@ -133,7 +133,7 @@ gis_page_real_get_builder (GisPage *page)
       return NULL;
     }
 
-  resource_path = g_strdup_printf ("/ui/gis-%s-page.ui", klass->page_id);
+  resource_path = g_strdup_printf ("/org/gnome/initial-setup/gis-%s-page.ui", klass->page_id);
 
   builder = gtk_builder_new ();
   gtk_builder_add_from_resource (builder, resource_path, &error);
diff --git a/gnome-initial-setup/pages/keyboard/gnome-region-panel-input.c b/gnome-initial-setup/pages/keyboard/gnome-region-panel-input.c
index 4e4ab5c..f61c883 100644
--- a/gnome-initial-setup/pages/keyboard/gnome-region-panel-input.c
+++ b/gnome-initial-setup/pages/keyboard/gnome-region-panel-input.c
@@ -1323,7 +1323,7 @@ input_chooser_new (GtkWindow    *main_window,
 
   builder = gtk_builder_new ();
   gtk_builder_add_from_resource (builder,
-                                 "/ui/gnome-region-panel-input-chooser.ui",
+                                 "/org/gnome/initial-setup/gnome-region-panel-input-chooser.ui",
                                  &error);
 
   if (error)
diff --git a/gnome-initial-setup/pages/welcome/gis-welcome-page.ui b/gnome-initial-setup/pages/welcome/gis-welcome-page.ui
index 4e1aaa9..abf8953 100644
--- a/gnome-initial-setup/pages/welcome/gis-welcome-page.ui
+++ b/gnome-initial-setup/pages/welcome/gis-welcome-page.ui
@@ -11,7 +11,7 @@
       <object class="GtkImage" id="welcome-image">
         <property name="visible">True</property>
         <property name="can_focus">False</property>
-        <property name="resource">/ui/welcome-image.png</property>
+        <property name="resource">/org/gnome/initial-setup/welcome-image.png</property>
       </object>
       <packing>
         <property name="left_attach">0</property>
diff --git a/gnome-initial-setup/setup.gresource.xml b/gnome-initial-setup/setup.gresource.xml
index 0b23310..614ca35 100644
--- a/gnome-initial-setup/setup.gresource.xml
+++ b/gnome-initial-setup/setup.gresource.xml
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <gresources>
-  <gresource prefix="/ui">
+  <gresource prefix="/org/gnome/initial-setup">
     <file preprocess="xml-stripblanks" alias="gis-welcome-page.ui">pages/welcome/gis-welcome-page.ui</file>
     <file alias="welcome-image.png">pages/welcome/welcome-image.png</file>
     <file preprocess="xml-stripblanks" alias="gis-language-page.ui">pages/language/gis-language-page.ui</file>



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