summary refs log tree commit diff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs20
1 files changed, 14 insertions, 6 deletions
diff --git a/src/main.rs b/src/main.rs
index 59b4bc0..536563e 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -4,10 +4,8 @@ static GLIB_LOGGER: glib::GlibLogger = glib::GlibLogger::new(
 );
 
 fn main() {
-    gettextrs::bindtextdomain(
-        env!("CARGO_PKG_NAME"),
-        env!("LOCALEDIR")
-    ).expect("failed to bind text domain");
+    gettextrs::bindtextdomain(env!("CARGO_PKG_NAME"), env!("LOCALEDIR"))
+        .expect("failed to bind text domain");
     gettextrs::bind_textdomain_codeset(env!("CARGO_PKG_NAME"), "UTF-8").unwrap();
     gettextrs::textdomain(env!("CARGO_PKG_NAME")).unwrap();
 
@@ -16,11 +14,21 @@ fn main() {
 
     relm4_icons::initialize_icons(bowl::icons::GRESOURCE_BYTES, bowl::icons::RESOURCE_PREFIX);
 
+    sourceview5::init();
+    spelling::init();
+
     let app = relm4::RelmApp::new(bowl::APPLICATION_ID);
-    relm4::set_global_css(".tag-pill button {
+    relm4::set_global_css(
+        "/* CSS for Bowl */
+.tag-pill button {
     min-height: 30px;
     min-width: 30px;
-}");
+}
+.tag-pill label {
+    font-variant-caps: small-caps;
+}
+",
+    );
 
     app.run_async::<bowl::App>(());
 }