mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-10-29 03:34:16 +00:00
Check whether daemon is running as beagle_client_new doesn't fail when a
2006-07-24 Martin Wehner <martin.wehner@gmail.com> * libnautilus-private/nautilus-search-engine-beagle.c: (nautilus_search_engine_beagle_new): Check whether daemon is running as beagle_client_new doesn't fail when a stale socket file exists. Patch from Jürg Billeter <j@bitron.ch>
This commit is contained in:
parent
0a9fe18765
commit
18922c2a9f
2 changed files with 15 additions and 0 deletions
|
@ -1,3 +1,12 @@
|
|||
2006-07-24 Martin Wehner <martin.wehner@gmail.com>
|
||||
|
||||
* libnautilus-private/nautilus-search-engine-beagle.c:
|
||||
(nautilus_search_engine_beagle_new): Check whether daemon is
|
||||
running as beagle_client_new doesn't fail when a stale socket
|
||||
file exists.
|
||||
|
||||
Patch from Jürg Billeter <j@bitron.ch>
|
||||
|
||||
2006-07-24 Martin Wehner <martin.wehner@gmail.com>
|
||||
|
||||
* configure.in:
|
||||
|
|
|
@ -274,6 +274,12 @@ nautilus_search_engine_beagle_new (void)
|
|||
{
|
||||
NautilusSearchEngineBeagle *engine;
|
||||
BeagleClient *client;
|
||||
|
||||
if (!beagle_util_daemon_is_running ()) {
|
||||
/* check whether daemon is running as beagle_client_new
|
||||
* doesn't fail when a stale socket file exists */
|
||||
return NULL;
|
||||
}
|
||||
|
||||
client = beagle_client_new (NULL);
|
||||
|
||||
|
|
Loading…
Reference in a new issue