/*
* 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
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 */
void properties_reset(void);
-GtkWidget *scroll_widget(GtkWidget *child, const char *name);
+GtkWidget *scroll_widget(GtkWidget *child);
/* Wrap a widget up for scrolling */
GdkPixbuf *find_image(const char *name);
void control_monitor(void *u);
+extern int suppress_actions;
+
/* Queue/Recent/Added */
GtkWidget *queue_widget(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 */
void login_box(void);
+/* Help */
+
+void popup_help(void);
+
/* RTP */
int rtp_running(void);
void start_rtp(void);
void stop_rtp(void);
+/* Settings */
+
+void init_styles(void);
+extern GtkStyle *layout_style;
+extern GtkStyle *title_style;
+extern GtkStyle *even_style;
+extern GtkStyle *odd_style;
+extern GtkStyle *active_style;
+extern GtkStyle *tool_style;
+extern GtkStyle *search_style;
+extern GtkStyle *drag_style;
+
+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 ---------------------------------------- */
#if MDEBUG