[gnome-calendar/calendar-editor] source-dialog: remove entry pulse
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar/calendar-editor] source-dialog: remove entry pulse
- Date: Thu, 26 Mar 2015 04:46:46 +0000 (UTC)
commit 79e4860a689aab89605b3b5da70a286ddf87af61
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Thu Mar 26 00:41:18 2015 -0300
source-dialog: remove entry pulse
We aren't pinging the server for now.
src/gcal-source-dialog.c | 24 ------------------------
1 files changed, 0 insertions(+), 24 deletions(-)
---
diff --git a/src/gcal-source-dialog.c b/src/gcal-source-dialog.c
index dd4400c..c981802 100644
--- a/src/gcal-source-dialog.c
+++ b/src/gcal-source-dialog.c
@@ -105,8 +105,6 @@ static void calendar_file_selected (GtkFileChooserButton *b
static void setup_source_details (GcalSourceDialog *dialog,
ESource *source);
-static gboolean pulse_web_entry (GcalSourceDialog *dialog);
-
static void url_entry_text_changed (GObject *object,
GParamSpec *pspec,
gpointer user_data);
@@ -421,25 +419,6 @@ setup_source_details (GcalSourceDialog *dialog,
}
/**
- * pulse_web_entry:
- *
- * Update the url's entry with a pulse fraction.
- *
- * Returns: FALSE
- */
-static gboolean
-pulse_web_entry (GcalSourceDialog *dialog)
-{
- GcalSourceDialogPrivate *priv = dialog->priv;
-
- gtk_entry_progress_pulse (GTK_ENTRY (priv->calendar_address_entry));
-
- priv->calendar_address_id = g_timeout_add (ENTRY_PROGRESS_TIMEOUT, (GSourceFunc) pulse_web_entry, dialog);
-
- return FALSE;
-}
-
-/**
* url_entry_text_changed:
*
* Performs a validation of the URL
@@ -519,9 +498,6 @@ validate_url_cb (GcalSourceDialog *dialog)
if (path == NULL || host == NULL)
goto out;
- // Pulse the entry while it performs the check
- priv->calendar_address_id = g_timeout_add (ENTRY_PROGRESS_TIMEOUT, (GSourceFunc) pulse_web_entry, dialog);
-
/**
* Create the new source and add the needed
* extensions.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]