ui_preferences.c File Reference

#include <string.h>
#include <stdio.h>
#include <gdk/gdkkeysyms.h>
#include <gtk/gtk.h>
#include <libaudcore/hook.h>
#include "audconfig.h"
#include "config.h"
#include "configdb.h"
#include "debug.h"
#include "gtk-compat.h"
#include "i18n.h"
#include "misc.h"
#include "output.h"
#include "playback.h"
#include "playlist.h"
#include "playlist-utils.h"
#include "plugin.h"
#include "plugins.h"
#include "preferences.h"
#include "ui_preferences.h"

Go to the source code of this file.

Classes

struct  Category
struct  TitleFieldTag
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 }

Functions

static void sw_volume_toggled (void)
static void * create_output_plugin_box (void)
static void prefswin_page_queue_destroy (CategoryQueueEntry *ent)
static void change_category (GtkNotebook *notebook, GtkTreeSelection *selection)
static void editable_insert_text (GtkEditable *editable, const gchar *text, gint *pos)
static void titlestring_tag_menu_callback (GtkMenuItem *menuitem, gpointer data)
static void on_titlestring_help_button_clicked (GtkButton *button, gpointer data)
static gboolean titlestring_timeout_proc (gpointer data)
static void on_titlestring_entry_changed (GtkWidget *entry, gpointer data)
static void on_titlestring_cbox_changed (GtkWidget *cbox, gpointer data)
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)
void plugin_preferences_show (PluginPreferences *settings)
void plugin_preferences_cleanup (PluginPreferences *p)
static void on_spin_btn_changed_gint (GtkSpinButton *button, gint *cfg)
static void on_spin_btn_changed_gfloat (GtkSpinButton *button, gfloat *cfg)
static void fill_category_list (GtkTreeView *treeview, GtkNotebook *notebook)
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_entry_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 fill_cbox (GtkWidget *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 show_numbers_cb (GtkToggleButton *numbers, void *unused)
static void leading_zero_cb (GtkToggleButton *leading)
static void create_playlist_category (void)
static gboolean output_enum_cb (PluginHandle *plugin, GList **list)
static GList * output_get_list (void)
static void output_combo_update (GtkComboBox *combo)
static void output_combo_changed (GtkComboBox *combo)
static void output_combo_fill (GtkComboBox *combo)
static void output_do_config (void)
static void output_do_about (void)
static void create_audio_category (void)
static void create_connectivity_category (void)
static void create_plugin_category (void)
static gboolean prefswin_destroy (GtkWidget *window, GdkEvent *event, gpointer data)
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 bitdepth_elements []
CategoryQueueEntrycategory_queue = NULL
static PreferencesWidget rg_mode_widgets []
static PreferencesWidget audio_page_widgets []
static PreferencesWidget proxy_host_port_elements []
static PreferencesWidget proxy_auth_elements []
static PreferencesWidget connectivity_page_widgets []
static PreferencesWidget chardet_elements []
static PreferencesWidget playlist_page_widgets []
static GtkWidget * output_config_button
static GtkWidget * output_about_button

Define Documentation

#define TITLESTRING_UPDATE_TIMEOUT   3

Definition at line 48 of file ui_preferences.c.

Referenced by on_titlestring_entry_changed().


Enumeration Type Documentation

Enumerator:
CATEGORY_VIEW_COL_ICON 
CATEGORY_VIEW_COL_NAME 
CATEGORY_VIEW_COL_ID 
CATEGORY_VIEW_N_COLS 

Definition at line 52 of file ui_preferences.c.


Function Documentation

static void change_category ( GtkNotebook *  notebook,
GtkTreeSelection *  selection 
) [static]

Definition at line 224 of file ui_preferences.c.

Referenced by fill_category_list().

static void create_audio_category ( void   )  [static]

Definition at line 1528 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 937 of file ui_preferences.c.

Referenced by create_widgets_with_domain(), and fill_table().

static void create_connectivity_category ( void   )  [static]

Definition at line 1536 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 893 of file ui_preferences.c.

Referenced by create_widgets_with_domain(), and fill_table().

void create_filepopup_settings ( void   ) 

Definition at line 659 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 865 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 922 of file ui_preferences.c.

Referenced by create_widgets_with_domain(), and fill_table().

static void * create_output_plugin_box ( void   )  [static]

Definition at line 1495 of file ui_preferences.c.

static void create_playlist_category ( void   )  [static]

Definition at line 1254 of file ui_preferences.c.

Referenced by create_prefs_window().

static void create_plugin_category ( void   )  [static]

Definition at line 1550 of file ui_preferences.c.

Referenced by create_prefs_window().

void* * create_prefs_window ( void   ) 

Definition at line 1577 of file ui_preferences.c.

Referenced by show_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 823 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 1211 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 1007 of file ui_preferences.c.

Referenced by plugin_preferences_show().

void destroy_prefs_window ( void   ) 

Definition at line 1686 of file ui_preferences.c.

static void editable_insert_text ( GtkEditable *  editable,
const gchar *  text,
gint pos 
) [static]

Definition at line 239 of file ui_preferences.c.

Referenced by titlestring_tag_menu_callback().

static void fill_category_list ( GtkTreeView *  treeview,
GtkNotebook *  notebook 
) [static]

Definition at line 445 of file ui_preferences.c.

Referenced by create_prefs_window().

static void fill_cbox ( GtkWidget *  combobox,
PreferencesWidget *  widget 
) [static]

Definition at line 615 of file ui_preferences.c.

Referenced by create_cbox().

static void fill_table ( GtkWidget *  table,
PreferencesWidget *  elements,
gint  amt,
const gchar *  domain 
) [static]

Definition at line 949 of file ui_preferences.c.

Referenced by create_widgets_with_domain().

void hide_prefs_window ( void   ) 

Definition at line 1700 of file ui_preferences.c.

static void leading_zero_cb ( GtkToggleButton *  leading  )  [static]

Definition at line 1241 of file ui_preferences.c.

Referenced by create_playlist_category().

static void on_cbox_changed_int ( GtkComboBox *  combobox,
PreferencesWidget *  widget 
) [static]

Definition at line 595 of file ui_preferences.c.

Referenced by fill_cbox().

static void on_cbox_changed_string ( GtkComboBox *  combobox,
PreferencesWidget *  widget 
) [static]

Definition at line 604 of file ui_preferences.c.

Referenced by fill_cbox().

static void on_entry_changed ( GtkEntry *  entry,
gchar **  cfg 
) [static]

Definition at line 575 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 526 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 559 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 541 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 315 of file ui_preferences.c.

Referenced by create_font_btn().

static void on_recurse_for_cover_toggled ( GtkToggleButton *  button,
gpointer  data 
) [static]
static void on_show_filepopup_for_tuple_toggled ( GtkToggleButton *  button,
gpointer  data 
) [static]

Definition at line 511 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 439 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 433 of file ui_preferences.c.

Referenced by create_spin_button().

static void on_titlestring_cbox_changed ( GtkWidget *  cbox,
gpointer  data 
) [static]

Definition at line 303 of file ui_preferences.c.

Referenced by create_playlist_category().

static void on_titlestring_entry_changed ( GtkWidget *  entry,
gpointer  data 
) [static]

Definition at line 289 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 267 of file ui_preferences.c.

Referenced by create_playlist_category().

static void on_toggle_button_toggled ( GtkToggleButton *  button,
gboolean cfg 
) [static]

Definition at line 565 of file ui_preferences.c.

Referenced by create_widgets_with_domain().

static void output_combo_changed ( GtkComboBox *  combo  )  [static]

Definition at line 1462 of file ui_preferences.c.

Referenced by create_output_plugin_box().

static void output_combo_fill ( GtkComboBox *  combo  )  [static]

Definition at line 1472 of file ui_preferences.c.

Referenced by create_output_plugin_box().

static void output_combo_update ( GtkComboBox *  combo  )  [static]

Definition at line 1454 of file ui_preferences.c.

Referenced by create_output_plugin_box(), and output_combo_changed().

static void output_do_about ( void   )  [static]

Definition at line 1487 of file ui_preferences.c.

Referenced by create_output_plugin_box().

static void output_do_config ( void   )  [static]

Definition at line 1479 of file ui_preferences.c.

Referenced by create_output_plugin_box().

static gboolean output_enum_cb ( PluginHandle plugin,
GList **  list 
) [static]

Definition at line 1434 of file ui_preferences.c.

Referenced by output_get_list().

static GList* output_get_list ( void   )  [static]

Definition at line 1440 of file ui_preferences.c.

Referenced by output_combo_changed(), output_combo_fill(), and output_combo_update().

static void plugin_preferences_apply ( GtkWidget *  widget,
PluginPreferences *  settings 
) [static]

Definition at line 334 of file ui_preferences.c.

Referenced by plugin_preferences_show().

static void plugin_preferences_cancel ( GtkWidget *  widget,
PluginPreferences *  settings 
) [static]

Definition at line 341 of file ui_preferences.c.

Referenced by plugin_preferences_show().

void plugin_preferences_cleanup ( PluginPreferences *  p  ) 

Definition at line 423 of file ui_preferences.c.

Referenced by general_plugin_stop(), plugin2_unload(), and vis_plugin_stop().

static void plugin_preferences_destroy ( GtkWidget *  widget,
PluginPreferences *  settings 
) [static]

Definition at line 349 of file ui_preferences.c.

Referenced by plugin_preferences_show().

static void plugin_preferences_ok ( GtkWidget *  widget,
PluginPreferences *  settings 
) [static]

Definition at line 325 of file ui_preferences.c.

Referenced by plugin_preferences_show().

void plugin_preferences_show ( PluginPreferences *  settings  ) 

Definition at line 359 of file ui_preferences.c.

Referenced by do_config().

static gboolean prefswin_destroy ( GtkWidget *  window,
GdkEvent *  event,
gpointer  data 
) [static]

Definition at line 1566 of file ui_preferences.c.

Referenced by create_prefs_window(), and destroy_prefs_window().

void prefswin_page_destroy ( GtkWidget *  container  ) 

Definition at line 1787 of file ui_preferences.c.

gint prefswin_page_new ( void *  container,
const gchar *  name,
const gchar *  imgurl 
)

Definition at line 1741 of file ui_preferences.c.

Referenced by fill_category_list().

static void prefswin_page_queue_destroy ( CategoryQueueEntry ent  )  [static]

Definition at line 1722 of file ui_preferences.c.

Referenced by fill_category_list().

static void prefswin_page_queue_new ( GtkWidget *  container,
const gchar *  name,
const gchar *  imgurl 
) [static]

Definition at line 1706 of file ui_preferences.c.

Referenced by prefswin_page_new().

static void show_numbers_cb ( GtkToggleButton *  numbers,
void *  unused 
) [static]

Definition at line 1229 of file ui_preferences.c.

Referenced by create_playlist_category().

void show_prefs_window ( void   ) 

Definition at line 1691 of file ui_preferences.c.

static void sw_volume_toggled ( void   )  [static]

Definition at line 1834 of file ui_preferences.c.

static void titlestring_tag_menu_callback ( GtkMenuItem *  menuitem,
gpointer  data 
) [static]

Definition at line 247 of file ui_preferences.c.

Referenced by create_titlestring_tag_menu().

static gboolean titlestring_timeout_proc ( gpointer  data  )  [static]

Definition at line 275 of file ui_preferences.c.

Referenced by on_titlestring_entry_changed().


Variable Documentation

PreferencesWidget audio_page_widgets[] [static]
Initial value:
 {
 {WIDGET_LABEL, N_("<b>Output Settings</b>")},
 {WIDGET_CUSTOM, .data = {.populate = create_output_plugin_box}},
 {WIDGET_COMBO_BOX, N_("Bit depth:"),
  .cfg_type = VALUE_INT, .cfg = & cfg.output_bit_depth,
  .data = {.combo = {bitdepth_elements, G_N_ELEMENTS (bitdepth_elements), TRUE}}},
 {WIDGET_SPIN_BTN, N_("Buffer size:"),
  .cfg_type = VALUE_INT, .cfg = & cfg.output_buffer_size,
  .data = {.spin_btn = {100, 10000, 1000, N_("ms")}}},
 {WIDGET_CHK_BTN, N_("Use software volume control (not recommended)"),
  .cfg_type = VALUE_BOOLEAN, .cfg = & cfg.software_volume_control, .callback = sw_volume_toggled},
 {WIDGET_LABEL, N_("<b>Replay Gain</b>")},
 {WIDGET_CHK_BTN, N_("Enable Replay Gain"),
  .cfg_type = VALUE_BOOLEAN, .cfg = & cfg.enable_replay_gain},
 {WIDGET_BOX, .child = TRUE, .data = {.box = {rg_mode_widgets, G_N_ELEMENTS (rg_mode_widgets), TRUE}}},
 {WIDGET_CHK_BTN, N_("Prevent clipping (recommended)"), .child = TRUE,
  .cfg_type = VALUE_BOOLEAN, .cfg = & cfg.enable_clipping_prevention},
 {WIDGET_LABEL, N_("<b>Adjust Levels</b>"), .child = TRUE},
 {WIDGET_SPIN_BTN, N_("Amplify all files:"), .child = TRUE,
  .cfg_type = VALUE_FLOAT, .cfg = & cfg.replay_gain_preamp,
  .data = {.spin_btn = {-15, 15, 0.1, N_("dB")}}},
 {WIDGET_SPIN_BTN, N_("Amplify untagged files:"), .child = TRUE,
  .cfg_type = VALUE_FLOAT, .cfg = & cfg.default_gain,
  .data = {.spin_btn = {-15, 15, 0.1, N_("dB")}}}}

Definition at line 153 of file ui_preferences.c.

Referenced by create_audio_category().

Initial value:
 {
    { GINT_TO_POINTER(16), "16" },
    { GINT_TO_POINTER(24), "24" },
    { GINT_TO_POINTER(32), "32" },
    {GINT_TO_POINTER (0), "Floating point"},
}

Definition at line 131 of file ui_preferences.c.

Category categories[] [static]
Initial value:
 {
 {"audio.png", N_("Audio")},
 {"connectivity.png", N_("Network")},
 {"playlist.png", N_("Playlist")},
 {"plugins.png", N_("Plugins")},
}

Definition at line 90 of file ui_preferences.c.

GtkWidget* category_notebook = NULL [static]

Definition at line 145 of file ui_preferences.c.

GtkWidget* category_treeview = NULL [static]
PreferencesWidget chardet_elements[] [static]
Initial value:
 {






 {WIDGET_ENTRY, N_("Fallback character encodings:"), .cfg_type = VALUE_STRING,
  .cfg = & cfg.chardet_fallback, .callback = aud_config_chardet_update,
  .child = TRUE}}

Definition at line 196 of file ui_preferences.c.

PreferencesWidget connectivity_page_widgets[] [static]
Initial value:
 {
    {WIDGET_LABEL, N_("<b>Proxy Configuration</b>"), NULL, NULL, NULL, FALSE},
    {WIDGET_CHK_BTN, N_("Enable proxy usage"), .cfg_type = VALUE_BOOLEAN, .cfg = & cfg.use_proxy},
    {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"), .cfg_type = VALUE_BOOLEAN, .cfg = & cfg.use_proxy_auth},
    {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 187 of file ui_preferences.c.

Referenced by create_connectivity_category().

GtkWidget* filepopup_settings = NULL [static]
GtkWidget* filepopupbutton = NULL

Definition at line 73 of file ui_preferences.c.

Referenced by create_playlist_category().

gint n_categories = G_N_ELEMENTS(categories) [static]

Definition at line 97 of file ui_preferences.c.

Referenced by fill_category_list().

const guint n_title_field_tags = G_N_ELEMENTS(title_field_tags) [static]

Definition at line 113 of file ui_preferences.c.

Referenced by create_titlestring_tag_menu().

GtkWidget * output_about_button [static]

Definition at line 1432 of file ui_preferences.c.

Referenced by create_output_plugin_box(), and output_combo_update().

GtkWidget* output_config_button [static]

Definition at line 1432 of file ui_preferences.c.

Referenced by create_output_plugin_box(), and output_combo_update().

PreferencesWidget playlist_page_widgets[] [static]
Initial value:
 {
    {WIDGET_LABEL, N_("<b>Behavior</b>"), NULL, NULL, NULL, FALSE},
    {WIDGET_CHK_BTN, N_("Continue playback on startup"),
     .cfg_type = VALUE_BOOLEAN, .cfg = & cfg.resume_playback_on_startup},
    {WIDGET_CHK_BTN, N_("Advance when the current song is deleted"),
     .cfg_type = VALUE_BOOLEAN, .cfg = & cfg.advance_on_delete},
    {WIDGET_CHK_BTN, N_("Clear the playlist when opening files"),
     .cfg_type = VALUE_BOOLEAN, .cfg = & cfg.clear_playlist},
    {WIDGET_CHK_BTN, N_("Open files in a temporary playlist"),
     .cfg_type = VALUE_BOOLEAN, .cfg = & cfg.open_to_temporary},
    {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 207 of file ui_preferences.c.

Referenced by create_playlist_category().

void* prefswin = NULL [static]
PreferencesWidget proxy_auth_elements[] [static]
Initial value:
 {
 {WIDGET_ENTRY, N_("Proxy username:"), .cfg_type = VALUE_STRING, .cfg = & cfg.proxy_user},
 {WIDGET_ENTRY, N_("Proxy password:"), .cfg_type = VALUE_STRING, .cfg = & cfg.proxy_user,
  .data = {.entry = {.password = TRUE}}}}

Definition at line 182 of file ui_preferences.c.

PreferencesWidget proxy_host_port_elements[] [static]
Initial value:
 {
 {WIDGET_ENTRY, N_("Proxy hostname:"), .cfg_type = VALUE_STRING, .cfg = & cfg.proxy_host},
 {WIDGET_ENTRY, N_("Proxy port:"), .cfg_type = VALUE_STRING, .cfg = & cfg.proxy_port}}

Definition at line 178 of file ui_preferences.c.

PreferencesWidget rg_mode_widgets[] [static]
Initial value:
 {
 {WIDGET_RADIO_BTN, N_("Single track mode"), .cfg_type = VALUE_BOOLEAN, .cfg = & cfg.replay_gain_track},
 {WIDGET_RADIO_BTN, N_("Album mode"), .cfg_type = VALUE_BOOLEAN, .cfg = & cfg.replay_gain_album}}

Definition at line 149 of file ui_preferences.c.

Initial value:
 {
    { 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 99 of file ui_preferences.c.

GtkWidget* titlestring_entry

Definition at line 86 of file ui_preferences.c.

Referenced by create_playlist_category(), and titlestring_tag_menu_callback().

Definition at line 88 of file ui_preferences.c.

Referenced by on_titlestring_entry_changed(), and titlestring_timeout_proc().


Generated on 27 Aug 2011 for Audacious by  doxygen 1.6.1