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
This commit is contained in:

committed by
Kjartan Maraas

parent
55e921af93
commit
5f1eb8c654
@ -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>
|
2004-09-24 Not Zed <NotZed@Ximian.com>
|
||||||
|
|
||||||
* e-shell-window-commands.c: Added ed catmur to the credits.
|
* e-shell-window-commands.c: Added ed catmur to the credits.
|
||||||
|
@ -214,13 +214,13 @@ import_cb (EvolutionImporterListener *listener,
|
|||||||
IN;
|
IN;
|
||||||
if (icd->stop != TRUE) {
|
if (icd->stop != TRUE) {
|
||||||
if (result == EVOLUTION_IMPORTER_NOT_READY) {
|
if (result == EVOLUTION_IMPORTER_NOT_READY) {
|
||||||
gtk_timeout_add (500, importer_timeout_fn, data);
|
g_timeout_add (500, importer_timeout_fn, data);
|
||||||
OUT;
|
OUT;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (result == EVOLUTION_IMPORTER_BUSY) {
|
if (result == EVOLUTION_IMPORTER_BUSY) {
|
||||||
gtk_timeout_add (500, importer_timeout_fn, data);
|
g_timeout_add (500, importer_timeout_fn, data);
|
||||||
OUT;
|
OUT;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -162,7 +162,7 @@ select_row_cb (GtkCList *clist,
|
|||||||
GdkEvent *ev,
|
GdkEvent *ev,
|
||||||
IntelligentImporterDialog *d)
|
IntelligentImporterDialog *d)
|
||||||
{
|
{
|
||||||
gtk_notebook_set_page (GTK_NOTEBOOK (d->placeholder), row);
|
gtk_notebook_set_current_page (GTK_NOTEBOOK (d->placeholder), row);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
@ -172,7 +172,7 @@ unselect_row_cb (GtkCList *clist,
|
|||||||
GdkEvent *ev,
|
GdkEvent *ev,
|
||||||
IntelligentImporterDialog *d)
|
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 *
|
static IntelligentImporterDialog *
|
||||||
@ -363,7 +363,7 @@ create_gui (GList *importers)
|
|||||||
gtk_notebook_append_page (GTK_NOTEBOOK (d->placeholder),
|
gtk_notebook_append_page (GTK_NOTEBOOK (d->placeholder),
|
||||||
dummy, NULL);
|
dummy, NULL);
|
||||||
/* Set the start to the blank page */
|
/* 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_signal_connect((clist), "select-row",
|
||||||
G_CALLBACK (select_row_cb), d);
|
G_CALLBACK (select_row_cb), d);
|
||||||
|
Reference in New Issue
Block a user