Skip to content

Commit

Permalink
Fix typo and update to 1.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
DevAlien committed Aug 23, 2020
1 parent 40891b4 commit 38b31d8
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 14 deletions.
9 changes: 9 additions & 0 deletions data/com.github.devalien.workspaces.appdata.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,15 @@
</content_rating>

<releases>
<release version="1.3.1" date="2020-08-23">
<description>
<p>Fixes</p>
<ul>
<li>Fixed typo</li>
</ul>
</description>
</release>

<release version="1.3.0" date="2020-08-23">
<description>
<p>New Features</p>
Expand Down
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
com.github.devalien.workspaces (1.3.1) RELEASED; urgency=low

* Fixed typo. *

-- Goncalo Margalho <[email protected]> Mon, 23 Aug 2020 22:50:00 +0200

com.github.devalien.workspaces (1.3.0) RELEASED; urgency=low

* Run commands in terminal. *
Expand Down
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
project (
'com.github.devalien.workspaces',
'vala', 'c',
version: '1.3.0'
version: '1.3.1'
)

# Translation module
Expand Down
4 changes: 2 additions & 2 deletions po/com.github.devalien.workspaces.pot
Original file line number Diff line number Diff line change
Expand Up @@ -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 <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/Application.vala
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
20 changes: 10 additions & 10 deletions src/Views/ItemEditor.vala
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);

Expand Down Expand Up @@ -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);
}
}

0 comments on commit 38b31d8

Please sign in to comment.