Author: remi
Date: 2008-08-17 20:50:36 +0200 (Sun, 17 Aug 2008)
New Revision: 1544
Modified:
software_suite_v2/software/tools/attitunesStudio/trunk/src/GUI/AttitunePropertiesFrame.java
software_suite_v2/software/tools/attitunesStudio/trunk/src/MainFrame.java
Log:
* Some small fixes
Modified:
software_suite_v2/software/tools/attitunesStudio/trunk/src/GUI/AttitunePropertiesFrame.java
===================================================================
---
software_suite_v2/software/tools/attitunesStudio/trunk/src/GUI/AttitunePropertiesFrame.java
2008-08-17 15:32:55 UTC (rev 1543)
+++
software_suite_v2/software/tools/attitunesStudio/trunk/src/GUI/AttitunePropertiesFrame.java
2008-08-17 18:50:36 UTC (rev 1544)
@@ -616,7 +616,6 @@
*/
private void thisWindowClosing(WindowEvent evt)
{
- System.out.println(evt);
/* Check the header */
List<String> badParams = blockViewer.checkHeader();
if (badParams.size() > 0)
Modified:
software_suite_v2/software/tools/attitunesStudio/trunk/src/MainFrame.java
===================================================================
--- software_suite_v2/software/tools/attitunesStudio/trunk/src/MainFrame.java
2008-08-17 15:32:55 UTC (rev 1543)
+++ software_suite_v2/software/tools/attitunesStudio/trunk/src/MainFrame.java
2008-08-17 18:50:36 UTC (rev 1544)
@@ -443,8 +443,14 @@
*/
public void propertiesWindowClosed(WindowEvent evt)
{
- System.out.println("The properties windows is closed !!");
//$NON-NLS-1$
- this.setTitle(ATTMessages.getString("MainFrame.0") +
attBlockViewer.attituneFile.getHeaderName()); //$NON-NLS-1$
+ if (!attBlockViewer.attituneFile.getHeaderName().equals(""))
+ {
+ this.setTitle(ATTMessages.getString("MainFrame.0") +
attBlockViewer.attituneFile.getHeaderName()); //$NON-NLS-1$
+ }
+ else
+ {
+ this.setTitle(ATTMessages.getString("MainFrame.1"));
+ }
}
/*
------------------------------------------------------------------------
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn