Mercurial > pidgin.yaz
comparison src/gtknotify.c @ 6465:fb64cc87bc96
[gaim-migrate @ 6974]
open_url() is gone forever! WOOHOO! Now we have gaim_notify_uri(). Oh, and
whitespace changes in some files, because they just really bugged me.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Thu, 14 Aug 2003 03:55:13 +0000 |
parents | e006685f75aa |
children | dd0eecfbe413 |
comparison
equal
deleted
inserted
replaced
6464:059649ed25ed | 6465:fb64cc87bc96 |
---|---|
3 * @ingroup gtkui | 3 * @ingroup gtkui |
4 * | 4 * |
5 * gaim | 5 * gaim |
6 * | 6 * |
7 * Copyright (C) 2003 Christian Hammond <chipx86@gnupdate.org> | 7 * Copyright (C) 2003 Christian Hammond <chipx86@gnupdate.org> |
8 * | 8 * |
9 * This program is free software; you can redistribute it and/or modify | 9 * This program is free software; you can redistribute it and/or modify |
10 * it under the terms of the GNU General Public License as published by | 10 * it under the terms of the GNU General Public License as published by |
11 * the Free Software Foundation; either version 2 of the License, or | 11 * the Free Software Foundation; either version 2 of the License, or |
12 * (at your option) any later version. | 12 * (at your option) any later version. |
13 * | 13 * |
24 | 24 |
25 #include "connection.h" | 25 #include "connection.h" |
26 #include "debug.h" | 26 #include "debug.h" |
27 #include "prefs.h" | 27 #include "prefs.h" |
28 #include "stock.h" | 28 #include "stock.h" |
29 #include "util.h" | |
29 | 30 |
30 #include "gtkimhtml.h" | 31 #include "gtkimhtml.h" |
31 #include "gtknotify.h" | 32 #include "gtknotify.h" |
32 #include "gtkutils.h" | 33 #include "gtkutils.h" |
33 | 34 |
56 | 57 |
57 static void | 58 static void |
58 email_response_cb(GtkDialog *dialog, gint id, GaimNotifyMailData *data) | 59 email_response_cb(GtkDialog *dialog, gint id, GaimNotifyMailData *data) |
59 { | 60 { |
60 if (id == 0) | 61 if (id == 0) |
61 open_url(NULL, data->url); | 62 gaim_notify_uri(NULL, data->url); |
62 | 63 |
63 gaim_notify_close(GAIM_NOTIFY_EMAILS, data); | 64 gaim_notify_close(GAIM_NOTIFY_EMAILS, data); |
64 } | 65 } |
65 | 66 |
66 static void * | 67 static void * |
355 { | 356 { |
356 gaim_gtk_notify_message, | 357 gaim_gtk_notify_message, |
357 gaim_gtk_notify_email, | 358 gaim_gtk_notify_email, |
358 gaim_gtk_notify_emails, | 359 gaim_gtk_notify_emails, |
359 gaim_gtk_notify_formatted, | 360 gaim_gtk_notify_formatted, |
361 gaim_gtk_notify_uri, | |
360 gaim_gtk_close_notify | 362 gaim_gtk_close_notify |
361 }; | 363 }; |
362 | 364 |
363 GaimNotifyUiOps * | 365 GaimNotifyUiOps * |
364 gaim_get_gtk_notify_ui_ops(void) | 366 gaim_get_gtk_notify_ui_ops(void) |