mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-29 23:32:04 +02:00
clapper-app: Show development versions in about window
Since during development we do not put new release tag into metainfo which about window uses to know app version, set it manually to the library version since they are the same.
This commit is contained in:
@@ -19,6 +19,7 @@
|
|||||||
|
|
||||||
#include <glib/gi18n.h>
|
#include <glib/gi18n.h>
|
||||||
#include <gst/gst.h>
|
#include <gst/gst.h>
|
||||||
|
#include <clapper/clapper.h>
|
||||||
#include <adwaita.h>
|
#include <adwaita.h>
|
||||||
|
|
||||||
#include "clapper-app-about-window.h"
|
#include "clapper-app-about-window.h"
|
||||||
@@ -39,6 +40,9 @@ clapper_app_about_window_new (GtkApplication *gtk_app)
|
|||||||
gtk_window_set_modal (GTK_WINDOW (about), TRUE);
|
gtk_window_set_modal (GTK_WINDOW (about), TRUE);
|
||||||
gtk_window_set_transient_for (GTK_WINDOW (about), window);
|
gtk_window_set_transient_for (GTK_WINDOW (about), window);
|
||||||
|
|
||||||
|
/* Also show development versions */
|
||||||
|
adw_about_window_set_version (about, CLAPPER_VERSION_S);
|
||||||
|
|
||||||
/* TRANSLATORS: Put your name(s) here for credits or leave untranslated */
|
/* TRANSLATORS: Put your name(s) here for credits or leave untranslated */
|
||||||
adw_about_window_set_translator_credits (about, _("translator-credits"));
|
adw_about_window_set_translator_credits (about, _("translator-credits"));
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user