*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
/*
#ifdef USE_ASPELL
{ "A_CHECK_SPELLING", N_("Check spelling") },
#endif
- { "A_SYL_ACTIONS", N_("Sylpheed Actions Feature") },
+ { "A_SYL_ACTIONS", N_("Sylpheed-Claws Actions Feature") },
{ "A_SEPARATOR", "Separator" }
};
for (i = 0; i < sizeof main_items / sizeof main_items[0]; i++) {
items = g_list_append(items, gettext(toolbar_text[main_items[i]].descr));
- if (main_items[i] == A_PRINT) {
- g_print("$$$ descr %s, trans %s\n",
- toolbar_text[main_items[i]].descr,
- gettext(toolbar_text[main_items[i]].descr));
- }
}
}
else if (source == TOOLBAR_COMPOSE) {
/* switch button */
item->index = A_TRASH;
g_free(item->file);
- item->file = g_strdup("trash_open");
+ item->file = g_strdup("trash_btn");
g_free(item->text);
item->text = g_strdup(_("Trash"));
rewrite = TRUE;
gint icon;
gchar *text;
} default_toolbar[] = {
- { A_RECEIVE_CUR, STOCK_PIXMAP_MAIL_RECEIVE, _("Get") },
- { A_RECEIVE_ALL, STOCK_PIXMAP_MAIL_RECEIVE_ALL, _("Get All") },
+ { A_RECEIVE_ALL, STOCK_PIXMAP_MAIL_RECEIVE_ALL, _("Get Mail") },
{ A_SEPARATOR, 0, ("") },
{ A_SEND_QUEUED, STOCK_PIXMAP_MAIL_SEND_QUEUE, _("Send") },
- { A_COMPOSE_EMAIL, STOCK_PIXMAP_MAIL_COMPOSE, _("Email") },
+ { A_COMPOSE_EMAIL, STOCK_PIXMAP_MAIL_COMPOSE, _("Compose") },
{ A_SEPARATOR, 0, ("") },
{ A_REPLY_MESSAGE, STOCK_PIXMAP_MAIL_REPLY, _("Reply") },
{ A_REPLY_ALL, STOCK_PIXMAP_MAIL_REPLY_TO_ALL, _("All") },
{ A_REPLY_SENDER, STOCK_PIXMAP_MAIL_REPLY_TO_AUTHOR, _("Sender") },
{ A_FORWARD, STOCK_PIXMAP_MAIL_FORWARD, _("Forward") },
{ A_SEPARATOR, 0, ("") },
- { A_TRASH, STOCK_PIXMAP_TRASH_OPEN, _("Trash") },
- { A_EXECUTE, STOCK_PIXMAP_EXEC, _("Execute") },
- { A_GOTO_PREV, STOCK_PIXMAP_UP_ARROW, _("Previous")},
+ { A_TRASH, STOCK_PIXMAP_TRASH, _("Trash") },
+ { A_SEPARATOR, 0, ("") },
{ A_GOTO_NEXT, STOCK_PIXMAP_DOWN_ARROW, _("Next") }
};
{ A_SEPARATOR, 0, ("") },
{ A_INSERT, STOCK_PIXMAP_INSERT_FILE, _("Insert") },
{ A_ATTACH, STOCK_PIXMAP_MAIL_ATTACH, _("Attach") },
- { A_SIG, STOCK_PIXMAP_MAIL_SIGN, _("Signature") },
- { A_SEPARATOR, 0, ("") },
- { A_EXTEDITOR, STOCK_PIXMAP_EDIT_EXTERN, _("Editor") },
- { A_LINEWRAP_CURRENT, STOCK_PIXMAP_LINEWRAP_CURRENT, _("Wrap paragraph") },
- { A_LINEWRAP_ALL, STOCK_PIXMAP_LINEWRAP_ALL, _("Wrap all") },
{ A_SEPARATOR, 0, ("") },
{ A_ADDRBOOK, STOCK_PIXMAP_ADDRESS_BOOK, _("Address") }
};
{ A_REPLY_SENDER, STOCK_PIXMAP_MAIL_REPLY_TO_AUTHOR, _("Sender") },
{ A_FORWARD, STOCK_PIXMAP_MAIL_FORWARD, _("Forward") },
{ A_SEPARATOR, 0, ("") },
- { A_TRASH, STOCK_PIXMAP_TRASH_OPEN, _("Trash") },
+ { A_TRASH, STOCK_PIXMAP_TRASH, _("Trash") },
{ A_GOTO_NEXT, STOCK_PIXMAP_DOWN_ARROW, _("Next") }
};
case A_COMPOSE_EMAIL:
icon_news = stock_pixmap_widget(container, STOCK_PIXMAP_NEWS_COMPOSE);
item_news = gtk_toolbar_append_item(GTK_TOOLBAR(toolbar),
- _("News"),
+ _("Compose"),
(""),
(""),
icon_news, G_CALLBACK(toolbar_buttons_cb),
prefs_common.savemsg) < 0)
alertpanel_error(_("Some errors occurred while "
"sending queued messages."));
- folder_item_scan(folder->queue);
}
}
}
FolderItem *item = mainwin->summaryview->folder_item;
GList * list;
GList * cur;
-
+
if (item) {
ac = account_find_from_item(item);
if (ac && ac->protocol != A_NNTP) {
if (mainwin->summaryview->folder_item) {
ac = mainwin->summaryview->folder_item->folder->account;
if (ac && ac->protocol == A_NNTP) {
- compose_new(ac,
- mainwin->summaryview->folder_item->path,
- NULL);
+ compose_new_with_folderitem(ac,
+ mainwin->summaryview->folder_item);
return;
}
}
for(cur = list ; cur != NULL ; cur = g_list_next(cur)) {
ac = (PrefsAccount *) cur->data;
if (ac->protocol == A_NNTP) {
- compose_new(ac, NULL, NULL);
+ compose_new_with_folderitem(ac,
+ mainwin->summaryview->folder_item);
return;
}
}