Skip to content

Commit

Permalink
feat(headerbar): add new post in menu (#828)
Browse files Browse the repository at this point in the history
  • Loading branch information
GeopJr authored Mar 8, 2024
1 parent 75db6a7 commit 19889a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Views/Sidebar.vala
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ public class Tuba.Views.Sidebar : Gtk.Widget, AccountHolder {
saved_accounts.bind_model (accounts_model, on_accounts_row_create);

var account_submenu_model = new GLib.Menu ();
account_submenu_model.append (_("New Post"), "app.compose");
account_submenu_model.append (_("Open Profile"), "app.open-current-account-profile");
account_submenu_model.append (_("Refresh"), "app.refresh");
menu_model.append_section (null, account_submenu_model);
Expand Down

0 comments on commit 19889a5

Please sign in to comment.