# HG changeset patch # User Sadrul Habib Chowdhury # Date 1209945757 0 # Node ID a9141d04926626f08ee5acace172f81143c1fda4 # Parent 7b21c5b208fbf7c7106f0779e837f9a55134a2df Show the url, instead of silently ignoring a url-open request. diff -r 7b21c5b208fb -r a9141d049266 finch/gntnotify.c --- a/finch/gntnotify.c Mon May 05 00:00:25 2008 +0000 +++ b/finch/gntnotify.c Mon May 05 00:02:37 2008 +0000 @@ -29,6 +29,7 @@ #include #include #include +#include #include "finch.h" @@ -66,8 +67,7 @@ break; } - window = gnt_box_new(FALSE, TRUE); - gnt_box_set_toplevel(GNT_BOX(window), TRUE); + window = gnt_window_box_new(FALSE, TRUE); gnt_box_set_title(GNT_BOX(window), title); gnt_box_set_fill(GNT_BOX(window), FALSE); gnt_box_set_alignment(GNT_BOX(window), GNT_ALIGN_MID); @@ -420,6 +420,12 @@ return tree; } +static void * +finch_notify_uri(const char *url) +{ + return finch_notify_message(PURPLE_NOTIFY_URI, _("URI"), url, NULL); +} + static PurpleNotifyUiOps ops = { finch_notify_message, @@ -429,7 +435,7 @@ finch_notify_searchresults, finch_notify_sr_new_rows, finch_notify_userinfo, - NULL, /* notify_uri is of low-priority to me. --sadrul */ + finch_notify_uri, finch_close_notify, /* The rest of the notify-uiops return a GntWidget. These widgets should be destroyed from here. */ NULL,