[gnome-clocks/wip/exalm/split: 7/8] headerbar: Rename to header-bar



commit 79020b68c0acc367a960eb31fc630fb1139bb2c9
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Sat May 23 04:13:57 2020 +0500

    headerbar: Rename to header-bar

 data/gnome-clocks.gresource.xml         | 2 +-
 data/ui/{headerbar.ui => header-bar.ui} | 0
 src/{headerbar.vala => header-bar.vala} | 2 +-
 src/meson.build                         | 2 +-
 4 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/data/gnome-clocks.gresource.xml b/data/gnome-clocks.gresource.xml
index afd962c..e41441e 100644
--- a/data/gnome-clocks.gresource.xml
+++ b/data/gnome-clocks.gresource.xml
@@ -5,7 +5,7 @@
     <file>css/gnome-clocks.highcontrast.css</file>
     <file preprocess="xml-stripblanks">gtk/help-overlay.ui</file>
     <file preprocess="xml-stripblanks">ui/window.ui</file>
-    <file preprocess="xml-stripblanks">ui/headerbar.ui</file>
+    <file preprocess="xml-stripblanks">ui/header-bar.ui</file>
     <file preprocess="xml-stripblanks">ui/alarm-day-picker-row.ui</file>
     <file preprocess="xml-stripblanks">ui/alarm-face.ui</file>
     <file preprocess="xml-stripblanks">ui/alarm-ringing-panel.ui</file>
diff --git a/data/ui/headerbar.ui b/data/ui/header-bar.ui
similarity index 100%
rename from data/ui/headerbar.ui
rename to data/ui/header-bar.ui
diff --git a/src/headerbar.vala b/src/header-bar.vala
similarity index 96%
rename from src/headerbar.vala
rename to src/header-bar.vala
index 53f334d..09bf9bf 100644
--- a/src/headerbar.vala
+++ b/src/header-bar.vala
@@ -24,7 +24,7 @@ public enum Clocks.ButtonMode {
     NONE
 }
 
-[GtkTemplate (ui = "/org/gnome/clocks/ui/headerbar.ui")]
+[GtkTemplate (ui = "/org/gnome/clocks/ui/header-bar.ui")]
 public class Clocks.HeaderBar : Hdy.HeaderBar {
     public ButtonMode button_mode {
         get {
diff --git a/src/meson.build b/src/meson.build
index 0bb9915..0c5b2d2 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -12,7 +12,7 @@ clocks_vala_sources = [
   'application.vala',
   'clock.vala',
   'geocoding.vala',
-  'headerbar.vala',
+  'header-bar.vala',
   'main.vala',
   'search-provider.vala',
   'stopwatch-face.vala',


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]