aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2002-08-20 03:33:05 +0800
committerDan Winship <danw@src.gnome.org>2002-08-20 03:33:05 +0800
commit520d7194c4837f288733b29fa69f9cdde524fe38 (patch)
tree9a3543d2c81fa7bab7a46987b1bbec576981a79f
parent58084b908ae3b3cdf0cb65137d8825007086ffb5 (diff)
downloadgsoc2013-evolution-520d7194c4837f288733b29fa69f9cdde524fe38.tar
gsoc2013-evolution-520d7194c4837f288733b29fa69f9cdde524fe38.tar.gz
gsoc2013-evolution-520d7194c4837f288733b29fa69f9cdde524fe38.tar.bz2
gsoc2013-evolution-520d7194c4837f288733b29fa69f9cdde524fe38.tar.lz
gsoc2013-evolution-520d7194c4837f288733b29fa69f9cdde524fe38.tar.xz
gsoc2013-evolution-520d7194c4837f288733b29fa69f9cdde524fe38.tar.zst
gsoc2013-evolution-520d7194c4837f288733b29fa69f9cdde524fe38.zip
Get the "addresses" property of the select names control rather than
* e-shell-shared-folder-picker-dialog.c (show_dialog): Get the "addresses" property of the select names control rather than "text", so we get the email address too. #28953 svn path=/trunk/; revision=17804
-rw-r--r--shell/ChangeLog4
-rw-r--r--shell/e-shell-shared-folder-picker-dialog.c7
2 files changed, 6 insertions, 5 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index c5cb529fa4..7c506271b7 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,5 +1,9 @@
2002-08-19 Dan Winship <danw@ximian.com>
+ * e-shell-shared-folder-picker-dialog.c (show_dialog): Get the
+ "addresses" property of the select names control rather than
+ "text", so we get the email address too. #28953
+
* e-folder-type-registry.c
(e_folder_type_registry_type_registered,
e_folder_type_registry_unregister_type): Fix the names of these
diff --git a/shell/e-shell-shared-folder-picker-dialog.c b/shell/e-shell-shared-folder-picker-dialog.c
index 9141348aca..e0ebf07345 100644
--- a/shell/e-shell-shared-folder-picker-dialog.c
+++ b/shell/e-shell-shared-folder-picker-dialog.c
@@ -233,16 +233,13 @@ show_dialog (EShell *shell,
EShellView *parent,
char **user_email_address_return,
char **storage_name_return,
- char **folder_name_return/*,
- char **mailbox_name_return*/)
+ char **folder_name_return)
{
GladeXML *glade_xml;
GtkWidget *dialog;
GtkWidget *name_selector_widget;
GtkWidget *folder_name_entry;
int button_num;
- /* GNOME_Evolution_Addressbook_SimpleCardList *simple_card_list;*/
-
glade_xml = glade_xml_new (EVOLUTION_GLADEDIR "/e-shell-shared-folder-picker-dialog.glade",
NULL);
@@ -269,7 +266,7 @@ show_dialog (EShell *shell,
}
bonobo_widget_get_property (BONOBO_WIDGET (name_selector_widget),
- "text", user_email_address_return,
+ "addresses", user_email_address_return,
NULL);
folder_name_entry = glade_xml_get_widget (glade_xml, "folder-name-entry");