diff options
-rw-r--r-- | sysutils/gnome-system-tools/Makefile | 1 | ||||
-rw-r--r-- | sysutils/gnome-system-tools/files/patch-src_users_user-settings.c | 15 |
2 files changed, 16 insertions, 0 deletions
diff --git a/sysutils/gnome-system-tools/Makefile b/sysutils/gnome-system-tools/Makefile index 3bffbe4ee0f..53b0ed251c4 100644 --- a/sysutils/gnome-system-tools/Makefile +++ b/sysutils/gnome-system-tools/Makefile @@ -7,6 +7,7 @@ PORTNAME= gnome-system-tools PORTVERSION= 2.18.1 +PORTREVISION= 1 CATEGORIES= sysutils gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/gnome-system-tools/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} diff --git a/sysutils/gnome-system-tools/files/patch-src_users_user-settings.c b/sysutils/gnome-system-tools/files/patch-src_users_user-settings.c new file mode 100644 index 00000000000..c19a384a9d1 --- /dev/null +++ b/sysutils/gnome-system-tools/files/patch-src_users_user-settings.c @@ -0,0 +1,15 @@ +--- src/users/user-settings.c.orig Sun Apr 22 23:32:58 2007 ++++ src/users/user-settings.c Sun Apr 22 23:34:18 2007 +@@ -632,10 +632,10 @@ + password_changed = GPOINTER_TO_INT (g_object_get_data (G_OBJECT (widget), "changed")); + + if (password_changed) +- oobs_user_set_password (user, gtk_entry_get_text (GTK_ENTRY (widget))); ++ oobs_user_set_crypted_password (user, gtk_entry_get_text (GTK_ENTRY (widget))); + } else { + widget = gst_dialog_get_widget (tool->main_dialog, "user_settings_random_passwd"); +- oobs_user_set_password (user, gtk_entry_get_text (GTK_ENTRY (widget))); ++ oobs_user_set_crypted_password (user, gtk_entry_get_text (GTK_ENTRY (widget))); + } + + group = get_main_group (oobs_user_get_login_name (user)); |