? libpanel-applet/libpanelapplet-2.0-uninstalled.pc
Index: gnome-panel/gnome-panel-screenshot.c
===================================================================
RCS file: /cvs/gnome/gnome-panel/gnome-panel/gnome-panel-screenshot.c,v
retrieving revision 1.68
diff -U5 -r1.68 gnome-panel-screenshot.c
--- gnome-panel/gnome-panel-screenshot.c	12 Feb 2004 09:39:58 -0000	1.68
+++ gnome-panel/gnome-panel-screenshot.c	1 Mar 2004 22:19:05 -0000
@@ -1121,10 +1121,32 @@
 	}
 
 	gdk_flush ();
 }
 
+static char *
+escape_underscores (const char *name)
+{
+	GString *escaped_name;
+
+	g_assert (name != NULL);
+
+	/* Who'd use more that 4 underscores... */
+	escaped_name = g_string_sized_new (strlen (name) + 4 + 1);
+
+	while (*name)
+		{
+			if (*name == '_')
+				g_string_append (escaped_name, "__");
+			else
+				g_string_append_c (escaped_name, *name);
+			name++;
+		}
+
+	return g_string_free (escaped_name, FALSE);
+}
+
 /* main */
 int
 main (int argc, char *argv[])
 {
 	GtkWidget *save_entry;
@@ -1262,19 +1284,25 @@
 	g_free (file);
 	g_free (utf8_name);
 
 	if (!stat (web_dir, &s) && S_ISDIR (s.st_mode)) {
 		GtkWidget *cbutton;
+                AtkObject *atk;
 		char      *str = NULL;		
+                char      *dir = NULL;
 
 		cbutton = glade_xml_get_widget (xml, "web_rbutton");
 		gtk_widget_show (cbutton);
 
-		str = g_strdup_printf ("Save screenshot to _web page (save in %s)",
-				       web_dir);
+                dir = escape_underscores (web_dir);
+		str = g_strdup_printf (_("Save screenshot to _web page (save in %s)"),
+				       dir);
 		gtk_button_set_label (GTK_BUTTON (cbutton), str);
+                atk = gtk_widget_get_accessible (cbutton);
+                atk_object_set_name (atk, str);
 		g_free (str);
+		g_free (dir);
 	}
 
 	/* setup dnd */
 	/* just in case some wanker like nautilus took our image */
 	g_signal_connect (G_OBJECT (preview), "drag_begin",
