aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorChris Toshok <toshok@helixcode.com>2000-10-17 07:22:26 +0800
committerChris Toshok <toshok@src.gnome.org>2000-10-17 07:22:26 +0800
commitabd69f08adc08989436209f97a633707947e70c7 (patch)
tree0561f1e1b11d1405ac0f111521997cd0b4b7ded0 /mail
parent5da3981c901271b379b80705dbd598b3965baf2d (diff)
downloadgsoc2013-evolution-abd69f08adc08989436209f97a633707947e70c7.tar.gz
gsoc2013-evolution-abd69f08adc08989436209f97a633707947e70c7.tar.zst
gsoc2013-evolution-abd69f08adc08989436209f97a633707947e70c7.zip
only set the url->user field if the user string is non-NULL and not empty.
2000-10-16 Chris Toshok <toshok@helixcode.com> * mail-config-gui.c (service_page_get_url): only set the url->user field if the user string is non-NULL and not empty. svn path=/trunk/; revision=5953
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-config-gui.c12
2 files changed, 15 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index b620f89f33..98dfd18129 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2000-10-16 Chris Toshok <toshok@helixcode.com>
+
+ * mail-config-gui.c (service_page_get_url): only set the url->user
+ field if the user string is non-NULL and not empty.
+
2000-10-16 Not Zed <NotZed@HelixCode.com>
* message-list.c (message_list_setup_etable): Uh, fixed jeff's
diff --git a/mail/mail-config-gui.c b/mail/mail-config-gui.c
index 67ad633771..34560647ac 100644
--- a/mail/mail-config-gui.c
+++ b/mail/mail-config-gui.c
@@ -583,8 +583,16 @@ service_page_get_url (MailDialogServicePage *page)
url = g_new0 (CamelURL, 1);
url->protocol = g_strdup (spitem->protocol);
- if (spitem->user)
- url->user = e_utf8_gtk_editable_get_chars (GTK_EDITABLE (spitem->user), 0, -1);
+ if (spitem->user) {
+ char *user = e_utf8_gtk_editable_get_chars (GTK_EDITABLE (spitem->user), 0, -1);
+ if (user && *user) {
+ url->user = user;
+ }
+ else {
+ url->user = NULL;
+ g_free (user);
+ }
+ }
if (spitem->host) {
char *p;
/td> * Updated Swedish translation.Christian Rose2001-10-212-729/+847 * Offer UTF8_STRING, UTF-8, COMPOUND_TEXT, STRING, and TEXT targets when weChristopher James Lahey2001-10-211-21/+70 * *** empty log message ***Wang Jian2001-10-212-838/+891 * Group by the correct column.Christopher James Lahey2001-10-213-4/+11 * Make this not be a radio button, but instead just a normal menu.Christopher James Lahey2001-10-212-70/+58 * right_click_up here when we let go of the popup.Christopher James Lahey2001-10-213-0/+9 * Use right_click_down here instead of maybe_do_something.Christopher James Lahey2001-10-211-1/+1 * Use an EEntry here instead of a GtkLabel. Fixes Ximian bug #7067.Christopher James Lahey2001-10-212-33/+29 * Call e_addressbook_model_force_folder_bar_message when we activate theJon Trowbridge2001-10-214-2/+24 * (e_select_names_set_default): don't forget to unref the oldstyle.Larry Ewing2001-10-212-1/+2 * stick with the style font if the efont bold font does not exist.Larry Ewing2001-10-212-8/+24 * Don't leak our ESearchingTokenizer.Jon Trowbridge2001-10-212-1/+9 * Don't convert to locale here since EText takes UTF8 strings. Fixes XimianChristopher James Lahey2001-10-211-9/+3 * Fix memory leak.Jon Trowbridge2001-10-215-1/+21 * We shouldn't leak the info returned by oaf_query.Jon Trowbridge2001-10-214-2/+17 * Make LDAP servers non-user-creatable.Ettore Perazzoli2001-10-212-1/+6 * hook up zoom functions.Larry Ewing2001-10-214-1/+35 * Keep us from reading tmp_tm uninitialized, so purify won't complain.Jon Trowbridge2001-10-212-2/+12 * Check that the string we are checking for xml-ness is non-NULL.Jon Trowbridge2001-10-212-1/+4 * add text size menu.Larry Ewing2001-10-212-0/+23 * Install `evolution.desktop' in the `KDE_APPLNK_DIR'.Ettore Perazzoli2001-10-213-0/+33 * Translate the rule names. (Bug #13082)Jon Trowbridge2001-10-212-1/+7 * Filter out empty destinations. (also Bug #13036)Jon Trowbridge2001-10-214-12/+58 * Handle focus_change in event by selecting that contact. Fixes Ximian bugChristopher James Lahey2001-10-212-0/+17 * Changed some of these gbooleans to be guint : 1s.Christopher James Lahey2001-10-212-5/+6 * Updated italian translation from Clara Tattoni <clara.tattoni@libero.it>Christopher R. Gabriel2001-10-212-5354/+3368 * Updated Norwegian (bokmål) translation.Kjartan Maraas2001-10-212-358/+385 * Repeatedly call gtk_main_quit here as long as there is a main loop around.Christopher James Lahey2001-10-202-2/+16 * Added #include <gal/widgets/e-unicode.h>.Christopher James Lahey2001-10-203-62/+101 * Check for num_children == -1 here and generate the children if theyChristopher James Lahey2001-10-201-0/+5 * Changed this to not grab on a right click. Fixes Ximian bug #12660.Christopher James Lahey2001-10-202-1/+10 * If no exception supplied, use a local one. (move_message_to): Set the seen02001-10-202-5/+15 * Added in import dialogue documentationKevin Breit2001-10-202-146/+221 * Allow copy/move to/from vTrash folders as well.Jeffrey Stedfast2001-10-202-1/+4 * If the destination folder is the vfolder source folder, thenJeffrey Stedfast2001-10-202-1/+7 * Properly handle local vTrash folders.Jeffrey Stedfast2001-10-202-13/+23 * Update to reflect API changes to e_msg_composer_add_message_attachments().Jeffrey Stedfast2001-10-202-1/+3 * More NEWSRodrigo Moya2001-10-201-0/+2 * Dont translate camel strings. (mail_account_gui_setup): "92001-10-202-9/+14 * When registering provider, translate all strings.92001-10-202-0/+26 * don't free the parameterJP Rosevear2001-10-202-1/+5 * Pass the @folder_type to ::handleDrop.Ettore Perazzoli2001-10-209-6/+52 * Many changes w/r/t IMAP and importation and encryption.Aaron Weber2001-10-205-131/+213 * Add `about-box.png'.Ettore Perazzoli2001-10-203-4/+12 * Use EShellAboutBox. (zero_pointer): Removed.Ettore Perazzoli2001-10-205-64/+483 * camel-vee-folder.c (folder_changed_change): Change logic, we always addMichael Zucci2001-10-202-15/+23 * Fixes a deadlock. camel-vee-folder.c: (folder_changed_change): Ok, so dontMichael Zucci2001-10-202-2/+4 * Update to reflect API changes to e_msg_composer_add_message_attachments().Jeffrey Stedfast2001-10-202-3/+9 * Now takes a 'attach_all' argument. If !attach_all, then only attach theJeffrey Stedfast2001-10-203-13/+30 * Null some freed memoryIain Holmes2001-10-202-0/+10 * Assorted fixes. Kevin, there's a FIXME for ya in here.Aaron Weber2001-10-204-48/+75 * Do not assert if we fail to load the URI list. This would of course haveFederico Mena Quintero2001-10-205-12/+42 * make it a public functionRodrigo Moya2001-10-205-6/+35 * Translate labels in select-names option menu. (Bug #9604)Jon Trowbridge2001-10-203-2/+15 * new function (update_query): call set_status_messageRodrigo Moya2001-10-202-0/+89 * keep a reference to the EvolutionShellClient componentRodrigo Moya2001-10-198-25/+156 * Updated Ukrainian TranslationYuri Syrota2001-10-191-1473/+1486 * Merge the two EXTRA_DIST declarations together so they both happen.Dan Winship2001-10-192-4/+7 * Updated Polish translationChyla Zbigniew2001-10-19