comparison src/dialogs.c @ 7085:807aba537663

[gaim-migrate @ 7650] Moved some code out of dialogs.c. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Tue, 30 Sep 2003 23:05:41 +0000
parents 73da9c3ad9ac
children 770233dad86c
comparison
equal deleted inserted replaced
7084:0909ebf6fb28 7085:807aba537663
2316 gtk_widget_set_sensitive(bbox, TRUE); 2316 gtk_widget_set_sensitive(bbox, TRUE);
2317 2317
2318 return; 2318 return;
2319 } 2319 }
2320 2320
2321 /*------------------------------------------------------------------------*/
2322 /* The dialog for renaming groups */
2323 /*------------------------------------------------------------------------*/
2324
2325 static void do_rename_group(GaimGroup *g, const char *new_name)
2326 {
2327 gaim_blist_rename_group(g, new_name);
2328 gaim_blist_save();
2329 }
2330
2331 void show_rename_group(GtkWidget *unused, GaimGroup *g)
2332 {
2333 gaim_request_input(NULL, _("Rename Group"), _("New group name"),
2334 _("Please enter a new name for the selected group."),
2335 g->name, FALSE, FALSE,
2336 _("OK"), G_CALLBACK(do_rename_group),
2337 _("Cancel"), NULL, g);
2338 }