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