pidgin/gtkprefs.h

branch
vv
changeset 26337
ec2fc1bc9024
parent 25888
d0fdd378a635
parent 26261
ffabb135a4b6
child 26482
72d16a73cf12
--- a/pidgin/gtkprefs.h	Mon Mar 02 16:34:05 2009 +0000
+++ b/pidgin/gtkprefs.h	Mon Mar 02 18:47:27 2009 +0000
@@ -29,6 +29,7 @@
 
 #include "prefs.h"
 
+
 /**
  * Initializes all UI-specific preferences.
  */
@@ -81,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

mercurial