diff options
Diffstat (limited to 'libempathy-gtk/empathy-roster-view.c')
-rw-r--r-- | libempathy-gtk/empathy-roster-view.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-roster-view.c b/libempathy-gtk/empathy-roster-view.c index bb10655b7..ce8f19f64 100644 --- a/libempathy-gtk/empathy-roster-view.c +++ b/libempathy-gtk/empathy-roster-view.c @@ -1187,3 +1187,10 @@ empathy_roster_view_is_empty (EmpathyRosterView *self) { return self->priv->empty; } + +gboolean +empathy_roster_view_is_searching (EmpathyRosterView *self) +{ + return (self->priv->search != NULL && + gtk_widget_get_visible (GTK_WIDGET (self->priv->search))); +} |