[gnome-control-center/panel-ui-filenames: 1/7] keyboard: 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: 1/7] keyboard: Make .ui filename match the .c filename
- Date: Fri, 9 Nov 2018 00:46:33 +0000 (UTC)
commit 0b5db108f971bf65fe59565bb03307fa1d9f2aff
Author: Robert Ancell <robert ancell canonical com>
Date: Thu Nov 8 14:20:59 2018 +1300
keyboard: Make .ui filename match the .c filename
panels/keyboard/cc-keyboard-panel.c | 2 +-
panels/keyboard/{gnome-keyboard-panel.ui => cc-keyboard-panel.ui} | 0
panels/keyboard/keyboard.gresource.xml | 2 +-
panels/keyboard/meson.build | 2 +-
po/POTFILES.in | 2 +-
5 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/panels/keyboard/cc-keyboard-panel.c b/panels/keyboard/cc-keyboard-panel.c
index 12b114081..33029a220 100644
--- a/panels/keyboard/cc-keyboard-panel.c
+++ b/panels/keyboard/cc-keyboard-panel.c
@@ -676,7 +676,7 @@ cc_keyboard_panel_class_init (CcKeyboardPanelClass *klass)
g_object_class_override_property (object_class, PROP_PARAMETERS, "parameters");
- gtk_widget_class_set_template_from_resource (widget_class,
"/org/gnome/control-center/keyboard/gnome-keyboard-panel.ui");
+ gtk_widget_class_set_template_from_resource (widget_class,
"/org/gnome/control-center/keyboard/cc-keyboard-panel.ui");
gtk_widget_class_bind_template_child (widget_class, CcKeyboardPanel, add_shortcut_row);
gtk_widget_class_bind_template_child (widget_class, CcKeyboardPanel, empty_search_placeholder);
diff --git a/panels/keyboard/gnome-keyboard-panel.ui b/panels/keyboard/cc-keyboard-panel.ui
similarity index 100%
rename from panels/keyboard/gnome-keyboard-panel.ui
rename to panels/keyboard/cc-keyboard-panel.ui
diff --git a/panels/keyboard/keyboard.gresource.xml b/panels/keyboard/keyboard.gresource.xml
index effbe913a..862f9f754 100644
--- a/panels/keyboard/keyboard.gresource.xml
+++ b/panels/keyboard/keyboard.gresource.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<gresources>
<gresource prefix="/org/gnome/control-center/keyboard">
+ <file preprocess="xml-stripblanks">cc-keyboard-panel.ui</file>
<file preprocess="xml-stripblanks">enter-keyboard-shortcut.svg</file>
- <file preprocess="xml-stripblanks">gnome-keyboard-panel.ui</file>
<file preprocess="xml-stripblanks">shortcut-editor.ui</file>
</gresource>
</gresources>
diff --git a/panels/keyboard/meson.build b/panels/keyboard/meson.build
index 47f0f7610..0a0b8356a 100644
--- a/panels/keyboard/meson.build
+++ b/panels/keyboard/meson.build
@@ -66,8 +66,8 @@ sources = files(
)
resource_data = files(
+ 'cc-keyboard-panel.ui',
'enter-keyboard-shortcut.svg',
- 'gnome-keyboard-panel.ui',
'shortcut-editor.ui'
)
diff --git a/po/POTFILES.in b/po/POTFILES.in
index e480f7d38..9e0ccfb1c 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -50,9 +50,9 @@ panels/keyboard/50-accessibility.xml.in
panels/keyboard/cc-keyboard-manager.c
panels/keyboard/cc-keyboard-option.c
panels/keyboard/cc-keyboard-panel.c
+panels/keyboard/cc-keyboard-panel.ui
panels/keyboard/cc-keyboard-shortcut-editor.c
panels/keyboard/gnome-keyboard-panel.desktop.in.in
-panels/keyboard/gnome-keyboard-panel.ui
panels/keyboard/keyboard-shortcuts.c
panels/keyboard/shortcut-editor.ui
panels/mouse/cc-mouse-panel.c
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]