diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-01-23 18:01:05 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-01-23 18:01:05 +0000 |
commit | 90999c9a9932fe8d8f1bed21d7799db84f310076 (patch) | |
tree | 79e48eeacd4427fe31f4226e7584f9ed16fb292a /src/main.c | |
parent | 68457eb396400cc621286817298e3912e08361b1 (diff) |
use GTK stock button for dialog button set.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@30 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -445,7 +445,8 @@ void app_will_exit(GtkWidget *widget, gpointer data) if (compose_get_compose_list()) { if (alertpanel(_("Notice"), _("Composing message exists. Really quit?"), - _("OK"), _("Cancel"), NULL) != G_ALERTDEFAULT) + GTK_STOCK_OK, GTK_STOCK_CANCEL, NULL) + != G_ALERTDEFAULT) return; manage_window_focus_in(mainwin->window, NULL, NULL); } @@ -453,7 +454,8 @@ void app_will_exit(GtkWidget *widget, gpointer data) if (prefs_common.warn_queued_on_exit && get_queued_message_num() > 0) { if (alertpanel(_("Queued messages"), _("Some unsent messages are queued. Exit now?"), - _("OK"), _("Cancel"), NULL) != G_ALERTDEFAULT) + GTK_STOCK_OK, GTK_STOCK_CANCEL, NULL) + != G_ALERTDEFAULT) return; manage_window_focus_in(mainwin->window, NULL, NULL); } @@ -695,7 +697,7 @@ static void migrate_old_config(void) if (alertpanel(_("Migration of configuration"), _("The previous version of configuration found.\n" "Do you want to migrate it?"), - _("Yes"), _("No"), NULL) != G_ALERTDEFAULT) + GTK_STOCK_YES, GTK_STOCK_NO, NULL) != G_ALERTDEFAULT) return; debug_print("Migrating old configuration...\n"); |