Hello community,

here is the log from the commit of package notejot for openSUSE:Factory checked 
in at 2018-04-04 11:04:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/notejot (Old)
 and      /work/SRC/openSUSE:Factory/.notejot.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "notejot"

Wed Apr  4 11:04:54 2018 rev:4 rq:593086 version:1.4.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/notejot/notejot.changes  2018-01-31 
19:54:13.934946531 +0100
+++ /work/SRC/openSUSE:Factory/.notejot.new/notejot.changes     2018-04-04 
11:05:01.952879135 +0200
@@ -1,0 +2,13 @@
+Mon Mar 26 14:36:48 UTC 2018 - [email protected]
+
+- Update to 1.4.0:
+  * - yet another small thing
+  * - small fix here
+  * 1.3.9 - Add option to create new notes from the Dock/Apps 
+  * Adding more keyboard shortcuts
+  * Update com.github.lainsce.notejot.desktop
+  * Add pl.po
+  * Update LINGUAS
+  * Add files via upload
+
+-------------------------------------------------------------------

Old:
----
  notejot-1.3.8.tar.gz

New:
----
  notejot-1.4.0.tar.gz

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

Other differences:
------------------
++++++ notejot.spec ++++++
--- /var/tmp/diff_new_pack.cUlr1l/_old  2018-04-04 11:05:03.312829846 +0200
+++ /var/tmp/diff_new_pack.cUlr1l/_new  2018-04-04 11:05:03.312829846 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           notejot
-Version:        1.3.8
+Version:        1.4.0
 Release:        0
 Summary:        A Sticky Note App
 License:        GPL-3.0

++++++ notejot-1.3.8.tar.gz -> notejot-1.4.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/notejot-1.3.8/data/com.github.lainsce.notejot.appdata.xml 
new/notejot-1.4.0/data/com.github.lainsce.notejot.appdata.xml
--- old/notejot-1.3.8/data/com.github.lainsce.notejot.appdata.xml       
2018-01-23 04:07:28.000000000 +0100
+++ new/notejot-1.4.0/data/com.github.lainsce.notejot.appdata.xml       
2018-03-19 06:26:10.000000000 +0100
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <component type="desktop">
     <id>com.github.lainsce.notejot.desktop</id>
-    <metadata_license>CC0</metadata_license>
+    <metadata_license>CC0-1.0</metadata_license>
     <project_license>GPL-3.0+</project_license>
     <name>Notejot</name>
     <summary>Jot your ideas</summary>
@@ -23,6 +23,14 @@
         </screenshot>
     </screenshots>
     <releases>
+      <release version="1.3.9" date="2018-03-19">
+          <description>
+              <p>Release: Open Notes From Anywhere</p>
+              <ul>
+                  <li>New option to open notes from the icon in the Dock or 
App Menu.</li>
+              </ul>
+          </description>
+      </release>
       <release version="1.3.8" date="2018-01-26">
           <description>
               <p>Release: A New Colorific Menu</p>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/notejot-1.3.8/data/com.github.lainsce.notejot.desktop 
new/notejot-1.4.0/data/com.github.lainsce.notejot.desktop
--- old/notejot-1.3.8/data/com.github.lainsce.notejot.desktop   2018-01-23 
04:07:28.000000000 +0100
+++ new/notejot-1.4.0/data/com.github.lainsce.notejot.desktop   2018-03-19 
06:26:10.000000000 +0100
@@ -3,6 +3,7 @@
 Comment=Jot your ideas
 Comment[lt]=Greitai užsirašykite savo idėjas
 Comment[pt_BR]=Anote suas ideias
+Comment[pl]=Notuj swoje pomysły
 Exec=com.github.lainsce.notejot
 Icon=com.github.lainsce.notejot
 Keywords=Text;Plain;Plaintext;Notepad;
@@ -10,3 +11,8 @@
 Type=Application
 StartupNotify=true
 Categories=GTK;Utility;
+Actions=NewNote;
+
+[Desktop Action NewNote]
+Exec=com.github.lainsce.notejot --new-note
+Name=New note...
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/notejot-1.3.8/debian/changelog 
new/notejot-1.4.0/debian/changelog
--- old/notejot-1.3.8/debian/changelog  2018-01-23 04:07:28.000000000 +0100
+++ new/notejot-1.4.0/debian/changelog  2018-03-19 06:26:10.000000000 +0100
@@ -1,3 +1,9 @@
+com.github.lainsce.notejot (1.3.9) xenial; urgency=low
+
+  * New option to create notes in the Icon.
+
+ -- Lains <[email protected]>  Mon, 19 Mar 2018 02:04:00 -0300
+
 com.github.lainsce.notejot (1.3.8) xenial; urgency=low
 
   * New menu with better & fancier color buttons.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/notejot-1.3.8/meson.build 
