Commit a6c23dee authored by mcafee%netscape.com's avatar mcafee%netscape.com
Browse files

Renaming nsMode enum to something a little more descriptive, nsFileDlgMode. r=sdagley

parent 49e463ad
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@
 * File selector mode 
 */

enum nsMode {
enum nsFileDlgMode {
        /// Load a file or directory
      eMode_load,
        /// Save a file or directory
@@ -70,7 +70,7 @@ public:
  */
  NS_IMETHOD Create(nsIWidget *aParent,
                      nsString& aTitle,
                      nsMode aMode,
                      nsFileDlgMode aMode,
                      nsIDeviceContext *aContext = nsnull,
                      nsIAppShell *aAppShell = nsnull,
                      nsIToolkit *aToolkit = nsnull,
+6 −6
Original line number Diff line number Diff line
@@ -171,7 +171,7 @@ NS_METHOD nsFileWidget::GetDisplayDirectory(nsString& aDirectory)
//-------------------------------------------------------------------------
NS_METHOD nsFileWidget::Create(nsIWidget *aParent,
                               nsString& aTitle,
                           nsMode aMode,
                               nsFileDlgMode aMode,
                               nsIDeviceContext *aContext,
                               nsIAppShell *aAppShell,
                               nsIToolkit *aToolkit,
+3 −3
Original line number Diff line number Diff line
@@ -44,7 +44,7 @@ class nsFileWidget : public nsIFileWidget
  
    NS_IMETHOD		Create(nsIWidget *aParent,
                               nsString& aTitle,
			       nsMode aMode,
			       nsFileDlgMode aMode,
			       nsIDeviceContext *aContext = nsnull,
			       nsIAppShell *aAppShell = nsnull,
			       nsIToolkit *aToolkit = nsnull,
@@ -77,7 +77,7 @@ class nsFileWidget : public nsIFileWidget
  protected:
    GtkWidget		*mWidget;
    nsString		mTitle;
    nsMode		  mMode;
    nsFileDlgMode   mMode;
    PRUint32		    mNumberOfFilters;  
    const nsString*	mTitles;
    const nsString*	mFilters;
+1 −1
Original line number Diff line number Diff line
@@ -54,7 +54,7 @@ NS_METHOD nsFileWidget::Create(nsIWidget *aParent,
//-------------------------------------------------------------------------
NS_METHOD   nsFileWidget:: Create(nsIWidget  *aParent,
                             nsString&   aTitle,
                             nsMode      aMode,
                             nsFileDlgMode aMode,
                             nsIDeviceContext *aContext,
                             nsIAppShell *aAppShell,
                             nsIToolkit *aToolkit,
+2 −2
Original line number Diff line number Diff line
@@ -60,7 +60,7 @@ class nsFileWidget : public nsWindow, public nsIFileWidget
  
    NS_IMETHOD            Create( nsIWidget *aParent,
                                    nsString& aTitle,
                                    nsMode aMode,
                                    nsFileDlgMode aMode,
                                    nsIDeviceContext *aContext = nsnull,
                                    nsIAppShell *aAppShell = nsnull,
                                    nsIToolkit *aToolkit = nsnull,
@@ -80,7 +80,7 @@ class nsFileWidget : public nsWindow, public nsIFileWidget
     PRBool                 mIOwnEventLoop;
     PRBool                 mWasCancelled;
     nsString               mTitle;
     nsMode                 mMode;
     nsFileDlgMode          mMode;
     nsString               mFile;
     PRUint32               mNumberOfFilters;  
     const nsString*        mTitles;
Loading