diff pidgin/gtkprefs.h @ 26055:c56e8826fed0

Added support to generate relayed candidates (TURN). Added prefs setting for relay server in Pidgin
author Marcus Lundblad <ml@update.uu.se>
date Thu, 22 Jan 2009 23:04:52 +0000
parents 92e71f6e10d4
children ff4212a5268f
line wrap: on
line diff
--- a/pidgin/gtkprefs.h	Mon Jan 19 10:47:12 2009 +0000
+++ b/pidgin/gtkprefs.h	Thu Jan 22 23:04:52 2009 +0000
@@ -82,6 +82,22 @@
 										const char *key, GtkSizeGroup *sg);
 
 /**
+ * Add a new entry representing a password (string) preference
+ * The entry will use a password-style text entry (the text is substituded)
+ *
+ * @param page  The page to which the entry will be added
+ * @param title The text to be displayed as the entry label
+ * @param key   The key of the string pref that will be represented by the entry
+ * @param sg    If not NULL, the size group to which the entry will be added
+ *
+ * @return      An hbox containing both the label and the entry.  Can be used to set
+ *               the widgets to sensitive or insensitive based on the value of a
+ *               checkbox.
+ */
+GtkWidget *pidgin_prefs_labeled_password(GtkWidget *page, const gchar *title,
+										const char *key, GtkSizeGroup *sg);
+
+/**
  * Add a new dropdown representing a preference of the specified type
  *
  * @param page  The page to which the dropdown will be added