Added second subproject
This commit is contained in:
		@@ -1,49 +0,0 @@
 | 
			
		||||
From e88f5dee0cbb7fa0851b43a5ded5d94256c756d2 Mon Sep 17 00:00:00 2001
 | 
			
		||||
From: Arnaud Ferraris <arnaud.ferraris@gmail.com>
 | 
			
		||||
Date: Sat, 21 Mar 2020 03:00:34 +0100
 | 
			
		||||
Subject: [PATCH] system-prompt: allow blank passwords
 | 
			
		||||
 | 
			
		||||
---
 | 
			
		||||
 src/system-prompt.c | 5 -----
 | 
			
		||||
 1 file changed, 5 deletions(-)
 | 
			
		||||
 | 
			
		||||
diff --git a/src/system-prompt.c b/src/system-prompt.c
 | 
			
		||||
index 30aa3f1..bd06ee0 100644
 | 
			
		||||
--- a/src/system-prompt.c
 | 
			
		||||
+++ b/src/system-prompt.c
 | 
			
		||||
@@ -256,8 +256,6 @@ phosh_system_prompt_password_async (GcrPrompt *prompt,
 | 
			
		||||
   priv->task = g_task_new (self, NULL, callback, user_data);
 | 
			
		||||
   g_task_set_source_tag (priv->task, phosh_system_prompt_password_async);
 | 
			
		||||
 
 | 
			
		||||
-  if (!gtk_entry_get_text_length (GTK_ENTRY (priv->entry_password)))
 | 
			
		||||
-    gtk_widget_set_sensitive (priv->btn_continue, FALSE);
 | 
			
		||||
   gtk_widget_set_sensitive (priv->grid, TRUE);
 | 
			
		||||
 
 | 
			
		||||
   obj = G_OBJECT (self);
 | 
			
		||||
@@ -315,7 +313,6 @@ phosh_system_prompt_confirm_async (GcrPrompt *prompt,
 | 
			
		||||
   priv->task = g_task_new (self, NULL, callback, user_data);
 | 
			
		||||
   g_task_set_source_tag (priv->task, phosh_system_prompt_confirm_async);
 | 
			
		||||
 
 | 
			
		||||
-  gtk_widget_set_sensitive (priv->btn_continue, TRUE);
 | 
			
		||||
   gtk_widget_set_sensitive (priv->grid, TRUE);
 | 
			
		||||
 
 | 
			
		||||
   obj = G_OBJECT (self);
 | 
			
		||||
@@ -392,7 +389,6 @@ prompt_complete (PhoshSystemPrompt *self)
 | 
			
		||||
     g_task_return_pointer (res, (gpointer)password, NULL);
 | 
			
		||||
   g_object_unref (res);
 | 
			
		||||
 
 | 
			
		||||
-  gtk_widget_set_sensitive (priv->btn_continue, FALSE);
 | 
			
		||||
   gtk_widget_set_sensitive (priv->grid, FALSE);
 | 
			
		||||
 
 | 
			
		||||
   return TRUE;
 | 
			
		||||
@@ -451,7 +447,6 @@ on_password_changed (PhoshSystemPrompt *self,
 | 
			
		||||
   if (!gtk_entry_get_text_length (GTK_ENTRY (editable)))
 | 
			
		||||
     return;
 | 
			
		||||
 
 | 
			
		||||
-  gtk_widget_set_sensitive (priv->btn_continue, TRUE);
 | 
			
		||||
   password = gtk_entry_get_text (GTK_ENTRY (editable));
 | 
			
		||||
 
 | 
			
		||||
   /*
 | 
			
		||||
-- 
 | 
			
		||||
2.24.1
 | 
			
		||||
 | 
			
		||||
@@ -1,14 +0,0 @@
 | 
			
		||||
diff -Npur a/data/phosh.in b/data/phosh.in
 | 
			
		||||
--- a/data/phosh.in	2021-03-20 13:53:32.367786000 +0100
 | 
			
		||||
+++ b/data/phosh.in	2021-03-20 13:55:19.327789721 +0100
 | 
			
		||||
@@ -56,6 +56,10 @@ elif  [ -f /etc/phosh/rootston.ini ]; th
 | 
			
		||||
   PHOC_INI=/etc/phosh/rootston.ini
 | 
			
		||||
 fi
 | 
			
		||||
 
 | 
			
		||||
+# Set proper locale according to /etc/locale.conf
 | 
			
		||||
+source /etc/locale.conf
 | 
			
		||||
+export LANG=$LANG
 | 
			
		||||
+
 | 
			
		||||
 # Run gnome-session through a login shell so it picks
 | 
			
		||||
 # variables from /etc/profile.d (XDG_*)
 | 
			
		||||
 [ -n "$WLR_BACKENDS" ] || WLR_BACKENDS=drm,libinput
 | 
			
		||||
@@ -1,22 +0,0 @@
 | 
			
		||||
From: Daniel Dehennin <daniel.dehennin@baby-gnu.org>
 | 
			
		||||
Date: Wed, 17 Mar 2021 17:38:58 +0100
 | 
			
		||||
Subject: Fix locale issue in Service file
 | 
			
		||||
 | 
			
		||||
* data/phosh.service (Environment): do not override user language
 | 
			
		||||
  setting.
 | 
			
		||||
---
 | 
			
		||||
 data/phosh.service | 1 -
 | 
			
		||||
 1 file changed, 1 deletion(-)
 | 
			
		||||
 | 
			
		||||
diff --git a/data/phosh.service b/data/phosh.service
 | 
			
		||||
index fa18137..a585696 100644
 | 
			
		||||
--- a/data/phosh.service
 | 
			
		||||
+++ b/data/phosh.service
 | 
			
		||||
@@ -25,7 +25,6 @@ Before=graphical.target
 | 
			
		||||
 ConditionPathExists=/dev/tty0
 | 
			
		||||
 
 | 
			
		||||
 [Service]
 | 
			
		||||
-Environment=LANG=C.UTF-8
 | 
			
		||||
 Environment=XDG_CURRENT_DESKTOP=GNOME:Phosh
 | 
			
		||||
 Environment=XDG_SESSION_DESKTOP=phosh
 | 
			
		||||
 Environment=XDG_SESSION_TYPE=wayland
 | 
			
		||||
		Reference in New Issue
	
	Block a user