Merge branch 'about' into 'master'
Set parent window in About dialog See merge request postmarketOS/megapixels!8
This commit is contained in:
@@ -525,7 +525,8 @@ run_capture_action(GSimpleAction *action, GVariant *param, gpointer user_data)
|
|||||||
void
|
void
|
||||||
run_about_action(GSimpleAction *action, GVariant *param, GApplication *app)
|
run_about_action(GSimpleAction *action, GVariant *param, GApplication *app)
|
||||||
{
|
{
|
||||||
gtk_show_about_dialog(NULL,
|
GtkWindow *parent = gtk_application_get_active_window(GTK_APPLICATION(app));
|
||||||
|
gtk_show_about_dialog(parent,
|
||||||
"program-name",
|
"program-name",
|
||||||
"Megapixels",
|
"Megapixels",
|
||||||
"title",
|
"title",
|
||||||
@@ -535,7 +536,7 @@ run_about_action(GSimpleAction *action, GVariant *param, GApplication *app)
|
|||||||
"comments",
|
"comments",
|
||||||
"The postmarketOS camera application",
|
"The postmarketOS camera application",
|
||||||
"website",
|
"website",
|
||||||
"https://sr.ht/~martijnbraam/megapixels",
|
"https://gitlab.com/postmarketOS/megapixels",
|
||||||
"version",
|
"version",
|
||||||
VERSION,
|
VERSION,
|
||||||
"license-type",
|
"license-type",
|
||||||
|
Reference in New Issue
Block a user