| 154 name = gtk_entry_get_text(GTK_ENTRY(entry)); |
154 name = gtk_entry_get_text(GTK_ENTRY(entry)); |
| 155 |
155 |
| 156 purple_request_file(entry, _("Select a file"), name, FALSE, |
156 purple_request_file(entry, _("Select a file"), name, FALSE, |
| 157 G_CALLBACK(pounce_update_entry_fields), NULL, |
157 G_CALLBACK(pounce_update_entry_fields), NULL, |
| 158 NULL, NULL, NULL, |
158 NULL, NULL, NULL, |
| 159 entry); |
159 "pidgin-pounce-editor", entry); |
| 160 g_signal_connect_swapped(G_OBJECT(entry), "destroy", |
160 g_signal_connect_swapped(G_OBJECT(entry), "destroy", |
| 161 G_CALLBACK(purple_request_close_with_handle), entry); |
161 G_CALLBACK(purple_request_close_with_handle), entry); |
| 162 } |
162 } |
| 163 |
163 |
| 164 static void |
164 static void |
| 1108 pouncee = purple_pounce_get_pouncee(pounce); |
1108 pouncee = purple_pounce_get_pouncee(pounce); |
| 1109 |
1109 |
| 1110 buf = g_strdup_printf(_("Are you sure you want to delete the pounce on %s for %s?"), pouncee, pouncer); |
1110 buf = g_strdup_printf(_("Are you sure you want to delete the pounce on %s for %s?"), pouncee, pouncer); |
| 1111 purple_request_action(pounce, NULL, buf, NULL, 0, |
1111 purple_request_action(pounce, NULL, buf, NULL, 0, |
| 1112 account, pouncee, NULL, |
1112 account, pouncee, NULL, |
| 1113 pounce, 2, |
1113 "pidgin-pounces", pounce, 2, |
| 1114 _("Delete"), pounces_manager_delete_confirm_cb, |
1114 _("Delete"), pounces_manager_delete_confirm_cb, |
| 1115 _("Cancel"), NULL); |
1115 _("Cancel"), NULL); |
| 1116 g_free(buf); |
1116 g_free(buf); |
| 1117 } |
1117 } |
| 1118 |
1118 |