[gaim-migrate @ 7476]

Wed, 24 Sep 2003 02:21:44 +0000

author
Herman Bloggs <herman@bluedigits.com>
date
Wed, 24 Sep 2003 02:21:44 +0000
changeset 6929
47829b408f9d
parent 6928
17e0c572bd97
child 6930
67eb5dee2584

[gaim-migrate @ 7476]
Popup notification when moving data dir

src/win32/win32dep.c file | annotate | diff | comparison | revisions
--- 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");
                         }

mercurial