Index: embed/downloader-view.c
===================================================================
RCS file: /cvs/gnome/epiphany/embed/downloader-view.c,v
retrieving revision 1.4
diff -u -3 -p -u -r1.4 downloader-view.c
--- embed/downloader-view.c	23 Mar 2003 18:21:22 -0000	1.4
+++ embed/downloader-view.c	18 Apr 2003 23:01:47 -0000
@@ -82,7 +82,6 @@ typedef struct
 	gint size_total;
 	gint size_done;
 	gfloat progress;
-	gboolean can_pause;
 	gchar *filename;
 	gchar *source;
 	gchar *dest;
@@ -94,7 +93,6 @@ typedef struct
 typedef struct
 {
 	gboolean can_resume;
-	gboolean can_pause;
 	gboolean can_abort;
 	gboolean can_open;
 	DownloaderViewPrivate *priv;
@@ -330,7 +328,6 @@ controls_info_foreach (GtkTreeModel *mod
 	details = g_hash_table_lookup (info->priv->details_hash,
 				       persist_object);
 
-	info->can_pause |= details->can_pause;
 	info->can_resume |= (details->status == DOWNLOAD_STATUS_PAUSED);
 	info->can_abort |= (details->status != DOWNLOAD_STATUS_COMPLETED);
 	info->can_open |= (details->status == DOWNLOAD_STATUS_COMPLETED);
@@ -348,8 +345,7 @@ downloader_view_update_controls (Downloa
 	info->priv = priv;
 
 	/* initial conditions */
-	info->can_pause = info->can_resume = info->can_abort
-		= info->can_open = FALSE;
+	info->can_resume = info->can_abort = info->can_open = FALSE;
 
 	if (selection)
 	{
@@ -360,7 +356,7 @@ downloader_view_update_controls (Downloa
 	}
 
 	/* setup buttons */
-	gtk_widget_set_sensitive (priv->pause_button, info->can_pause);
+	gtk_widget_set_sensitive (priv->pause_button, TRUE);
 	gtk_widget_set_sensitive (priv->resume_button, info->can_resume);
 	gtk_widget_set_sensitive (priv->abort_button, info->can_abort);
 	gtk_widget_set_sensitive (priv->open_button, info->can_open);
@@ -519,6 +515,7 @@ downloader_view_set_download_info (Downl
 		 	 _("00.00") :
 		 	 _("Unknown"));
 	}
+	
 	gtk_list_store_set (GTK_LIST_STORE (priv->model),
 			    iter,
 			    COL_REMAINING, buffer,
@@ -644,7 +641,6 @@ downloader_view_set_download_progress (D
 				       gint size_total,
 				       gint size_done,
 				       gfloat progress,
-				       gboolean can_pause,
 				       gpointer persist_object)
 {
 	DownloadDetails *details;
@@ -659,7 +655,6 @@ downloader_view_set_download_progress (D
 	details->speed = speed;
 	details->size_total = size_total;
 	details->size_done = size_done;
-	details->can_pause = can_pause;
 	details->progress = progress;
 
 	gtk_tree_model_get_iter (GTK_TREE_MODEL (dv->priv->model),
Index: embed/downloader-view.h
===================================================================
RCS file: /cvs/gnome/epiphany/embed/downloader-view.h,v
retrieving revision 1.1.1.1
diff -u -3 -p -u -r1.1.1.1 downloader-view.h
--- embed/downloader-view.h	30 Dec 2002 19:25:10 -0000	1.1.1.1
+++ embed/downloader-view.h	18 Apr 2003 23:01:47 -0000
@@ -90,7 +90,6 @@ void            downloader_view_set_down
 						       gint size_total,
 						       gint size_done,
 						       gfloat progress,
-						       gboolean can_pause,
 						       gpointer persist_object);
 
 #ifdef __cplusplus
Index: embed/mozilla/ProgressListener.cpp
===================================================================
RCS file: /cvs/gnome/epiphany/embed/mozilla/ProgressListener.cpp,v
retrieving revision 1.6
diff -u -3 -p -u -r1.6 ProgressListener.cpp
--- embed/mozilla/ProgressListener.cpp	12 Apr 2003 00:37:43 -0000	1.6
+++ embed/mozilla/ProgressListener.cpp	18 Apr 2003 23:01:48 -0000
@@ -31,8 +31,6 @@
 #include <libgnome/gnome-i18n.h>
 
 #include "nsXPIDLString.h"
-#include "nsIChannel.h"
-#include "nsIFTPChannel.h"
 #include "nsIMIMEInfo.h"
 #include "nsCOMPtr.h"
 
@@ -134,8 +132,6 @@ NS_METHOD GProgressListener::PrivateInit
 	mPriorKRate          = 0;
 	mRateChanges         = 0;
 	mRateChangeLimit     = 2;          /* only update rate every second */
-	mCheckedCanPause     = PR_FALSE;
-	mCanPause            = PR_FALSE;
 	mIsPaused            = PR_FALSE;
 	mAbort               = PR_FALSE;
 	PRInt64 now          = PR_Now ();
@@ -423,16 +419,6 @@ NS_IMETHODIMP GProgressListener::
 
 	if (mNoDialog) return NS_OK;
 
-	if (!mCheckedCanPause)
-	{
-		mCheckedCanPause = PR_TRUE;
-
-		nsresult rv;
-		nsCOMPtr<nsIFTPChannel> channel = 
-			do_QueryInterface (aRequest, &rv);
-
-		mCanPause = (NS_SUCCEEDED (rv) ? PR_TRUE : PR_FALSE);
-	}
 	mRequest = aRequest;
 
 	PRInt64 now = PR_Now ();
@@ -518,7 +504,6 @@ NS_IMETHODIMP GProgressListener::
 					       totalKBytes,
 					       currentKBytes,
 					       progress,
-					       mCanPause,
 					       (gpointer)this);
 
 	/* done */
@@ -607,7 +592,7 @@ nsresult GProgressListener::Pause (void)
 {
         nsresult rv;
 
-        if (mCanPause && !mIsPaused)
+        if (!mIsPaused)
         {
                 rv = mRequest->Suspend ();
                 if (NS_SUCCEEDED (rv))
@@ -627,7 +612,7 @@ nsresult GProgressListener::Resume (void
 {
         nsresult rv;
 
-        if (mCanPause && mIsPaused)
+        if (mIsPaused)
         {
                 rv = mRequest->Resume ();
                 if (NS_SUCCEEDED (rv))
Index: embed/mozilla/ProgressListener.h
===================================================================
RCS file: /cvs/gnome/epiphany/embed/mozilla/ProgressListener.h,v
retrieving revision 1.1.1.1
diff -u -3 -p -u -r1.1.1.1 ProgressListener.h
--- embed/mozilla/ProgressListener.h	30 Dec 2002 19:26:22 -0000	1.1.1.1
+++ embed/mozilla/ProgressListener.h	18 Apr 2003 23:01:48 -0000
@@ -112,8 +112,6 @@ class GProgressListener : public nsIProg
 	PRInt32 mRateChanges;
 	PRInt32 mRateChangeLimit;
 
-	PRBool mCheckedCanPause;
-	PRBool mCanPause;
 	PRBool mIsPaused;
 	gboolean mNoDialog;
 	PRBool mAbort;
