Skip to content

Commit

Permalink
V2022.6.1
Browse files Browse the repository at this point in the history
- UI fixes
  • Loading branch information
nlogozzo committed Jun 9, 2022
1 parent 143dee6 commit 099aa49
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .SRCINFO
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pkgbase = nickvision-tube-converter
pkgdesc = An easy-to-use YouTube video downloader
pkgver = 2022.6.0
pkgver = 2022.6.1
pkgrel = 1
url = https://github.com/nlogozzo/NickvisionTubeConverter
arch = x86_64
Expand All @@ -12,7 +12,7 @@ pkgbase = nickvision-tube-converter
depends = jsoncpp
depends = libcurlpp
depends = yt-dlp
source = git+https://github.com/nlogozzo/NickvisionTubeConverter.git#tag=2022.6.0
source = git+https://github.com/nlogozzo/NickvisionTubeConverter.git#tag=2022.6.1
source = git+https://github.com/Makman2/GCR_CMake.git
sha256sums = SKIP
sha256sums = SKIP
Expand Down
2 changes: 1 addition & 1 deletion PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Maintainer: Nick Logozzo <nlogozzo225@gmail.com>
pkgname=nickvision-tube-converter
pkgver=2022.6.0
pkgver=2022.6.1
pkgrel=1
pkgdesc="An easy-to-use YouTube video downloader"
arch=(x86_64)
Expand Down
5 changes: 3 additions & 2 deletions ui/views/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ void MainWindow::downloadVideos()
GtkTextBuffer* logBuffer{gtk_text_buffer_new(nullptr)};
gtk_text_buffer_set_text(logBuffer, m_downloadManager.getLog().c_str(), -1);
gtk_text_view_set_buffer(GTK_TEXT_VIEW(gtk_builder_get_object(m_builder, "gtk_txtLogs")), logBuffer);
g_object_unref(logBuffer);
sendToast("Downloaded " + std::to_string(m_downloadManager.getSuccessfulDownloads()) + " video(s) successfully. View logs for details.");
})};
progDialogDownloading->show();
Expand Down Expand Up @@ -271,14 +272,14 @@ void MainWindow::changelog()
{
GtkWidget* changelogDialog{gtk_message_dialog_new(GTK_WINDOW(m_gobj), GtkDialogFlags(GTK_DIALOG_MODAL),
GTK_MESSAGE_INFO, GTK_BUTTONS_OK, "What's New?")};
gtk_message_dialog_format_secondary_text(GTK_MESSAGE_DIALOG(changelogDialog), "- Application rewrite in C++ and GTK4");
gtk_message_dialog_format_secondary_text(GTK_MESSAGE_DIALOG(changelogDialog), "- UI fixes");
g_signal_connect(changelogDialog, "response", G_CALLBACK(gtk_window_destroy), nullptr);
gtk_widget_show(changelogDialog);
}

void MainWindow::about()
{
gtk_show_about_dialog(GTK_WINDOW(m_gobj), "program-name", "Nickvision Tube Converter", "version", "2022.6.0", "comments", "An easy-to-use YouTube video downloader.",
gtk_show_about_dialog(GTK_WINDOW(m_gobj), "program-name", "Nickvision Tube Converter", "version", "2022.6.1", "comments", "An easy-to-use YouTube video downloader.",
"copyright", "(C) Nickvision 2021-2022", "license-type", GTK_LICENSE_GPL_3_0, "website", "https://github.com/nlogozzo/NickvisionTubeConverter", "website-label", "GitHub",
"authors", new const char*[2]{ "Nicholas Logozzo", nullptr }, "artists", new const char*[3]{ "Nicholas Logozzo", "daudix-UFO (Icons)", nullptr }, "logo-icon-name", "org.nickvision.tubeconverter", nullptr);
}
Expand Down
1 change: 1 addition & 0 deletions ui/views/mainwindow.xml
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@
<property name="margin-top">10</property>
<property name="margin-end">10</property>
<property name="margin-bottom">10</property>
<property name="editable">false</property>
</object>
</child>
</object>
Expand Down

0 comments on commit 099aa49

Please sign in to comment.