Commit 07ad41c6 authored by Darin Adler's avatar Darin Adler

Don't give a warning if there's no FAM daemon to connect to, just silently

	* libnautilus-extensions/nautilus-monitor.c: (get_fam_connection):
	Don't give a warning if there's no FAM daemon to connect to, just
	silently don't use FAM.
	(process_fam_notifications): Improve wording of the warning you
	get when FAM goes away.
parent 743a376b
2001-04-16 Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-monitor.c: (get_fam_connection):
Don't give a warning if there's no FAM daemon to connect to, just
silently don't use FAM.
(process_fam_notifications): Improve wording of the warning you
get when FAM goes away.
2001-04-16 Darin Adler <darin@eazel.com>
Changes to use FAM if it's there. Now the hard part is getting FAM
......
......@@ -56,7 +56,6 @@ get_fam_connection (void)
/* Only try once. */
if (!tried_connection) {
if (FAMOpen2 (&connection, "Nautilus") != 0) {
g_warning ("Nautilus failed to establish a link to FAM");
got_connection = FALSE;
} else {
/* Register our callback into the gtk loop. */
......@@ -126,7 +125,7 @@ process_fam_notifications (gpointer callback_data, int fd, GdkInputCondition con
while (FAMPending (connection)) {
if (FAMNextEvent (connection, &event) != 1) {
g_warning ("Nautilus's link to FAM died");
g_warning ("connection to FAM died");
gdk_input_remove (fd);
FAMClose (connection);
got_connection = FALSE;
......
......@@ -56,7 +56,6 @@ get_fam_connection (void)
/* Only try once. */
if (!tried_connection) {
if (FAMOpen2 (&connection, "Nautilus") != 0) {
g_warning ("Nautilus failed to establish a link to FAM");
got_connection = FALSE;
} else {
/* Register our callback into the gtk loop. */
......@@ -126,7 +125,7 @@ process_fam_notifications (gpointer callback_data, int fd, GdkInputCondition con
while (FAMPending (connection)) {
if (FAMNextEvent (connection, &event) != 1) {
g_warning ("Nautilus's link to FAM died");
g_warning ("connection to FAM died");
gdk_input_remove (fd);
FAMClose (connection);
got_connection = FALSE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment