Commit 3f757018 authored by Guillaume Desmottes's avatar Guillaume Desmottes

roster-window: display a specific message if there is no offline contact either

Displaying "No online contacts" while we are actually displaying all the
contacts is miss leading.

https://bugzilla.gnome.org/show_bug.cgi?id=670048
parent 184b73e4
......@@ -1625,8 +1625,13 @@ set_notebook_page (EmpathyRosterWindow *self)
}
else
{
display_page_message (self, _("No online contacts"),
PAGE_MESSAGE_FLAG_NONE);
if (g_settings_get_boolean (self->priv->gsettings_ui,
EMPATHY_PREFS_UI_SHOW_OFFLINE))
display_page_message (self, _("You haven't added any contact yet"),
PAGE_MESSAGE_FLAG_NONE);
else
display_page_message (self, _("No online contacts"),
PAGE_MESSAGE_FLAG_NONE);
}
goto out;
}
......
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