changeset 10207:9d03dd6ccc9a

[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 <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Fri, 19 Nov 2004 06:24:50 +0000
parents cf991e2b63cb
children cbdce0acbbe6
files src/gtkprefs.h src/gtkstatusselector.c src/gtkutils.h
diffstat 3 files changed, 4 insertions(+), 19 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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));
 
--- 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);