All pastes #1622822 Raw Edit

artagnon

public text v1 · immutable
#1622822 ·published 2009-10-15 21:33 UTC
rendered paste body
Index: .gitignore===================================================================--- .gitignore	(revision 29169)+++ .gitignore	(working copy)@@ -70,3 +70,4 @@ /webkit/data/xbm_decoder /xcodebuild SConstruct+/.svnIndex: chrome/app/generated_resources.grd===================================================================--- chrome/app/generated_resources.grd	(revision 29169)+++ chrome/app/generated_resources.grd	(working copy)@@ -3931,6 +3931,9 @@       <message name="IDS_SAD_TAB_MESSAGE" desc="The message displayed on the sad tab page.">         Something went wrong while displaying this webpage. To continue, press Reload or go to another page.       </message>+      <message name="IDS_SAD_TAB_MORE" desc="The message displayed on the sad tab page.">+        <ph name="BEGIN_LINK">&lt;a href="http://www.google.com/support/chrome/bin/answer.py?hl=en&answer=95669"&gt;</ph>Learn more<ph name="END_LINK">&lt;/a&gt;</ph>+      </message>        <!-- Incognito -->       <message name="IDS_OFF_THE_RECORD_TOOLTIP" desc="The tooltip for the incognito icon.">Index: chrome/browser/gtk/sad_tab_gtk.cc===================================================================--- chrome/browser/gtk/sad_tab_gtk.cc	(revision 29169)+++ chrome/browser/gtk/sad_tab_gtk.cc	(working copy)@@ -122,6 +122,18 @@       gfx::Canvas::MULTI_LINE |       gfx::Canvas::TEXT_VALIGN_TOP); +  // Paint a "Learn more" link+  canvas.DrawStringInt(+      sad_tab_constants.more,+      sad_tab_constants.message_font,+      kMessageTextColor,+      0,+      message_y_,+      width_,+      99999,  // Let the height be large, and we'll clip if needed.+      gfx::Canvas::TEXT_ALIGN_CENTER |+      gfx::Canvas::TEXT_VALIGN_TOP);+   return TRUE; }