Mercurial > pidgin.yaz
diff src/gtkutils.h @ 5530:2c4c975620f0
[gaim-migrate @ 5930]
Okay, several changes in this commit.
- We now have gtkprefs.h.
- We have a place where we can add UI prefs.
- show_prefs() -> gaim_gtk_prefs_show().
- make_frame() -> gaim_gtk_make_frame().
- The debug window is the first thing to have prefs. You can even
turn off the toolbar if you edit ~/.gaim/prefs.xml.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Mon, 26 May 2003 08:30:48 +0000 |
parents | 3adb20b869b4 |
children | 213e999fa5cc |
line wrap: on
line diff
--- a/src/gtkutils.h Mon May 26 07:06:20 2003 +0000 +++ b/src/gtkutils.h Mon May 26 08:30:48 2003 +0000 @@ -138,7 +138,8 @@ * * @param menu The menu to which to append the menu item. * @param str The title for the menu item. - * @param icon An icon to place to the left of the menu item, or NULL for no icon. + * @param icon An icon to place to the left of the menu item, + * or @c NULL for no icon. * @param sf A function to call when the menu item is activated. * @param data Data to pass to the signal function. * @param accel_key Something. @@ -147,6 +148,19 @@ * * @return The newly created menu item. */ -GtkWidget *gaim_new_item_from_stock(GtkWidget *menu, const char *str, const char *icon, GtkSignalFunc sf, gpointer data, guint accel_key, guint accel_mods, char *mod); +GtkWidget *gaim_new_item_from_stock(GtkWidget *menu, const char *str, + const char *icon, GtkSignalFunc sf, + gpointer data, guint accel_key, + guint accel_mods, char *mod); + +/** + * Creates a HIG preferences frame. + * + * @param parent The widget to put the frame into. + * @param title The title for the frame. + * + * @return The vbox to put things into. + */ +GtkWidget *gaim_gtk_make_frame(GtkWidget *parent, const char *title); #endif /* _GAIM_GTK_UTILS_H_ */