Skip to content

Commit

Permalink
Release 4.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
alainm23 committed Dec 20, 2023
1 parent 41d8957 commit 95eb076
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 3 deletions.
8 changes: 8 additions & 0 deletions data/io.github.alainm23.planify.appdata.xml.in.in
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,14 @@
<url type="help">https://useplanner.com/support/</url>
<launchable type="desktop-id">@[email protected]</launchable>
<releases>
<release version="4.3.2" date="2023-12-20">
<description>
<ul>
<li>Fixed the functionality of adding tags.</li>
</ul>
</description>
</release>

<release version="4.3.1" date="2023-12-19">
<description>
<ul>
Expand Down
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
project(
'io.github.alainm23.planify',
'vala', 'c',
version: '4.3.1'
version: '4.3.2'
)

gnome = import('gnome')
Expand Down
26 changes: 24 additions & 2 deletions src/Views/Label/Labels.vala
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,34 @@ public class Views.Labels : Adw.Bin {
return GLib.Source.REMOVE;
});

labels_local_header.add_activated.connect (() => {
var add_local_button = new Gtk.Button () {
valign = Gtk.Align.CENTER,
can_focus = false,
child = new Widgets.DynamicIcon.from_icon_name ("plus") {
valign = Gtk.Align.CENTER,
halign = Gtk.Align.CENTER,
},
css_classes = { Granite.STYLE_CLASS_FLAT, "header-item-button" }
};

labels_local_header.add_widget_end (add_local_button);
add_local_button.clicked.connect (() => {
var dialog = new Dialogs.Label.new (BackendType.LOCAL);
dialog.show ();
});

labels_todoist_header.add_activated.connect (() => {
var add_todoist_button = new Gtk.Button () {
valign = Gtk.Align.CENTER,
can_focus = false,
child = new Widgets.DynamicIcon.from_icon_name ("plus") {
valign = Gtk.Align.CENTER,
halign = Gtk.Align.CENTER,
},
css_classes = { Granite.STYLE_CLASS_FLAT, "header-item-button" }
};

labels_todoist_header.add_widget_end (add_todoist_button);
add_todoist_button.clicked.connect (() => {
var dialog = new Dialogs.Label.new (BackendType.TODOIST);
dialog.show ();
});
Expand Down

0 comments on commit 95eb076

Please sign in to comment.