new/notejot-1.4.0/meson.build
--- old/notejot-1.3.8/meson.build       2018-01-23 04:07:28.000000000 +0100
+++ new/notejot-1.4.0/meson.build       2018-03-19 06:26:10.000000000 +0100
@@ -1,6 +1,6 @@
 # Name our project
 project('com.github.lainsce.notejot', ['vala', 'c'],
-    version: '1.3.8'
+    version: '1.3.9'
 )
 
 # Import main lib files
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/notejot-1.3.8/po/LINGUAS new/notejot-1.4.0/po/LINGUAS
--- old/notejot-1.3.8/po/LINGUAS        2018-01-23 04:07:28.000000000 +0100
+++ new/notejot-1.4.0/po/LINGUAS        2018-03-19 06:26:10.000000000 +0100
@@ -1,3 +1,8 @@
 lt
 pt_BR
 es
+nl_NL
+tr_TR
+pl
+fr
+ca
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/notejot-1.3.8/po/ca.po new/notejot-1.4.0/po/ca.po
--- old/notejot-1.3.8/po/ca.po  1970-01-01 01:00:00.000000000 +0100
+++ new/notejot-1.4.0/po/ca.po  2018-03-19 06:26:10.000000000 +0100
@@ -0,0 +1,62 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: com.github.lainsce.notejot\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-01-23 01:00-0200\n"
+"PO-Revision-Date: 2018-03-17 16:48-0600\n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 2.0.6\n"
+"Last-Translator: Adolfo Jayme Barrientos <[email protected]>\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+"Language: ca\n"
+
+#: src/MainWindow.vala:299
+msgid "New note"
+msgstr "Nota nova"
+
+#: src/MainWindow.vala:303
+msgid "Delete note"
+msgstr "Suprimeix la nota"
+
+#: src/MainWindow.vala:310
+msgid "White"
+msgstr "Blanc"
+
+#: src/MainWindow.vala:320
+msgid "Red"
+msgstr "Vermell"
+
+#: src/MainWindow.vala:330
+msgid "Orange"
+msgstr "Taronja"
+
+#: src/MainWindow.vala:340
+msgid "Yellow"
+msgstr "Groc"
+
+#: src/MainWindow.vala:350
+msgid "Green"
+msgstr "Verd"
+
+#: src/MainWindow.vala:360
+msgid "Blue"
+msgstr "Blau"
+
+#: src/MainWindow.vala:370
+msgid "Indigo"
+msgstr "Indi"
+
+#: src/MainWindow.vala:380
+msgid "Violet"
+msgstr "Violeta"
+
+#: src/MainWindow.vala:390
+msgid "Slate"
+msgstr "Gris pissarra"
+
+#: src/MainWindow.vala:423
+msgid "Settings"
+msgstr "Paràmetres"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/notejot-1.3.8/po/es.po new/notejot-1.4.0/po/es.po
--- old/notejot-1.3.8/po/es.po  2018-01-23 04:07:28.000000000 +0100
+++ new/notejot-1.4.0/po/es.po  2018-03-19 06:26:10.000000000 +0100
@@ -3,19 +3,20 @@
 "Project-Id-Version: com.github.lainsce.notejot\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2018-01-23 01:00-0200\n"
-"PO-Revision-Date: 2018-01-13 15:43+0300\n"
-"Last-Translator: Alain M. <[email protected]>\n"
+"PO-Revision-Date: 2018-03-16 14:51-0600\n"
+"Last-Translator: Adolfo Jayme Barrientos <[email protected]>\n"
 "Language: es\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Generator: Poedit 1.8.7.1\n"
+"X-Generator: Poedit 2.0.6\n"
 "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n"
 "%100<10 || n%100>=20) ? 1 : 2);\n"
+"Language-Team: \n"
 
 #: src/MainWindow.vala:299
 msgid "New note"
-msgstr "Nueva nota"
+msgstr "Nota nueva"
 
 #: src/MainWindow.vala:303
 msgid "Delete note"
@@ -23,40 +24,40 @@
 
 #: src/MainWindow.vala:310
 msgid "White"
-msgstr ""
+msgstr "Blanco"
 
 #: src/MainWindow.vala:320
 msgid "Red"
-msgstr ""
+msgstr "Rojo"
 
 #: src/MainWindow.vala:330
 msgid "Orange"
-msgstr ""
+msgstr "Naranja"
 
 #: src/MainWindow.vala:340
 msgid "Yellow"
