SF.net SVN: mahogany: [7201] trunk/M/src/adb/AdbDialogs.cpp

[email protected]
Newsgroups gmane.mail.mahogany.cvs
Message-ID <[email protected]>
Revision: 7201
          http://svn.sourceforge.net/mahogany/?rev=7201&view=rev
Author:   vadz
Date:     2006-12-30 18:08:04 -0800 (Sat, 30 Dec 2006)

Log Message:
-----------
no real changes, just made the tooltip on "More matches" button more
informative and also hide the button instead of just disabling it when we
don't need it any more

Modified Paths:
--------------
    trunk/M/src/adb/AdbDialogs.cpp

Modified: trunk/M/src/adb/AdbDialogs.cpp
===================================================================
--- trunk/M/src/adb/AdbDialogs.cpp	2006-12-31 01:32:15 UTC (rev 7200)
+++ trunk/M/src/adb/AdbDialogs.cpp	2006-12-31 02:08:04 UTC (rev 7201)
@@ -1,3 +1,4 @@
+///////////////////////////////////////////////////////////////////////////////
 // Project:     M - cross platform e-mail GUI client
 // File name:   adb/AdbDialogs.cpp - assorted ADB-related dialogs
 // Purpose:     dialogs to import an ADB, select ADB entry expansion, ...
@@ -157,7 +158,7 @@
    wxButton *m_btnMore,
             *m_btnDelete;
 
-   // the main and additional alements array
+   // the main and additional elements array
    ArrayAdbElements& m_aEverything;
    ArrayAdbEntries& m_aMoreEntries;
 
@@ -453,7 +454,8 @@
    if ( m_btnMore )
    {
 #if wxUSE_TOOLTIPS
-      m_btnMore->SetToolTip(_("Show more matching entries"));
+      m_btnMore->SetToolTip(_("Show all entries, include those matching "
+                              "less precisely"));
 #endif // wxUSE_TOOLTIPS
 
       c->bottom.SameAs(box, wxCentreY, LAYOUT_Y_MARGIN);
@@ -501,7 +503,7 @@
    }
 
    // nothing more to add
-   m_btnMore->Disable();
+   m_btnMore->Hide();
 }
 
 void wxAdbExpandDialog::OnBtnDelete(wxCommandEvent& WXUNUSED(event))


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.