# HG changeset patch # User Sadrul Habib Chowdhury # Date 1240207663 0 # Node ID 6bf58e156da217490ca87cddc542e36ccd5ab3db # Parent df0915055560ea7df080f5e59b868127e26b6f75 Allow editing dialog icons. diff -r df0915055560 -r 6bf58e156da2 pidgin/plugins/themeedit-icon.c --- 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);