-msgstr ""
+msgstr "Amarillo"
 
 #: src/MainWindow.vala:350
 msgid "Green"
-msgstr ""
+msgstr "Verde"
 
 #: src/MainWindow.vala:360
 msgid "Blue"
-msgstr ""
+msgstr "Azul"
 
 #: src/MainWindow.vala:370
 msgid "Indigo"
-msgstr ""
+msgstr "Índigo"
 
 #: src/MainWindow.vala:380
 msgid "Violet"
-msgstr ""
+msgstr "Violeta"
 
 #: src/MainWindow.vala:390
 msgid "Slate"
-msgstr ""
+msgstr "Gris pizarra"
 
 #: src/MainWindow.vala:423
 msgid "Settings"
-msgstr "Preferencias"
+msgstr "Configuración"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/notejot-1.3.8/po/fr.po new/notejot-1.4.0/po/fr.po
--- old/notejot-1.3.8/po/fr.po  1970-01-01 01:00:00.000000000 +0100
+++ new/notejot-1.4.0/po/fr.po  2018-03-19 06:26:10.000000000 +0100
@@ -0,0 +1,62 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: com.github.lainsce.notejot\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-01-23 01:00-0200\n"
+"PO-Revision-Date: 2018-01-13 15:43+0300\n"
+"Last-Translator: Alain M. <[email protected]>\n"
+"Language: es\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 1.8.7.1\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n"
+"%100<10 || n%100>=20) ? 1 : 2);\n"
+
+#: src/MainWindow.vala:299
+msgid "New note"
+msgstr "Nouvelle note"
+
+#: src/MainWindow.vala:303
+msgid "Delete note"
+msgstr "Effacer la note"
+
+#: src/MainWindow.vala:310
+msgid "White"
+msgstr "Blanc"
+
+#: src/MainWindow.vala:320
+msgid "Red"
+msgstr "Rouge"
+
+#: src/MainWindow.vala:330
+msgid "Orange"
+msgstr "Orange"
+
+#: src/MainWindow.vala:340
+msgid "Yellow"
+msgstr "Jaune"
+
+#: src/MainWindow.vala:350
+msgid "Green"
+msgstr "Vert"
+
+#: src/MainWindow.vala:360
+msgid "Blue"
+msgstr "Bleu"
+
+#: src/MainWindow.vala:370
+msgid "Indigo"
+msgstr "Indigo"
+
+#: src/MainWindow.vala:380
+msgid "Violet"
+msgstr "Violet"
+
+#: src/MainWindow.vala:390
+msgid "Slate"
+msgstr "Gris"
+
+#: src/MainWindow.vala:423
+msgid "Settings"
+msgstr "Préférences"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/notejot-1.3.8/po/lt.po new/notejot-1.4.0/po/lt.po
--- old/notejot-1.3.8/po/lt.po  2018-01-23 04:07:28.000000000 +0100
+++ new/notejot-1.4.0/po/lt.po  2018-03-19 06:26:10.000000000 +0100
@@ -23,39 +23,39 @@
 
 #: src/MainWindow.vala:310
 msgid "White"
-msgstr ""
+msgstr "Balta"
 
 #: src/MainWindow.vala:320
 msgid "Red"
-msgstr ""
+msgstr "Raudona"
 
 #: src/MainWindow.vala:330
 msgid "Orange"
-msgstr ""
+msgstr "Oranžinė"
 
 #: src/MainWindow.vala:340
 msgid "Yellow"
-msgstr ""
+msgstr "Geltona"
 
 #: src/MainWindow.vala:350
 msgid "Green"
-msgstr ""
+msgstr "Žalia"
 
 #: src/MainWindow.vala:360
 msgid "Blue"
-msgstr ""
+msgstr "Mėlyna"
 
 #: src/MainWindow.vala:370
 msgid "Indigo"
-msgstr ""
+msgstr "Indigo"
 
 #: src/MainWindow.vala:380
 msgid "Violet"
-msgstr ""
+msgstr "Violetinė"
 
 #: src/MainWindow.vala:390
 msgid "Slate"
-msgstr ""
+msgstr "Pilkai melsva"
 
 #: src/MainWindow.vala:423
 msgid "Settings"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/notejot-1.3.8/po/nl_NL.po 
