#include <glib.h>
#include <gtk/gtk.h>
#include <string.h>
#include <stddef.h>
#include <stdio.h>
#include <sys/types.h>
#include <dirent.h>
#include <unistd.h>
#include <errno.h>
#include <sys/stat.h>
#include <gdk/gdkkeysyms.h>
#include <libaudcore/hook.h>
#include "audconfig.h"
#include "compatibility.h"
#include "debug.h"
#include "i18n.h"
#include "misc.h"
#include "playback.h"
#include "plugin.h"
#include "pluginenum.h"
#include "plugins.h"
#include "effect.h"
#include "general.h"
#include "output.h"
#include "playlist.h"
#include "playlist-utils.h"
#include "visualization.h"
#include "util.h"
#include "configdb.h"
#include "preferences.h"
#include "ui_preferences.h"
Go to the source code of this file.
Classes | |
struct | Category |
struct | TitleFieldTag |
struct | MenuPos |
struct | CategoryQueueEntry |
Defines | |
#define | TITLESTRING_UPDATE_TIMEOUT 3 |
Enumerations | |
enum | CategoryViewCols { CATEGORY_VIEW_COL_ICON, CATEGORY_VIEW_COL_NAME, CATEGORY_VIEW_COL_ID, CATEGORY_VIEW_N_COLS } |
enum | PluginViewCols { PLUGIN_VIEW_COL_ACTIVE, PLUGIN_VIEW_COL_DESC, PLUGIN_VIEW_COL_FILENAME, PLUGIN_VIEW_COL_ID, PLUGIN_VIEW_COL_PLUGIN_PTR, PLUGIN_VIEW_N_COLS } |
enum | PluginViewType { PLUGIN_VIEW_TYPE_INPUT, PLUGIN_VIEW_TYPE_GENERAL, PLUGIN_VIEW_TYPE_VIS, PLUGIN_VIEW_TYPE_EFFECT } |
Functions | |
static void | sw_volume_toggled (void) |
static void | prefswin_page_queue_destroy (CategoryQueueEntry *ent) |
void | create_plugin_preferences_page (PluginPreferences *settings) |
void | destroy_plugin_preferences_page (PluginPreferences *settings) |
static void | output_about (OutputPlugin *plugin) |
static void | output_configure (OutputPlugin *plugin) |
static void | change_category (GtkNotebook *notebook, GtkTreeSelection *selection) |
static void | output_plugin_open_prefs (GtkComboBox *combo, void *unused) |
static void | output_plugin_open_info (GtkComboBox *combo, void *unused) |
static void | plugin_toggle (GtkCellRendererToggle *cell, const gchar *path_str, gpointer data) |
static void | on_output_plugin_cbox_changed (GtkComboBox *combo, void *unused) |
static void | on_output_plugin_cbox_realize (GtkComboBox *cbox, gpointer data) |
static void | on_plugin_view_realize (GtkTreeView *treeview, GCallback callback, gpointer data, gint plugin_type) |
static void | on_input_plugin_view_realize (GtkTreeView *treeview, gpointer data) |
static void | on_effect_plugin_view_realize (GtkTreeView *treeview, gpointer data) |
static void | on_general_plugin_view_realize (GtkTreeView *treeview, gpointer data) |
static void | on_vis_plugin_view_realize (GtkTreeView *treeview, gpointer data) |
static void | editable_insert_text (GtkEditable *editable, const gchar *text, gint *pos) |
static void | titlestring_tag_menu_callback (GtkMenuItem *menuitem, gpointer data) |
static void | util_menu_position (GtkMenu *menu, gint *x, gint *y, gboolean *push_in, gpointer data) |
static void | on_titlestring_help_button_clicked (GtkButton *button, gpointer data) |
static void | on_titlestring_entry_realize (GtkWidget *entry, gpointer data) |
static gboolean | titlestring_timeout_proc (gpointer data) |
static void | on_titlestring_entry_changed (GtkWidget *entry, gpointer data) |
static void | on_titlestring_cbox_realize (GtkWidget *cbox, gpointer data) |
static void | on_titlestring_cbox_changed (GtkWidget *cbox, gpointer data) |
static void | on_font_btn_realize (GtkFontButton *button, gchar **cfg) |
static void | on_font_btn_font_set (GtkFontButton *button, gchar **config) |
static void | plugin_preferences_ok (GtkWidget *widget, PluginPreferences *settings) |
static void | plugin_preferences_apply (GtkWidget *widget, PluginPreferences *settings) |
static void | plugin_preferences_cancel (GtkWidget *widget, PluginPreferences *settings) |
static void | plugin_preferences_destroy (GtkWidget *widget, PluginPreferences *settings) |
static void | create_plugin_preferences (PluginPreferences *settings) |
static void | plugin_treeview_open_prefs (GtkTreeView *treeview) |
static void | plugin_treeview_open_info (GtkTreeView *treeview) |
static void | plugin_treeview_enable_prefs (GtkTreeView *treeview, GtkButton *button) |
static void | plugin_treeview_enable_info (GtkTreeView *treeview, GtkButton *button) |
static void | output_plugin_enable_info (GtkComboBox *cbox, GtkButton *button) |
static void | output_plugin_enable_prefs (GtkComboBox *cbox, GtkButton *button) |
static void | on_output_plugin_bufsize_realize (GtkSpinButton *button, gpointer data) |
static void | on_output_plugin_bufsize_value_changed (GtkSpinButton *button, gpointer data) |
static void | on_spin_btn_realize_gint (GtkSpinButton *button, gint *cfg) |
static void | on_spin_btn_changed_gint (GtkSpinButton *button, gint *cfg) |
static void | on_spin_btn_realize_gfloat (GtkSpinButton *button, gfloat *cfg) |
static void | on_spin_btn_changed_gfloat (GtkSpinButton *button, gfloat *cfg) |
static void | on_category_treeview_realize (GtkTreeView *treeview, GtkNotebook *notebook) |
static void | on_show_filepopup_for_tuple_realize (GtkToggleButton *button, gpointer data) |
static void | on_show_filepopup_for_tuple_toggled (GtkToggleButton *button, gpointer data) |
static void | on_recurse_for_cover_toggled (GtkToggleButton *button, gpointer data) |
static void | on_filepopup_for_tuple_settings_clicked (GtkButton *button, gpointer data) |
static void | on_filepopup_settings_ok_clicked (GtkButton *button, gpointer data) |
static void | on_filepopup_settings_cancel_clicked (GtkButton *button, gpointer data) |
static void | on_toggle_button_toggled (GtkToggleButton *button, gboolean *cfg) |
static void | on_toggle_button_realize (GtkToggleButton *button, gboolean *cfg) |
static void | on_toggle_button_cfg_toggled (GtkToggleButton *button, gchar *cfg) |
static void | on_toggle_button_cfg_realize (GtkToggleButton *button, gchar *cfg) |
static void | on_entry_realize (GtkEntry *entry, gchar **cfg) |
static void | on_entry_changed (GtkEntry *entry, gchar **cfg) |
static void | on_entry_cfg_realize (GtkEntry *entry, gchar *cfg) |
static void | on_entry_cfg_changed (GtkEntry *entry, gchar *cfg) |
static void | on_cbox_changed_int (GtkComboBox *combobox, PreferencesWidget *widget) |
static void | on_cbox_changed_string (GtkComboBox *combobox, PreferencesWidget *widget) |
static void | on_cbox_realize (GtkComboBox *combobox, PreferencesWidget *widget) |
void | create_filepopup_settings (void) |
static void | create_spin_button (PreferencesWidget *widget, GtkWidget **label_pre, GtkWidget **spin_btn, GtkWidget **label_past, const gchar *domain) |
void | create_font_btn (PreferencesWidget *widget, GtkWidget **label, GtkWidget **font_btn, const gchar *domain) |
static void | create_entry (PreferencesWidget *widget, GtkWidget **label, GtkWidget **entry, const gchar *domain) |
static void | create_label (PreferencesWidget *widget, GtkWidget **label, GtkWidget **icon, const gchar *domain) |
static void | create_cbox (PreferencesWidget *widget, GtkWidget **label, GtkWidget **combobox, const gchar *domain) |
static void | fill_table (GtkWidget *table, PreferencesWidget *elements, gint amt, const gchar *domain) |
void | create_widgets_with_domain (void *box, PreferencesWidget *widgets, gint amt, const gchar *domain) |
static GtkWidget * | create_titlestring_tag_menu (void) |
static void | create_playback_category (void) |
static void | create_replay_gain_category (void) |
static void | show_numbers_cb (GtkToggleButton *numbers, void *unused) |
static void | create_playlist_category (void) |
static void | create_audio_category (void) |
static void | create_connectivity_category (void) |
static void | create_plugin_category (void) |
static void | destroy_plugin_page (GList *list) |
static void | destroy_plugin_pages (void) |
static gboolean | prefswin_destroy (GtkWidget *window, GdkEvent *event, gpointer data) |
static void | create_plugin_page (GList *list) |
static void | create_plugin_pages (void) |
void ** | create_prefs_window (void) |
void | destroy_prefs_window (void) |
void | show_prefs_window (void) |
void | hide_prefs_window (void) |
static void | prefswin_page_queue_new (GtkWidget *container, const gchar *name, const gchar *imgurl) |
gint | prefswin_page_new (void *container, const gchar *name, const gchar *imgurl) |
void | prefswin_page_destroy (GtkWidget *container) |
Variables | |
static void * | prefswin = NULL |
static GtkWidget * | filepopup_settings = NULL |
static GtkWidget * | category_treeview = NULL |
static GtkWidget * | category_notebook = NULL |
GtkWidget * | filepopupbutton = NULL |
GtkWidget * | filepopup_settings_cover_name_include |
GtkWidget * | filepopup_settings_cover_name_exclude |
GtkWidget * | filepopup_settings_recurse_for_cover |
GtkWidget * | filepopup_settings_recurse_for_cover_depth |
GtkWidget * | filepopup_settings_recurse_for_cover_depth_box |
GtkWidget * | filepopup_settings_use_file_cover |
GtkWidget * | filepopup_settings_showprogressbar |
GtkWidget * | filepopup_settings_delay |
GtkWidget * | titlestring_entry |
GtkWidget * | filepopup_for_tuple_settings_button |
static gint | titlestring_timeout_counter = 0 |
static Category | categories [] |
static gint | n_categories = G_N_ELEMENTS(categories) |
static TitleFieldTag | title_field_tags [] |
static const guint | n_title_field_tags = G_N_ELEMENTS(title_field_tags) |
static ComboBoxElements | chardet_detector_presets [] |
static ComboBoxElements | bitdepth_elements [] |
CategoryQueueEntry * | category_queue = NULL |
static PreferencesWidget | audio_page_widgets [] |
static PreferencesWidget | rg_params_elements [] |
static PreferencesWidget | replay_gain_page_widgets [] |
static PreferencesWidget | proxy_host_port_elements [] |
static PreferencesWidget | proxy_auth_elements [] |
static PreferencesWidget | connectivity_page_widgets [] |
static PreferencesWidget | playback_page_widgets [] |
static PreferencesWidget | chardet_elements [] |
static PreferencesWidget | playlist_page_widgets [] |
#define TITLESTRING_UPDATE_TIMEOUT 3 |
Definition at line 60 of file ui_preferences.c.
Referenced by on_titlestring_entry_changed().
enum CategoryViewCols |
Definition at line 64 of file ui_preferences.c.
enum PluginViewCols |
PLUGIN_VIEW_COL_ACTIVE | |
PLUGIN_VIEW_COL_DESC | |
PLUGIN_VIEW_COL_FILENAME | |
PLUGIN_VIEW_COL_ID | |
PLUGIN_VIEW_COL_PLUGIN_PTR | |
PLUGIN_VIEW_N_COLS |
Definition at line 71 of file ui_preferences.c.
enum PluginViewType |
PLUGIN_VIEW_TYPE_INPUT | |
PLUGIN_VIEW_TYPE_GENERAL | |
PLUGIN_VIEW_TYPE_VIS | |
PLUGIN_VIEW_TYPE_EFFECT |
Definition at line 80 of file ui_preferences.c.
static void change_category | ( | GtkNotebook * | notebook, | |
GtkTreeSelection * | selection | |||
) | [static] |
Definition at line 277 of file ui_preferences.c.
Referenced by on_category_treeview_realize().
static void create_audio_category | ( | void | ) | [static] |
Definition at line 2000 of file ui_preferences.c.
Referenced by create_prefs_window().
static void create_cbox | ( | PreferencesWidget * | widget, | |
GtkWidget ** | label, | |||
GtkWidget ** | combobox, | |||
const gchar * | domain | |||
) | [static] |
Definition at line 1482 of file ui_preferences.c.
Referenced by create_widgets_with_domain(), and fill_table().
static void create_connectivity_category | ( | void | ) | [static] |
Definition at line 2148 of file ui_preferences.c.
Referenced by create_prefs_window().
static void create_entry | ( | PreferencesWidget * | widget, | |
GtkWidget ** | label, | |||
GtkWidget ** | entry, | |||
const gchar * | domain | |||
) | [static] |
Definition at line 1430 of file ui_preferences.c.
Referenced by create_widgets_with_domain(), and fill_table().
void create_filepopup_settings | ( | void | ) |
Definition at line 1188 of file ui_preferences.c.
Referenced by create_playlist_category().
void create_font_btn | ( | PreferencesWidget * | widget, | |
GtkWidget ** | label, | |||
GtkWidget ** | font_btn, | |||
const gchar * | domain | |||
) |
Definition at line 1401 of file ui_preferences.c.
Referenced by create_widgets_with_domain(), and fill_table().
static void create_label | ( | PreferencesWidget * | widget, | |
GtkWidget ** | label, | |||
GtkWidget ** | icon, | |||
const gchar * | domain | |||
) | [static] |
Definition at line 1467 of file ui_preferences.c.
Referenced by create_widgets_with_domain(), and fill_table().
static void create_playback_category | ( | void | ) | [static] |
Definition at line 1786 of file ui_preferences.c.
Referenced by create_prefs_window().
static void create_playlist_category | ( | void | ) | [static] |
Definition at line 1822 of file ui_preferences.c.
Referenced by create_prefs_window().
static void create_plugin_category | ( | void | ) | [static] |
Definition at line 2163 of file ui_preferences.c.
Referenced by create_prefs_window().
static void create_plugin_page | ( | GList * | list | ) | [static] |
Definition at line 2526 of file ui_preferences.c.
Referenced by create_plugin_pages().
static void create_plugin_pages | ( | void | ) | [static] |
Definition at line 2540 of file ui_preferences.c.
Referenced by create_prefs_window().
static void create_plugin_preferences | ( | PluginPreferences * | settings | ) | [static] |
Definition at line 689 of file ui_preferences.c.
Referenced by plugin_treeview_open_prefs().
void create_plugin_preferences_page | ( | PluginPreferences * | settings | ) |
Definition at line 2670 of file ui_preferences.c.
Referenced by create_plugin_page(), and plugin_toggle().
void* * create_prefs_window | ( | void | ) |
Definition at line 2549 of file ui_preferences.c.
static void create_replay_gain_category | ( | void | ) | [static] |
Definition at line 1800 of file ui_preferences.c.
Referenced by create_prefs_window().
static void create_spin_button | ( | PreferencesWidget * | widget, | |
GtkWidget ** | label_pre, | |||
GtkWidget ** | spin_btn, | |||
GtkWidget ** | label_past, | |||
const gchar * | domain | |||
) | [static] |
Definition at line 1351 of file ui_preferences.c.
Referenced by create_widgets_with_domain(), and fill_table().
static GtkWidget* create_titlestring_tag_menu | ( | void | ) | [static] |
Definition at line 1767 of file ui_preferences.c.
Referenced by create_playlist_category().
void create_widgets_with_domain | ( | void * | box, | |
PreferencesWidget * | widgets, | |||
gint | amt, | |||
const gchar * | domain | |||
) |
Definition at line 1555 of file ui_preferences.c.
static void destroy_plugin_page | ( | GList * | list | ) | [static] |
Definition at line 2487 of file ui_preferences.c.
Referenced by destroy_plugin_pages().
static void destroy_plugin_pages | ( | void | ) | [static] |
Definition at line 2505 of file ui_preferences.c.
Referenced by prefswin_destroy().
void destroy_plugin_preferences_page | ( | PluginPreferences * | settings | ) |
Definition at line 2691 of file ui_preferences.c.
Referenced by plugin_toggle().
void destroy_prefs_window | ( | void | ) |
Definition at line 2664 of file ui_preferences.c.
static void editable_insert_text | ( | GtkEditable * | editable, | |
const gchar * | text, | |||
gint * | pos | |||
) | [static] |
Definition at line 504 of file ui_preferences.c.
Referenced by titlestring_tag_menu_callback().
static void fill_table | ( | GtkWidget * | table, | |
PreferencesWidget * | elements, | |||
gint | amt, | |||
const gchar * | domain | |||
) | [static] |
Definition at line 1497 of file ui_preferences.c.
Referenced by create_widgets_with_domain().
void hide_prefs_window | ( | void | ) |
Definition at line 2712 of file ui_preferences.c.
static void on_category_treeview_realize | ( | GtkTreeView * | treeview, | |
GtkNotebook * | notebook | |||
) | [static] |
Definition at line 889 of file ui_preferences.c.
Referenced by create_prefs_window().
static void on_cbox_changed_int | ( | GtkComboBox * | combobox, | |
PreferencesWidget * | widget | |||
) | [static] |
Definition at line 1123 of file ui_preferences.c.
Referenced by on_cbox_realize().
static void on_cbox_changed_string | ( | GtkComboBox * | combobox, | |
PreferencesWidget * | widget | |||
) | [static] |
Definition at line 1132 of file ui_preferences.c.
Referenced by on_cbox_realize().
static void on_cbox_realize | ( | GtkComboBox * | combobox, | |
PreferencesWidget * | widget | |||
) | [static] |
Definition at line 1144 of file ui_preferences.c.
Referenced by create_cbox().
static void on_effect_plugin_view_realize | ( | GtkTreeView * | treeview, | |
gpointer | data | |||
) | [static] |
Definition at line 481 of file ui_preferences.c.
Referenced by create_plugin_category().
static void on_entry_cfg_changed | ( | GtkEntry * | entry, | |
gchar * | cfg | |||
) | [static] |
Definition at line 1108 of file ui_preferences.c.
Referenced by create_entry().
static void on_entry_cfg_realize | ( | GtkEntry * | entry, | |
gchar * | cfg | |||
) | [static] |
Definition at line 1092 of file ui_preferences.c.
Referenced by create_entry().
static void on_entry_changed | ( | GtkEntry * | entry, | |
gchar ** | cfg | |||
) | [static] |
Definition at line 1072 of file ui_preferences.c.
Referenced by create_entry().
static void on_entry_realize | ( | GtkEntry * | entry, | |
gchar ** | cfg | |||
) | [static] |
Definition at line 1063 of file ui_preferences.c.
Referenced by create_entry().
static void on_filepopup_for_tuple_settings_clicked | ( | GtkButton * | button, | |
gpointer | data | |||
) | [static] |
Definition at line 977 of file ui_preferences.c.
Referenced by create_playlist_category().
static void on_filepopup_settings_cancel_clicked | ( | GtkButton * | button, | |
gpointer | data | |||
) | [static] |
Definition at line 1010 of file ui_preferences.c.
Referenced by create_filepopup_settings().
static void on_filepopup_settings_ok_clicked | ( | GtkButton * | button, | |
gpointer | data | |||
) | [static] |
Definition at line 992 of file ui_preferences.c.
Referenced by create_filepopup_settings().
static void on_font_btn_font_set | ( | GtkFontButton * | button, | |
gchar ** | config | |||
) | [static] |
Definition at line 643 of file ui_preferences.c.
Referenced by create_font_btn().
static void on_font_btn_realize | ( | GtkFontButton * | button, | |
gchar ** | cfg | |||
) | [static] |
Definition at line 637 of file ui_preferences.c.
Referenced by create_font_btn().
static void on_general_plugin_view_realize | ( | GtkTreeView * | treeview, | |
gpointer | data | |||
) | [static] |
Definition at line 489 of file ui_preferences.c.
Referenced by create_plugin_category().
static void on_input_plugin_view_realize | ( | GtkTreeView * | treeview, | |
gpointer | data | |||
) | [static] |
Definition at line 474 of file ui_preferences.c.
Referenced by create_plugin_category().
static void on_output_plugin_bufsize_realize | ( | GtkSpinButton * | button, | |
gpointer | data | |||
) | [static] |
Definition at line 850 of file ui_preferences.c.
Referenced by create_audio_category().
static void on_output_plugin_bufsize_value_changed | ( | GtkSpinButton * | button, | |
gpointer | data | |||
) | [static] |
Definition at line 857 of file ui_preferences.c.
Referenced by create_audio_category().
static void on_output_plugin_cbox_changed | ( | GtkComboBox * | combo, | |
void * | unused | |||
) | [static] |
Definition at line 351 of file ui_preferences.c.
Referenced by on_output_plugin_cbox_realize().
static void on_output_plugin_cbox_realize | ( | GtkComboBox * | cbox, | |
gpointer | data | |||
) | [static] |
Definition at line 358 of file ui_preferences.c.
Referenced by create_audio_category().
static void on_plugin_view_realize | ( | GtkTreeView * | treeview, | |
GCallback | callback, | |||
gpointer | data, | |||
gint | plugin_type | |||
) | [static] |
Definition at line 385 of file ui_preferences.c.
Referenced by on_effect_plugin_view_realize(), on_general_plugin_view_realize(), on_input_plugin_view_realize(), and on_vis_plugin_view_realize().
static void on_recurse_for_cover_toggled | ( | GtkToggleButton * | button, | |
gpointer | data | |||
) | [static] |
Definition at line 970 of file ui_preferences.c.
Referenced by create_filepopup_settings(), and on_filepopup_for_tuple_settings_clicked().
static void on_show_filepopup_for_tuple_realize | ( | GtkToggleButton * | button, | |
gpointer | data | |||
) | [static] |
Definition at line 953 of file ui_preferences.c.
Referenced by create_playlist_category().
static void on_show_filepopup_for_tuple_toggled | ( | GtkToggleButton * | button, | |
gpointer | data | |||
) | [static] |
Definition at line 962 of file ui_preferences.c.
Referenced by create_playlist_category().
static void on_spin_btn_changed_gfloat | ( | GtkSpinButton * | button, | |
gfloat * | cfg | |||
) | [static] |
Definition at line 882 of file ui_preferences.c.
Referenced by create_spin_button().
static void on_spin_btn_changed_gint | ( | GtkSpinButton * | button, | |
gint * | cfg | |||
) | [static] |
Definition at line 870 of file ui_preferences.c.
Referenced by create_spin_button().
static void on_spin_btn_realize_gfloat | ( | GtkSpinButton * | button, | |
gfloat * | cfg | |||
) | [static] |
Definition at line 876 of file ui_preferences.c.
Referenced by create_spin_button().
static void on_spin_btn_realize_gint | ( | GtkSpinButton * | button, | |
gint * | cfg | |||
) | [static] |
Definition at line 864 of file ui_preferences.c.
Referenced by create_spin_button().
static void on_titlestring_cbox_changed | ( | GtkWidget * | cbox, | |
gpointer | data | |||
) | [static] |
Definition at line 625 of file ui_preferences.c.
Referenced by create_playlist_category().
static void on_titlestring_cbox_realize | ( | GtkWidget * | cbox, | |
gpointer | data | |||
) | [static] |
Definition at line 616 of file ui_preferences.c.
Referenced by create_playlist_category().
static void on_titlestring_entry_changed | ( | GtkWidget * | entry, | |
gpointer | data | |||
) | [static] |
Definition at line 602 of file ui_preferences.c.
Referenced by create_playlist_category().
static void on_titlestring_entry_realize | ( | GtkWidget * | entry, | |
gpointer | data | |||
) | [static] |
Definition at line 581 of file ui_preferences.c.
Referenced by create_playlist_category().
static void on_titlestring_help_button_clicked | ( | GtkButton * | button, | |
gpointer | data | |||
) | [static] |
Definition at line 550 of file ui_preferences.c.
Referenced by create_playlist_category().
static void on_toggle_button_cfg_realize | ( | GtkToggleButton * | button, | |
gchar * | cfg | |||
) | [static] |
Definition at line 1047 of file ui_preferences.c.
Referenced by create_widgets_with_domain().
static void on_toggle_button_cfg_toggled | ( | GtkToggleButton * | button, | |
gchar * | cfg | |||
) | [static] |
Definition at line 1034 of file ui_preferences.c.
Referenced by create_widgets_with_domain().
static void on_toggle_button_realize | ( | GtkToggleButton * | button, | |
gboolean * | cfg | |||
) | [static] |
Definition at line 1026 of file ui_preferences.c.
Referenced by create_widgets_with_domain().
static void on_toggle_button_toggled | ( | GtkToggleButton * | button, | |
gboolean * | cfg | |||
) | [static] |
Definition at line 1016 of file ui_preferences.c.
Referenced by create_widgets_with_domain().
static void on_vis_plugin_view_realize | ( | GtkTreeView * | treeview, | |
gpointer | data | |||
) | [static] |
Definition at line 497 of file ui_preferences.c.
Referenced by create_plugin_category().
static void output_about | ( | OutputPlugin * | plugin | ) | [static] |
Definition at line 264 of file ui_preferences.c.
Referenced by output_plugin_open_info().
static void output_configure | ( | OutputPlugin * | plugin | ) | [static] |
Definition at line 270 of file ui_preferences.c.
Referenced by output_plugin_open_prefs().
static void output_plugin_enable_info | ( | GtkComboBox * | cbox, | |
GtkButton * | button | |||
) | [static] |
Definition at line 823 of file ui_preferences.c.
Referenced by create_audio_category().
static void output_plugin_enable_prefs | ( | GtkComboBox * | cbox, | |
GtkButton * | button | |||
) | [static] |
Definition at line 837 of file ui_preferences.c.
Referenced by create_audio_category().
static void output_plugin_open_info | ( | GtkComboBox * | combo, | |
void * | unused | |||
) | [static] |
Definition at line 297 of file ui_preferences.c.
Referenced by create_audio_category().
static void output_plugin_open_prefs | ( | GtkComboBox * | combo, | |
void * | unused | |||
) | [static] |
Definition at line 291 of file ui_preferences.c.
Referenced by create_audio_category().
static void plugin_preferences_apply | ( | GtkWidget * | widget, | |
PluginPreferences * | settings | |||
) | [static] |
Definition at line 662 of file ui_preferences.c.
Referenced by create_plugin_preferences().
static void plugin_preferences_cancel | ( | GtkWidget * | widget, | |
PluginPreferences * | settings | |||
) | [static] |
Definition at line 669 of file ui_preferences.c.
Referenced by create_plugin_preferences().
static void plugin_preferences_destroy | ( | GtkWidget * | widget, | |
PluginPreferences * | settings | |||
) | [static] |
Definition at line 678 of file ui_preferences.c.
Referenced by create_plugin_preferences().
static void plugin_preferences_ok | ( | GtkWidget * | widget, | |
PluginPreferences * | settings | |||
) | [static] |
Definition at line 653 of file ui_preferences.c.
Referenced by create_plugin_preferences().
static void plugin_toggle | ( | GtkCellRendererToggle * | cell, | |
const gchar * | path_str, | |||
gpointer | data | |||
) | [static] |
Definition at line 304 of file ui_preferences.c.
Referenced by on_effect_plugin_view_realize(), on_general_plugin_view_realize(), on_input_plugin_view_realize(), and on_vis_plugin_view_realize().
static void plugin_treeview_enable_info | ( | GtkTreeView * | treeview, | |
GtkButton * | button | |||
) | [static] |
Definition at line 803 of file ui_preferences.c.
Referenced by create_plugin_category().
static void plugin_treeview_enable_prefs | ( | GtkTreeView * | treeview, | |
GtkButton * | button | |||
) | [static] |
Definition at line 782 of file ui_preferences.c.
Referenced by create_plugin_category().
static void plugin_treeview_open_info | ( | GtkTreeView * | treeview | ) | [static] |
Definition at line 765 of file ui_preferences.c.
Referenced by create_plugin_category().
static void plugin_treeview_open_prefs | ( | GtkTreeView * | treeview | ) | [static] |
Definition at line 742 of file ui_preferences.c.
Referenced by create_plugin_category().
static gboolean prefswin_destroy | ( | GtkWidget * | window, | |
GdkEvent * | event, | |||
gpointer | data | |||
) | [static] |
Definition at line 2514 of file ui_preferences.c.
Referenced by create_prefs_window(), and destroy_prefs_window().
void prefswin_page_destroy | ( | GtkWidget * | container | ) |
Definition at line 2799 of file ui_preferences.c.
Referenced by destroy_plugin_preferences_page().
gint prefswin_page_new | ( | void * | container, | |
const gchar * | name, | |||
const gchar * | imgurl | |||
) |
Definition at line 2753 of file ui_preferences.c.
Referenced by create_plugin_preferences_page(), and on_category_treeview_realize().
static void prefswin_page_queue_destroy | ( | CategoryQueueEntry * | ent | ) | [static] |
Definition at line 2734 of file ui_preferences.c.
Referenced by on_category_treeview_realize().
static void prefswin_page_queue_new | ( | GtkWidget * | container, | |
const gchar * | name, | |||
const gchar * | imgurl | |||
) | [static] |
Definition at line 2718 of file ui_preferences.c.
Referenced by prefswin_page_new().
static void show_numbers_cb | ( | GtkToggleButton * | numbers, | |
void * | unused | |||
) | [static] |
Definition at line 1813 of file ui_preferences.c.
Referenced by create_playlist_category().
void show_prefs_window | ( | void | ) |
Definition at line 2706 of file ui_preferences.c.
static void sw_volume_toggled | ( | void | ) | [static] |
Definition at line 2846 of file ui_preferences.c.
static void titlestring_tag_menu_callback | ( | GtkMenuItem * | menuitem, | |
gpointer | data | |||
) | [static] |
Definition at line 512 of file ui_preferences.c.
Referenced by create_titlestring_tag_menu().
static gboolean titlestring_timeout_proc | ( | gpointer | data | ) | [static] |
Definition at line 588 of file ui_preferences.c.
Referenced by on_titlestring_entry_changed().
static void util_menu_position | ( | GtkMenu * | menu, | |
gint * | x, | |||
gint * | y, | |||
gboolean * | push_in, | |||
gpointer | data | |||
) | [static] |
Definition at line 532 of file ui_preferences.c.
Referenced by on_titlestring_help_button_clicked().
PreferencesWidget audio_page_widgets[] [static] |
{ {WIDGET_LABEL, N_("<b>Bit Depth</b>"), NULL, NULL, NULL, FALSE}, {WIDGET_COMBO_BOX, N_("Output bit depth:"), &cfg.output_bit_depth, NULL, N_("All streams will be converted to this bit depth.\n" "This should be the max supported bit depth of\nthe sound card or output plugin."), FALSE, {.combo = {bitdepth_elements, G_N_ELEMENTS(bitdepth_elements), TRUE}}, VALUE_INT}, {WIDGET_LABEL, N_("<b>Volume Control</b>"), NULL, NULL, NULL, FALSE}, {WIDGET_CHK_BTN, N_("Use software volume control"), & cfg.software_volume_control, sw_volume_toggled, N_("Use software volume control. This may be useful for situations where your audio system does not support controlling the playback volume."), FALSE}, }
Definition at line 182 of file ui_preferences.c.
Referenced by create_audio_category().
ComboBoxElements bitdepth_elements[] [static] |
{ { GINT_TO_POINTER(16), "16" }, { GINT_TO_POINTER(24), "24" }, { GINT_TO_POINTER(32), "32" }, {GINT_TO_POINTER (0), "Floating point"}, }
Definition at line 166 of file ui_preferences.c.
Category categories[] [static] |
{ {DATA_DIR "/images/audio.png", N_("Audio")}, {DATA_DIR "/images/replay_gain.png", N_("Replay Gain")}, {DATA_DIR "/images/connectivity.png", N_("Network")}, {DATA_DIR "/images/playback.png", N_("Playback")}, {DATA_DIR "/images/playlist.png", N_("Playlist")}, {DATA_DIR "/images/plugins.png", N_("Plugins")}, }
Definition at line 123 of file ui_preferences.c.
GtkWidget* category_notebook = NULL [static] |
Definition at line 105 of file ui_preferences.c.
Referenced by create_audio_category(), create_connectivity_category(), create_playback_category(), create_playlist_category(), create_plugin_category(), create_prefs_window(), create_replay_gain_category(), prefswin_destroy(), prefswin_page_destroy(), and prefswin_page_new().
CategoryQueueEntry* category_queue = NULL |
Definition at line 180 of file ui_preferences.c.
GtkWidget* category_treeview = NULL [static] |
Definition at line 104 of file ui_preferences.c.
Referenced by create_prefs_window(), on_category_treeview_realize(), prefswin_page_destroy(), and prefswin_page_new().
ComboBoxElements chardet_detector_presets[] [static] |
{ { N_("None") , N_("None") }, { N_("Japanese") , N_("Japanese") }, { N_("Taiwanese"), N_("Taiwanese") }, { N_("Chinese") , N_("Chinese") }, { N_("Korean") , N_("Korean") }, { N_("Russian") , N_("Russian") }, { N_("Greek") , N_("Greek") }, { N_("Hebrew") , N_("Hebrew") }, { N_("Turkish") , N_("Turkish") }, { N_("Arabic") , N_("Arabic") }, { N_("Polish") , N_("Polish") }, { N_("Baltic") , N_("Baltic") }, { N_("Universal"), N_("Universal") } }
Definition at line 150 of file ui_preferences.c.
PreferencesWidget chardet_elements[] [static] |
{ {WIDGET_COMBO_BOX, N_("Auto character encoding detector for:"), &cfg.chardet_detector, NULL, NULL, TRUE, {.combo = {chardet_detector_presets, G_N_ELEMENTS(chardet_detector_presets), FALSE }}, VALUE_STRING}, {WIDGET_ENTRY, N_("Fallback character encodings:"), &cfg.chardet_fallback, aud_config_chardet_update, N_("List of character encodings used for fall back conversion of metadata. If automatic character encoding detector failed or has been disabled, encodings in this list would be treated as candidates of the encoding of metadata, and fall back conversion from these encodings to UTF-8 would be attempted."), TRUE, {.entry = {FALSE}}, VALUE_STRING}, }
Definition at line 243 of file ui_preferences.c.
PreferencesWidget connectivity_page_widgets[] [static] |
{ {WIDGET_LABEL, N_("<b>Proxy Configuration</b>"), NULL, NULL, NULL, FALSE}, {WIDGET_CHK_BTN, N_("Enable proxy usage"), "use_proxy", NULL, NULL, FALSE, .cfg_type = VALUE_CFG_BOOLEAN}, {WIDGET_TABLE, NULL, NULL, NULL, NULL, TRUE, {.table = {proxy_host_port_elements, G_N_ELEMENTS(proxy_host_port_elements)}}}, {WIDGET_CHK_BTN, N_("Use authentication with proxy"), "proxy_use_auth", NULL, NULL, FALSE, .cfg_type = VALUE_CFG_BOOLEAN}, {WIDGET_TABLE, NULL, NULL, NULL, NULL, TRUE, {.table = {proxy_auth_elements, G_N_ELEMENTS(proxy_auth_elements)}}}, {WIDGET_LABEL, N_("<span size=\"small\">Changing these settings will require a restart of Audacious.</span>"), NULL, NULL, NULL, FALSE, {.label = {"gtk-dialog-warning"}}}, }
Definition at line 222 of file ui_preferences.c.
Referenced by create_connectivity_category().
GtkWidget* filepopup_for_tuple_settings_button |
Definition at line 120 of file ui_preferences.c.
Referenced by create_playlist_category(), on_show_filepopup_for_tuple_realize(), and on_show_filepopup_for_tuple_toggled().
GtkWidget* filepopup_settings = NULL [static] |
Definition at line 103 of file ui_preferences.c.
Referenced by create_filepopup_settings(), on_filepopup_for_tuple_settings_clicked(), on_filepopup_settings_cancel_clicked(), on_filepopup_settings_ok_clicked(), and prefswin_destroy().
GtkWidget* filepopup_settings_cover_name_exclude |
Definition at line 110 of file ui_preferences.c.
Referenced by create_filepopup_settings(), on_filepopup_for_tuple_settings_clicked(), and on_filepopup_settings_ok_clicked().
GtkWidget* filepopup_settings_cover_name_include |
Definition at line 109 of file ui_preferences.c.
Referenced by create_filepopup_settings(), on_filepopup_for_tuple_settings_clicked(), and on_filepopup_settings_ok_clicked().
GtkWidget* filepopup_settings_delay |
Definition at line 116 of file ui_preferences.c.
Referenced by create_filepopup_settings(), on_filepopup_for_tuple_settings_clicked(), and on_filepopup_settings_ok_clicked().
GtkWidget* filepopup_settings_recurse_for_cover |
Definition at line 111 of file ui_preferences.c.
Referenced by create_filepopup_settings(), on_filepopup_for_tuple_settings_clicked(), and on_filepopup_settings_ok_clicked().
GtkWidget* filepopup_settings_recurse_for_cover_depth |
Definition at line 112 of file ui_preferences.c.
Referenced by create_filepopup_settings(), on_filepopup_for_tuple_settings_clicked(), and on_filepopup_settings_ok_clicked().
Definition at line 113 of file ui_preferences.c.
Referenced by create_filepopup_settings(), and on_filepopup_for_tuple_settings_clicked().
GtkWidget* filepopup_settings_showprogressbar |
Definition at line 115 of file ui_preferences.c.
Referenced by create_filepopup_settings(), on_filepopup_for_tuple_settings_clicked(), and on_filepopup_settings_ok_clicked().
GtkWidget* filepopup_settings_use_file_cover |
Definition at line 114 of file ui_preferences.c.
Referenced by create_filepopup_settings(), on_filepopup_for_tuple_settings_clicked(), and on_filepopup_settings_ok_clicked().
GtkWidget* filepopupbutton = NULL |
Definition at line 106 of file ui_preferences.c.
Referenced by on_show_filepopup_for_tuple_realize().
gint n_categories = G_N_ELEMENTS(categories) [static] |
Definition at line 132 of file ui_preferences.c.
Referenced by on_category_treeview_realize().
const guint n_title_field_tags = G_N_ELEMENTS(title_field_tags) [static] |
Definition at line 148 of file ui_preferences.c.
Referenced by create_titlestring_tag_menu().
PreferencesWidget playback_page_widgets[] [static] |
{ {WIDGET_LABEL, N_("<b>Playback</b>"), NULL, NULL, NULL, FALSE}, {WIDGET_CHK_BTN, N_("Continue playback on startup"), &cfg.resume_playback_on_startup, NULL, N_("When Audacious starts, automatically begin playing from the point where we stopped before."), FALSE}, {WIDGET_CHK_BTN, N_("Don't advance in the playlist"), &cfg.no_playlist_advance, NULL, N_("When finished playing a song, don't automatically advance to the next."), FALSE}, {WIDGET_CHK_BTN, N_("Clear current playlist when opening new files"), & cfg.clear_playlist, NULL, NULL, FALSE}, }
Definition at line 233 of file ui_preferences.c.
Referenced by create_playback_category().
PreferencesWidget playlist_page_widgets[] [static] |
{ {WIDGET_LABEL, N_("<b>Metadata</b>"), NULL, NULL, NULL, FALSE}, {WIDGET_TABLE, NULL, NULL, NULL, NULL, TRUE, {.table = {chardet_elements, G_N_ELEMENTS(chardet_elements)}}}, }
Definition at line 255 of file ui_preferences.c.
Referenced by create_playlist_category().
void* prefswin = NULL [static] |
Definition at line 102 of file ui_preferences.c.
Referenced by create_filepopup_settings(), create_plugin_preferences(), create_prefs_window(), destroy_prefs_window(), hide_prefs_window(), prefswin_destroy(), and show_prefs_window().
PreferencesWidget proxy_auth_elements[] [static] |
{ {WIDGET_ENTRY, N_("Proxy username:"), "proxy_user", NULL, NULL, FALSE, {.entry = {FALSE}}, VALUE_CFG_STRING}, {WIDGET_ENTRY, N_("Proxy password:"), "proxy_pass", NULL, NULL, FALSE, {.entry = {TRUE}}, VALUE_CFG_STRING}, }
Definition at line 217 of file ui_preferences.c.
PreferencesWidget proxy_host_port_elements[] [static] |
{ {WIDGET_ENTRY, N_("Proxy hostname:"), "proxy_host", NULL, NULL, FALSE, {.entry = {FALSE}}, VALUE_CFG_STRING}, {WIDGET_ENTRY, N_("Proxy port:"), "proxy_port", NULL, NULL, FALSE, {.entry = {FALSE}}, VALUE_CFG_STRING}, }
Definition at line 212 of file ui_preferences.c.
PreferencesWidget replay_gain_page_widgets[] [static] |
{ {WIDGET_LABEL, N_("<b>Replay Gain configuration</b>"), NULL, NULL, NULL, FALSE}, {WIDGET_CHK_BTN, N_("Enable Replay Gain"), &cfg.enable_replay_gain, NULL, NULL, FALSE}, {WIDGET_LABEL, N_("<b>Replay Gain mode</b>"), NULL, NULL, NULL, TRUE}, {WIDGET_RADIO_BTN, N_("Track gain/peak"), &cfg.replay_gain_track, NULL, NULL, TRUE}, {WIDGET_RADIO_BTN, N_("Album gain/peak"), &cfg.replay_gain_album, NULL, NULL, TRUE}, {WIDGET_LABEL, N_("<b>Miscellaneous</b>"), NULL, NULL, NULL, TRUE}, {WIDGET_CHK_BTN, N_("Enable peak info clipping prevention"), &cfg.enable_clipping_prevention, NULL, N_("Use peak value from Replay Gain info for clipping prevention"), TRUE}, {WIDGET_TABLE, NULL, NULL, NULL, NULL, TRUE, {.table = {rg_params_elements, G_N_ELEMENTS(rg_params_elements)}}}, }
Definition at line 200 of file ui_preferences.c.
Referenced by create_replay_gain_category().
PreferencesWidget rg_params_elements[] [static] |
{ {WIDGET_SPIN_BTN, N_("Preamp:"), &cfg.replay_gain_preamp, NULL, NULL, FALSE, {.spin_btn = {-15, 15, 0.01, N_("dB")}}, VALUE_FLOAT}, {WIDGET_SPIN_BTN, N_("Default gain:"), &cfg.default_gain, NULL, N_("This gain will be used if file doesn't contain Replay Gain metadata."), FALSE, {.spin_btn = {-15, 15, 0.01, N_("dB")}}, VALUE_FLOAT}, {WIDGET_LABEL, N_("<span size=\"small\">Please remember that the most efficient way to prevent signal clipping is not to use positive values above.</span>"), NULL, NULL, NULL, FALSE, {.label = {"gtk-info"}}}, }
Definition at line 194 of file ui_preferences.c.
TitleFieldTag title_field_tags[] [static] |
{ { N_("Artist") , "${artist}" }, { N_("Album") , "${album}" }, { N_("Title") , "${title}" }, { N_("Tracknumber"), "${track-number}" }, { N_("Genre") , "${genre}" }, { N_("Filename") , "${file-name}" }, { N_("Filepath") , "${file-path}" }, { N_("Date") , "${date}" }, { N_("Year") , "${year}" }, { N_("Comment") , "${comment}" }, { N_("Codec") , "${codec}" }, { N_("Quality") , "${quality}" }, }
Definition at line 134 of file ui_preferences.c.
GtkWidget* titlestring_entry |
Definition at line 119 of file ui_preferences.c.
Referenced by create_playlist_category(), and titlestring_tag_menu_callback().
gint titlestring_timeout_counter = 0 [static] |
Definition at line 121 of file ui_preferences.c.
Referenced by on_titlestring_entry_changed(), and titlestring_timeout_proc().