- /* Password */
- label = gtk_label_new("Password");
- gtk_misc_set_alignment(GTK_MISC(label), 1, 0);
- gtk_table_attach(GTK_TABLE(table),
- label,
- 0, 1, /* left/right_attach */
- 2, 3, /* top/bottom_attach */
- GTK_FILL, /* xoptions */
- 0, /* yoptions */
- 1, 1); /* x/ypadding */
- users_details_password = gtk_entry_new();
- gtk_entry_set_text(GTK_ENTRY(users_details_password), password);
- gtk_entry_set_visibility(GTK_ENTRY(users_details_password), FALSE);
- gtk_table_attach(GTK_TABLE(table),
- users_details_password,
- 1, 2, /* left/right_attach */
- 2, 3, /* top/bottom_attach */
- GTK_EXPAND|GTK_FILL, /* xoptions */
- GTK_FILL, /* yoptions */
- 1, 1); /* x/ypadding */
- label = gtk_label_new("Password");
- gtk_misc_set_alignment(GTK_MISC(label), 1, 0);
- gtk_table_attach(GTK_TABLE(table),
- label,
- 0, 1, /* left/right_attach */
- 3, 4, /* top/bottom_attach */
- GTK_FILL, /* xoptions */
- 0, /* yoptions */
- 1, 1); /* x/ypadding */
- users_details_password2 = gtk_entry_new();
- gtk_entry_set_text(GTK_ENTRY(users_details_password2), password);
- gtk_entry_set_visibility(GTK_ENTRY(users_details_password2), FALSE);
- gtk_table_attach(GTK_TABLE(table),
- users_details_password2,
- 1, 2, /* left/right_attach */
- 3, 4, /* top/bottom_attach */
- GTK_EXPAND|GTK_FILL, /* xoptions */
- GTK_FILL, /* yoptions */
- 1, 1); /* x/ypadding */