seahorse r2747 - in trunk: . libseahorse
- From: nnielsen svn gnome org
- To: svn-commits-list gnome org
- Subject: seahorse r2747 - in trunk: . libseahorse
- Date: Mon, 2 Feb 2009 03:04:28 +0000 (UTC)
Author: nnielsen
Date: Mon Feb 2 03:04:27 2009
New Revision: 2747
URL: http://svn.gnome.org/viewvc/seahorse?rev=2747&view=rev
Log:
Don't refresh sources as they're added to the context. Only refresh when specifically requested.
Modified:
trunk/ChangeLog
trunk/libseahorse/seahorse-context.c
Modified: trunk/libseahorse/seahorse-context.c
==============================================================================
--- trunk/libseahorse/seahorse-context.c (original)
+++ trunk/libseahorse/seahorse-context.c Mon Feb 2 03:04:27 2009
@@ -266,18 +266,9 @@
static gboolean
take_source (SeahorseContext *sctx, SeahorseSource *sksrc)
{
- SeahorseOperation *operation;
-
g_return_val_if_fail (SEAHORSE_IS_SOURCE (sksrc), FALSE);
if (!g_slist_find (sctx->pv->sources, sksrc)) {
sctx->pv->sources = g_slist_append (sctx->pv->sources, sksrc);
- if (seahorse_source_get_location (sksrc) == SEAHORSE_LOCATION_LOCAL &&
- sctx->pv->refresh_ops != NULL) {
- operation = seahorse_source_load (sksrc);
- g_return_val_if_fail (operation, TRUE);
- seahorse_multi_operation_take (sctx->pv->refresh_ops, operation);
- g_signal_emit (sctx, signals[REFRESHING], 0, sctx->pv->refresh_ops);
- }
return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]