diff src/gtkroomlist.h @ 8939:19885cb8a24c

[gaim-migrate @ 9709] Handle graying out the roomlist menu item in a more sane way. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 15 May 2004 23:04:08 +0000
parents 77baefe979c6
children db62420a53a2
line wrap: on
line diff
--- a/src/gtkroomlist.h	Sat May 15 22:39:09 2004 +0000
+++ b/src/gtkroomlist.h	Sat May 15 23:04:08 2004 +0000
@@ -1,5 +1,5 @@
 /**
- * @file gtkroomlist.h Gtk Room List UI
+ * @file gtkroomlist.h GTK+ Room List UI
  * @ingroup gtkui
  *
  * gaim
@@ -36,16 +36,28 @@
  */
 void gaim_gtk_roomlist_init(void);
 
-void gaim_gtk_roomlist_dialog_show(void);
 /**
- * Create a new room list dialog.
+ * Determines if showing the room list dialog is a valid action.
+ *
+ * @return TRUE if there are accounts online that support listing
+ *         chat rooms.  Otherwise return FALSE.
+ */
+gboolean gaim_gtk_roomlist_is_showable(void);
+
+/**
+ * Shows the roomlist dialog.
+ */
+void gaim_gtk_roomlist_dialog_show(void);
+
+/**
+ * Creates a new room list dialog.
  *
  * @return The new dialog.
  */
 GaimGtkRoomlistDialog *gaim_gtk_roomlist_dialog_new(void);
 
 /**
- * Create a new room list dialog and fetch the list on
+ * Creates a new room list dialog and fetch the list on
  * the specified account.
  *
  * @param account The account to force.