aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-01-27 07:18:16 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-01-27 07:18:16 +0000
commitcc152a4558452fd6ab85fd2de73ef541268edea2 (patch)
tree3bf7ff3a9a0aee3cfa07d3576617786907aa3e7d
parent7027c02cc3bdc7a946e5f6fed57d90a578d77d1a (diff)
use GTK stock button for alertpanel.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@47 ee746299-78ed-0310-b773-934348b2243d
-rw-r--r--ChangeLog10
-rw-r--r--ChangeLog.ja10
-rw-r--r--src/folderview.c4
-rw-r--r--src/message_search.c2
-rw-r--r--src/prefs_actions.c2
-rw-r--r--src/prefs_customheader.c2
-rw-r--r--src/prefs_filter.c2
-rw-r--r--src/prefs_template.c2
-rw-r--r--src/summary_search.c2
9 files changed, 28 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index 68b2485c..9123fd22 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,15 @@
2005-01-27
+ * src/prefs_actions.c
+ src/prefs_template.c
+ src/summary_search.c
+ src/message_search.c
+ src/folderview.c
+ src/prefs_customheader.c
+ src/prefs_filter.c: use GTK stock button for alertpanel.
+
+2005-01-27
+
* src/codeconv.c: conv_utf8toeuc(), conv_utf8tojis(): added to
prevent character corruption on conversion.
diff --git a/ChangeLog.ja b/ChangeLog.ja
index 9bbe9e58..704b7aaf 100644
--- a/ChangeLog.ja
+++ b/ChangeLog.ja
@@ -1,5 +1,15 @@
2005-01-27
+ * src/prefs_actions.c
+ src/prefs_template.c
+ src/summary_search.c
+ src/message_search.c
+ src/folderview.c
+ src/prefs_customheader.c
+ src/prefs_filter.c: 警告パネルに GTK ストックボタンを使用。
+
+2005-01-27
+
* src/codeconv.c: conv_utf8toeuc(), conv_utf8tojis(): 変換時の
文字化けを防ぐために追加。
diff --git a/src/folderview.c b/src/folderview.c
index ef9a2e3f..8ee6f81f 100644
--- a/src/folderview.c
+++ b/src/folderview.c
@@ -697,7 +697,7 @@ static void folderview_rescan_tree(FolderView *folderview, Folder *folder)
avalue = alertpanel
(_("Rebuild folder tree"),
_("The folder tree will be rebuilt. Continue?"),
- _("Yes"), _("No"), NULL);
+ GTK_STOCK_YES, GTK_STOCK_NO, NULL);
if (avalue != G_ALERTDEFAULT) return;
if (!FOLDER_IS_LOCAL(folder) &&
@@ -1962,7 +1962,7 @@ static void folderview_empty_trash_cb(FolderView *folderview, guint action,
if (item->stype != F_TRASH) return;
if (alertpanel(_("Empty trash"), _("Empty all messages in trash?"),
- _("Yes"), _("No"), NULL) != G_ALERTDEFAULT)
+ GTK_STOCK_YES, GTK_STOCK_NO, NULL) != G_ALERTDEFAULT)
return;
procmsg_empty_trash(folder->trash);
diff --git a/src/message_search.c b/src/message_search.c
index 36d3a8bd..0f0c628c 100644
--- a/src/message_search.c
+++ b/src/message_search.c
@@ -197,7 +197,7 @@ static void message_search_execute(GtkButton *button, gpointer data)
"continue from beginning?");
val = alertpanel(_("Search finished"), str,
- _("Yes"), _("No"), NULL);
+ GTK_STOCK_YES, GTK_STOCK_NO, NULL);
if (G_ALERTDEFAULT == val) {
manage_window_focus_in(window, NULL, NULL);
messageview_set_position(messageview,
diff --git a/src/prefs_actions.c b/src/prefs_actions.c
index ce252695..8cc0e24b 100644
--- a/src/prefs_actions.c
+++ b/src/prefs_actions.c
@@ -557,7 +557,7 @@ static void prefs_actions_delete_cb(GtkWidget *w, gpointer data)
if (alertpanel(_("Delete action"),
_("Do you really want to delete this action?"),
- _("Yes"), _("No"), NULL) == G_ALERTALTERNATE)
+ GTK_STOCK_YES, GTK_STOCK_NO, NULL) != G_ALERTDEFAULT)
return;
action = gtk_clist_get_row_data(clist, row);
diff --git a/src/prefs_customheader.c b/src/prefs_customheader.c
index 4b4ca036..e1219db5 100644
--- a/src/prefs_customheader.c
+++ b/src/prefs_customheader.c
@@ -538,7 +538,7 @@ static void prefs_custom_header_delete_cb(void)
if (alertpanel(_("Delete header"),
_("Do you really want to delete this header?"),
- _("Yes"), _("No"), NULL) != G_ALERTDEFAULT)
+ GTK_STOCK_YES, GTK_STOCK_NO, NULL) != G_ALERTDEFAULT)
return;
ch = gtk_clist_get_row_data(clist, row);
diff --git a/src/prefs_filter.c b/src/prefs_filter.c
index d1b26532..7b0bc5f5 100644
--- a/src/prefs_filter.c
+++ b/src/prefs_filter.c
@@ -698,7 +698,7 @@ static void prefs_filter_delete_cb(void)
if (alertpanel(_("Delete rule"),
_("Do you really want to delete this rule?"),
- _("Yes"), _("No"), NULL) != G_ALERTDEFAULT)
+ GTK_STOCK_YES, GTK_STOCK_NO, NULL) != G_ALERTDEFAULT)
return;
rule = gtk_clist_get_row_data(clist, row);
diff --git a/src/prefs_template.c b/src/prefs_template.c
index a1e0ccbf..e274b9d9 100644
--- a/src/prefs_template.c
+++ b/src/prefs_template.c
@@ -524,7 +524,7 @@ static void prefs_template_delete_cb(void)
if (alertpanel(_("Delete template"),
_("Do you really want to delete this template?"),
- _("Yes"), _("No"), NULL) == G_ALERTALTERNATE)
+ GTK_STOCK_YES, GTK_STOCK_NO, NULL) != G_ALERTDEFAULT)
return;
tmpl = gtk_clist_get_row_data(clist, row);
diff --git a/src/summary_search.c b/src/summary_search.c
index f143996e..98380350 100644
--- a/src/summary_search.c
+++ b/src/summary_search.c
@@ -326,7 +326,7 @@ static void summary_search_execute(GtkButton *button, gpointer data)
str = _("End of list reached; continue from beginning?");
val = alertpanel(_("Search finished"), str,
- _("Yes"), _("No"), NULL);
+ GTK_STOCK_YES, GTK_STOCK_NO, NULL);
if (G_ALERTDEFAULT == val) {
if (backward)
node = GTK_CTREE_NODE