[gnome-control-center] search: Make .ui filename match the .c filename



commit c4a6f7bd549f844b028bf6ff29dcda2483f818ed
Author: Robert Ancell <robert ancell canonical com>
Date:   Fri Nov 9 13:46:07 2018 +1300

    search: Make .ui filename match the .c filename

 panels/search/cc-search-panel.c                 | 2 +-
 panels/search/{search.ui => cc-search-panel.ui} | 0
 panels/search/meson.build                       | 2 +-
 panels/search/search.gresource.xml              | 2 +-
 po/POTFILES.in                                  | 2 +-
 5 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/panels/search/cc-search-panel.c b/panels/search/cc-search-panel.c
index 3624f1535..e0f16f38c 100644
--- a/panels/search/cc-search-panel.c
+++ b/panels/search/cc-search-panel.c
@@ -766,7 +766,7 @@ cc_search_panel_class_init (CcSearchPanelClass *klass)
   oclass->finalize = cc_search_panel_finalize;
 
   gtk_widget_class_set_template_from_resource (widget_class,
-                                               "/org/gnome/control-center/search/search.ui");
+                                               "/org/gnome/control-center/search/cc-search-panel.ui");
 
   gtk_widget_class_bind_template_child (widget_class, CcSearchPanel, up_button);
   gtk_widget_class_bind_template_child (widget_class, CcSearchPanel, down_button);
diff --git a/panels/search/search.ui b/panels/search/cc-search-panel.ui
similarity index 100%
rename from panels/search/search.ui
rename to panels/search/cc-search-panel.ui
diff --git a/panels/search/meson.build b/panels/search/meson.build
index f8663fb65..88ec4a1e3 100644
--- a/panels/search/meson.build
+++ b/panels/search/meson.build
@@ -23,8 +23,8 @@ sources = files(
 )
 
 resource_data = files(
+  'cc-search-panel.ui',
   'search-locations-dialog.ui',
-  'search.ui'
 )
 
 sources += gnome.compile_resources(
diff --git a/panels/search/search.gresource.xml b/panels/search/search.gresource.xml
index 50388ff6b..6b89ef510 100644
--- a/panels/search/search.gresource.xml
+++ b/panels/search/search.gresource.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <gresources>
   <gresource prefix="/org/gnome/control-center/search">
-    <file preprocess="xml-stripblanks">search.ui</file>
+    <file preprocess="xml-stripblanks">cc-search-panel.ui</file>
     <file preprocess="xml-stripblanks">search-locations-dialog.ui</file>
   </gresource>
 </gresources>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index d2e78c7f9..6648139d0 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -163,9 +163,9 @@ panels/region/cc-region-panel.ui
 panels/region/gnome-region-panel.desktop.in.in
 panels/search/cc-search-locations-dialog.c
 panels/search/cc-search-panel.c
+panels/search/cc-search-panel.ui
 panels/search/gnome-search-panel.desktop.in.in
 panels/search/search-locations-dialog.ui
-panels/search/search.ui
 panels/sharing/cc-sharing-networks.c
 panels/sharing/cc-sharing-panel.c
 panels/sharing/cc-sharing-panel.ui


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