Skip to content

Commit

Permalink
V2022.10.0-beta3
Browse files Browse the repository at this point in the history
  • Loading branch information
nlogozzo committed Oct 29, 2022
1 parent bfebb81 commit 80ff5d8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion org.nickvision.money.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
{
"type": "git",
"url": "https://github.com/nlogozzo/NickvisionMoney.git",
"tag": "2022.10.0-beta2"
"tag": "2022.10.0-beta3"
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion org.nickvision.money.metainfo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<binary>org.nickvision.money</binary>
</provides>
<releases>
<release version="2022.10.0-beta2" date="2022-10-28">
<release version="2022.10.0-beta3" date="2022-10-29">
<description>
<p>- Redesign with GTK4 and libadwaita 1.2</p>
</description>
Expand Down
2 changes: 1 addition & 1 deletion src/ui/application.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Application::Application(const std::string& id, GApplicationFlags flags) : m_adw
m_appInfo.setName("Nickvision Money");
m_appInfo.setShortName("Money");
m_appInfo.setDescription("A personal finance manager.");
m_appInfo.setVersion("2022.10.0-beta2");
m_appInfo.setVersion("2022.10.0-beta3");
m_appInfo.setChangelog("<ul><li>Redesign with GTK4 and libadwaita 1.2</li></ul>");
m_appInfo.setGitHubRepo("https://github.com/nlogozzo/NickvisionMoney");
m_appInfo.setIssueTracker("https://github.com/nlogozzo/NickvisionMoney/issues/new");
Expand Down
4 changes: 3 additions & 1 deletion src/ui/views/transactiondialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ TransactionDialog::TransactionDialog(GtkWindow* parent, NickvisionMoney::Control
gtk_window_set_hide_on_close(GTK_WINDOW(m_gobj), true);
adw_message_dialog_add_responses(ADW_MESSAGE_DIALOG(m_gobj), "cancel", "Cancel", "ok", "OK", nullptr);
adw_message_dialog_set_response_appearance(ADW_MESSAGE_DIALOG(m_gobj), "ok", ADW_RESPONSE_SUGGESTED);
adw_message_dialog_set_default_response(ADW_MESSAGE_DIALOG(m_gobj), "cancel");
adw_message_dialog_set_default_response(ADW_MESSAGE_DIALOG(m_gobj), "ok");
adw_message_dialog_set_close_response(ADW_MESSAGE_DIALOG(m_gobj), "cancel");
g_signal_connect(m_gobj, "response", G_CALLBACK((void (*)(AdwMessageDialog*, gchar*, gpointer))([](AdwMessageDialog*, gchar* response, gpointer data) { reinterpret_cast<TransactionDialog*>(data)->setResponse({ response }); })), this);
//Preferences Group
Expand Down Expand Up @@ -40,6 +40,7 @@ TransactionDialog::TransactionDialog(GtkWindow* parent, NickvisionMoney::Control
m_rowDescription = adw_entry_row_new();
gtk_widget_set_size_request(m_rowDescription, 420, -1);
adw_preferences_row_set_title(ADW_PREFERENCES_ROW(m_rowDescription), "Description");
adw_entry_row_set_activates_default(ADW_ENTRY_ROW(m_rowDescription), true);
adw_preferences_group_add(ADW_PREFERENCES_GROUP(m_preferencesGroup), m_rowDescription);
//Type
m_rowType = adw_combo_row_new();
Expand All @@ -55,6 +56,7 @@ TransactionDialog::TransactionDialog(GtkWindow* parent, NickvisionMoney::Control
m_rowAmount = adw_entry_row_new();
gtk_widget_set_size_request(m_rowAmount, 420, -1);
adw_preferences_row_set_title(ADW_PREFERENCES_ROW(m_rowAmount), "Amount");
adw_entry_row_set_activates_default(ADW_ENTRY_ROW(m_rowAmount), true);
adw_preferences_group_add(ADW_PREFERENCES_GROUP(m_preferencesGroup), m_rowAmount);
//Layout
adw_message_dialog_set_extra_child(ADW_MESSAGE_DIALOG(m_gobj), m_preferencesGroup);
Expand Down

0 comments on commit 80ff5d8

Please sign in to comment.