Author: jerome
Date: 2009-01-26 14:22:27 +0100 (Mon, 26 Jan 2009)
New Revision: 3529
Modified:
software_suite_v2/software/control_center/trunk/control_center/sources/com/tuxdroid/cc/CcInterface.java
Log:
Fixed: #50 ?\226?\128?\148 Folder help disappears in thumbnail view.
Modified:
software_suite_v2/software/control_center/trunk/control_center/sources/com/tuxdroid/cc/CcInterface.java
===================================================================
---
software_suite_v2/software/control_center/trunk/control_center/sources/com/tuxdroid/cc/CcInterface.java
2009-01-26 11:46:00 UTC (rev 3528)
+++
software_suite_v2/software/control_center/trunk/control_center/sources/com/tuxdroid/cc/CcInterface.java
2009-01-26 13:22:27 UTC (rev 3529)
@@ -1185,15 +1185,25 @@
this.helpPanels.getLibrary(TuxHelpPanel.ATTITUNES));
}
}
- else if(CcCommons.view == CcConstants.VIEW_THUMBNAIL){
- if(fileBrowser.thumbnailAttitunes.haveSelectedThumb()){
+ else if(CcCommons.view == CcConstants.VIEW_THUMBNAIL)
+ {
+ if(fileBrowser.thumbnailAttitunes.haveSelectedThumb())
+ {
CcInterfaceFunctions.maskAllTabs(properties);
-
if(this.savedProperties.containsKey("attitune-thumbnail")){
+
if(this.savedProperties.containsKey("attitune-thumbnail"))
+ {
JPanel[] panel =
(JPanel[])this.savedProperties.get("attitune-thumbnail");
this.properties.add(CcCommons.language.getPanelSummary(), panel[0]);
- }else
-
CcInterfaceFunctions.maskGadgetsTabs(properties, jStatusBar);
- } else{
+ }
+ else
+ {
+ this.properties.removeAll();
+
this.properties.addTab(CcCommons.language.getPanelHelp(),
+
this.helpPanels.getLibrary(TuxHelpPanel.ATTITUNES));
+ }
+ }
+ else
+ {
//then set the cc help files.
this.properties.removeAll();
this.properties.addTab(CcCommons.language.getPanelHelp(),
@@ -1204,33 +1214,51 @@
- public void showGadgetLatestProperties(){
- if(CcCommons.view == CcConstants.VIEW_LIST){
- if(fileBrowser.getListViewSelectedIndex() != -1){
+ public void showGadgetLatestProperties()
+ {
+ if(CcCommons.view == CcConstants.VIEW_LIST)
+ {
+ if(fileBrowser.getListViewSelectedIndex() != -1)
+ {
CcInterfaceFunctions.maskAllTabs(properties);
- if(this.savedProperties.containsKey("gadget")){
+ if(this.savedProperties.containsKey("gadget"))
+ {
Object[] panels = (Object[])
this.savedProperties.get("gadget");
this.properties.add(CcCommons.language.getPanelSummary(), (JPanel)panels[0]);
this.properties.add(CcCommons.language.getPanelHelp(), (JScrollPane)panels[1]);
- }else
+ }
+ else
CcInterfaceFunctions.maskGadgetsTabs(properties, jStatusBar);
- } else{
+ }
+ else
+ {
//then set the cc help files.
this.properties.removeAll();
this.properties.addTab(CcCommons.language.getPanelHelp(),
this.helpPanels.getLibrary(TuxHelpPanel.GADGETS));
}
}
- else if(CcCommons.view == CcConstants.VIEW_THUMBNAIL){
- if(fileBrowser.thumbnailGadgets.haveSelectedThumb()){
+ else if(CcCommons.view == CcConstants.VIEW_THUMBNAIL)
+ {
+ if(fileBrowser.thumbnailGadgets.haveSelectedThumb())
+ {
CcInterfaceFunctions.maskAllTabs(properties);
-
if(this.savedProperties.containsKey("gadget-thumbnail")){
+
if(this.savedProperties.containsKey("gadget-thumbnail"))
+ {
Object[] panels = (Object[])
this.savedProperties.get("gadget-thumbnail");
this.properties.add(CcCommons.language.getPanelSummary(), (JPanel)panels[0]);
this.properties.add(CcCommons.language.getPanelHelp(), (JScrollPane)panels[1]);
- }else
-
CcInterfaceFunctions.maskGadgetsTabs(properties, jStatusBar);
- } else{
+ }
+ else
+ {
+ //then set the cc help files.
+ this.properties.removeAll();
+
this.properties.addTab(CcCommons.language.getPanelHelp(),
+
this.helpPanels.getLibrary(TuxHelpPanel.GADGETS));
+ }
+ }
+ else
+ {
//then set the cc help files.
this.properties.removeAll();
this.properties.addTab(CcCommons.language.getPanelHelp(),
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn