Author: jerome
Date: 2009-04-07 13:52:04 +0200 (Tue, 07 Apr 2009)
New Revision: 4395

Modified:
   
software_suite_v2/software/control_center/branches/cpu_memory_optimisations/sources/com/tuxdroid/cc/Object/View/TuxGadgetsListView.java
Log:
* Applied 4394.

Modified: 
software_suite_v2/software/control_center/branches/cpu_memory_optimisations/sources/com/tuxdroid/cc/Object/View/TuxGadgetsListView.java
===================================================================
--- 
software_suite_v2/software/control_center/branches/cpu_memory_optimisations/sources/com/tuxdroid/cc/Object/View/TuxGadgetsListView.java
     2009-04-07 11:51:47 UTC (rev 4394)
+++ 
software_suite_v2/software/control_center/branches/cpu_memory_optimisations/sources/com/tuxdroid/cc/Object/View/TuxGadgetsListView.java
     2009-04-07 11:52:04 UTC (rev 4395)
@@ -437,6 +437,21 @@
                                help.setEditable(false);
                                help.setPage(new 
File(vals[6].toString()).toURI().toURL());
                                help.setContentType("text/html; charset=utf-8");
+                               
+                               help.addHyperlinkListener(new 
HyperlinkListener()
+                               {
+                                       
+                                       @Override
+                                       public void 
hyperlinkUpdate(HyperlinkEvent arg0) 
+                                       {
+                                               
if(arg0.getEventType().equals(HyperlinkEvent.EventType.ACTIVATED))
+                                               {
+                                                       
com.tuxdroid.cc.Utils.BareBonesBrowserLaunch.openURL(arg0.getURL().toString());
+                                               }
+                                       }
+                                       
+                               });
+                               
                        }
                        else
                                help = new JEditorPane("No help available");
@@ -478,4 +493,4 @@
                }
                catch(Exception noObject){}
        }
-}
\ No newline at end of file
+}


------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn

Reply via email to