Mercurial > pidgin
changeset 26584:6bf58e156da2
Allow editing dialog icons.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Mon, 20 Apr 2009 06:07:43 +0000 |
parents | df0915055560 |
children | ed8385b26f6e |
files | pidgin/plugins/themeedit-icon.c |
diffstat | 1 files changed, 11 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/pidgin/plugins/themeedit-icon.c Mon Apr 20 05:41:56 2009 +0000 +++ b/pidgin/plugins/themeedit-icon.c Mon Apr 20 06:07:43 2009 +0000 @@ -64,6 +64,15 @@ {PIDGIN_STOCK_STATUS_HALFOP, N_("Half Operator")}, {PIDGIN_STOCK_STATUS_VOICE, N_("Voice")}, {NULL, NULL} +}, dialogicons[] = { + {PIDGIN_STOCK_DIALOG_AUTH, N_("Authorization dialog")}, + {PIDGIN_STOCK_DIALOG_ERROR, N_("Error dialog")}, + {PIDGIN_STOCK_DIALOG_INFO, N_("Information dialog")}, + {PIDGIN_STOCK_DIALOG_MAIL, N_("Mail dialog")}, + {PIDGIN_STOCK_DIALOG_QUESTION, N_("Question dialog")}, + {PIDGIN_STOCK_DIALOG_WARNING, N_("Warning dialog")}, + {NULL, NULL}, + {PIDGIN_STOCK_DIALOG_COOL, N_("What kind of dialog is this?")}, }; static const struct { @@ -71,7 +80,8 @@ const struct options *options; } sections[] = { {N_("Status Icons"), statuses}, - {N_("Chatroom Embems"), chatemblems}, + {N_("Chatroom Emblems"), chatemblems}, + {N_("Dialog Icons"), dialogicons}, {NULL, NULL} }; @@ -261,7 +271,6 @@ } } - gtk_dialog_set_has_separator(GTK_DIALOG(dialog), TRUE); pidgin_dialog_add_button(GTK_DIALOG(dialog), GTK_STOCK_SAVE, G_CALLBACK(save_icon_theme), dialog); pidgin_dialog_add_button(GTK_DIALOG(dialog), GTK_STOCK_APPLY, G_CALLBACK(use_icon_theme), dialog); gtk_widget_show_all(dialog);