chiark / gitweb /
Make the Disobedience login window a bit saner. There is now just a
[disorder] / disobedience / disobedience.h
index ea5d095257899dc867dbf706cfb371ac9e2dae51..a9c801cf1f8eabefeaaf7c5d0b5dd50574726471 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * This file is part of DisOrder.
- * Copyright (C) 2006, 2007 Richard Kettlewell
+ * Copyright (C) 2006-2008 Richard Kettlewell
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -86,8 +86,10 @@ struct callbackdata {
 struct tabtype {
   int (*properties_sensitive)(GtkWidget *tab);
   int (*selectall_sensitive)(GtkWidget *tab);
+  int (*selectnone_sensitive)(GtkWidget *tab);
   void (*properties_activate)(GtkWidget *tab);
   void (*selectall_activate)(GtkWidget *tab);
+  void (*selectnone_activate)(GtkWidget *tab);
 };
 
 /** @brief Button definitions */
@@ -194,6 +196,8 @@ void volume_update(void);
 
 void control_monitor(void *u);
 
+extern int suppress_actions;
+
 /* Queue/Recent/Added */
 
 GtkWidget *queue_widget(void);
@@ -209,7 +213,8 @@ void added_update(void);
  * changed */
 
 void queue_select_all(struct queuelike *ql);
-/* Select all on some queue */
+void queue_select_none(struct queuelike *ql);
+/* Select all/none on some queue */
 
 void queue_properties(struct queuelike *ql);
 /* Pop up properties of selected items in some queue */
@@ -235,6 +240,8 @@ void choose_update(void);
 
 void login_box(void);
 
+GtkWidget *login_window;
+
 /* Help */
 
 void popup_help(void);
@@ -262,6 +269,7 @@ extern const char *browser;
 void save_settings(void);
 void load_settings(void);
 void set_tool_colors(GtkWidget *w);
+void popup_settings(void);
 
 /* Widget leakage debugging rubbish ---------------------------------------- */