[gaim-migrate @ 6365]

Fri, 20 Jun 2003 03:41:15 +0000

author
Nathan Walp <nwalp@pidgin.im>
date
Fri, 20 Jun 2003 03:41:15 +0000
changeset 5925
432454699d00
parent 5924
2fc5a210c085
child 5926
f0c5bbf16793

[gaim-migrate @ 6365]
fix my breaking of right-clicking on anything but chats in the buddy list

also make certain fields (passwords) for the in-blist chats not show up
in the tooltip

src/dialogs.c file | annotate | diff | comparison | revisions
src/multi.h file | annotate | diff | comparison | revisions
src/protocols/irc/irc.c file | annotate | diff | comparison | revisions
--- a/src/dialogs.c	Fri Jun 20 03:32:42 2003 +0000
+++ b/src/dialogs.c	Fri Jun 20 03:41:15 2003 +0000
@@ -1147,6 +1147,9 @@
 				focus = FALSE;
 			}
 
+			if(pce->secret)
+				gtk_entry_set_visibility(GTK_ENTRY(entry), FALSE);
+
 			gtk_box_pack_end(GTK_BOX(rowbox), entry, TRUE, TRUE, 0);
 
 			g_signal_connect(G_OBJECT(entry), "activate",
--- a/src/multi.h	Fri Jun 20 03:32:42 2003 +0000
+++ b/src/multi.h	Fri Jun 20 03:41:15 2003 +0000
@@ -44,6 +44,7 @@
 	gboolean is_int;
 	int min;
 	int max;
+	gboolean secret;
 };
 
 #endif /* _MULTI_H_ */
--- a/src/protocols/irc/irc.c	Fri Jun 20 03:32:42 2003 +0000
+++ b/src/protocols/irc/irc.c	Fri Jun 20 03:41:15 2003 +0000
@@ -2475,6 +2475,7 @@
 	pce = g_new0(struct proto_chat_entry, 1);
 	pce->label = _("Password:");
 	pce->identifier = "password";
+	pce->secret = TRUE;
 	m = g_list_append(m, pce);
 
 	return m;

mercurial