pidgin: d5ed69a6: Allow double-clicking a certificate to s...
qulogic at pidgin.im
qulogic at pidgin.im
Fri Sep 2 14:18:05 EDT 2011
----------------------------------------------------------------------
Revision: d5ed69a6f4347d4c5debd460aea9b4fb6a9161e8
Parent: d447b64b89c3fe0dd2aad8e82ba8ccb50373b3eb
Author: qulogic at pidgin.im
Date: 09/02/11 02:32:19
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/d5ed69a6f4347d4c5debd460aea9b4fb6a9161e8
Changelog:
Allow double-clicking a certificate to show its info.
Changes against parent d447b64b89c3fe0dd2aad8e82ba8ccb50373b3eb
patched pidgin/gtkcertmgr.c
-------------- next part --------------
============================================================
--- pidgin/gtkcertmgr.c 64dd2549e12c68b0d6e94d88865032ff7cca9a90
+++ pidgin/gtkcertmgr.c 32b18d62da8c0e426c2f1d5810c7c01cc04c9a7a
@@ -333,6 +333,12 @@ static void
}
static void
+tls_peers_mgmt_activated_cb(GtkTreeView *treeview, GtkTreePath *path, GtkTreeViewColumn *column, gpointer data)
+{
+ tls_peers_mgmt_info_cb(NULL, NULL);
+}
+
+static void
tls_peers_mgmt_delete_confirm_cb(gchar *id, gint choice)
{
if (1 == choice) {
@@ -452,6 +458,9 @@ tls_peers_mgmt_build(void)
g_signal_connect(G_OBJECT(select), "changed",
G_CALLBACK(tls_peers_mgmt_select_chg_cb), NULL);
+ g_signal_connect(G_OBJECT(listview), "row-activated",
+ G_CALLBACK(tls_peers_mgmt_activated_cb), NULL);
+
gtk_box_pack_start(GTK_BOX(mgmt_widget),
pidgin_make_scrollable(GTK_WIDGET(listview), GTK_POLICY_AUTOMATIC, GTK_POLICY_ALWAYS, GTK_SHADOW_IN, -1, -1),
TRUE, TRUE, /* Take up lots of space */
More information about the Commits
mailing list