# HG changeset patch # User Mark Doliner # Date 1100845490 0 # Node ID 9d03dd6ccc9ad7172b354dfe6cabb5f3bfbc9e04 # Parent cf991e2b63cbdf92a0288f546f112e73c2b383dc [gaim-migrate @ 11328] Remove a bit more old away code. Now is a REALLY good time to get the PRPL code for setting your status working. If you don't have commit access, submit a patch! committer: Tailor Script diff -r cf991e2b63cb -r 9d03dd6ccc9a src/gtkprefs.h --- a/src/gtkprefs.h Fri Nov 19 03:46:15 2004 +0000 +++ b/src/gtkprefs.h Fri Nov 19 06:24:50 2004 +0000 @@ -28,12 +28,6 @@ #include "prefs.h" -/* XXX These should go. */ -extern GtkListStore *prefs_away_store; -extern GtkWidget *prefs_away_menu; -extern GtkWidget *pref_fg_picture; -extern GtkWidget *pref_bg_picture; - /** * Initializes all UI-specific preferences. */ @@ -45,17 +39,6 @@ void gaim_gtk_prefs_show(void); /** - * Initializes the default away menu. - * - * @todo This should be moved or renamed or something? - */ -void default_away_menu_init(GtkWidget *); - -void apply_font_dlg(GtkWidget *, GtkWidget *); -void apply_color_dlg(GtkWidget *, gpointer); -void destroy_colorsel(GtkWidget *, gpointer); - -/** * Add a new checkbox for a boolean preference * * @param title The text to be displayed as the checkbox label diff -r cf991e2b63cb -r 9d03dd6ccc9a src/gtkstatusselector.c --- a/src/gtkstatusselector.c Fri Nov 19 03:46:15 2004 +0000 +++ b/src/gtkstatusselector.c Fri Nov 19 06:24:50 2004 +0000 @@ -469,6 +469,10 @@ if (!gaim_status_type_is_user_settable(status_type)) continue; + /* + * TODO Find a way to fallback to the GaimStatusPrimitive + * if an icon for this id does not exist. + */ g_snprintf(filename, sizeof(filename), "%s.png", gaim_status_type_get_id(status_type)); diff -r cf991e2b63cb -r 9d03dd6ccc9a src/gtkutils.h --- a/src/gtkutils.h Fri Nov 19 03:46:15 2004 +0000 +++ b/src/gtkutils.h Fri Nov 19 06:24:50 2004 +0000 @@ -279,8 +279,6 @@ * * @return A newly allocated string of length @a len, containing the * stylized version of @a text. - * - * @todo Move this to a UI-specific file. */ char *stylize(const gchar *text, int len);