new/notejot-1.4.0/po/nl_NL.po
--- old/notejot-1.3.8/po/nl_NL.po       1970-01-01 01:00:00.000000000 +0100
+++ new/notejot-1.4.0/po/nl_NL.po       2018-03-19 06:26:10.000000000 +0100
@@ -0,0 +1,62 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: com.github.lainsce.notejot\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-01-23 01:00-0200\n"
+"PO-Revision-Date: 2018-02-25 14:47+0100\n"
+"Language-Team: Dutch - [email protected]\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 2.0.6\n"
+"Last-Translator: Heimen Stoffels <[email protected]>\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+"Language: nl_NL\n"
+
+#: src/MainWindow.vala:299
+msgid "New note"
+msgstr "Nieuwe notitie"
+
+#: src/MainWindow.vala:303
+msgid "Delete note"
+msgstr "Notitie verwijderen"
+
+#: src/MainWindow.vala:310
+msgid "White"
+msgstr "Wit"
+
+#: src/MainWindow.vala:320
+msgid "Red"
+msgstr "Rood"
+
+#: src/MainWindow.vala:330
+msgid "Orange"
+msgstr "Oranje"
+
+#: src/MainWindow.vala:340
+msgid "Yellow"
+msgstr "Geel"
+
+#: src/MainWindow.vala:350
+msgid "Green"
+msgstr "Groen"
+
+#: src/MainWindow.vala:360
+msgid "Blue"
+msgstr "Blauw"
+
+#: src/MainWindow.vala:370
+msgid "Indigo"
+msgstr "Indigo"
+
+#: src/MainWindow.vala:380
+msgid "Violet"
+msgstr "Paars"
+
+#: src/MainWindow.vala:390
+msgid "Slate"
+msgstr "Blauwgrijs"
+
+#: src/MainWindow.vala:423
+msgid "Settings"
+msgstr "Instellingen"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/notejot-1.3.8/po/pl.po new/notejot-1.4.0/po/pl.po
--- old/notejot-1.3.8/po/pl.po  1970-01-01 01:00:00.000000000 +0100
+++ new/notejot-1.4.0/po/pl.po  2018-03-19 06:26:10.000000000 +0100
@@ -0,0 +1,62 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: com.github.lainsce.notejot\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-01-23 01:00-0200\n"
+"PO-Revision-Date: 2018-01-13 15:43+0300\n"
+"Last-Translator: Dany Gee <[email protected]>\n"
+"Language: pl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 1.8.7.1\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n"
+"%100<10 || n%100>=20) ? 1 : 2);\n"
+
+#: src/MainWindow.vala:299
+msgid "New note"
+msgstr "Nowa notatka"
+
+#: src/MainWindow.vala:303
+msgid "Delete note"
+msgstr "Usuń notatkę"
+
+#: src/MainWindow.vala:310
+msgid "White"
+msgstr "Biała"
+
+#: src/MainWindow.vala:320
+msgid "Red"
+msgstr "Czerwona"
+
+#: src/MainWindow.vala:330
+msgid "Orange"
+msgstr "Pomarańczowa"
+
+#: src/MainWindow.vala:340
+msgid "Yellow"
+msgstr "Żółta"
+
+#: src/MainWindow.vala:350
+msgid "Green"
+msgstr "Zielona"
+
+#: src/MainWindow.vala:360
+msgid "Blue"
+msgstr "Niebieska"
+
+#: src/MainWindow.vala:370
+msgid "Indigo"
+msgstr "Fioletowa"
+
+#: src/MainWindow.vala:380
+msgid "Violet"
+msgstr "Różowa"
+
+#: src/MainWindow.vala:390
+msgid "Slate"
+msgstr "Szara"
+
+#: src/MainWindow.vala:423
+msgid "Settings"
+msgstr "Ustawienia"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/notejot-1.3.8/po/tr_TR.po 
new/notejot-1.4.0/po/tr_TR.po
--- old/notejot-1.3.8/po/tr_TR.po       1970-01-01 01:00:00.000000000 +0100
+++ new/notejot-1.4.0/po/tr_TR.po       2018-03-19 06:26:10.000000000 +0100
@@ -0,0 +1,62 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: com.github.lainsce.notejot\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-02-17 22:55+0300\n"
+"PO-Revision-Date: 2018-02-17 23:02+0300\n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 1.8.7.1\n"
+"Last-Translator: \n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+"Language: tr_TR\n"
+
+#: src/MainWindow.vala:299
+msgid "New note"
+msgstr "Yeni not"
+
+#: src/MainWindow.vala:303
+msgid "Delete note"
+msgstr "Notu sil"
+
+#: src/MainWindow.vala:310
+msgid "White"
+msgstr "Beyaz"
+
+#: src/MainWindow.vala:320
+msgid "Red"
+msgstr "Kırmızı"
+
+#: src/MainWindow.vala:330
+msgid "Orange"
+msgstr "Turuncu"
+
+#: src/MainWindow.vala:340
+msgid "Yellow"
+msgstr "Sarı"
+
+#: src/MainWindow.vala:350
+msgid "Green"
+msgstr "Yeşil"
+
+#: src/MainWindow.vala:360
+msgid "Blue"
+msgstr "Mavi"
+
+#: src/MainWindow.vala:370
+msgid "Indigo"
+msgstr "Çivit"
+
+#: src/MainWindow.vala:380
+msgid "Violet"
+msgstr "Menekşe"
+
+#: src/MainWindow.vala:390
+msgid "Slate"
+msgstr "Barut Gri"
+
+#: src/MainWindow.vala:423
+msgid "Settings"
+msgstr "Ayarlar"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/notejot-1.3.8/src/Application.vala 
new/notejot-1.4.0/src/Application.vala
--- old/notejot-1.3.8/src/Application.vala      2018-01-23 04:07:28.000000000 
+0100
+++ new/notejot-1.4.0/src/Application.vala      2018-03-19 06:26:10.000000000 
+0100
@@ -20,10 +20,10 @@
     public class Application : Granite.Application {
         public Gee.ArrayList<MainWindow> open_notes = new 
Gee.ArrayList<MainWindow>();
         private NoteManager note_manager = new NoteManager();
-
+        private static bool create_new_window = false;
 
         public Application () {
-            Object (flags: ApplicationFlags.FLAGS_NONE,
+            Object (flags: ApplicationFlags.HANDLES_COMMAND_LINE,
                     application_id: "com.github.lainsce.notejot");
            }
 
@@ -41,6 +41,20 @@
                    windows.close();
                }
             });
