[sysprof] ui: fix various css/ui includes
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof] ui: fix various css/ui includes
- Date: Wed, 29 May 2019 22:16:32 +0000 (UTC)
commit 219b48f6684c5760bdde627182597f567ead56d3
Author: Christian Hergert <chergert redhat com>
Date: Wed May 8 12:12:33 2019 -0700
ui: fix various css/ui includes
...rk.css => SysprofVisualizerView-Adwaita-dark.css} | 0
...Adwaita.css => SysprofVisualizerView-Adwaita.css} | 0
...w-shared.css => SysprofVisualizerView-shared.css} | 0
src/libsysprof-ui/libsysprof-ui.gresource.xml | 20 ++++++++++----------
...p-callgraph-view.ui => sysprof-callgraph-view.ui} | 14 +++++++-------
...pty-state-view.ui => sysprof-empty-state-view.ui} | 2 +-
...ed-state-view.ui => sysprof-failed-state-view.ui} | 2 +-
...ess-model-row.ui => sysprof-process-model-row.ui} | 2 +-
...enu-button.ui => sysprof-profiler-menu-button.ui} | 4 ++--
...state-view.ui => sysprof-recording-state-view.ui} | 2 +-
...visualizer-view.ui => sysprof-visualizer-view.ui} | 6 +++---
src/sysprof/sysprof.gresource.xml | 2 +-
src/sysprof/ui/{sp-window.ui => sysprof-window.ui} | 18 +++++++++---------
13 files changed, 36 insertions(+), 36 deletions(-)
---
diff --git a/src/libsysprof-ui/css/SpVisualizerView-Adwaita-dark.css
b/src/libsysprof-ui/css/SysprofVisualizerView-Adwaita-dark.css
similarity index 100%
rename from src/libsysprof-ui/css/SpVisualizerView-Adwaita-dark.css
rename to src/libsysprof-ui/css/SysprofVisualizerView-Adwaita-dark.css
diff --git a/src/libsysprof-ui/css/SpVisualizerView-Adwaita.css
b/src/libsysprof-ui/css/SysprofVisualizerView-Adwaita.css
similarity index 100%
rename from src/libsysprof-ui/css/SpVisualizerView-Adwaita.css
rename to src/libsysprof-ui/css/SysprofVisualizerView-Adwaita.css
diff --git a/src/libsysprof-ui/css/SpVisualizerView-shared.css
b/src/libsysprof-ui/css/SysprofVisualizerView-shared.css
similarity index 100%
rename from src/libsysprof-ui/css/SpVisualizerView-shared.css
rename to src/libsysprof-ui/css/SysprofVisualizerView-shared.css
diff --git a/src/libsysprof-ui/libsysprof-ui.gresource.xml b/src/libsysprof-ui/libsysprof-ui.gresource.xml
index b0ce524..34b48a6 100644
--- a/src/libsysprof-ui/libsysprof-ui.gresource.xml
+++ b/src/libsysprof-ui/libsysprof-ui.gresource.xml
@@ -1,20 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<gresources>
<gresource prefix="/org/gnome/sysprof">
- <file compressed="true">css/SpVisualizerView-shared.css</file>
- <file compressed="true">css/SpVisualizerView-Adwaita.css</file>
- <file compressed="true">css/SpVisualizerView-Adwaita-dark.css</file>
+ <file compressed="true">css/SysprofVisualizerView-shared.css</file>
+ <file compressed="true">css/SysprofVisualizerView-Adwaita.css</file>
+ <file compressed="true">css/SysprofVisualizerView-Adwaita-dark.css</file>
<!-- Application icons -->
<file
alias="icons/scalable/apps/org.gnome.Sysprof.svg">../../data/icons/scalable/apps/org.gnome.Sysprof.svg</file>
<file
alias="icons/symbolic/apps/org.gnome.Sysprof-symbolic.svg">../../data/icons/symbolic/apps/org.gnome.Sysprof-symbolic.svg</file>
- <file compressed="true">ui/sp-callgraph-view.ui</file>
- <file compressed="true">ui/sp-empty-state-view.ui</file>
- <file compressed="true">ui/sp-failed-state-view.ui</file>
- <file compressed="true">ui/sp-process-model-row.ui</file>
- <file compressed="true">ui/sp-profiler-menu-button.ui</file>
- <file compressed="true">ui/sp-recording-state-view.ui</file>
- <file compressed="true">ui/sp-visualizer-view.ui</file>
+ <file compressed="true">ui/sysprof-callgraph-view.ui</file>
+ <file compressed="true">ui/sysprof-empty-state-view.ui</file>
+ <file compressed="true">ui/sysprof-failed-state-view.ui</file>
+ <file compressed="true">ui/sysprof-process-model-row.ui</file>
+ <file compressed="true">ui/sysprof-profiler-menu-button.ui</file>
+ <file compressed="true">ui/sysprof-recording-state-view.ui</file>
+ <file compressed="true">ui/sysprof-visualizer-view.ui</file>
</gresource>
</gresources>
diff --git a/src/libsysprof-ui/ui/sp-callgraph-view.ui b/src/libsysprof-ui/ui/sysprof-callgraph-view.ui
similarity index 94%
rename from src/libsysprof-ui/ui/sp-callgraph-view.ui
rename to src/libsysprof-ui/ui/sysprof-callgraph-view.ui
index 67cb120..f130496 100644
--- a/src/libsysprof-ui/ui/sp-callgraph-view.ui
+++ b/src/libsysprof-ui/ui/sysprof-callgraph-view.ui
@@ -1,5 +1,5 @@
<interface>
- <template class="SpCallgraphView" parent="GtkBin">
+ <template class="SysprofCallgraphView" parent="GtkBin">
<child>
<object class="GtkPaned">
<property name="orientation">horizontal</property>
@@ -39,7 +39,7 @@
<property name="sort-column-id">1</property>
<property name="title" translatable="yes">Self</property>
<child>
- <object class="SpCellRendererPercent">
+ <object class="SysprofCellRendererPercent">
<property name="xpad">6</property>
</object>
<attributes>
@@ -55,7 +55,7 @@
<property name="sort-column-id">2</property>
<property name="title" translatable="yes">Total</property>
<child>
- <object class="SpCellRendererPercent">
+ <object class="SysprofCellRendererPercent">
<property name="xpad">6</property>
</object>
<attributes>
@@ -100,7 +100,7 @@
<property name="sort-column-id">1</property>
<property name="title" translatable="yes">Self</property>
<child>
- <object class="SpCellRendererPercent">
+ <object class="SysprofCellRendererPercent">
<property name="xpad">6</property>
</object>
<attributes>
@@ -116,7 +116,7 @@
<property name="sort-column-id">2</property>
<property name="title" translatable="yes">Total</property>
<child>
- <object class="SpCellRendererPercent">
+ <object class="SysprofCellRendererPercent">
<property name="xpad">6</property>
</object>
<attributes>
@@ -155,7 +155,7 @@
<property name="sort-column-id">1</property>
<property name="title" translatable="yes">Self</property>
<child>
- <object class="SpCellRendererPercent">
+ <object class="SysprofCellRendererPercent">
<property name="xpad">6</property>
</object>
<attributes>
@@ -171,7 +171,7 @@
<property name="sort-column-id">2</property>
<property name="title" translatable="yes">Cumulative</property>
<child>
- <object class="SpCellRendererPercent">
+ <object class="SysprofCellRendererPercent">
<property name="xpad">6</property>
</object>
<attributes>
diff --git a/src/libsysprof-ui/ui/sp-empty-state-view.ui b/src/libsysprof-ui/ui/sysprof-empty-state-view.ui
similarity index 97%
rename from src/libsysprof-ui/ui/sp-empty-state-view.ui
rename to src/libsysprof-ui/ui/sysprof-empty-state-view.ui
index d6cad47..532bb0d 100644
--- a/src/libsysprof-ui/ui/sp-empty-state-view.ui
+++ b/src/libsysprof-ui/ui/sysprof-empty-state-view.ui
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
- <template class="SpEmptyStateView" parent="GtkBin">
+ <template class="SysprofEmptyStateView" parent="GtkBin">
<child>
<object class="GtkBox">
<property name="border-width">36</property>
diff --git a/src/libsysprof-ui/ui/sp-failed-state-view.ui b/src/libsysprof-ui/ui/sysprof-failed-state-view.ui
similarity index 97%
rename from src/libsysprof-ui/ui/sp-failed-state-view.ui
rename to src/libsysprof-ui/ui/sysprof-failed-state-view.ui
index ba2f17e..c91c239 100644
--- a/src/libsysprof-ui/ui/sp-failed-state-view.ui
+++ b/src/libsysprof-ui/ui/sysprof-failed-state-view.ui
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<interface>
- <template class="SpFailedStateView" parent="GtkBin">
+ <template class="SysprofFailedStateView" parent="GtkBin">
<child>
<object class="GtkBox">
<property name="border-width">36</property>
diff --git a/src/libsysprof-ui/ui/sp-process-model-row.ui b/src/libsysprof-ui/ui/sysprof-process-model-row.ui
similarity index 96%
rename from src/libsysprof-ui/ui/sp-process-model-row.ui
rename to src/libsysprof-ui/ui/sysprof-process-model-row.ui
index 48a4c93..118e3d8 100644
--- a/src/libsysprof-ui/ui/sp-process-model-row.ui
+++ b/src/libsysprof-ui/ui/sysprof-process-model-row.ui
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<interface>
- <template class="SpProcessModelRow" parent="GtkListBoxRow">
+ <template class="SysprofProcessModelRow" parent="GtkListBoxRow">
<child>
<object class="GtkBox">
<property name="visible">true</property>
diff --git a/src/libsysprof-ui/ui/sp-profiler-menu-button.ui
b/src/libsysprof-ui/ui/sysprof-profiler-menu-button.ui
similarity index 98%
rename from src/libsysprof-ui/ui/sp-profiler-menu-button.ui
rename to src/libsysprof-ui/ui/sysprof-profiler-menu-button.ui
index 610183e..2f6b854 100644
--- a/src/libsysprof-ui/ui/sp-profiler-menu-button.ui
+++ b/src/libsysprof-ui/ui/sysprof-profiler-menu-button.ui
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<interface>
- <template class="SpProfilerMenuButton" parent="GtkMenuButton">
+ <template class="SysprofProfilerMenuButton" parent="GtkMenuButton">
<property name="popover">popover</property>
<property name="width-request">150</property>
<child>
@@ -29,7 +29,7 @@
</object>
</child>
</template>
- <object class="SpProcessModel" id="process_model">
+ <object class="SysprofProcessModel" id="process_model">
</object>
<object class="GtkPopover" id="popover">
<child>
diff --git a/src/libsysprof-ui/ui/sp-recording-state-view.ui
b/src/libsysprof-ui/ui/sysprof-recording-state-view.ui
similarity index 97%
rename from src/libsysprof-ui/ui/sp-recording-state-view.ui
rename to src/libsysprof-ui/ui/sysprof-recording-state-view.ui
index 18d720f..12458d6 100644
--- a/src/libsysprof-ui/ui/sp-recording-state-view.ui
+++ b/src/libsysprof-ui/ui/sysprof-recording-state-view.ui
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<interface>
- <template class="SpRecordingStateView" parent="GtkBin">
+ <template class="SysprofRecordingStateView" parent="GtkBin">
<child>
<object class="GtkBox">
<property name="border-width">36</property>
diff --git a/src/libsysprof-ui/ui/sp-visualizer-view.ui b/src/libsysprof-ui/ui/sysprof-visualizer-view.ui
similarity index 83%
rename from src/libsysprof-ui/ui/sp-visualizer-view.ui
rename to src/libsysprof-ui/ui/sysprof-visualizer-view.ui
index 9254397..4f345d2 100644
--- a/src/libsysprof-ui/ui/sp-visualizer-view.ui
+++ b/src/libsysprof-ui/ui/sysprof-visualizer-view.ui
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
- <template class="SpVisualizerView" parent="GtkBin">
+ <template class="SysprofVisualizerView" parent="GtkBin">
<child>
<object class="GtkOverlay">
<property name="visible">true</property>
<child type="overlay">
- <object class="SpVisualizerTicks" id="ticks">
+ <object class="SysprofVisualizerTicks" id="ticks">
<property name="valign">start</property>
<property name="hexpand">true</property>
<property name="visible">true</property>
@@ -20,7 +20,7 @@
<property name="propagate-natural-width">false</property>
<property name="visible">true</property>
<child>
- <object class="SpVisualizerList" id="list">
+ <object class="SysprofVisualizerList" id="list">
<property name="visible">true</property>
</object>
</child>
diff --git a/src/sysprof/sysprof.gresource.xml b/src/sysprof/sysprof.gresource.xml
index 2d45c46..331f4d5 100644
--- a/src/sysprof/sysprof.gresource.xml
+++ b/src/sysprof/sysprof.gresource.xml
@@ -9,6 +9,6 @@
<file compressed="true">theme/Adwaita-shared.css</file>
<!-- UI Files -->
- <file compressed="true">ui/sp-window.ui</file>
+ <file compressed="true">ui/sysprof-window.ui</file>
</gresource>
</gresources>
diff --git a/src/sysprof/ui/sp-window.ui b/src/sysprof/ui/sysprof-window.ui
similarity index 95%
rename from src/sysprof/ui/sp-window.ui
rename to src/sysprof/ui/sysprof-window.ui
index 997c6f5..e718bcd 100644
--- a/src/sysprof/ui/sp-window.ui
+++ b/src/sysprof/ui/sysprof-window.ui
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<interface>
- <template class="SpWindow" parent="GtkApplicationWindow">
+ <template class="SysprofWindow" parent="GtkApplicationWindow">
<property name="default-height">700</property>
<property name="default-width">1200</property>
<property name="icon-name">org.gnome.Sysprof-symbolic</property>
@@ -51,7 +51,7 @@
</object>
</child>
<child>
- <object class="SpProfilerMenuButton" id="profiler_menu_button">
+ <object class="SysprofProfilerMenuButton" id="profiler_menu_button">
<property name="width-request">200</property>
<property name="visible">true</property>
<property name="halign">start</property>
@@ -137,7 +137,7 @@
<property name="transition-type">crossfade</property>
<property name="visible">true</property>
<child>
- <object class="SpEmptyStateView" id="empty_view">
+ <object class="SysprofEmptyStateView" id="empty_view">
<property name="visible">true</property>
</object>
<packing>
@@ -145,7 +145,7 @@
</packing>
</child>
<child>
- <object class="SpFailedStateView" id="failed_view">
+ <object class="SysprofFailedStateView" id="failed_view">
<property name="visible">true</property>
</object>
<packing>
@@ -153,7 +153,7 @@
</packing>
</child>
<child>
- <object class="SpRecordingStateView" id="recording_view">
+ <object class="SysprofRecordingStateView" id="recording_view">
<property name="visible">true</property>
</object>
<packing>
@@ -161,18 +161,18 @@
</packing>
</child>
<child>
- <object class="SpMultiPaned" id="paned">
+ <object class="SysprofMultiPaned" id="paned">
<property name="orientation">vertical</property>
<property name="visible">true</property>
<property name="vexpand">true</property>
<child>
- <object class="SpVisualizerView" id="visualizers">
+ <object class="SysprofVisualizerView" id="visualizers">
<property name="visible">true</property>
<property name="zoom-manager">zoom_manager</property>
</object>
</child>
<child>
- <object class="SpCallgraphView" id="callgraph_view">
+ <object class="SysprofCallgraphView" id="callgraph_view">
<property name="visible">true</property>
<property name="vexpand">true</property>
</object>
@@ -187,7 +187,7 @@
</object>
</child>
</template>
- <object class="SpZoomManager" id="zoom_manager">
+ <object class="SysprofZoomManager" id="zoom_manager">
<property name="min-zoom">0.01</property>
</object>
<object class="GtkPopover" id="gear_popover">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]