Mercurial > pidgin.yaz
changeset 6929:906567be99b2
[gaim-migrate @ 7476]
Popup notification when moving data dir
committer: Tailor Script <tailor@pidgin.im>
author | Herman Bloggs <hermanator12002@yahoo.com> |
---|---|
date | Wed, 24 Sep 2003 02:21:44 +0000 |
parents | 6ed0a1c045b4 |
children | 31c45d99e1a8 |
files | src/win32/win32dep.c |
diffstat | 1 files changed, 10 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/win32/win32dep.c Wed Sep 24 01:28:33 2003 +0000 +++ b/src/win32/win32dep.c Wed Sep 24 02:21:44 2003 +0000 @@ -34,6 +34,7 @@ #include "gaim.h" #include "debug.h" +#include "notify.h" #include "stdafx.h" #include "resource.h" @@ -43,6 +44,8 @@ #include "zlib.h" #include "untar.h" +# include <libintl.h> +# define _(x) gettext(x) /* * DEFINES & MACROS @@ -466,6 +469,13 @@ dir_old = g_dir_open(old_home, 0, NULL); dir_new = g_dir_open(new_home, 0, NULL); if(dir_old && !dir_new) { + gaim_notify_message(NULL, + GAIM_NOTIFY_MSG_INFO, + _("Notification"), + _("Moving Gaim user settings directory to:"), + new_home, + NULL, + NULL); if(MoveFile(old_home, new_home) != 0) gaim_debug(GAIM_DEBUG_INFO, "wgaim", "Success moving '.gaim' directory\n"); }