shell: Rename .ui files to match .c files
To keep it clean and well organized, rename the .ui files (window.ui and panel-list.ui) to have the 'cc-' prefix and match their .c counterparts.
This commit is contained in:
parent
a8be6b8c88
commit
a8673b06c7
7 changed files with 8 additions and 8 deletions
|
@ -229,11 +229,11 @@ panels/wacom/gsd-wacom-key-shortcut-button.c
|
|||
panels/wacom/wacom-stylus-page.ui
|
||||
shell/appdata/gnome-control-center.appdata.xml.in
|
||||
shell/cc-application.c
|
||||
shell/cc-panel-list.ui
|
||||
shell/cc-window.c
|
||||
shell/cc-window.ui
|
||||
shell/gnome-control-center.desktop.in.in
|
||||
shell/help-overlay.ui
|
||||
shell/org.gnome.ControlCenter.gschema.xml
|
||||
shell/panel-list.ui
|
||||
shell/window.ui
|
||||
# Please do not remove this file from POTFILES.in. Run "git submodule init && git submodule update" to get it.
|
||||
subprojects/gvc/gvc-mixer-control.c
|
||||
|
|
|
@ -753,7 +753,7 @@ cc_panel_list_class_init (CcPanelListClass *klass)
|
|||
|
||||
g_object_class_install_properties (object_class, N_PROPS, properties);
|
||||
|
||||
gtk_widget_class_set_template_from_resource (widget_class, "/org/gnome/ControlCenter/gtk/panel-list.ui");
|
||||
gtk_widget_class_set_template_from_resource (widget_class, "/org/gnome/ControlCenter/gtk/cc-panel-list.ui");
|
||||
|
||||
gtk_widget_class_bind_template_child (widget_class, CcPanelList, details_listbox);
|
||||
gtk_widget_class_bind_template_child (widget_class, CcPanelList, details_row);
|
||||
|
|
|
@ -854,7 +854,7 @@ cc_window_class_init (CcWindowClass *klass)
|
|||
CC_TYPE_SHELL_MODEL,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
gtk_widget_class_set_template_from_resource (widget_class, "/org/gnome/ControlCenter/gtk/window.ui");
|
||||
gtk_widget_class_set_template_from_resource (widget_class, "/org/gnome/ControlCenter/gtk/cc-window.ui");
|
||||
|
||||
gtk_widget_class_bind_template_child (widget_class, CcWindow, development_warning_dialog);
|
||||
gtk_widget_class_bind_template_child (widget_class, CcWindow, header);
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<gresources>
|
||||
<gresource prefix="/org/gnome/ControlCenter/gtk">
|
||||
<file preprocess="xml-stripblanks">cc-panel-list.ui</file>
|
||||
<file preprocess="xml-stripblanks">cc-window.ui</file>
|
||||
<file preprocess="xml-stripblanks">help-overlay.ui</file>
|
||||
<file preprocess="xml-stripblanks">panel-list.ui</file>
|
||||
<file preprocess="xml-stripblanks">window.ui</file>
|
||||
</gresource>
|
||||
</gresources>
|
||||
|
|
|
@ -53,9 +53,9 @@ sources = files(
|
|||
)
|
||||
|
||||
resource_data = files(
|
||||
'cc-panel-list.ui',
|
||||
'cc-window.ui',
|
||||
'help-overlay.ui',
|
||||
'panel-list.ui',
|
||||
'window.ui'
|
||||
)
|
||||
|
||||
sources += gnome.compile_resources(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue