diff --git a/configure.ac b/configure.ac index 13187e8..f3f3839 100644 --- a/configure.ac +++ b/configure.ac @@ -32,7 +32,7 @@ AC_PREREQ(2.61) dnl Initialise automake with the package name, version and dnl bug-reporting address. -AC_INIT([pw3270], [5.3], [perry.werneck@gmail.com]) +AC_INIT([pw3270], [5.4], [perry.werneck@gmail.com]) dnl Place auxilliary scripts here. AC_CONFIG_AUX_DIR([scripts]) diff --git a/rpm/pw3270.spec b/rpm/pw3270.spec index 2cf46dc..7c964ec 100644 --- a/rpm/pw3270.spec +++ b/rpm/pw3270.spec @@ -23,7 +23,7 @@ #---[ Packaging ]----------------------------------------------------------------------------------------------------- Name: pw3270 -Version: 5.3 +Version: 5.4 Release: 0 Summary: IBM 3270 Terminal emulator for GTK License: GPL-2.0 @@ -106,7 +106,6 @@ BuildRequires: gettext-tools BuildRequires: m4 BuildRequires: pkgconfig BuildRequires: sed -BuildRequires: optipng BuildRequires: fdupes BuildRequires: ImageMagick BuildRequires: autoconf-archive @@ -186,8 +185,8 @@ make all -j1 # Configuration & Themes %{_datadir}/glib-2.0/schemas/*.xml %{_datadir}/%{_product}/icons/gtk-*.svg - -%{_datadir}/pixmaps/*.png +%{_datadir}/%{_product}/icons/connect-*.svg +%{_datadir}/%{_product}/icons/disconnect-*.svg %{_datadir}/applications/*.desktop %{_datadir}/appdata/%{_product}.appdata.xml @@ -198,7 +197,7 @@ make all -j1 %defattr(-,root,root) %{_datadir}/%{_product}/ui/* -%{_datadir}/%{_product}/*.png +%{_datadir}/%{_product}/*.svg %{_datadir}/%{_product}/icons/%{_product}.svg %files keypads diff --git a/src/objects/application/actions/about.c b/src/objects/application/actions/about.c index 985c349..da2a471 100644 --- a/src/objects/application/actions/about.c +++ b/src/objects/application/actions/about.c @@ -31,10 +31,18 @@ #include #include - static GtkWidget * factory(PW3270Action G_GNUC_UNUSED(*action), GtkApplication G_GNUC_UNUSED(*application)) { + static GtkWidget * factory(PW3270Action G_GNUC_UNUSED(*action), GtkApplication *application) { GtkAboutDialog * dialog = GTK_ABOUT_DIALOG(gtk_about_dialog_new()); + if(GTK_IS_APPLICATION(application)) { + + gtk_window_set_transient_for(GTK_WINDOW(dialog),gtk_application_get_active_window(GTK_APPLICATION(application))); + gtk_window_set_destroy_with_parent(GTK_WINDOW(dialog),TRUE); + gtk_window_set_modal(GTK_WINDOW(dialog),TRUE); + + } + // Get application logo { #ifdef DEBUG -- libgit2 0.21.2