From e54241baa88fba95c357bdde508c9c924275c3a3 Mon Sep 17 00:00:00 2001 From: Iain Holmes Date: Wed, 19 Sep 2001 00:24:38 +0000 Subject: Select next rows svn path=/trunk/; revision=12965 --- my-evolution/ChangeLog | 6 ++++++ my-evolution/e-summary-preferences.c | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'my-evolution') diff --git a/my-evolution/ChangeLog b/my-evolution/ChangeLog index e293f0d0a7..d2d86d2436 100644 --- a/my-evolution/ChangeLog +++ b/my-evolution/ChangeLog @@ -1,3 +1,9 @@ +2001-09-18 Iain Holmes + + * e-summary-preferences.c (weather_remove_clicked_cb): Select the next + row. + (rdf_remove_clicked_cb): Select the next row. + 2001-09-18 Iain Holmes * e-summary-preferences.c (mail_remove_clicked_cb): Select the next diff --git a/my-evolution/e-summary-preferences.c b/my-evolution/e-summary-preferences.c index 3bdb6a6911..e32507fcc5 100644 --- a/my-evolution/e-summary-preferences.c +++ b/my-evolution/e-summary-preferences.c @@ -822,11 +822,12 @@ rdf_remove_clicked_cb (GtkButton *button, row = GPOINTER_TO_INT (GTK_CLIST (pd->rdf->shown)->selection->data); p = gtk_clist_get_row_data (GTK_CLIST (pd->rdf->shown), row); gtk_clist_remove (GTK_CLIST (pd->rdf->shown), row); - + pd->summary->preferences->rdf_urls = g_list_remove_link (pd->summary->preferences->rdf_urls, p); g_free (p->data); g_list_free (p); + gtk_clist_select_row (GTK_CLIST (pd->rdf->shown), row, 0); gnome_property_box_changed (pd->box); } @@ -1022,6 +1023,7 @@ weather_remove_clicked_cb (GtkButton *button, g_free (p->data); g_list_free (p); + gtk_clist_select_row (GTK_CLIST (pd->weather->shown), row, 0); gnome_property_box_changed (pd->box); } -- cgit v1.2.3