aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config-druid.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-config-druid.c')
-rw-r--r--mail/mail-config-druid.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/mail/mail-config-druid.c b/mail/mail-config-druid.c
index e43f0dfbf5..d1c0fabcc1 100644
--- a/mail/mail-config-druid.c
+++ b/mail/mail-config-druid.c
@@ -414,17 +414,18 @@ management_prepare (EvolutionWizard *wizard, gpointer data)
name = gtk_entry_get_text (gui->gui->email_address);
if (name && *name) {
if (mail_config_get_account_by_name (name)) {
- char *template, *p;
- unsigned int i = 1;
+ char *template;
+ unsigned int i = 1, len;
/* length of name + 1 char for ' ' + 1 char
for '(' + 10 chars for %d + 1 char for ')'
+ 1 char for nul */
- template = alloca (strlen (name) + 14);
- p = stpcpy (template, name);
+ len = strlen (name);
+ template = alloca (len + 14);
+ strcpy (template, name);
name = template;
do {
- sprintf (p, " (%d)", i++);
+ sprintf (template + len, " (%d)", i++);
} while (mail_config_get_account_by_name (name) && i != 0);
}
dc8cb476'>Improve attachment bar selection behavior.Matthew Barnes2010-05-202-62/+38 | * | Merge branch 'gnome-2-30' into express2Matthew Barnes2010-05-173-18/+30 | |\| | | * Bug 615291 - Preview pane's attachment bar accepts dropMatthew Barnes2010-05-121-5/+14 | | * Bug 616640 - Don't display attachment size if it's unknownMatthew Barnes2010-05-121-2/+5 | | * Bug #614346 - Use cached table row height rather than recalculateMichel Dänzer2010-04-301-11/+11 | | * Bug #604430 - Calendar view not rememberedMilan Crha2010-04-281-2/+3 | | * Remove 3 leftover references to non-existing librariesFridrich Štrba2010-04-231-4/+0 | | * fix disappearing e-table headers by realising the (horrible)Michael Meeks2010-04-211-0/+1 | * | Merge express2 into relayout-composerFederico Mena Quintero2010-05-082-5/+86 | |\ \ | | * | Add filter_page option for pref window so that we can show only requiredSrinivasa Ragavan2010-04-302-5/+86 | * | | Add function to count the displayed accounts in an EAccountComboBoxFederico Mena Quintero2010-05-052-0/+24 | |/ / | * | Bug #604430 - Calendar view not rememberedMilan Crha2010-04-301-2/+3 | * | Remove 3 leftover references to non-existing librariesFridrich Štrba2010-04-301-4/+0 | * | fix disappearing e-table headers by realising the (horrible)Michael Meeks2010-04-211-0/+1 | * | Merge gnome-2-30 into express2 to get bugfixesFederico Mena Quintero2010-04-101-0/+2 | |\| | | * [win32] Be consistent in disabling the lockdown options.Fridrich Strba2010-04-081-0/+2 | * | Fix mismatched quotes.Matthew Barnes2010-04-071-1/+1 | * | Minor EMailReader cleanup.Matthew Barnes2010-04-072-4/+19 | * | Add an extension to configure EWebView.Matthew Barnes2010-04-072-42/+176 | * | Add extensions to configure calender widgets.Matthew Barnes2010-04-073-37/+33 | |/ | * Bug #488979 - Disable Edit for card views in contactsMilan Crha2010-04-011-1/+6 | * Bug 614049 - Attachment bar causes drawing issues in RTL localesMatthew Barnes2010-03-301-2/+7 * | Fix compiler warnings.Matthew Barnes2010-05-221-1/+0 * | Bug 608855 - Can't drag and drop multiple attachmentsMatthew Barnes2010-05-214-24/+175 * | Improve attachment bar selection behavior.Matthew Barnes2010-05-202-62/+38 * | Add missing includeH.Habighorst2010-05-201-0/+1 * | Bug #499320 - Preview before import from command lineMilan Crha2010-05-194-15/+674 * | Bug #604971 - Evolution allows deletion of default viewsMilan Crha2010-05-141-16/+24 * | Bug 615291 - Preview pane's attachment bar accepts dropMatthew Barnes2010-05-121-5/+14 * | Bug 616640 - Don't display attachment size if it's unknownMatthew Barnes2010-05-121-2/+5 * | Adapt to Camel API changes.Matthew Barnes2010-05-081-2/+2 * | Bug #545462 - Printing of contacts is weird.Vibha Yadav2010-05-072-5/+32 * | Coding style and whitespace cleanup.Matthew Barnes2010-05-022-49/+104 * | Bug #614346 - Use cached table row height rather than recalculateMichel Dänzer2010-04-301-11/+11 * | Bug #604430 - Calendar view not rememberedMilan Crha2010-04-281-2/+3 * | Camel is now GObject-based.Matthew Barnes2010-04-244-18/+18 * | Remove 3 leftover references to non-existing librariesFridrich Štrba2010-04-231-4/+0 * | fix disappearing e-table headers by realising the (horrible)Michael Meeks2010-04-211-0/+1 * | Fix compiler warnings.Matthew Barnes2010-04-212-4/+6 * | Remove comments that have no point after pthreads dependency disappearedFridrich Štrba2010-04-161-3/+4 * | Use accessor functions instead direct access (GSEAL work)Javier Jardón2010-04-1310-28/+29 * | Bug #615263 - SIGSEGV on Evolution close in e-tree.c:1990Milan Crha2010-04-131-4/+4 * | Giant leap towards GSEAL compliance.Matthew Barnes2010-04-0840-668/+1066 * | Replace ESpinner with GtkSpinner.Matthew Barnes2010-04-084-1036/+2 * | Bug #574755 - Add translator commentsMilan Crha2010-04-071-5/+5 * | Bug #567304 - Review strings for translationMilan Crha2010-04-071-1/+1 * | Revert "[win32] #undef some conflicting defines"Fridrich Štrba2010-04-064-17/+0 * | [win32] #undef some conflicting definesFridrich Štrba2010-04-064-0/+17 * | Adapt to Camel API changes.Matthew Barnes2010-04-041-10/+12 * | Generate ChangeLog files for tarball releases.Matthew Barnes2010-04-037-16630/+1 * | Only #include Camel's top-level header.Matthew Barnes2010-04-038-20/+5 * | Bug #547368 - Messages with unclear meaning (add translator comments)Milan Crha2010-04-034-7/+12 * | Miscellaneous cleanup bits from WebKit branch.Matthew Barnes2010-04-022-27/+63 * | Bug #347330 - Mark forgotten strings for translationMilan Crha2010-04-021-3/+3 * | Bug #325616 - Remove whitespace, add translator commentsMilan Crha2010-04-021-2/+15 * | Bug #325121 - Do not translate developer strings in g_param_spec_*Milan Crha2010-04-0230-308/+306 * | Bug #488979 - Disable Edit for card views in contactsMilan Crha2010-04-011-1/+6 * | Bug 614049 - Attachment bar causes drawing issues in RTL localesMatthew Barnes2010-03-291-2/+7 * | Fix mismatched quotes.Matthew Barnes2010-03-291-1/+1 * | Minor EMailReader cleanup.Matthew Barnes2010-03-262-4/+19 * | Bug 613639 - Evolution hard codes .gnome2Matthew Barnes2010-03-231-7/+4 * | Bug 613639 - Evolution hard codes .gnome2Matthew Barnes2010-03-231-2/+7 * | Add an extension to configure EWebView.Matthew Barnes2010-03-232-44/+176 * | [win32] Be consistent in disabling the lockdown options.Fridrich Strba2010-03-211-0/+2 * | Add extensions to configure calender widgets.Matthew Barnes2010-03-203-37/+33 |/ * Revert some bad assumptions I made in EPluginUI.Matthew Barnes2010-03-161-3/+3 * Shell and UI manager cleanups.Matthew Barnes2010-03-142-4/+5 * Clean up GalView and related classes.Matthew Barnes2010-03-1118-381/+600 * Bug 612374 - Build failure due to recent GTK+ deprecationsMatthew Barnes2010-03-102-4/+13 * Update win32 directory relocation and some consistency cleanupFridrich Strba2010-03-102-4/+3 * ECalendar header cleanup.Matthew Barnes2010-03-102-81/+80 * Bug 610023 - Does not restore "Current View" on startupMatthew Barnes2010-03-102-0/+12 * Remove a long lived win32 hackFridrich Strba2010-03-061-4/+0 * Work around recent GTK+ deprecations.Matthew Barnes2010-03-0519-1/+167 * Fix a misspelled icon name.Matthew Barnes2010-03-041-1/+1 * Filtering out g_chmod on windows because it makes no sense thereFridrich Strba2010-03-031-0/+2 * Bug #610824 - Contacts list view column width doesn't follow headerMilan Crha2010-02-241-1/+5 * Coding style and whitespace cleanup.Matthew Barnes2010-02-201-1/+0 * Fix ETable/ETree signal signatures.Matthew Barnes2010-02-1910-109/+110 * Bug 587014 - Magic space does not work as expectedMatthew Barnes2010-02-184-8/+8 * Revert "Bug 587014 - Magic space does not work as expected"Matthew Barnes2010-02-181-0/+1 * Forgot to disconnect a signal handler in EAttachmentButton.Matthew Barnes2010-02-181-3/+16 * Bug 609042 - Convert quoted-printing to UTF-8 when copying to clipboardMatthew Barnes2010-02-171-1/+1 * Fix command-line import crasher.Matthew Barnes2010-02-121-0/+1 * Bug #593700 - Opens folder on topMilan Crha2010-02-112-16/+46 * Add DnD support to e-selection.c.Matthew Barnes2010-02-091-13/+10 * Coding style and whitespace cleanup.Matthew Barnes2010-02-0811-103/+239 * Fix a compiler warning.Matthew Barnes2010-02-071-1/+0 * Bug 602416 - Changing shell views emits many runtime warningsMatthew Barnes2010-02-074-8/+22 * Implement account-wide search scope in mail.Matthew Barnes2010-02-071-0/+3 * Coding style and whitespace cleanup.Matthew Barnes2010-01-3161-377/+377 * Don't show total attachment size if it's zero.Matthew Barnes2010-01-291-4/+9 * Revise some comments in e-attachment.c.Matthew Barnes2010-01-291-6/+6 * Fix include paths for some files to also work when installedGustavo Noronha Silva2010-01-272-2/+2 * Coding style and whitespace cleanups.Matthew Barnes2010-01-233-38/+76 * Bug #606301 - Slow sort by subjectMilan Crha2010-01-209-56/+242 * Add focus tracking to EMailBrowser.Matthew Barnes2010-01-201-0/+31 * Bug 607234 - Open received attachments as read-onlyMatthew Barnes2010-01-191-0/+18 * Give all preview panes a search bar.Matthew Barnes2010-01-187-0/+2554 * Improve clipboard behavior.Matthew Barnes2010-01-185-14/+315 * Fix a potential uninitialized return value in e-timezone-dialog.c.Matthew Barnes2010-01-161-5/+4 * Remove dead assignments found by clang.Matthew Barnes2010-01-1622-101/+17 * Fixes #606937 - void function should not have a return value.Wang Xin2010-01-151-1/+1 * Remove unused tooltip support from ECanvas/ETable/EText.Matthew Barnes2010-01-1510-471/+1 * Remove unused ECell::show_tooltip method.Matthew Barnes2010-01-156-400/+0 * Remove dead ETableItem code.Matthew Barnes2010-01-151-77/+0 * Remove unused ECanvas functions.Matthew Barnes2010-01-152-190/+3 * Baby steps toward GSEAL compliance.Matthew Barnes2010-01-1417-286/+500 * Bug 606250 - Remove usage of deprecated GTK+ symbolsMatthew Barnes2010-01-0813-26/+26 * Teach ETable to prefer themed icon names over pixbufs.Matthew Barnes2010-01-079-357/+475 * Coding style and whitespace cleanup.Matthew Barnes2010-01-056-56/+158 * Kill widgets/misc/e-colors.[ch].Matthew Barnes2010-01-053-134/+0 * Kill e_popup_menu().Matthew Barnes2010-01-055-96/+9 * Kill redundant RGB/HSV color conversion utilities.Matthew Barnes2010-01-052-138/+17 * Coding style and whitespace cleanup.Matthew Barnes2010-01-0416-84/+170 * ETableExtras cleanup.Matthew Barnes2010-01-032-86/+144 * Minor ETimezoneDialog cleanup.Matthew Barnes2010-01-032-47/+33 * Bug 361145 - Evolution hangs when formatting message - fixes part of it.Chenthill Palanisamy2009-12-282-11/+7 * Compiler and linker flag cleanups.Matthew Barnes2009-12-282-0/+6 * Coding style and whitespace cleanup.Matthew Barnes2009-12-262-15/+24 * Introduce ESelectable and EFocusTracker.Matthew Barnes2009-12-2611-15/+1322 * Bug #329693 - Add contexts to translated "None" wordsMilan Crha2009-12-245-9/+11 * Bug #605192 - New memo window has start date as NoneMilan Crha2009-12-231-1/+1 * Bug #593896 - Menu > Search > Find now is always enabled (again)Milan Crha2009-12-211-4/+4 * Bug 596947 - Calendar view forgets memo pane heightMatthew Barnes2009-12-202-13/+151 * Bug #603972 - Proper title for dialogPaul Bolle2009-12-101-1/+1 * Bug #591938 - Update translator's commentsMilan Crha2009-12-101-0/+4 * Kill ETableScrolled.Matthew Barnes2009-12-089-1377/+456 * Kill ETreeScrolled.Matthew Barnes2009-12-083-307/+0 * Port all error code to use GObject-ified EAlert / EAlertDialogJonathon Jongsma2009-12-081-1/+1 * Bug 603682 - Duplicate mnemonic in meeting windowMatthew Barnes2009-12-041-2/+2 * Rename EError to EAlert to match general use betterJonathon Jongsma2009-12-012-6/+5 * port widgets/ to use new EError APIJonathon Jongsma2009-12-011-4/+4 * Fix some details in our asynchronous functions.Matthew Barnes2009-11-212-87/+33 * Still tweaking pane position restoration.Matthew Barnes2009-11-201-4/+14 * Kill e_util_read_file().Matthew Barnes2009-11-201-11/+36 * Add e_attachment_store_load_async().Matthew Barnes2009-11-202-24/+171 * Bug #579599 - Let the Advanced Search work againMilan Crha2009-11-191-0/+1 * Bug #590127 - Define ETable::vertical-spacing style propertyMilan Crha2009-11-182-5/+27 * Prefer EWebView calls over direct GtkHTML calls.Matthew Barnes2009-11-182-0/+27 * Remove some redundancy from EABContactDisplay.Matthew Barnes2009-11-181-1/+1 * Remove markup from translatable strings in ui filesClaude Paroz2009-11-172-12/+24 * Bug 360461 - Do not hardcode invisible_char in ui filesClaude Paroz2009-11-171-1/+0 * Bug 589153 - Use GtkBuilder instead of libgladeMatthew Barnes2009-11-1731-3771/+3630 * EWebView popup menu enhancements.Matthew Barnes2009-11-144-128/+706 * Further tweaks for the command-line importing.Matthew Barnes2009-11-132-3/+7 * Bug #588093 - Allow import of local files from command lineMilan Crha2009-11-122-80/+496 * Bug #601218 - Accepted meeting doesn't show attachments in calendar viewMilan Crha2009-11-101-3/+3 * Kill e-cursor(s) (both of them).Matthew Barnes2009-11-10