aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKjartan Maraas <kmaraas@gnome.org>2004-09-30 16:42:11 +0800
committerKjartan Maraas <kmaraas@src.gnome.org>2004-09-30 16:42:11 +0800
commit5f1eb8c6548aa6f56bd8c69333562431f0c0eadc (patch)
tree8bd5b9a85c4cd934e31d0ea76a80d07af1e5834c
parent55e921af93354f13406657f4a5d68c5e426d9402 (diff)
downloadgsoc2013-evolution-5f1eb8c6548aa6f56bd8c69333562431f0c0eadc.tar
gsoc2013-evolution-5f1eb8c6548aa6f56bd8c69333562431f0c0eadc.tar.gz
gsoc2013-evolution-5f1eb8c6548aa6f56bd8c69333562431f0c0eadc.tar.bz2
gsoc2013-evolution-5f1eb8c6548aa6f56bd8c69333562431f0c0eadc.tar.lz
gsoc2013-evolution-5f1eb8c6548aa6f56bd8c69333562431f0c0eadc.tar.xz
gsoc2013-evolution-5f1eb8c6548aa6f56bd8c69333562431f0c0eadc.tar.zst
gsoc2013-evolution-5f1eb8c6548aa6f56bd8c69333562431f0c0eadc.zip
use g_timeout_add().
2004-09-30 Kjartan Maraas <kmaraas@gnome.org> * e-shell-importer.c: (import_cb): use g_timeout_add(). * importer/intelligent.c: (select_row_cb), (unselect_row_cb), svn path=/trunk/; revision=27435
-rw-r--r--shell/ChangeLog7
-rw-r--r--shell/e-shell-importer.c4
-rw-r--r--shell/importer/intelligent.c6
3 files changed, 12 insertions, 5 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 6731a165bd..a422242e90 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,10 @@
+2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
+
+ * e-shell-importer.c: (import_cb): use g_timeout_add().
+ * importer/intelligent.c: (select_row_cb), (unselect_row_cb),
+ (create_gui): use gtk_notebook_set_current_page() instead of
+ deprecated gtk_notebook_set_page()
+
2004-09-24 Not Zed <NotZed@Ximian.com>
* e-shell-window-commands.c: Added ed catmur to the credits.
diff --git a/shell/e-shell-importer.c b/shell/e-shell-importer.c
index d8608371ff..2ad0899580 100644
--- a/shell/e-shell-importer.c
+++ b/shell/e-shell-importer.c
@@ -214,13 +214,13 @@ import_cb (EvolutionImporterListener *listener,
IN;
if (icd->stop != TRUE) {
if (result == EVOLUTION_IMPORTER_NOT_READY) {
- gtk_timeout_add (500, importer_timeout_fn, data);
+ g_timeout_add (500, importer_timeout_fn, data);
OUT;
return;
}
if (result == EVOLUTION_IMPORTER_BUSY) {
- gtk_timeout_add (500, importer_timeout_fn, data);
+ g_timeout_add (500, importer_timeout_fn, data);
OUT;
return;
}
diff --git a/shell/importer/intelligent.c b/shell/importer/intelligent.c
index 16cfad30ff..2043abadb4 100644
--- a/shell/importer/intelligent.c
+++ b/shell/importer/intelligent.c
@@ -162,7 +162,7 @@ select_row_cb (GtkCList *clist,
GdkEvent *ev,
IntelligentImporterDialog *d)
{
- gtk_notebook_set_page (GTK_NOTEBOOK (d->placeholder), row);
+ gtk_notebook_set_current_page (GTK_NOTEBOOK (d->placeholder), row);
}
static void
@@ -172,7 +172,7 @@ unselect_row_cb (GtkCList *clist,
GdkEvent *ev,
IntelligentImporterDialog *d)
{
- gtk_notebook_set_page (GTK_NOTEBOOK (d->placeholder), d->running);
+ gtk_notebook_set_current_page (GTK_NOTEBOOK (d->placeholder), d->running);
}
static IntelligentImporterDialog *
@@ -363,7 +363,7 @@ create_gui (GList *importers)
gtk_notebook_append_page (GTK_NOTEBOOK (d->placeholder),
dummy, NULL);
/* Set the start to the blank page */
- gtk_notebook_set_page (GTK_NOTEBOOK (d->placeholder), running);
+ gtk_notebook_set_current_page (GTK_NOTEBOOK (d->placeholder), running);
g_signal_connect((clist), "select-row",
G_CALLBACK (select_row_cb), d);