[evolution] Bug 682811 - Can edit properties of local/vfolder stores
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Bug 682811 - Can edit properties of local/vfolder stores
- Date: Mon, 27 Aug 2012 17:39:30 +0000 (UTC)
commit ef1ae6a0be5b2c8d0d70719445814a9e3a3b291b
Author: Matthew Barnes <mbarnes redhat com>
Date: Mon Aug 27 13:38:18 2012 -0400
Bug 682811 - Can edit properties of local/vfolder stores
mail/e-mail-account-manager.c | 18 ++++++++++++++++--
1 files changed, 16 insertions(+), 2 deletions(-)
---
diff --git a/mail/e-mail-account-manager.c b/mail/e-mail-account-manager.c
index 9fa71ec..1781520 100644
--- a/mail/e-mail-account-manager.c
+++ b/mail/e-mail-account-manager.c
@@ -162,6 +162,20 @@ mail_account_manager_default_cb (EMailAccountManager *manager)
}
static void
+mail_account_manager_row_activated_cb (GtkTreeView *tree_view,
+ GtkTreePath *path,
+ GtkTreeViewColumn *column,
+ EMailAccountManager *manager)
+{
+ GtkWidget *edit_button;
+
+ edit_button = manager->priv->edit_button;
+
+ if (gtk_widget_is_sensitive (edit_button))
+ gtk_button_clicked (GTK_BUTTON (edit_button));
+}
+
+static void
mail_account_manager_info_bar_response_cb (EMailAccountManager *manager,
gint response)
{
@@ -415,9 +429,9 @@ mail_account_manager_constructed (GObject *object)
G_CALLBACK (mail_account_manager_key_press_event_cb),
manager);
- g_signal_connect_swapped (
+ g_signal_connect (
widget, "row-activated",
- G_CALLBACK (mail_account_manager_edit_cb), manager);
+ G_CALLBACK (mail_account_manager_row_activated_cb), manager);
selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (widget));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]