+            var new_action = new SimpleAction ("new", null);
+            set_accels_for_action ("app.new", {"<Control>n"});
+            add_action (new_action);
+            new_action.activate.connect (() => {
+                create_note(null);
+            });
+            var delete_action = new SimpleAction ("delete", null);
+            set_accels_for_action ("app.delete", {"<Control>w"});
+            add_action (delete_action);
+            delete_action.activate.connect (() => {
+                MainWindow note = (MainWindow)get_active_window ();
+                remove_note(note);
+                note.destroy();
+            });
         }
 
         protected override void activate () {
@@ -87,6 +101,38 @@
             note_manager.save_notes(storage);
            }
 
+        protected override int command_line (ApplicationCommandLine 
command_line) {
+            var context = new OptionContext ("File");
+            context.add_main_entries (entries, Build.GETTEXT_PACKAGE);
+            context.add_group (Gtk.get_option_group (true));
+
+            string[] args = command_line.get_arguments ();
+            int unclaimed_args;
+
+            activate ();
+
+            try {
+                context.parse_strv (ref args);
+                unclaimed_args = args.length - 1;
+            } catch(Error e) {
+                print (e.message + "\n");
+
+                return 1;
+            }
+
+            // Create a next window if requested and it's not the app launch
+            if (create_new_window) {
+                create_new_window = false;
+                create_note (null);
+            }
+            return 0;
+        }
+
+        const OptionEntry[] entries = {
+            { "new-note", 'n', 0, OptionArg.NONE, out create_new_window, "New 
Note", null },
+            { null }
+        };
+
         public static int main (string[] args) {
             Intl.setlocale (LocaleCategory.ALL, "");
             Intl.textdomain (Build.GETTEXT_PACKAGE);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/notejot-1.3.8/src/EditableLabel.vala 
new/notejot-1.4.0/src/EditableLabel.vala
--- old/notejot-1.3.8/src/EditableLabel.vala    2018-01-23 04:07:28.000000000 
+0100
+++ new/notejot-1.4.0/src/EditableLabel.vala    2018-03-19 06:26:10.000000000 
+0100
@@ -65,9 +65,9 @@
         string style = null;
         var css_provider = new Gtk.CssProvider();
         if (Gtk.get_minor_version() < 20) {
-            style = ".notejot-label { font-weight: 700; color: 
@textColorPrimary; } .notejot-label:backdrop { color: mix (@textColorPrimary, 
@colorPrimary, 0.3);; }";
+            style = ".notejot-label { font-weight: 700; color: 
@textColorPrimary; } .notejot-label:backdrop { color: mix (@textColorPrimary, 
@colorPrimary, 0.3); }";
         } else {
-            style = ".notejot-label { font-weight: 700; color: 
@textColorPrimary; } .notejot-label:backdrop { color: mix (@textColorPrimary, 
@colorPrimary, 0.3);; }";
+            style = ".notejot-label { font-weight: 700; color: 
@textColorPrimary; } .notejot-label:backdrop { color: mix (@textColorPrimary, 
@colorPrimary, 0.3); }";
         }
 
         try {


Reply via email to