From 0309966cb4998548e404c1d76bd6c94a5e0f4259 Mon Sep 17 00:00:00 2001 From: Travis Reitter Date: Mon, 1 Mar 2010 15:54:13 -0800 Subject: Disable the Cancel button in the accounts dialog if there are no existing accounts to display (ie, we're creating our first account). --- libempathy-gtk/empathy-account-widget.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libempathy-gtk/empathy-account-widget.h') diff --git a/libempathy-gtk/empathy-account-widget.h b/libempathy-gtk/empathy-account-widget.h index 9ed989434..ecc52e6c6 100644 --- a/libempathy-gtk/empathy-account-widget.h +++ b/libempathy-gtk/empathy-account-widget.h @@ -79,6 +79,9 @@ void empathy_account_widget_set_account_param (EmpathyAccountWidget *widget, void empathy_account_widget_set_password_param (EmpathyAccountWidget *self, const gchar *password); +void empathy_account_widget_set_other_accounts_exist ( + EmpathyAccountWidget *self, gboolean others_exist); + /* protected methods */ void empathy_account_widget_changed (EmpathyAccountWidget *widget); -- cgit v1.2.3