diff options
author | Sadrul Habib Chowdhury <sadrul@pidgin.im> | 2009-04-20 05:41:56 +0000 |
---|---|---|
committer | Sadrul Habib Chowdhury <sadrul@pidgin.im> | 2009-04-20 05:41:56 +0000 |
commit | b6e9f3519efaf2b87827d0e15a8904231b530b54 (patch) | |
tree | d20192cb9b897ed10a35c33c5917a54dc02ca4b0 | |
parent | 9a50ea58b945a64cb5d8dce69e0f1649003023d1 (diff) | |
download | pidgin-b6e9f3519efaf2b87827d0e15a8904231b530b54.tar.gz |
Add some more status emblems, and since the dialog is too long, use a
notebook.
-rw-r--r-- | pidgin/plugins/themeedit-icon.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/pidgin/plugins/themeedit-icon.c b/pidgin/plugins/themeedit-icon.c index 683c18e13b..3896b48c38 100644 --- a/pidgin/plugins/themeedit-icon.c +++ b/pidgin/plugins/themeedit-icon.c @@ -49,8 +49,13 @@ static const struct options { } statuses[] = { {PIDGIN_STOCK_STATUS_AVAILABLE, N_("Available")}, {PIDGIN_STOCK_STATUS_AWAY, N_("Away")}, + {PIDGIN_STOCK_STATUS_XA, N_("Extended Away")}, {PIDGIN_STOCK_STATUS_BUSY, N_("Busy")}, {PIDGIN_STOCK_STATUS_OFFLINE, N_("Offline")}, + {PIDGIN_STOCK_STATUS_LOGIN, N_("Just logged in")}, + {PIDGIN_STOCK_STATUS_LOGOUT, N_("Just logged out")}, + {PIDGIN_STOCK_STATUS_PERSON, N_("Icon for Contact/\nIcon for Unknown person")}, + {PIDGIN_STOCK_STATUS_CHAT, N_("Icon for Chat")}, {NULL, NULL} }, chatemblems[] = { {PIDGIN_STOCK_STATUS_IGNORED, N_("Ignored")}, @@ -206,16 +211,22 @@ void pidgin_icon_theme_edit(void) { GtkWidget *dialog; GtkWidget *box, *vbox; + GtkWidget *notebook; GtkSizeGroup *sizegroup; int s, i, j; dialog = pidgin_create_dialog(_("Pidgin Icon Theme Editor"), 0, "theme-editor-icon", FALSE); box = pidgin_dialog_get_vbox_with_properties(GTK_DIALOG(dialog), FALSE, PIDGIN_HIG_BOX_SPACE); + notebook = gtk_notebook_new(); + gtk_box_pack_start(GTK_BOX(box), notebook, TRUE, TRUE, PIDGIN_HIG_BOX_SPACE); sizegroup = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL); for (s = 0; sections[s].heading; s++) { const char *heading = sections[s].heading; + box = gtk_vbox_new(FALSE, 0); + gtk_notebook_append_page(GTK_NOTEBOOK(notebook), box, gtk_label_new(heading)); + vbox = pidgin_make_frame(box, heading); g_object_set_data(G_OBJECT(dialog), heading, vbox); |