[gnome-control-center/panel-ui-filenames: 5/7] power: Make .ui filename match the .c filename
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/panel-ui-filenames: 5/7] power: Make .ui filename match the .c filename
- Date: Fri, 9 Nov 2018 00:46:54 +0000 (UTC)
commit d141706702bc4e6d6779c60288ef89558e78d9b0
Author: Robert Ancell <robert ancell canonical com>
Date: Thu Nov 8 14:39:44 2018 +1300
power: Make .ui filename match the .c filename
panels/power/cc-power-panel.c | 2 +-
panels/power/{power.ui => cc-power-panel.ui} | 0
panels/power/meson.build | 2 +-
panels/power/power.gresource.xml | 2 +-
po/POTFILES.in | 2 +-
5 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/panels/power/cc-power-panel.c b/panels/power/cc-power-panel.c
index d80b39b56..c69df63d0 100644
--- a/panels/power/cc-power-panel.c
+++ b/panels/power/cc-power-panel.c
@@ -176,7 +176,7 @@ cc_power_panel_class_init (CcPowerPanelClass *klass)
panel_class->get_help_uri = cc_power_panel_get_help_uri;
- gtk_widget_class_set_template_from_resource (widget_class, "/org/gnome/control-center/power/power.ui");
+ gtk_widget_class_set_template_from_resource (widget_class,
"/org/gnome/control-center/power/cc-power-panel.ui");
gtk_widget_class_bind_template_child (widget_class, CcPowerPanel, main_scroll);
gtk_widget_class_bind_template_child (widget_class, CcPowerPanel, main_box);
diff --git a/panels/power/power.ui b/panels/power/cc-power-panel.ui
similarity index 100%
rename from panels/power/power.ui
rename to panels/power/cc-power-panel.ui
diff --git a/panels/power/meson.build b/panels/power/meson.build
index d4091eaa1..736222613 100644
--- a/panels/power/meson.build
+++ b/panels/power/meson.build
@@ -19,7 +19,7 @@ i18n.merge_file(
sources = files('cc-power-panel.c')
-resource_data = files('power.ui')
+resource_data = files('cc-power-panel.ui')
sources += gnome.compile_resources(
'cc-' + cappletname + '-resources',
diff --git a/panels/power/power.gresource.xml b/panels/power/power.gresource.xml
index 1654e9790..bc08d697f 100644
--- a/panels/power/power.gresource.xml
+++ b/panels/power/power.gresource.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<gresources>
<gresource prefix="/org/gnome/control-center/power">
- <file preprocess="xml-stripblanks">power.ui</file>
+ <file preprocess="xml-stripblanks">cc-power-panel.ui</file>
</gresource>
</gresources>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 78906a4e1..4f16aa4bf 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -129,8 +129,8 @@ panels/online-accounts/cc-online-accounts-panel.c
panels/online-accounts/gnome-online-accounts-panel.desktop.in.in
panels/online-accounts/online-accounts.ui
panels/power/cc-power-panel.c
+panels/power/cc-power-panel.ui
panels/power/gnome-power-panel.desktop.in.in
-panels/power/power.ui
panels/printers/authentication-dialog.ui
panels/printers/cc-printers-panel.c
panels/printers/details-dialog.ui
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]