comparison pidgin/gtksmiley.h @ 23129:b70b4108799e

Patch from Masca to use the buddy-icon selector to select a custom smiley. This gives us the preview widget for free, which is really nice. The patch also uses the icon-selector button we use for accounts in the smiley dialog, which is also very cool. This commit also includes some changes I made to make it possible to edit an existing smiley, by double clicking in the treeview. I merged this change with the changes in Masca's patch. I am hoping I didn't break anything in the process. If I did, let me know early before I forget whatever the heck I did!
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Mon, 28 Apr 2008 06:29:26 +0000
parents 02eda4bd2b22
children 99ef50c8da91
comparison
equal deleted inserted replaced
23128:ce984959bda0 23129:b70b4108799e
68 * Displays the Smiley Manager Window 68 * Displays the Smiley Manager Window
69 */ 69 */
70 void pidgin_smiley_manager_show(void); 70 void pidgin_smiley_manager_show(void);
71 71
72 /** 72 /**
73 * Displays the "Add smiley" Dialog Box 73 * Shows an editor for a smiley.
74 * 74 *
75 * @param widget The parent widget to be linked 75 * @param widget The parent widget to be linked or @c NULL
76 * @param smiley The PurpleSmiley to be edited, or @c NULL for a new smiley
76 */ 77 */
77 void pidgin_smiley_add(GtkWidget *widget); 78 void pidgin_smiley_edit(GtkWidget *widget, PurpleSmiley *smiley);
78 79
79 #endif /* _PIDGIN_GTKSMILEY_H_*/ 80 #endif /* _PIDGIN_GTKSMILEY_H_*/