2006-01-30 [colin] 2.0.0cvs1
* src/manual.c Check for the file to be present before enabling the menu * src/gtk/icon_legend.c Add folders icons (not all of them, there are too much, but the most intriguing ones)
This commit is contained in:
parent
4e2d48291f
commit
06b8e4301b
5 changed files with 24 additions and 3 deletions
|
@ -1,3 +1,12 @@
|
|||
2006-01-30 [colin] 2.0.0cvs1
|
||||
|
||||
* src/manual.c
|
||||
Check for the file to be present before
|
||||
enabling the menu
|
||||
* src/gtk/icon_legend.c
|
||||
Add folders icons (not all of them, there
|
||||
are too much, but the most intriguing ones)
|
||||
|
||||
2006-01-30 [paul] 2.0.0
|
||||
|
||||
version 2.0.0 released
|
||||
|
|
|
@ -1184,3 +1184,4 @@
|
|||
( cvs diff -u -r 1.1.2.7 -r 1.1.2.8 po/fi.po; cvs diff -u -r 1.2.2.19 -r 1.2.2.20 po/sk.po; ) > 1.9.100cvs198.patchset
|
||||
( cvs diff -u -r 1.1.2.4 -r 1.1.2.5 manual/account.xml; cvs diff -u -r 1.1.2.8 -r 1.1.2.9 manual/advanced.xml; cvs diff -u -r 1.1.2.5 -r 1.1.2.6 manual/glossary.xml; cvs diff -u -r 1.60.2.24 -r 1.60.2.25 po/es.po; ) > 1.9.100cvs199.patchset
|
||||
( cvs diff -u -r 1.1.2.6 -r 1.1.2.7 manual/faq.xml; cvs diff -u -r 1.1.2.2 -r 1.1.2.3 manual/gpl.xml; cvs diff -u -r 1.1.2.3 -r 1.1.2.4 manual/intro.xml; cvs diff -u -r 1.1.2.3 -r 1.1.2.4 manual/starting.xml; cvs diff -u -r 1.1.2.3 -r 1.1.2.4 manual/sylpheed-claws-manual.xml; ) > 1.9.100cvs200.patchset
|
||||
( cvs diff -u -r 1.11.2.7 -r 1.11.2.8 src/manual.c; cvs diff -u -r 1.1.2.2 -r 1.1.2.3 src/gtk/icon_legend.c; ) > 2.0.0cvs1.patchset
|
||||
|
|
|
@ -11,7 +11,7 @@ MINOR_VERSION=0
|
|||
MICRO_VERSION=0
|
||||
INTERFACE_AGE=0
|
||||
BINARY_AGE=0
|
||||
EXTRA_VERSION=0
|
||||
EXTRA_VERSION=1
|
||||
EXTRA_RELEASE=
|
||||
EXTRA_GTK2_VERSION=
|
||||
|
||||
|
|
|
@ -53,6 +53,9 @@ StockPixmap legend_icons[ICONS] = {
|
|||
STOCK_PIXMAP_MARK,
|
||||
STOCK_PIXMAP_LOCKED,
|
||||
STOCK_PIXMAP_IGNORETHREAD,
|
||||
STOCK_PIXMAP_DIR_OPEN,
|
||||
STOCK_PIXMAP_DIR_OPEN_HRM,
|
||||
STOCK_PIXMAP_DIR_OPEN_MARK,
|
||||
};
|
||||
|
||||
static gchar *legend_icon_desc[] = {
|
||||
|
@ -68,6 +71,9 @@ static gchar *legend_icon_desc[] = {
|
|||
N_("Marked"),
|
||||
N_("Locked"),
|
||||
N_("In an ignored thread"),
|
||||
N_("Folder (normal, opened)"),
|
||||
N_("Folder with read messages hidden"),
|
||||
N_("Folder contains marked emails"),
|
||||
};
|
||||
|
||||
static struct LegendDialog {
|
||||
|
|
|
@ -89,14 +89,19 @@ static gchar *get_local_path_with_locale(gchar *rootpath)
|
|||
gboolean manual_available(ManualType type)
|
||||
{
|
||||
gboolean ret = FALSE;
|
||||
gchar *dir = NULL;
|
||||
gchar *dir = NULL, *uri = NULL;
|
||||
|
||||
switch (type) {
|
||||
case MANUAL_MANUAL_LOCAL:
|
||||
dir = get_local_path_with_locale(MANUALDIR);
|
||||
if (dir != NULL) {
|
||||
uri = g_strconcat(dir, G_DIR_SEPARATOR_S, MANUAL_HTML_INDEX, NULL);
|
||||
g_free(dir);
|
||||
ret = TRUE;
|
||||
if (is_file_exist(uri))
|
||||
ret = TRUE;
|
||||
else
|
||||
ret = FALSE;
|
||||
g_free(uri);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue