[gnome-control-center] sharing: Make .ui filename match the .c filename
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] sharing: Make .ui filename match the .c filename
- Date: Mon, 12 Nov 2018 16:48:24 +0000 (UTC)
commit 41d2eff314d5f49fe93a1c548354f53100c35a2e
Author: Robert Ancell <robert ancell canonical com>
Date: Thu Nov 8 14:25:48 2018 +1300
sharing: Make .ui filename match the .c filename
panels/sharing/cc-sharing-panel.c | 2 +-
panels/sharing/{sharing.ui => cc-sharing-panel.ui} | 0
panels/sharing/meson.build | 2 +-
panels/sharing/sharing.gresource.xml | 2 +-
po/POTFILES.in | 2 +-
5 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/panels/sharing/cc-sharing-panel.c b/panels/sharing/cc-sharing-panel.c
index 058271695..91e2c660c 100644
--- a/panels/sharing/cc-sharing-panel.c
+++ b/panels/sharing/cc-sharing-panel.c
@@ -215,7 +215,7 @@ cc_sharing_panel_class_init (CcSharingPanelClass *klass)
panel_class->get_help_uri = cc_sharing_panel_get_help_uri;
- gtk_widget_class_set_template_from_resource (widget_class, "/org/gnome/control-center/sharing/sharing.ui");
+ gtk_widget_class_set_template_from_resource (widget_class,
"/org/gnome/control-center/sharing/cc-sharing-panel.ui");
gtk_widget_class_bind_template_child (widget_class, CcSharingPanel, approve_connections_radiobutton);
gtk_widget_class_bind_template_child (widget_class, CcSharingPanel, hostname_entry);
diff --git a/panels/sharing/sharing.ui b/panels/sharing/cc-sharing-panel.ui
similarity index 100%
rename from panels/sharing/sharing.ui
rename to panels/sharing/cc-sharing-panel.ui
diff --git a/panels/sharing/meson.build b/panels/sharing/meson.build
index 73a03b095..c99f9e699 100644
--- a/panels/sharing/meson.build
+++ b/panels/sharing/meson.build
@@ -49,8 +49,8 @@ sources = files(
)
resource_data = files(
+ 'cc-sharing-panel.ui',
'networks.ui',
- 'sharing.ui'
)
sources += gnome.compile_resources(
diff --git a/panels/sharing/sharing.gresource.xml b/panels/sharing/sharing.gresource.xml
index 9b4e5ab15..8117ee7cc 100644
--- a/panels/sharing/sharing.gresource.xml
+++ b/panels/sharing/sharing.gresource.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<gresources>
<gresource prefix="/org/gnome/control-center/sharing">
- <file preprocess="xml-stripblanks">sharing.ui</file>
+ <file preprocess="xml-stripblanks">cc-sharing-panel.ui</file>
<file preprocess="xml-stripblanks">networks.ui</file>
</gresource>
</gresources>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index ce5098069..6516d8ab2 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -168,10 +168,10 @@ 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
panels/sharing/gnome-sharing-panel.desktop.in.in
panels/sharing/networks.ui
panels/sharing/org.gnome.controlcenter.remote-login-helper.policy.in.in
-panels/sharing/sharing.ui
panels/sound/cc-sound-panel.c
panels/sound/data/gnome-sound-panel.desktop.in.in
panels/sound/data/sounds/gnome-sounds-default.xml.in.in
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]