Index: gnopernicus/srlow/libsrlow/SRObject.c
===================================================================
RCS file: /cvs/gnome/gnopernicus/srlow/libsrlow/SRObject.c,v
retrieving revision 1.105
diff -u -r1.105 SRObject.c
--- gnopernicus/srlow/libsrlow/SRObject.c	11 Jun 2004 10:21:15 -0000	1.105
+++ gnopernicus/srlow/libsrlow/SRObject.c	14 Jun 2004 13:20:56 -0000
@@ -1756,7 +1759,7 @@
     gchar *description_ = NULL;
     Accessible *acc = NULL;
     SRObjectRoles role;
-    gchar *tmp;
+    gchar *tmp, *name;
     
     if (description)
 	*description = NULL;
@@ -1769,10 +1772,18 @@
 
     
     tmp = Accessible_getDescription (acc);
+    name = Accessible_getName (acc);
+    
+    if (!(name && name[0]))
+	return FALSE;
+    
     if (tmp && tmp[0])
     {
+	if ((name && name[0]) && g_strcasecmp (name, tmp) == 0)
+	    return FALSE;
         description_ = SR_strdup (tmp);
     }
+    SPI_freeString (name);
     SPI_freeString (tmp);
 	
     *description = description_;
