/*
* 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 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 start_rtp(void);
void stop_rtp(void);
-/* Appearance */
+/* 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 GdkColor tool_bg, tool_fg, offtool_bg, layout_bg, even_bg, odd_bg;
-extern GdkColor active_bg, selected_bg, selected_fg, search_bg;
-extern GdkColor title_bg, title_fg, item_fg, drag_target, tool_active;
+extern const char *browser;
-void save_appearance(void);
-void load_appearance(void);
+void save_settings(void);
+void load_settings(void);
void set_tool_colors(GtkWidget *w);
-void set_slider_colors(GtkWidget *w);
+void popup_settings(void);
/* Widget leakage debugging rubbish ---------------------------------------- */