From e0068616430c3d8a8f78e3067746c5c72ff85349 Mon Sep 17 00:00:00 2001 From: Artem Anufrij Date: Sun, 15 Oct 2017 19:16:01 +0200 Subject: [PATCH 1/6] open app on single click --- src/Widgets/ApplicationsView.vala | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/Widgets/ApplicationsView.vala b/src/Widgets/ApplicationsView.vala index 45d1639..595c040 100644 --- a/src/Widgets/ApplicationsView.vala +++ b/src/Widgets/ApplicationsView.vala @@ -48,10 +48,9 @@ namespace Webpin { icon_view.valign = Gtk.Align.START; icon_view.vexpand = false; icon_view.homogeneous = true; - icon_view.column_spacing = 15; - icon_view.row_spacing = 15; - icon_view.margin = 15; - icon_view.activate_on_single_click = false; + icon_view.column_spacing = 24; + icon_view.row_spacing = 24; + icon_view.margin = 24; icon_view.child_activated.connect ((child) => { if ((child as Gtk.FlowBoxChild).get_child () is ApplicationIcon) { var app_icon = (child as Gtk.FlowBoxChild).get_child () as ApplicationIcon; From f181c85602476f63946f00af58219eda2534906f Mon Sep 17 00:00:00 2001 From: Artem Anufrij Date: Sun, 15 Oct 2017 19:26:23 +0200 Subject: [PATCH 2/6] new option copy current uri into clipboard --- src/WebWindow.vala | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/WebWindow.vala b/src/WebWindow.vala index fcb0b08..116ade8 100644 --- a/src/WebWindow.vala +++ b/src/WebWindow.vala @@ -49,6 +49,13 @@ namespace Webpin { headerbar.title = desktop_file.name; headerbar.show_close_button = true; + var copy_url = new Gtk.Button.from_icon_name ("edit-copy-symbolic", Gtk.IconSize.MENU); + copy_url.tooltip_text = _("Copy URI into clipboard"); + copy_url.clicked.connect (() => { + Gtk.Clipboard.get_default (Gdk.Display.get_default ()).set_text (web_app.app_view.uri, -1); + }); + headerbar.pack_end (copy_url); + spinner = new Gtk.Spinner (); spinner.set_size_request (16, 16); headerbar.pack_end (spinner); From 36a5b2fabcf8df2dcf063bddee9b6ac6ca4a4bfc Mon Sep 17 00:00:00 2001 From: Artem Anufrij Date: Sun, 15 Oct 2017 19:26:56 +0200 Subject: [PATCH 3/6] updated po/pot content --- po/com.github.artemanufrij.webpin.pot | 36 ++++++++++++--------------- 1 file changed, 16 insertions(+), 20 deletions(-) diff --git a/po/com.github.artemanufrij.webpin.pot b/po/com.github.artemanufrij.webpin.pot index 87eccd7..3e88a39 100644 --- a/po/com.github.artemanufrij.webpin.pot +++ b/po/com.github.artemanufrij.webpin.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-09 21:07+0400\n" +"POT-Creation-Date: 2017-10-15 19:26+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -17,24 +17,20 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: ../src/WebWindow.vala:61 ../src/Widgets/Assistant.vala:118 +#: ../src/Dialogs/InfoDialog.vala:44 +msgid "Accept" +msgstr "" + +#: ../src/WebWindow.vala:53 +msgid "Copy URI into clipboard" +msgstr "" + +#: ../src/WebWindow.vala:65 ../src/Widgets/Assistant.vala:118 msgid "Run in background when closed" msgstr "" -#: ../src/WebWindow.vala:73 ../src/WebWindow.vala:83 -msgid "Unmute notifications" -msgstr "" - -#: ../src/WebWindow.vala:76 ../src/WebWindow.vala:86 -msgid "Mute notifications" -msgstr "" - -#: ../src/WebWindow.vala:88 -msgid "Desktop notifications are enabled" -msgstr "" - -#: ../src/Dialogs/InfoDialog.vala:44 -msgid "Accept" +#: ../src/WebWindow.vala:115 +msgid "Open %s" msgstr "" #: ../src/MainWindow.vala:56 @@ -61,6 +57,10 @@ msgstr "" msgid "Create a new web app with Webpin" msgstr "" +#: ../src/Widgets/WebApp.vala:94 +msgid "Open request in an external application…" +msgstr "" + #: ../src/Widgets/Assistant.vala:74 msgid "Create a new web app" msgstr "" @@ -124,7 +124,3 @@ msgstr "" #: ../src/Widgets/ApplicationIcon.vala:147 msgid "Edit Webapp Properties" msgstr "" - -#: ../src/Widgets/WebApp.vala:93 -msgid "Open request in an external application…" -msgstr "" From 05f16ebc7206636ccd1a38b277d43a68b97d11fd Mon Sep 17 00:00:00 2001 From: Artem Anufrij Date: Sun, 15 Oct 2017 19:45:04 +0200 Subject: [PATCH 4/6] changed icon --- src/WebWindow.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/WebWindow.vala b/src/WebWindow.vala index 116ade8..d55e11a 100644 --- a/src/WebWindow.vala +++ b/src/WebWindow.vala @@ -49,7 +49,7 @@ namespace Webpin { headerbar.title = desktop_file.name; headerbar.show_close_button = true; - var copy_url = new Gtk.Button.from_icon_name ("edit-copy-symbolic", Gtk.IconSize.MENU); + var copy_url = new Gtk.Button.from_icon_name ("insert-link-symbolic", Gtk.IconSize.MENU); copy_url.tooltip_text = _("Copy URI into clipboard"); copy_url.clicked.connect (() => { Gtk.Clipboard.get_default (Gdk.Display.get_default ()).set_text (web_app.app_view.uri, -1); From 717b5628851badead6b01ed343644402c6cbf735 Mon Sep 17 00:00:00 2001 From: Artem Anufrij Date: Sun, 15 Oct 2017 19:51:28 +0200 Subject: [PATCH 5/6] changed appdata --- data/com.github.artemanufrij.webpin.appdata.xml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/data/com.github.artemanufrij.webpin.appdata.xml b/data/com.github.artemanufrij.webpin.appdata.xml index a59dcf8..a1a6c75 100644 --- a/data/com.github.artemanufrij.webpin.appdata.xml +++ b/data/com.github.artemanufrij.webpin.appdata.xml @@ -31,4 +31,18 @@ https://raw.githubusercontent.com/artemanufrij/webpin/master/Screenshot_new_app.png + + + +

New:

+
    +
  • Copy current URI into clipboard
  • +
+

Fix:

+
    +
  • Open WebApp on single click instead double click
  • +
+
+
+
From cd8f2ecec36bbf1578989a686c5f8e7ef63739ea Mon Sep 17 00:00:00 2001 From: welaq Date: Wed, 18 Oct 2017 22:56:01 +0300 Subject: [PATCH 6/6] Update lt.po --- po/lt.po | 153 ++++++++++++++++++++++++++++++------------------------- 1 file changed, 83 insertions(+), 70 deletions(-) diff --git a/po/lt.po b/po/lt.po index f747281..1a42661 100644 --- a/po/lt.po +++ b/po/lt.po @@ -7,88 +7,33 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-08-28 22:31+0300\n" -"PO-Revision-Date: 2017-08-28 22:39+0300\n" +"POT-Creation-Date: 2017-10-18 22:53+0300\n" +"PO-Revision-Date: 2017-10-18 22:55+0300\n" +"Last-Translator: Moo\n" "Language-Team: \n" +"Language: lt\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: Moo\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: lt\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/Dialogs/InfoDialog.vala:44 msgid "Accept" msgstr "Priimti" -#: ../src/Widgets/ApplicationIcon.vala:142 -msgid "Delete Webapp" -msgstr "Ištrinti saityno programą" +#: ../src/WebWindow.vala:53 +msgid "Copy URI into clipboard" +msgstr "Kopijuoti URI į iškarpinę" -#: ../src/Widgets/ApplicationIcon.vala:147 -msgid "Edit Webapp Properties" -msgstr "Taisyti saityno programos savybes" +#: ../src/WebWindow.vala:65 ../src/Widgets/Assistant.vala:118 +msgid "Run in background when closed" +msgstr "Užvėrus, palikti veikti fone" -#: ../src/Widgets/Assistant.vala:73 -msgid "Create a new web app" -msgstr "Sukurti naują saityno programą" - -#: ../src/Widgets/Assistant.vala:81 -msgid "Application name" -msgstr "Programos pavadinimas" - -#: ../src/Widgets/Assistant.vala:84 -msgid "http://myapp.domain" -msgstr "http://manoprograma.sritis" - -#: ../src/Widgets/Assistant.vala:94 -msgid "theme icon name" -msgstr "temos piktogramos pavadinimas" - -#: ../src/Widgets/Assistant.vala:96 -msgid "or" -msgstr "arba" - -#: ../src/Widgets/Assistant.vala:97 -msgid "Set from file..." -msgstr "Nustatyti iš failo..." - -#: ../src/Widgets/Assistant.vala:113 -msgid "Save cookies" -msgstr "Įrašyti slapukus" - -#: ../src/Widgets/Assistant.vala:115 -msgid "Save login information" -msgstr "Įrašyti prisijungimo informaciją" - -#: ../src/Widgets/Assistant.vala:138 -msgid "Save app" -msgstr "Įrašyti programą" - -#: ../src/Widgets/Assistant.vala:160 -msgid "url must start with http:// or https://" -msgstr "url privalo prasidėti http:// arba https://" - -#: ../src/Widgets/Assistant.vala:173 -msgid "App already exist" -msgstr "Programa jau yra" - -#: ../src/Widgets/Assistant.vala:226 -msgid "Images" -msgstr "Paveikslai" - -#: ../src/Widgets/Assistant.vala:238 -msgid "Cancel" -msgstr "Atsisakyti" - -#: ../src/Widgets/Assistant.vala:239 -msgid "Open" -msgstr "Atverti" - -#: ../src/Widgets/WebApp.vala:93 -msgid "Open request in an external application…" -msgstr "Užklausa atveriama išorinėje programoje…" +#: ../src/WebWindow.vala:115 +msgid "Open %s" +msgstr "Atverti %s" #: ../src/MainWindow.vala:56 msgid "Applications" @@ -113,3 +58,71 @@ msgstr "Sukurti programą" #: ../src/MainWindow.vala:66 msgid "Create a new web app with Webpin" msgstr "Sukurkite naują saityno programą, naudodami Webpin" + +#: ../src/Widgets/WebApp.vala:94 +msgid "Open request in an external application…" +msgstr "Užklausa atveriama išorinėje programoje…" + +#: ../src/Widgets/Assistant.vala:74 +msgid "Create a new web app" +msgstr "Sukurti naują saityno programą" + +#: ../src/Widgets/Assistant.vala:82 +msgid "Application name" +msgstr "Programos pavadinimas" + +#: ../src/Widgets/Assistant.vala:85 +msgid "http://myapp.domain" +msgstr "http://manoprograma.sritis" + +#: ../src/Widgets/Assistant.vala:95 +msgid "theme icon name" +msgstr "temos piktogramos pavadinimas" + +#: ../src/Widgets/Assistant.vala:97 +msgid "or" +msgstr "arba" + +#: ../src/Widgets/Assistant.vala:98 +msgid "Set from file..." +msgstr "Nustatyti iš failo..." + +#: ../src/Widgets/Assistant.vala:114 +msgid "Save cookies" +msgstr "Įrašyti slapukus" + +#: ../src/Widgets/Assistant.vala:116 +msgid "Save login information" +msgstr "Įrašyti prisijungimo informaciją" + +#: ../src/Widgets/Assistant.vala:141 +msgid "Save app" +msgstr "Įrašyti programą" + +#: ../src/Widgets/Assistant.vala:163 +msgid "url must start with http:// or https://" +msgstr "url privalo prasidėti http:// arba https://" + +#: ../src/Widgets/Assistant.vala:176 +msgid "App already exist" +msgstr "Programa jau yra" + +#: ../src/Widgets/Assistant.vala:229 +msgid "Images" +msgstr "Paveikslai" + +#: ../src/Widgets/Assistant.vala:241 +msgid "Cancel" +msgstr "Atsisakyti" + +#: ../src/Widgets/Assistant.vala:242 +msgid "Open" +msgstr "Atverti" + +#: ../src/Widgets/ApplicationIcon.vala:142 +msgid "Delete Webapp" +msgstr "Ištrinti saityno programą" + +#: ../src/Widgets/ApplicationIcon.vala:147 +msgid "Edit Webapp Properties" +msgstr "Taisyti saityno programos savybes"