[gnome-love] Patch for bug 77932: 'R' short cut is used for both 'Site RSS URL' and Remove Site



Attached is a patch that addresses bug 77932, the problem of "Site RSS URL" and "Remove Site" sharing an access key in the Nautilus News sidebar. This is one of the "easy-fix" bugs for GNOME2. (I realize it's somewhat moot since the News sidebar is disabled in the code in CVS, but it was a good learning experience for me anyway. :)

To reproduce, using an older build:
  1.) Open Nautilus.  Make sure the sidebar is visible.
  2.) Select the "News" sidebar tab.
  3.) Click on "Select Sites".
  4.) Click "Edit".
  5.) See that "Site RSS URL" and "Remove Site" share an access key.

The patch (to nautilus/components/news/nautilus-news.c) changes the access key for "Site RSS URL" to "U," which to me makes sense since "URL" is the object being edited. This causes a conflict in only one language, Polish (pl.po), where "U" is also the access key for the translation of "Remove Site."

I've tested the patch against the 20020501 release of GNOME2, where the News sidebar is still active.

I assume .po files are owned by the individual translators, but I'd be willing to update those which appear to require only simple manual work (Catalan, Spanish and Finnish, for example).

--
Simon South
ssouth hamlet dyndns org
Index: nautilus-news.c
===================================================================
RCS file: /cvs/gnome/nautilus/components/news/nautilus-news.c,v
retrieving revision 1.64
diff -u -r1.64 nautilus-news.c
--- nautilus-news.c     2002/04/18 18:38:34     1.64
+++ nautilus-news.c     2002/05/13 01:23:39
@@ -2212,7 +2212,7 @@
         
        gtk_box_pack_start (GTK_BOX (container), temp_vbox, FALSE, FALSE, 0);
 
-       label = news_label_new (_("Site _RSS URL:"), FALSE);
+       label = news_label_new (_("Site RSS _URL:"), FALSE);
         gtk_widget_show (label);
        gtk_box_pack_start (GTK_BOX (temp_vbox), label, FALSE, FALSE, 0);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]