Mercurial > pidgin.yaz
comparison src/gtkaccount.c @ 12185:c42e2720fe7b
[gaim-migrate @ 14487]
I like this better.
committer: Tailor Script <tailor@pidgin.im>
author | Etan Reisner <pidgin@unreliablesource.net> |
---|---|
date | Tue, 22 Nov 2005 01:50:48 +0000 |
parents | d5937f126c60 |
children | 1c0fd404e07e |
comparison
equal
deleted
inserted
replaced
12184:5cd2294127e8 | 12185:c42e2720fe7b |
---|---|
44 #include "gtkdialogs.h" | 44 #include "gtkdialogs.h" |
45 #include "gtkutils.h" | 45 #include "gtkutils.h" |
46 #include "gtkstatusbox.h" | 46 #include "gtkstatusbox.h" |
47 #include "gtkstock.h" | 47 #include "gtkstock.h" |
48 | 48 |
49 | |
50 | |
51 enum | 49 enum |
52 { | 50 { |
53 COLUMN_ICON, | 51 COLUMN_ICON, |
54 COLUMN_SCREENNAME, | 52 COLUMN_SCREENNAME, |
55 COLUMN_ENABLED, | 53 COLUMN_ENABLED, |
958 static void | 956 static void |
959 add_protocol_options(AccountPrefsDialog *dialog, GtkWidget *parent) | 957 add_protocol_options(AccountPrefsDialog *dialog, GtkWidget *parent) |
960 { | 958 { |
961 GaimAccountOption *option; | 959 GaimAccountOption *option; |
962 GaimAccount *account; | 960 GaimAccount *account; |
963 GtkWidget *frame; | 961 GtkWidget *frame, *vbox, *check, *entry, *combo; |
964 GtkWidget *vbox; | 962 const GList *list, *node; |
965 GtkWidget *check; | 963 gint i, idx, int_value; |
966 GtkWidget *entry; | |
967 GtkWidget *combo; | |
968 const GList *list; | |
969 const GList *node; | |
970 gint i, idx; | |
971 GtkListStore *model; | 964 GtkListStore *model; |
972 GtkTreeIter iter; | 965 GtkTreeIter iter; |
973 GtkCellRenderer *renderer; | 966 GtkCellRenderer *renderer; |
974 GaimKeyValuePair *kvp; | 967 GaimKeyValuePair *kvp; |
975 GList *l; | 968 GList *l; |
976 char buf[1024]; | 969 char buf[1024]; |
977 char *title; | 970 char *title; |
978 const char *str_value; | 971 const char *str_value; |
979 gboolean bool_value; | 972 gboolean bool_value; |
980 int int_value; | |
981 | 973 |
982 if (dialog->protocol_frame != NULL) { | 974 if (dialog->protocol_frame != NULL) { |
983 gtk_widget_destroy(dialog->protocol_frame); | 975 gtk_widget_destroy(dialog->protocol_frame); |
984 dialog->protocol_frame = NULL; | 976 dialog->protocol_frame = NULL; |
985 } | 977 } |