[gtranslator: 4/5] Default values for the assistant profile
- From: Daniel Garcia Moreno <danigm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtranslator: 4/5] Default values for the assistant profile
- Date: Fri, 26 Oct 2018 17:08:32 +0000 (UTC)
commit 65eba1cd6bd9b5f8ea49ffc3613244c21a61cb16
Author: Daniel GarcĂa Moreno <danigm wadobo com>
Date: Fri Oct 26 19:07:16 2018 +0200
Default values for the assistant profile
src/gtr-assistant.c | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/src/gtr-assistant.c b/src/gtr-assistant.c
index 865c9831..e1bf642a 100644
--- a/src/gtr-assistant.c
+++ b/src/gtr-assistant.c
@@ -337,6 +337,12 @@ create_profiles_page1 (GtrAssistant * as)
gtk_assistant_append_page (GTK_ASSISTANT (as), box);
gtk_assistant_set_page_title (GTK_ASSISTANT (as), box, _("Profile"));
+
+ /**
+ * Default values
+ */
+ gtk_entry_set_text (GTK_ENTRY (priv->profile_name), "default");
+ gtk_entry_set_text (GTK_ENTRY (priv->name), g_get_real_name ());
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]