[empathy/mc5] When creating an account use a connect button instead of an apply button
- From: Sjoerd Simons <sjoerds src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [empathy/mc5] When creating an account use a connect button instead of an apply button
- Date: Sat, 22 Aug 2009 18:55:24 +0000 (UTC)
commit f984475cb967427790466d21b42b6e703fa55a26
Author: Sjoerd Simons <sjoerd simons collabora co uk>
Date: Sat Aug 22 18:33:58 2009 +0100
When creating an account use a connect button instead of an apply button
libempathy-gtk/empathy-account-widget.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/libempathy-gtk/empathy-account-widget.c b/libempathy-gtk/empathy-account-widget.c
index aa1c672..9712ae9 100644
--- a/libempathy-gtk/empathy-account-widget.c
+++ b/libempathy-gtk/empathy-account-widget.c
@@ -1186,7 +1186,8 @@ do_constructed (GObject *obj)
GtkWidget *hbox = gtk_hbox_new (TRUE, 3);
priv->cancel_button = gtk_button_new_from_stock (GTK_STOCK_CANCEL);
- priv->apply_button = gtk_button_new_from_stock (GTK_STOCK_APPLY);
+ priv->apply_button = gtk_button_new_from_stock (
+ priv->creating_account ? GTK_STOCK_CONNECT : GTK_STOCK_APPLY);
gtk_box_pack_end (GTK_BOX (hbox), priv->apply_button, TRUE,
TRUE, 3);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]