# HG changeset patch # User William Ehlhardt # Date 1184308000 0 # Node ID 720c61141f4b8a029facfc61ad1bb3f22cf2fa0c # Parent bc4d0ebeabd3499e1f49cea4c81c1e737b4f1b1f - Add a skeleton for the Pidgin Certificate Manager and include it in the compile diff -r bc4d0ebeabd3 -r 720c61141f4b pidgin/Makefile.am --- a/pidgin/Makefile.am Thu Jul 12 03:00:07 2007 +0000 +++ b/pidgin/Makefile.am Fri Jul 13 06:26:40 2007 +0000 @@ -80,6 +80,7 @@ gtkcellrendererprogress.c \ gtkcellview.c \ gtkcellviewmenuitem.c \ + gtkcertmgr.c \ gtkconn.c \ gtkconv.c \ gtkdebug.c \ @@ -127,6 +128,7 @@ gtkcellviewmenuitem.h \ gtkcellview.h \ gtkcellviewmenuitem.h \ + gtkcertmgr.h \ pidgincombobox.h \ gtkconn.h \ gtkconv.h \ diff -r bc4d0ebeabd3 -r 720c61141f4b pidgin/gtkblist.c --- a/pidgin/gtkblist.c Thu Jul 12 03:00:07 2007 +0000 +++ b/pidgin/gtkblist.c Fri Jul 13 06:26:40 2007 +0000 @@ -42,6 +42,7 @@ #include "gtkaccount.h" #include "gtkblist.h" #include "gtkcellrendererexpander.h" +#include "gtkcertmgr.h" #include "gtkconv.h" #include "gtkdebug.h" #include "gtkdialogs.h" @@ -2860,6 +2861,7 @@ /* Tools */ { N_("/_Tools"), NULL, NULL, 0, "", NULL }, { N_("/Tools/Buddy _Pounces"), NULL, pidgin_pounces_manager_show, 0, "", NULL }, + { N_("/Tools/_Certificates"), NULL, pidgin_certmgr_show, 0, "", NULL }, { N_("/Tools/Plu_gins"), "U", pidgin_plugin_dialog_show, 0, "", PIDGIN_STOCK_TOOLBAR_PLUGINS }, { N_("/Tools/Pr_eferences"), "P", pidgin_prefs_show, 0, "", GTK_STOCK_PREFERENCES }, { N_("/Tools/Pr_ivacy"), NULL, pidgin_privacy_dialog_show, 0, "", NULL }, diff -r bc4d0ebeabd3 -r 720c61141f4b pidgin/gtkcertmgr.c --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pidgin/gtkcertmgr.c Fri Jul 13 06:26:40 2007 +0000 @@ -0,0 +1,38 @@ +/* + * @file gtkcertmgr.c GTK+ Certificate Manager API + * @ingroup pidgin + * + * pidgin + * + * Pidgin is the legal property of its developers, whose names are too numerous + * to list here. Please refer to the COPYRIGHT file distributed with this + * source distribution. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + */ + +#include "internal.h" +#include "pidgin.h" + +#include "certificate.h" +#include "notify.h" + +#include "gtkcertmgr.h" + +void pidgin_certmgr_show(void) +{ + purple_notify_info(NULL, "Certificate Manager!!!1", "Certificates!!!", "LOL"); +} diff -r bc4d0ebeabd3 -r 720c61141f4b pidgin/gtkcertmgr.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pidgin/gtkcertmgr.h Fri Jul 13 06:26:40 2007 +0000 @@ -0,0 +1,34 @@ +/* + * @file gtkcertmgr.h GTK+ Certificate Manager API + * @ingroup pidgin + */ +/* + * pidgin + * + * Pidgin is the legal property of its developers, whose names are too numerous + * to list here. Please refer to the COPYRIGHT file distributed with this + * source distribution. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + */ + +#ifndef _GTKCERTMGR_H_ +#define _GTKCERTMGR_H_ + +/** Show the certificate manager window */ +void pidgin_certmgr_show(void); + +#endif /* _GTKCERTMGR_H_ */