[gdm/wip/initial-setup] Fix up previous commit
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm/wip/initial-setup] Fix up previous commit
- Date: Thu, 19 May 2011 01:49:20 +0000 (UTC)
commit 049f64492b9827dba1a1a0870dc67d781a7abf31
Author: Matthias Clasen <mclasen redhat com>
Date: Wed May 18 21:49:11 2011 -0400
Fix up previous commit
gui/initial-setup/gdm-initial-setup.c | 2 +-
gui/initial-setup/setup.ui | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gui/initial-setup/gdm-initial-setup.c b/gui/initial-setup/gdm-initial-setup.c
index ebf2930..9d5b91e 100644
--- a/gui/initial-setup/gdm-initial-setup.c
+++ b/gui/initial-setup/gdm-initial-setup.c
@@ -976,7 +976,7 @@ create_user (SetupData *setup)
const gchar *fullname;
GError *error;
- username = gtk_entry_get_text (OBJ(GtkEntry*, "account-username-entry"));
+ username = gtk_combo_box_text_get_active_text (OBJ(GtkComboBoxText*, "account-username-combo"));
fullname = gtk_entry_get_text (OBJ(GtkEntry*, "account-fullname-entry"));
connection = g_bus_get_sync (G_BUS_TYPE_SYSTEM, NULL, NULL);
diff --git a/gui/initial-setup/setup.ui b/gui/initial-setup/setup.ui
index 31713a1..1c4c2aa 100644
--- a/gui/initial-setup/setup.ui
+++ b/gui/initial-setup/setup.ui
@@ -145,7 +145,7 @@
<property name="visible">True</property>
<property name="label" translatable="yes">_Username</property>
<property name="use_underline">True</property>
- <property name="mnemonic_widget">account-username-entry</property>
+ <property name="mnemonic_widget">account-username-combo</property>
<property name="halign">end</property>
<style>
<class name="dim-label"/>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]