Hello community,

here is the log from the commit of package quilter for openSUSE:Leap:15.2 
checked in at 2020-03-21 16:46:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/quilter (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.quilter.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "quilter"

Sat Mar 21 16:46:29 2020 rev:30 rq:786920 version:2.1.2

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/quilter/quilter.changes        2020-02-21 
23:53:08.181017731 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.quilter.new.3160/quilter.changes      
2020-03-21 16:47:49.641677279 +0100
@@ -1,0 +2,7 @@
+Wed Mar 11 16:49:13 UTC 2020 - Alexei Podvalsky <[email protected]>
+
+- Update to 2.1.2:
+  * Merge branch 'master' of https://github.com/lainsce/quilter
+    quilter.changes quilter.spec
+
+-------------------------------------------------------------------

Old:
----
  quilter-2.1.1.tar.gz

New:
----
  quilter-2.1.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ quilter.spec ++++++
--- /var/tmp/diff_new_pack.Oainyu/_old  2020-03-21 16:47:49.957677478 +0100
+++ /var/tmp/diff_new_pack.Oainyu/_new  2020-03-21 16:47:49.961677481 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           quilter
-Version:        2.1.1
+Version:        2.1.2
 Release:        0
 Summary:        Writing application
 License:        GPL-3.0-only

++++++ quilter-2.1.1.tar.gz -> quilter-2.1.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/quilter-2.1.1/.travis.yml 
new/quilter-2.1.2/.travis.yml
--- old/quilter-2.1.1/.travis.yml       2020-02-10 06:44:07.000000000 +0100
+++ new/quilter-2.1.2/.travis.yml       2020-03-06 19:57:20.000000000 +0100
@@ -3,7 +3,7 @@
 language: node_js
 
 node_js:
-  - 10/*
+  - 10.17.0
 
 sudo: required
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/quilter-2.1.1/data/com.github.lainsce.quilter.appdata.xml.in 
new/quilter-2.1.2/data/com.github.lainsce.quilter.appdata.xml.in
--- old/quilter-2.1.1/data/com.github.lainsce.quilter.appdata.xml.in    
2020-02-10 06:44:07.000000000 +0100
+++ new/quilter-2.1.2/data/com.github.lainsce.quilter.appdata.xml.in    
2020-03-06 19:57:20.000000000 +0100
@@ -55,6 +55,16 @@
         <content_attribute id="money-gambling">none</content_attribute>
     </content_rating>
     <releases>
+        <release version="2.1.2" date="2020-03-13">
+         <description>
+            <p>Release: Calm Composing</p>
+            <ul>
+                <li>Fixed: Would not prompt to save files which were modified 
on changing between them</li>
+                <li>Fixed: Version info accessible on Terminal</li>
+                <li>Added: New UI for when Focus Mode is active</li>
+            </ul>
+         </description>
+        </release>
         <release version="2.1.1" date="2020-02-14">
          <description>
             <p>Release: Swift Scenes</p>
Binary files old/quilter-2.1.1/data/images/shot-focused.png and 
new/quilter-2.1.2/data/images/shot-focused.png differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/quilter-2.1.1/data/schemes/quilter-dark.xml 
new/quilter-2.1.2/data/schemes/quilter-dark.xml
--- old/quilter-2.1.1/data/schemes/quilter-dark.xml     2020-02-10 
06:44:07.000000000 +0100
+++ new/quilter-2.1.2/data/schemes/quilter-dark.xml     2020-03-06 
19:57:20.000000000 +0100
@@ -3,7 +3,7 @@
   <author>Lains</author>
   <_description>Emphasis on focus.</_description>
 
-  <style name="text"            foreground="#C3C3C3" background="#191919"/>
+  <style name="text"            foreground="#C3C3C3" background="#2b2b2b"/>
   <style name="cursor"          foreground="#0DBCEE"/>
   <style name="current-line"    background="#4D4D4D"/>
   <style name="selection"       foreground="#191919" background="#0D89CC"/>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/quilter-2.1.1/data/schemes/quilter-moon.xml 
new/quilter-2.1.2/data/schemes/quilter-moon.xml
--- old/quilter-2.1.1/data/schemes/quilter-moon.xml     2020-02-10 
06:44:07.000000000 +0100
+++ new/quilter-2.1.2/data/schemes/quilter-moon.xml     2020-03-06 
19:57:20.000000000 +0100
@@ -3,7 +3,7 @@
   <author>Lains</author>
   <_description>Emphasis on focus.</_description>
 
-  <style name="text"            foreground="#C3C3C1" background="#273445"/>
+  <style name="text"            foreground="#C3C3C1" background="#374455"/>
   <style name="cursor"          foreground="#4DBCEE"/>
   <style name="current-line"    background="#4D4D4D"/>
   <style name="selection"       foreground="#C3C3C1" background="#0D89CC"/>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/quilter-2.1.1/data/schemes/quilter-sepia.xml 
new/quilter-2.1.2/data/schemes/quilter-sepia.xml
--- old/quilter-2.1.1/data/schemes/quilter-sepia.xml    2020-02-10 
06:44:07.000000000 +0100
+++ new/quilter-2.1.2/data/schemes/quilter-sepia.xml    2020-03-06 
19:57:20.000000000 +0100
@@ -3,7 +3,7 @@
   <author>Lains</author>
   <_description>Emphasis on focus.</_description>
 
-  <style name="text"            foreground="#3b3228" background="#f0e8dd"/>
+  <style name="text"            foreground="#3b3228" background="#e8dccb"/>
   <style name="cursor"          foreground="#00897b"/>
   <style name="current-line"    background="#c1a073"/>
   <style name="selection"       foreground="#3b3228" background="#00897b"/>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/quilter-2.1.1/data/schemes/quilter.xml 
new/quilter-2.1.2/data/schemes/quilter.xml
--- old/quilter-2.1.1/data/schemes/quilter.xml  2020-02-10 06:44:07.000000000 
+0100
+++ new/quilter-2.1.2/data/schemes/quilter.xml  2020-03-06 19:57:20.000000000 
+0100
@@ -3,7 +3,7 @@
   <author>Lains</author>
   <_description>Emphasis on focus.</_description>
 
-  <style name="text"            foreground="#333" background="#F7F5F7"/>
+  <style name="text"            foreground="#333" background="#EEEEEE"/>
   <style name="cursor"          foreground="#0073c5"/>
   <style name="current-line"    background="#eff0f1"/>
   <style name="selection"       foreground="#EEE" background="#0073c5"/>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/quilter-2.1.1/data/styles/app-main-stylesheet.css 
new/quilter-2.1.2/data/styles/app-main-stylesheet.css
--- old/quilter-2.1.1/data/styles/app-main-stylesheet.css       2020-02-10 
06:44:07.000000000 +0100
+++ new/quilter-2.1.2/data/styles/app-main-stylesheet.css       2020-03-06 
19:57:20.000000000 +0100
@@ -1,10 +1,8 @@
 .color-button {
-    border-bottom-left-radius: 4px;
-    border-top-left-radius: 4px;
-    border-top-right-radius: 4px;
-    border-bottom-right-radius: 4px;
+    border-radius: 8px;
+    -gtk-outline-radius: 8px;
     text-shadow: 1px 1px transparent;
-    padding: 4px;
+    padding: 6px;
 }
 
 .color-dark {
@@ -235,3 +233,22 @@
 .quilter-cbt button:hover {
     border: 1px solid alpha (@textColorPrimary, 0.35);
 }
+
+.quilter-focus-button {
+  border-radius: 100px;
+  -gtk-outline-radius: 100px;
+  min-width: 48px;
+  min-height: 48px;
+  margin: 0;
+  padding: 0;
+}
+
+.focus {
+    border-radius: 4px;
+}
+
+.focus scrollbar,
+.focus webkitwebview {
+    border-top-right-radius: 4px;
+    border-bottom-right-radius: 4px;
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/quilter-2.1.1/data/styles/app-stylesheet-dark.css 
new/quilter-2.1.2/data/styles/app-stylesheet-dark.css
--- old/quilter-2.1.1/data/styles/app-stylesheet-dark.css       2020-02-10 
06:44:07.000000000 +0100
+++ new/quilter-2.1.2/data/styles/app-stylesheet-dark.css       2020-03-06 
19:57:20.000000000 +0100
@@ -2,6 +2,14 @@
 @define-color textColorPrimary #C3C3C1;
 @define-color accentColor #0DBCEE;
 
+window {
+  background: @colorPrimary;
+}
+
+window:backdrop {
+  background: @colorPrimary;
+}
+
 .quilter-toolbar {
     background: @colorPrimary;
     color: @textColorPrimary;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/quilter-2.1.1/data/styles/app-stylesheet-moon.css 
new/quilter-2.1.2/data/styles/app-stylesheet-moon.css
--- old/quilter-2.1.1/data/styles/app-stylesheet-moon.css       2020-02-10 
06:44:07.000000000 +0100
+++ new/quilter-2.1.2/data/styles/app-stylesheet-moon.css       2020-03-06 
19:57:20.000000000 +0100
@@ -2,6 +2,14 @@
 @define-color textColorPrimary #C3C3C1;
 @define-color accentColor #4DBCEE;
 
+window {
+  background: @colorPrimary;
+}
+
+window:backdrop {
+  background: @colorPrimary;
+}
+
 .quilter-toolbar {
     background: @colorPrimary;
     color: @textColorPrimary;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/quilter-2.1.1/data/styles/app-stylesheet-sepia.css 
new/quilter-2.1.2/data/styles/app-stylesheet-sepia.css
--- old/quilter-2.1.1/data/styles/app-stylesheet-sepia.css      2020-02-10 
06:44:07.000000000 +0100
+++ new/quilter-2.1.2/data/styles/app-stylesheet-sepia.css      2020-03-06 
19:57:20.000000000 +0100
@@ -2,6 +2,14 @@
 @define-color textColorPrimary #3b3228;
 @define-color accentColor #00897b;
 
+window {
+  background: @colorPrimary;
+}
+
+window:backdrop {
+  background: @colorPrimary;
+}
+
 .quilter-toolbar {
     background: @colorPrimary;
     color: @textColorPrimary;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/quilter-2.1.1/data/styles/app-stylesheet.css 
new/quilter-2.1.2/data/styles/app-stylesheet.css
--- old/quilter-2.1.1/data/styles/app-stylesheet.css    2020-02-10 
06:44:07.000000000 +0100
+++ new/quilter-2.1.2/data/styles/app-stylesheet.css    2020-03-06 
19:57:20.000000000 +0100
@@ -2,6 +2,14 @@
 @define-color textColorPrimary #333;
 @define-color accentColor #0073c5;
 
+window {
+  background: @colorPrimary;
+}
+
+window:backdrop {
+  background: @colorPrimary;
+}
+
 .quilter-toolbar {
     background: @colorPrimary;
     color: @textColorPrimary;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/quilter-2.1.1/meson.build 
new/quilter-2.1.2/meson.build
--- old/quilter-2.1.1/meson.build       2020-02-10 06:44:07.000000000 +0100
+++ new/quilter-2.1.2/meson.build       2020-03-06 19:57:20.000000000 +0100
@@ -1,6 +1,6 @@
 # Name our project
 project('com.github.lainsce.quilter', ['vala', 'c'],
-    version: '2.1.1'
+    version: '2.1.2'
 )
 
 # Import main lib files
@@ -26,6 +26,7 @@
 
 # Other configs
 conf.set_quoted('GETTEXT_PACKAGE', meson.project_name())
+conf.set_quoted('VERSION', meson.project_version())
 conf
 add_global_arguments('-DDATADIR="' + get_option('datadir') + '"', language: 
'c')
 configure_file(output: 'config.h', configuration: conf)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/quilter-2.1.1/po/es.po new/quilter-2.1.2/po/es.po
--- old/quilter-2.1.1/po/es.po  2020-02-10 06:44:07.000000000 +0100
+++ new/quilter-2.1.2/po/es.po  2020-03-06 19:57:20.000000000 +0100
@@ -327,7 +327,7 @@
 
 #: src/Widgets/Preferences.vala:413
 msgid "Enable Code Highlighting:"
-msgstr "Activar el corrector ortográfico:"
+msgstr "Activar el resaltado de código:"
 
 #: src/Widgets/Preferences.vala:417
 msgid "Enable Spellchecking:"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/quilter-2.1.1/src/Application.vala 
new/quilter-2.1.2/src/Application.vala
--- old/quilter-2.1.1/src/Application.vala      2020-02-10 06:44:07.000000000 
+0100
+++ new/quilter-2.1.2/src/Application.vala      2020-03-06 19:57:20.000000000 
+0100
@@ -20,7 +20,7 @@
 namespace Quilter {
     public class Application : Gtk.Application {
         public static GLib.Settings gsettings;
-        private static bool print_cr = false;
+        private static bool print_ver = false;
         private static bool open_view = false;
         private static string _cwd;
 
@@ -88,8 +88,9 @@
                 return 0;
             }
 
-            if (print_cr) {
-                stdout.printf ("Copyright 2017-2018 Lains\n");
+            if (print_ver) {
+                var ver = Build.VERSION;
+                stdout.printf ("Quilter %s - Copyright 2017-2020 Lains\n", 
ver);
                 return 0;
             } else {
                 new_win ();
@@ -229,9 +230,9 @@
         }
 
         const OptionEntry[] entries = {
-            { "copyright", 'v', 0, OptionArg.NONE, out print_cr, ("Print 
copyright info and exit"), null },
+            { "version", 'v', 0, OptionArg.NONE, out print_ver, ("Print 
version and copyright info and exit"), null },
             { "view", 'V', 0, OptionArg.NONE, out open_view, ("Open document 
for preview"), null },
             { null }
         };
     }
-}
\ No newline at end of file
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/quilter-2.1.1/src/MainWindow.vala 
new/quilter-2.1.2/src/MainWindow.vala
--- old/quilter-2.1.1/src/MainWindow.vala       2020-02-10 06:44:07.000000000 
+0100
+++ new/quilter-2.1.2/src/MainWindow.vala       2020-03-06 19:57:20.000000000 
+0100
@@ -22,11 +22,13 @@
 
 namespace Quilter {
     public class MainWindow : Gtk.ApplicationWindow {
-        public Gtk.Application app { get; construct; }
         public Widgets.StatusBar statusbar;
         public Widgets.SideBar sidebar;
         public Widgets.SearchBar searchbar;
         public Widgets.Headerbar toolbar;
+        public Gtk.Revealer toolbar_revealer;
+        public Gtk.Revealer overlay_button_revealer;
+        public Gtk.Button focus_overlay_button;
         public Gtk.MenuButton set_font_menu;
         public Widgets.EditView edit_view_content;
         public Widgets.Preview preview_view_content;
@@ -62,7 +64,6 @@
                 if (value) {
                     fullscreen ();
                     Quilter.Application.gsettings.set_boolean("statusbar", 
false);
-                    Quilter.Application.gsettings.set_boolean("sidebar", true);
                     var buffer_context = edit_view_content.get_style_context 
();
                     buffer_context.add_class ("full-text");
                     buffer_context.remove_class ("small-text");
@@ -79,10 +80,7 @@
         }
 
         public MainWindow (Gtk.Application application) {
-            Object (application: application,
-                    app: application,
-                    resizable: true,
-                    title: _("Quilter"));
+            Object (application: application);
 
             weak Gtk.IconTheme default_theme = Gtk.IconTheme.get_default ();
             default_theme.add_resource_path ("/com/github/lainsce/quilter");
@@ -223,10 +221,13 @@
                 }
                 return false;
             });
+
+            overlay_button_revealer.visible = false;
         }
 
         construct {
-            
+            // Used for identification purposes, don't translate.
+            title = _("Quilter");
             var provider = new Gtk.CssProvider ();
             provider.load_from_resource 
("/com/github/lainsce/quilter/app-main-stylesheet.css");
             Gtk.StyleContext.add_provider_for_screen (Gdk.Screen.get_default 
(), provider, Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION);
@@ -239,9 +240,18 @@
             toolbar.save.connect (on_save);
             toolbar.save_as.connect (on_save_as);
             toolbar.create_new.connect (on_create_new);
-            toolbar.title = this.title;
             toolbar.has_subtitle = false;
-            this.set_titlebar (toolbar);
+            var toolbar_context = toolbar.get_style_context ();
+            toolbar_context.add_class ("titlebar");
+
+            toolbar_revealer = new Gtk.Revealer ();
+            toolbar_revealer.add (toolbar);
+            toolbar_revealer.reveal_child = true;
+
+            set_titlebar (toolbar_revealer);
+            toolbar.title = title;
+            var toolbar_revealer_context = toolbar_revealer.get_style_context 
();
+            toolbar_revealer_context.remove_class ("titlebar");
 
             var set_font_sans = new Gtk.RadioButton.with_label_from_widget 
(null, _("Use Sans-serif"));
                set_font_sans.toggled.connect (() => {
@@ -273,6 +283,7 @@
             set_font_menu_pop.add (set_font_menu_grid);
 
             set_font_menu = new Gtk.MenuButton ();
+            set_font_menu.image = new Gtk.Image.from_icon_name 
("font-select-symbolic", Gtk.IconSize.LARGE_TOOLBAR);
             set_font_menu.tooltip_text = _("Set Preview Font");
             set_font_menu.popover = set_font_menu_pop;
 
@@ -341,7 +352,34 @@
             grid.attach (main_stack, 1, 1, 1, 1);
             grid.attach (statusbar, 0, 2, 2, 1);
             grid.show_all ();
-            this.add (grid);
+
+            overlay_button_revealer = new Gtk.Revealer ();
+            overlay_button_revealer.transition_type = 
Gtk.RevealerTransitionType.CROSSFADE;
+            overlay_button_revealer.halign = Gtk.Align.END;
+            overlay_button_revealer.valign = Gtk.Align.START;
+
+            focus_overlay_button = new Gtk.Button ();
+            focus_overlay_button.set_image (new Gtk.Image.from_icon_name 
("zoom-fit-best-symbolic", Gtk.IconSize.SMALL_TOOLBAR));
+            focus_overlay_button.set_always_show_image (true);
+            focus_overlay_button.tooltip_text = _("Exit focus mode");
+            focus_overlay_button.halign = Gtk.Align.END;
+            focus_overlay_button.valign = Gtk.Align.START;
+            focus_overlay_button.margin = 12;
+            var focus_overlay_button_context = 
focus_overlay_button.get_style_context ();
+            focus_overlay_button_context.add_class ("quilter-focus-button");
+            focus_overlay_button_context.add_class ("osd");
+
+            focus_overlay_button.clicked.connect (() => {
+                       Quilter.Application.gsettings.set_boolean("focus-mode", 
false);
+            });
+
+            overlay_button_revealer.add (focus_overlay_button);
+
+            var overlay = new Gtk.Overlay ();
+            overlay.add_overlay (overlay_button_revealer);
+            overlay.add (grid);
+
+            add (overlay);
 
             int x = Quilter.Application.gsettings.get_int("window-x");
             int y = Quilter.Application.gsettings.get_int("window-y");
@@ -386,6 +424,7 @@
 
             this.window_position = Gtk.WindowPosition.CENTER;
             this.set_size_request (600, 700);
+            this.margin = 4;
         }
 
 #if VALA_0_42
@@ -427,7 +466,9 @@
             Quilter.Application.gsettings.set_strv("last-files", files);
 
             set_prev_workfile ();
-            on_save ();
+            if (edit_view_content.modified) {
+                on_save ();
+            }
 
             return false;
         }
@@ -543,17 +584,27 @@
         }
 
         private void on_settings_changed () {
+            var context = this.get_style_context ();
+
             show_statusbar ();
             show_sidebar ();
             show_searchbar ();
             update_count ();
             edit_view_content.dynamic_margins ();
             change_layout ();
-         
+
             if (!Quilter.Application.gsettings.get_boolean("focus-mode")) {
-                set_font_menu.image = new Gtk.Image.from_icon_name 
("font-select-symbolic", Gtk.IconSize.LARGE_TOOLBAR);
+                overlay_button_revealer.visible = false;
+                toolbar_revealer.reveal_child = true;
+                overlay_button_revealer.reveal_child = false;
+                statusbar.reveal_child = true;
+                context.remove_class ("focus");
             } else {
-                set_font_menu.image = new Gtk.Image.from_icon_name 
("font-select-symbolic", Gtk.IconSize.SMALL_TOOLBAR);
+                overlay_button_revealer.visible = true;
+                toolbar_revealer.reveal_child = false;
+                overlay_button_revealer.reveal_child = true;
+                statusbar.reveal_child = false;
+                context.add_class ("focus");
             }
 
             if (Quilter.Application.gsettings.get_string("current-file") != "" 
|| Quilter.Application.gsettings.get_string("current-file") != _("No Documents 
Open")) {
@@ -701,10 +752,10 @@
 
                     if (edit_view_content.modified) {
                         Services.FileManager.save_file (file_path, text);
+                        edit_view_content.modified = false;
                     }
 
                     edit_view_content.text = text;
-                    edit_view_content.modified = false;
                 } catch (Error e) {
                     warning ("Unexpected error during selection: " + 
e.message);
                 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/quilter-2.1.1/src/Widgets/HeaderBar.vala 
new/quilter-2.1.2/src/Widgets/HeaderBar.vala
--- old/quilter-2.1.1/src/Widgets/HeaderBar.vala        2020-02-10 
06:44:07.000000000 +0100
+++ new/quilter-2.1.2/src/Widgets/HeaderBar.vala        2020-03-06 
19:57:20.000000000 +0100
@@ -42,8 +42,7 @@
             header_context.add_class ("quilter-toolbar");
 
             build_ui ();
-
-            focus_mode_toolbar ();
+            icons_toolbar ();
         }
 
         private void build_ui () {
@@ -208,24 +207,13 @@
                 Quilter.Application.gsettings.set_string("visual-mode", "");
             });
 
-            var focusmode_button = new Gtk.ToggleButton.with_label ((_("Focus 
Mode")));
+            var focusmode_button = new Gtk.Button.with_label ((_("Focus 
Mode")));
             focusmode_button.set_image (new Gtk.Image.from_icon_name 
("zoom-fit-best-symbolic", Gtk.IconSize.SMALL_TOOLBAR));
             focusmode_button.set_always_show_image (true);
             focusmode_button.tooltip_text = _("Enter focus mode");
 
-            if (Quilter.Application.gsettings.get_boolean("focus-mode") == 
false) {
-                focusmode_button.set_active (false);
-            } else {
-                focusmode_button.set_active 
(Quilter.Application.gsettings.get_boolean("focus-mode"));
-            }
-
-            focusmode_button.toggled.connect (() => {
-                       if (focusmode_button.active) {
-                               
Quilter.Application.gsettings.set_boolean("focus-mode", true);
-                       } else {
-                               
Quilter.Application.gsettings.set_boolean("focus-mode", false);
-                       }
-
+            focusmode_button.clicked.connect (() => {
+                       Quilter.Application.gsettings.set_boolean("focus-mode", 
true);
             });
 
             var colorbox = new Gtk.Box (Gtk.Orientation.HORIZONTAL, 6);
@@ -281,24 +269,14 @@
             this.show_all ();
         }
 
-        public void focus_mode_toolbar () {
-            if (!Quilter.Application.gsettings.get_boolean("focus-mode")) {
-                new_button.set_image (new Gtk.Image.from_icon_name 
("document-new-symbolic", Gtk.IconSize.LARGE_TOOLBAR));
-                save_button.set_image (new Gtk.Image.from_icon_name 
("document-save-symbolic", Gtk.IconSize.LARGE_TOOLBAR));
-                save_as_button.set_image (new Gtk.Image.from_icon_name 
("document-save-as-symbolic", Gtk.IconSize.LARGE_TOOLBAR));
-                open_button.set_image (new Gtk.Image.from_icon_name 
("document-open-symbolic", Gtk.IconSize.LARGE_TOOLBAR));
-                menu_button.set_image (new Gtk.Image.from_icon_name 
("open-menu-symbolic", Gtk.IconSize.LARGE_TOOLBAR));
-                share_app_menu.image = new Gtk.Image.from_icon_name 
("document-export-symbolic", Gtk.IconSize.LARGE_TOOLBAR);
-                search_button.set_image (new Gtk.Image.from_icon_name 
("edit-find-symbolic", Gtk.IconSize.LARGE_TOOLBAR));
-            } else {
-                new_button.set_image (new Gtk.Image.from_icon_name 
("document-new-symbolic", Gtk.IconSize.SMALL_TOOLBAR));
-                save_button.set_image (new Gtk.Image.from_icon_name 
("document-save-symbolic", Gtk.IconSize.SMALL_TOOLBAR));
-                save_as_button.set_image (new Gtk.Image.from_icon_name 
("document-save-as-symbolic", Gtk.IconSize.SMALL_TOOLBAR));
-                open_button.set_image (new Gtk.Image.from_icon_name 
("document-open-symbolic", Gtk.IconSize.SMALL_TOOLBAR));
-                menu_button.set_image (new Gtk.Image.from_icon_name 
("open-menu-symbolic", Gtk.IconSize.SMALL_TOOLBAR));
-                share_app_menu.image = new Gtk.Image.from_icon_name 
("document-export-symbolic", Gtk.IconSize.SMALL_TOOLBAR);
-                search_button.set_image (new Gtk.Image.from_icon_name 
("edit-find-symbolic", Gtk.IconSize.SMALL_TOOLBAR));
-            }
+        public void icons_toolbar () {
+            new_button.set_image (new Gtk.Image.from_icon_name 
("document-new-symbolic", Gtk.IconSize.LARGE_TOOLBAR));
+            save_button.set_image (new Gtk.Image.from_icon_name 
("document-save-symbolic", Gtk.IconSize.LARGE_TOOLBAR));
+            save_as_button.set_image (new Gtk.Image.from_icon_name 
("document-save-as-symbolic", Gtk.IconSize.LARGE_TOOLBAR));
+            open_button.set_image (new Gtk.Image.from_icon_name 
("document-open-symbolic", Gtk.IconSize.LARGE_TOOLBAR));
+            menu_button.set_image (new Gtk.Image.from_icon_name 
("open-menu-symbolic", Gtk.IconSize.LARGE_TOOLBAR));
+            share_app_menu.image = new Gtk.Image.from_icon_name 
("document-export-symbolic", Gtk.IconSize.LARGE_TOOLBAR);
+            search_button.set_image (new Gtk.Image.from_icon_name 
("edit-find-symbolic", Gtk.IconSize.LARGE_TOOLBAR));
         }
     }
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/quilter-2.1.1/src/Widgets/SourceView.vala 
new/quilter-2.1.2/src/Widgets/SourceView.vala
--- old/quilter-2.1.1/src/Widgets/SourceView.vala       2020-02-10 
06:44:07.000000000 +0100
+++ new/quilter-2.1.2/src/Widgets/SourceView.vala       2020-03-06 
19:57:20.000000000 +0100
@@ -88,8 +88,8 @@
             moonfont = new Gtk.TextTag();
 
             darkgrayfont = buffer.create_tag(null, "foreground", "#888");
-            lightgrayfont = buffer.create_tag(null, "foreground", "#777");
-            blackfont = buffer.create_tag(null, "foreground", "#333");
+            lightgrayfont = buffer.create_tag(null, "foreground", "#999");
+            blackfont = buffer.create_tag(null, "foreground", "#000");
             whitefont = buffer.create_tag(null, "foreground", "#CCC");
             lightsepiafont = buffer.create_tag(null, "foreground", "#aa8866");
             sepiafont = buffer.create_tag(null, "foreground", "#331100");
@@ -188,6 +188,7 @@
             this.set_wrap_mode (Gtk.WrapMode.WORD);
             this.top_margin = 40;
             this.bottom_margin = 40;
+            this.margin = 2;
             this.expand = true;
             this.has_focus = true;
             this.set_tab_width (4);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/quilter-2.1.1/src/Widgets/WebView.vala 
new/quilter-2.1.2/src/Widgets/WebView.vala
--- old/quilter-2.1.1/src/Widgets/WebView.vala  2020-02-10 06:44:07.000000000 
+0100
+++ new/quilter-2.1.2/src/Widgets/WebView.vala  2020-03-06 19:57:20.000000000 
+0100
@@ -38,6 +38,7 @@
             visible = true;
             vexpand = true;
             hexpand = true;
+            this.margin = 2;
             this.buf = buf;
             var settingsweb = get_settings ();
             settingsweb.enable_plugins = false;


Reply via email to