Mercurial > pidgin.yaz
comparison pidgin/gtkprefs.h @ 26213:ff4212a5268f
propagate from branch 'im.pidgin.pidgin' (head 431618de0f30a6938f7e14d2d61ee5d7738acd59)
to branch 'im.pidgin.pidgin.vv' (head 8df00cb1a28baa69d0a68e0e96af201ec7d87c09)
author | Marcus Lundblad <ml@update.uu.se> |
---|---|
date | Mon, 02 Mar 2009 18:47:27 +0000 |
parents | 584063555949 c56e8826fed0 |
children | e23a74d7c97c |
comparison
equal
deleted
inserted
replaced
25446:52fbda23e398 | 26213:ff4212a5268f |
---|---|
26 */ | 26 */ |
27 #ifndef _PIDGINPREFS_H_ | 27 #ifndef _PIDGINPREFS_H_ |
28 #define _PIDGINPREFS_H_ | 28 #define _PIDGINPREFS_H_ |
29 | 29 |
30 #include "prefs.h" | 30 #include "prefs.h" |
31 | |
31 | 32 |
32 /** | 33 /** |
33 * Initializes all UI-specific preferences. | 34 * Initializes all UI-specific preferences. |
34 */ | 35 */ |
35 void pidgin_prefs_init(void); | 36 void pidgin_prefs_init(void); |
79 */ | 80 */ |
80 GtkWidget *pidgin_prefs_labeled_entry(GtkWidget *page, const gchar *title, | 81 GtkWidget *pidgin_prefs_labeled_entry(GtkWidget *page, const gchar *title, |
81 const char *key, GtkSizeGroup *sg); | 82 const char *key, GtkSizeGroup *sg); |
82 | 83 |
83 /** | 84 /** |
85 * Add a new entry representing a password (string) preference | |
86 * The entry will use a password-style text entry (the text is substituded) | |
87 * | |
88 * @param page The page to which the entry will be added | |
89 * @param title The text to be displayed as the entry label | |
90 * @param key The key of the string pref that will be represented by the entry | |
91 * @param sg If not NULL, the size group to which the entry will be added | |
92 * | |
93 * @return An hbox containing both the label and the entry. Can be used to set | |
94 * the widgets to sensitive or insensitive based on the value of a | |
95 * checkbox. | |
96 */ | |
97 GtkWidget *pidgin_prefs_labeled_password(GtkWidget *page, const gchar *title, | |
98 const char *key, GtkSizeGroup *sg); | |
99 | |
100 /** | |
84 * Add a new dropdown representing a preference of the specified type | 101 * Add a new dropdown representing a preference of the specified type |
85 * | 102 * |
86 * @param page The page to which the dropdown will be added | 103 * @param page The page to which the dropdown will be added |
87 * @param title The text to be displayed as the dropdown label | 104 * @param title The text to be displayed as the dropdown label |
88 * @param type The type of preference to be stored in the generated dropdown | 105 * @param type The type of preference to be stored in the generated dropdown |