seahorse r2771 - in trunk: . libseahorse
- From: nnielsen svn gnome org
- To: svn-commits-list gnome org
- Subject: seahorse r2771 - in trunk: . libseahorse
- Date: Sat, 7 Feb 2009 03:46:29 +0000 (UTC)
Author: nnielsen
Date: Sat Feb 7 03:46:29 2009
New Revision: 2771
URL: http://svn.gnome.org/viewvc/seahorse?rev=2771&view=rev
Log:
Set location of unknown objects correctly to signifiy searching or missing.
Modified:
trunk/ChangeLog
trunk/libseahorse/seahorse-unknown-source.c
Modified: trunk/libseahorse/seahorse-unknown-source.c
==============================================================================
--- trunk/libseahorse/seahorse-unknown-source.c (original)
+++ trunk/libseahorse/seahorse-unknown-source.c Sat Feb 7 03:46:29 2009
@@ -49,7 +49,7 @@
static void
search_done (SeahorseOperation *op, SeahorseObject *sobj)
{
- g_object_set (sobj, "source-location", SEAHORSE_LOCATION_MISSING, NULL);
+ g_object_set (sobj, "location", SEAHORSE_LOCATION_MISSING, NULL);
}
/* -----------------------------------------------------------------------------
@@ -156,8 +156,10 @@
}
if (search) {
- g_object_set (sobj, "source-location", SEAHORSE_LOCATION_SEARCHING, NULL);
+ g_object_set (sobj, "location", SEAHORSE_LOCATION_SEARCHING, NULL);
seahorse_operation_watch (search, (SeahorseDoneFunc) search_done, sobj, NULL, NULL);
+ } else {
+ g_object_set (sobj, "location", SEAHORSE_LOCATION_MISSING, NULL);
}
return sobj;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]