Git-Url:
http://git.frugalware.org/gitweb/gitweb.cgi?p=fun.git;a=commitdiff;h=21dd59a5478588c17fd74985cf92bebcdfd1a8ae
commit 21dd59a5478588c17fd74985cf92bebcdfd1a8ae
Author: Priyank <[EMAIL PROTECTED]>
Date: Sun Nov 4 12:41:53 2007 +0530
fun-ui
set proper connection status in tooltip
diff --git a/src/fun-ui.c b/src/fun-ui.c
index b1507b4..62e6242 100644
--- a/src/fun-ui.c
+++ b/src/fun-ui.c
@@ -378,6 +378,7 @@ fun_ui_init (void)
if (fun_dbus_perform_service (TEST_SERVICE, NULL) == FALSE)
{
g_print ("Failed to connect to the fun daemon\n");
+ fun_tooltip_set_text2 (tooltip, "Not connected to fun daemon",
FALSE);
connected = FALSE;
/* start the connection retry timeout */
g_timeout_add_seconds (30, (GSourceFunc)fun_timeout_conn, NULL);
@@ -405,6 +406,7 @@ fun_timeout_conn (void)
{
connected = TRUE;
g_timeout_add_seconds (20, (GSourceFunc)fun_timeout_func, NULL);
+ fun_tooltip_set_text2 (tooltip, "", FALSE);
return FALSE;
}
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git