comparison plugins/gaimrc.c @ 10586:eb2e5f06452a

[gaim-migrate @ 11990] Maybe that's everything, if not the rest can wait till tomorrow. Thanks again Nathan Fredrickson. committer: Tailor Script <tailor@pidgin.im>
author Etan Reisner <pidgin@unreliablesource.net>
date Thu, 10 Feb 2005 07:50:54 +0000
parents a6b8a23b4d5f
children c7458b544b15
comparison
equal deleted inserted replaced
10585:a6b8a23b4d5f 10586:eb2e5f06452a
205 GdkColor color; 205 GdkColor color;
206 char title[128]; 206 char title[128];
207 int subscript = GPOINTER_TO_INT(data); 207 int subscript = GPOINTER_TO_INT(data);
208 208
209 g_snprintf(title, sizeof(title), _("Select Color for %s"), 209 g_snprintf(title, sizeof(title), _("Select Color for %s"),
210 color_names[GPOINTER_TO_INT(data)]); 210 _(color_names[GPOINTER_TO_INT(data)]));
211 color_dialog = gtk_color_selection_dialog_new(_("Select Color")); 211 color_dialog = gtk_color_selection_dialog_new(_("Select Color"));
212 g_signal_connect(G_OBJECT(color_dialog), "response", 212 g_signal_connect(G_OBJECT(color_dialog), "response",
213 G_CALLBACK(gaimrc_color_response), data); 213 G_CALLBACK(gaimrc_color_response), data);
214 214
215 if (gdk_color_parse(gaim_prefs_get_string(color_prefs[subscript]), 215 if (gdk_color_parse(gaim_prefs_get_string(color_prefs[subscript]),
242 GtkWidget *font_dialog = NULL; 242 GtkWidget *font_dialog = NULL;
243 char title[128]; 243 char title[128];
244 int subscript = GPOINTER_TO_INT(data); 244 int subscript = GPOINTER_TO_INT(data);
245 245
246 g_snprintf(title, sizeof(title), _("Select Font for %s"), 246 g_snprintf(title, sizeof(title), _("Select Font for %s"),
247 font_names[subscript]); 247 _(font_names[subscript]));
248 font_dialog = gtk_font_selection_dialog_new(title); 248 font_dialog = gtk_font_selection_dialog_new(title);
249 g_signal_connect(G_OBJECT(font_dialog), "response", 249 g_signal_connect(G_OBJECT(font_dialog), "response",
250 G_CALLBACK(gaimrc_font_response), data); 250 G_CALLBACK(gaimrc_font_response), data);
251 251
252 /* TODO Figure out a way to test for the presence of a value in the 252 /* TODO Figure out a way to test for the presence of a value in the