1 19021 chrisk diff -ruN gnome-control-center-2.27.5.orig/capplets/about-me/gnome-about-me.c gnome-control-center-2.27.5/capplets/about-me/gnome-about-me.c 2 19021 chrisk --- gnome-control-center-2.27.5.orig/capplets/about-me/gnome-about-me.c 2009-08-12 15:43:32.631978317 +0100 3 19021 chrisk +++ gnome-control-center-2.27.5/capplets/about-me/gnome-about-me.c 2009-08-12 15:45:30.962135218 +0100 4 19021 chrisk @@ -864,7 +864,25 @@ 5 19021 chrisk GtkBuilder *dialog; 6 14781 gheet 7 14781 gheet dialog = me->dialog; 8 14781 gheet +#if (defined(sun) && defined(__SVR4)) 9 14781 gheet + /* Use gnome-terminal embedded passwd due to inability to fork passwd in 10 14781 gheet + * the background. 11 14781 gheet + */ 12 14781 gheet + { 13 14781 gheet + GError *error = NULL; 14 14781 gheet + gchar *command = NULL; 15 17035 davelam + 16 17035 davelam + command = g_strdup_printf("gnome-terminal --window --title '%s' --hide-menubar -e /usr/bin/passwd", 17 14781 gheet + _("Change password") ); 18 14781 gheet + 19 14781 gheet + if ( command != NULL ) { 20 14781 gheet + g_spawn_command_line_async( command, &error); 21 14781 gheet + g_free(command); 22 14781 gheet + } 23 14781 gheet + } 24 14781 gheet +#else 25 14781 gheet gnome_about_me_password (GTK_WINDOW (WID ("about-me-dialog"))); 26 14781 gheet +#endif 27 14781 gheet } 28 14781 gheet 29 17035 davelam static void 30