Home | History | Annotate | Download | only in patches
      1 diff -up gnome-control-center-2.21.1/capplets/about-me/gnome-about-me.c.orig gnome-control-center-2.21.1/capplets/about-me/gnome-about-me.c
      2 --- gnome-control-center-2.21.1/capplets/about-me/gnome-about-me.c.orig	2007-11-05 15:51:47.000000000 +0000
      3 +++ gnome-control-center-2.21.1/capplets/about-me/gnome-about-me.c	2007-11-07 15:24:14.853058000 +0000
      4 @@ -779,7 +779,25 @@ about_me_passwd_clicked_cb (GtkWidget *b
      5  	GladeXML *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 gint
     30 
     31