From 38b31d8d71a42d57ea16f6353c1a12999a60bd7a Mon Sep 17 00:00:00 2001 From: Goncalo Margalho Date: Sun, 23 Aug 2020 22:55:17 +0200 Subject: [PATCH] Fix typo and update to 1.3.1 --- ....github.devalien.workspaces.appdata.xml.in | 9 +++++++++ debian/changelog | 6 ++++++ meson.build | 2 +- po/com.github.devalien.workspaces.pot | 4 ++-- src/Application.vala | 2 +- src/Views/ItemEditor.vala | 20 +++++++++---------- 6 files changed, 29 insertions(+), 14 deletions(-) diff --git a/data/com.github.devalien.workspaces.appdata.xml.in b/data/com.github.devalien.workspaces.appdata.xml.in index b7a22bd..a9256db 100644 --- a/data/com.github.devalien.workspaces.appdata.xml.in +++ b/data/com.github.devalien.workspaces.appdata.xml.in @@ -67,6 +67,15 @@ + + +

Fixes

+
    +
  • Fixed typo
  • +
+
+
+

New Features

diff --git a/debian/changelog b/debian/changelog index ef73b3a..9fa83d0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +com.github.devalien.workspaces (1.3.1) RELEASED; urgency=low + + * Fixed typo. * + + -- Goncalo Margalho Mon, 23 Aug 2020 22:50:00 +0200 + com.github.devalien.workspaces (1.3.0) RELEASED; urgency=low * Run commands in terminal. * diff --git a/meson.build b/meson.build index b210b92..d36c50b 100644 --- a/meson.build +++ b/meson.build @@ -2,7 +2,7 @@ project ( 'com.github.devalien.workspaces', 'vala', 'c', - version: '1.3.0' + version: '1.3.1' ) # Translation module diff --git a/po/com.github.devalien.workspaces.pot b/po/com.github.devalien.workspaces.pot index 026b7ef..00b0e62 100644 --- a/po/com.github.devalien.workspaces.pot +++ b/po/com.github.devalien.workspaces.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: com.github.devalien.workspaces\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-23 03:13+0200\n" +"POT-Creation-Date: 2020-08-23 22:51+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -183,7 +183,7 @@ msgid "Auto Launch with workspace" msgstr "" #: src/Views/ItemEditor.vala:157 -msgid "Run in termianl" +msgid "Run in terminal" msgstr "" #: src/Views/ItemEditor.vala:172 src/Widgets/ExpandableCategory.vala:79 diff --git a/src/Application.vala b/src/Application.vala index 0e8849d..bc160e4 100644 --- a/src/Application.vala +++ b/src/Application.vala @@ -27,7 +27,7 @@ public class Workspaces.Application : Gtk.Application { public Workspaces.Controllers.WorkspacesController workspaces_controller; - public const string APP_VERSION = "1.3.0"; + public const string APP_VERSION = "1.3.1"; public const string APP_ID = "com.github.devalien.workspaces"; public const string SHOW_WORKSPACES_CMD = APP_ID; public const string FLATPAK_SHOW_WORKSPACES_CMD = "flatpak run " + APP_ID; diff --git a/src/Views/ItemEditor.vala b/src/Views/ItemEditor.vala index 0d23132..c5d50cb 100644 --- a/src/Views/ItemEditor.vala +++ b/src/Views/ItemEditor.vala @@ -71,7 +71,7 @@ public class Workspaces.Views.ItemEditor : Gtk.Box { private Workspaces.Widgets.IconButton icon_button; private Gtk.Entry name_entry; private Gtk.Switch auto_start_switch; - private Gtk.Switch run_in_termianl_switch; + private Gtk.Switch run_in_terminal_switch; private Gtk.Button delete_button; private Granite.Widgets.Toast toast; private Gtk.Grid settings_grid; @@ -145,16 +145,16 @@ public class Workspaces.Views.ItemEditor : Gtk.Box { Workspaces.Application.instance.workspaces_controller.save (); }); var auto_box = new Workspaces.Widgets.SettingBox (_ ("Auto Launch with workspace"), auto_start_switch, false); - run_in_termianl_switch = new Gtk.Switch (); - run_in_termianl_switch.halign = Gtk.Align.END; - run_in_termianl_switch.margin_start = 8; - run_in_termianl_switch.margin_end = 8; - run_in_termianl_switch.hexpand = true; - run_in_termianl_switch.notify["active"].connect (() => { - item.item.run_in_terminal = run_in_termianl_switch.state; + run_in_terminal_switch = new Gtk.Switch (); + run_in_terminal_switch.halign = Gtk.Align.END; + run_in_terminal_switch.margin_start = 8; + run_in_terminal_switch.margin_end = 8; + run_in_terminal_switch.hexpand = true; + run_in_terminal_switch.notify["active"].connect (() => { + item.item.run_in_terminal = run_in_terminal_switch.state; Workspaces.Application.instance.workspaces_controller.save (); }); - var run_box = new Workspaces.Widgets.SettingBox (_ ("Run in termianl"), run_in_termianl_switch, false); + var run_box = new Workspaces.Widgets.SettingBox (_ ("Run in terminal"), run_in_terminal_switch, false); settings_sg.add_widget (auto_box); settings_sg.add_widget (run_box); @@ -553,7 +553,7 @@ public class Workspaces.Views.ItemEditor : Gtk.Box { } auto_start_switch.set_state (item.item.auto_start); - run_in_termianl_switch.set_state (item.item.run_in_terminal); + run_in_terminal_switch.set_state (item.item.run_in_terminal); load_widgets_by_type (item.item.item_type); } } \ No newline at end of file