Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/Remmina/Remmina.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYasin Bakhtiar <yasinbakhtiar@outlook.com>2023-06-14 00:55:11 +0300
committerYasin Bakhtiar <yasinbakhtiar@outlook.com>2023-06-14 00:55:11 +0300
commitc1b477ad7c6282fa69e41477a27e61e3be7acd3c (patch)
treef6fea653a0d851f0828a7f8aaf13b0798970e2aa
parent660e3edb3e88f284af5a70a2eb33eb8fdf76d85b (diff)
Change Remmina about_dialog
-rw-r--r--data/ui/remmina_about.glade65
-rw-r--r--src/remmina_about.c7
2 files changed, 13 insertions, 59 deletions
diff --git a/data/ui/remmina_about.glade b/data/ui/remmina_about.glade
index fe7f7d2f0..118d80b66 100644
--- a/data/ui/remmina_about.glade
+++ b/data/ui/remmina_about.glade
@@ -1,42 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!-- Generated with glade 3.38.2
-
-Remmina - The GTK Remmina Remote Desktop Client
-Copyright © 2014-2022 Antenore Gatta, Giovanni Panozzo
-Copyright © 2022-2023 Antenore Gatta, Giovanni Panozzo, Hiroyuki Tanaka
-
-This program is free software; you can redistribute it and/or
-modify it under the terms of the GNU General Public License
-as published by the Free Software Foundation; either version 2
-of the License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
--->
<interface domain="remmina">
- <requires lib="gtk+" version="3.4"/>
- <!-- interface-license-type gplv2 -->
- <!-- interface-name Remmina -->
- <!-- interface-description The GTK Remmina Remote Desktop Client -->
- <!-- interface-copyright Antenore Gatta, Giovanni Panozzo, 2014-2020 -->
+ <requires lib="gtk" version="4.0"/>
<object class="GtkAboutDialog" id="dialog_remmina_about">
- <property name="can-focus">False</property>
- <property name="title" translatable="yes">About</property>
- <property name="modal">True</property>
- <property name="type-hint">dialog</property>
+ <property name="title" translatable="1">About</property>
+ <property name="modal">1</property>
<property name="program-name">Remmina</property>
- <property name="copyright" translatable="yes">Copyright © 2014–2023 Antenore Gatta, Giovanni Panozzo.
+ <property name="copyright" translatable="1">Copyright © 2014–2023 Antenore Gatta, Giovanni Panozzo.
Copyright © 2009–2014 Vic Lee
More details in COPYING</property>
<property name="website">https://www.remmina.org/</property>
- <property name="website-label" translatable="yes">https://www.remmina.org/</property>
+ <property name="website-label" translatable="1">https://www.remmina.org/</property>
<property name="authors">Antenore Gatta (tmow) &lt;antenore@simbiosi.org&gt;
Giovanni Panozzo &lt;giovanni@panozzo.it&gt;
Antenore Gatta &lt;antenore@simbiosi.org&gt;
@@ -281,32 +254,10 @@ More details in COPYING</property>
Aaron Small &lt;aaron.small@shadnet.shad.ca&gt;
Aaron Herting &lt;aaron@herting.cc&gt;
</property>
-<property name="translator-credits">https://hosted.weblate.org/projects/remmina/remmina/</property>
-<property name="artists">Antenore Gatta (tmow) &lt;antenore@simbiosi.org&gt;
+ <property name="translator-credits">https://hosted.weblate.org/projects/remmina/remmina/</property>
+ <property name="artists">Antenore Gatta (tmow) &lt;antenore@simbiosi.org&gt;
</property>
<property name="logo-icon-name">org.remmina.Remmina</property>
<property name="license-type">gpl-2-0</property>
-<child internal-child="vbox">
- <object class="GtkBox" id="aboutdialog-vbox1">
- <property name="can-focus">False</property>
- <property name="orientation">vertical</property>
- <property name="spacing">2</property>
- <child internal-child="action_area">
- <object class="GtkButtonBox" id="aboutdialog-action_area1">
- <property name="can-focus">False</property>
- <property name="layout-style">end</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="pack-type">end</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <placeholder/>
- </child>
- </object>
-</child>
- </object>
+</object>
</interface>
diff --git a/src/remmina_about.c b/src/remmina_about.c
index 60e03d20f..2c014bed9 100644
--- a/src/remmina_about.c
+++ b/src/remmina_about.c
@@ -45,10 +45,13 @@ void remmina_about_open(GtkWindow *parent)
{
TRACE_CALL(__func__);
- GtkBuilder *builder = remmina_public_gtk_builder_new_from_resource ("/org/remmina/Remmina/src/../data/ui/remmina_about.glade");
- GtkDialog *dialog = GTK_DIALOG(gtk_builder_get_object(builder, "dialog_remmina_about"));
+ GtkBuilder *builder = gtk_builder_new_from_resource ("/org/remmina/Remmina/src/../data/ui/remmina_about.glade");
+ GtkWindow *dialog = GTK_WINDOW(gtk_builder_get_object(builder, "dialog_remmina_about"));
+
+ // Set the version of Remmina to about dialog
gtk_about_dialog_set_version(GTK_ABOUT_DIALOG(dialog), VERSION " (git " REMMINA_GIT_REVISION ")");
+
// TRANSLATORS: translator-credits should be replaced with a formatted list of translators in your own language
gtk_about_dialog_set_translator_credits(GTK_ABOUT_DIALOG(dialog), _("translator-credits"));