aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-local-storage.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-11-02 16:25:03 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-11-02 16:25:03 +0800
commit9c73777f2268b5bf2622f893e2a3ba7d0f720572 (patch)
treef81b79f19b87f84b4429d329b3fc0f9ff7946060 /shell/e-local-storage.c
parent236c15d106b4e740d4e3996e0649334ca8e13876 (diff)
downloadgsoc2013-evolution-9c73777f2268b5bf2622f893e2a3ba7d0f720572.tar
gsoc2013-evolution-9c73777f2268b5bf2622f893e2a3ba7d0f720572.tar.gz
gsoc2013-evolution-9c73777f2268b5bf2622f893e2a3ba7d0f720572.tar.bz2
gsoc2013-evolution-9c73777f2268b5bf2622f893e2a3ba7d0f720572.tar.lz
gsoc2013-evolution-9c73777f2268b5bf2622f893e2a3ba7d0f720572.tar.xz
gsoc2013-evolution-9c73777f2268b5bf2622f893e2a3ba7d0f720572.tar.zst
gsoc2013-evolution-9c73777f2268b5bf2622f893e2a3ba7d0f720572.zip
First big sync of my GNOME 2 porting work (incomplete, and still
pretty broken). Weeeeee! svn path=/trunk/; revision=18503
Diffstat (limited to 'shell/e-local-storage.c')
-rw-r--r--shell/e-local-storage.c24
1 files changed, 13 insertions, 11 deletions
diff --git a/shell/e-local-storage.c b/shell/e-local-storage.c
index c5a19876c4..ebd534e4a6 100644
--- a/shell/e-local-storage.c
+++ b/shell/e-local-storage.c
@@ -38,15 +38,17 @@
#include <sys/param.h>
#include <sys/types.h>
#include <sys/stat.h>
+#include <unistd.h>
#include <dirent.h>
#include <gtk/gtksignal.h>
-#include <libgnome/gnome-defs.h>
+
#include <libgnome/gnome-i18n.h>
#include <libgnome/gnome-util.h>
+
#include <gal/util/e-util.h>
#include <gal/widgets/e-unicode.h>
-#include <gal/util/e-unicode-i18n.h>
+
#include "e-util/e-path.h"
#include "e-local-folder.h"
#include "e-shell-constants.h"
@@ -173,14 +175,14 @@ setup_folder_as_stock (ELocalStorage *local_storage,
static void
setup_stock_folders (ELocalStorage *local_storage)
{
- setup_folder_as_stock (local_storage, "/Calendar", U_("Calendar"), NULL);
- setup_folder_as_stock (local_storage, "/Contacts", U_("Contacts"), NULL);
- setup_folder_as_stock (local_storage, "/Drafts", U_("Drafts"), NULL);
- setup_folder_as_stock (local_storage, "/Inbox", U_("Inbox"), "inbox");
- setup_folder_as_stock (local_storage, "/Outbox", U_("Outbox"), "outbox");
- setup_folder_as_stock (local_storage, "/Sent", U_("Sent"), NULL);
- setup_folder_as_stock (local_storage, "/Tasks", U_("Tasks"), NULL);
- setup_folder_as_stock (local_storage, "/Trash", U_("Trash"), NULL);
+ setup_folder_as_stock (local_storage, "/Calendar", _("Calendar"), NULL);
+ setup_folder_as_stock (local_storage, "/Contacts", _("Contacts"), NULL);
+ setup_folder_as_stock (local_storage, "/Drafts", _("Drafts"), NULL);
+ setup_folder_as_stock (local_storage, "/Inbox", _("Inbox"), "inbox");
+ setup_folder_as_stock (local_storage, "/Outbox", _("Outbox"), "outbox");
+ setup_folder_as_stock (local_storage, "/Sent", _("Sent"), NULL);
+ setup_folder_as_stock (local_storage, "/Tasks", _("Tasks"), NULL);
+ setup_folder_as_stock (local_storage, "/Trash", _("Trash"), NULL);
}
static gboolean
@@ -1099,7 +1101,7 @@ construct (ELocalStorage *local_storage,
EFolder *root_folder;
int base_path_len;
- root_folder = e_folder_new (U_("Local Folders"), "noselect", "");
+ root_folder = e_folder_new (_("Local Folders"), "noselect", "");
e_storage_construct (E_STORAGE (local_storage),
E_LOCAL_STORAGE_NAME,
root_folder);