]> git.pld-linux.org Git - packages/control-center.git/commitdiff
- http://bugzilla.gnome.org/show_bug.cgi?id=348821
authorfreetz <freetz@pld-linux.org>
Wed, 26 Jul 2006 21:36:30 +0000 (21:36 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    control-center-bug348821.patch -> 1.1

control-center-bug348821.patch [new file with mode: 0644]

diff --git a/control-center-bug348821.patch b/control-center-bug348821.patch
new file mode 100644 (file)
index 0000000..4211a8b
--- /dev/null
@@ -0,0 +1,31 @@
+diff -aurN control-center-2.15.90.orig/capplets/about-me/gnome-about-me.c control-center-2.15.90/capplets/about-me/gnome-about-me.c
+--- control-center-2.15.90.orig/capplets/about-me/gnome-about-me.c     2006-01-21 17:59:38.000000000 +0100
++++ control-center-2.15.90/capplets/about-me/gnome-about-me.c  2006-07-26 23:27:28.000000000 +0200
+@@ -419,7 +419,7 @@
+       if (photo) {
+               me->have_image = TRUE;
+-              e_image_chooser_set_image_data (E_IMAGE_CHOOSER (widget), photo->data, photo->length);
++              e_image_chooser_set_image_data (E_IMAGE_CHOOSER (widget), photo->data.inlined.data, photo->data.inlined.length);
+               e_contact_photo_free (photo);
+       } else {
+               me->have_image = FALSE;
+@@ -490,15 +490,15 @@
+               }
+               photo = g_new0 (EContactPhoto, 1);
+-              photo->data = data;
+-              photo->length = length;
++              photo->data.inlined.data = data;
++              photo->data.inlined.length = length;
+               e_contact_set (me->contact, E_CONTACT_PHOTO, photo);
+               /* Save the image for GDM */
+               /* FIXME: I would have to read the default used by the gdmgreeter program */
+               file = g_strdup_printf ("%s/.face", g_get_home_dir ());
+               fp = fopen (file, "wb");
+-              fwrite (photo->data, 1, photo->length, fp);
++              fwrite (photo->data.inlined.data, 1, photo->data.inlined.length, fp);
+               fclose (fp);
+               g_free (file);  
This page took 0.089839 seconds and 4 git commands to generate.