musicus mpd client 0.1d
Functions | Variables
gui.c File Reference
#include "gui.h"
#include "playlist_gtk.h"
#include "media_browser.h"
#include "support.h"
#include "mpd.h"
#include "mpd_action.h"
#include "search.h"
#include "preferences.h"

Functions

static GtkWidget * create_menubar (GFunc *quit_proc)
static void open_about_dialog (GtkWidget *widget, gpointer data)
static void update_statusbar (gchar *message, GtkWidget *statusbar)
static void gui_add_mrl_win (GtkWidget *widget, gpointer data)
static gboolean titlebar_updater (gpointer data)
static gboolean auto_change_view (gpointer data)
static void page_switched (GtkNotebook *notebook, GtkNotebookPage *page, guint page_num, gpointer data)
static void applet_pl_cleanup_cb (GtkWidget *widget, gpointer data)
static void playlist_update_tree_cb (GtkWidget *widget, gpointer data)
static void mb_reread_cb (GtkWidget *widget, gpointer data)
static void mpd_connect_cb (GtkWidget *widget, gpointer data)
static void mpd_disconnect_cb (GtkWidget *widget, gpointer data)
static void menu_entries_update (int play_state)
static void mpd_mrl_add_cb (GtkWidget *widget, gpointer data)
GtkWidget * mpd_win_new (int run_updater, int applet)
void mpd_gui_show_mpd_elements (void)
void mpd_gui_hide_mpd_elements (void)
void gui_mpd_status_changed_cb (MpdObj *obj, ChangedStatusType what, gpointer data)

Variables

static GtkWidget * notConnectedMsg
static GtkWidget * mpdElements
static GList * menu_entries
static gint sb_push_num = 0
static GtkWidget * StatusBar
static int old_conn_state = -64
static gboolean update_pl_tree = FALSE
static GtkWidget * repeat_label
static GtkWidget * random_label
static GtkWidget * xfade_label
static gboolean is_updating_db = FALSE

Detailed Description

Author:
Simon Gerber
Date:
2007-12-15 This file contains the procedures to build the main GUI

Function Documentation

static void applet_pl_cleanup_cb ( GtkWidget *  widget,
gpointer  data 
) [static]
static gboolean auto_change_view ( gpointer  data) [static]
static GtkWidget * create_menubar ( GFunc *  quit_proc) [static]
void gui_add_mrl_win ( GtkWidget *  widget,
gpointer  data 
) [static]
static void mb_reread_cb ( GtkWidget *  widget,
gpointer  data 
) [static]
static void menu_entries_update ( int  play_state) [static]
static void mpd_connect_cb ( GtkWidget *  widget,
gpointer  data 
) [static]
static void mpd_disconnect_cb ( GtkWidget *  widget,
gpointer  data 
) [static]
static void mpd_mrl_add_cb ( GtkWidget *  widget,
gpointer  data 
) [static]
void open_about_dialog ( GtkWidget *  widget,
gpointer  data 
) [static]
static void page_switched ( GtkNotebook *  notebook,
GtkNotebookPage *  page,
guint  page_num,
gpointer  data 
) [static]
static void playlist_update_tree_cb ( GtkWidget *  widget,
gpointer  data 
) [static]
static gboolean titlebar_updater ( gpointer  data) [static]
static void update_statusbar ( gchar *  message,
GtkWidget *  statusbar 
) [static]

Variable Documentation

gboolean is_updating_db = FALSE [static]
GList* menu_entries [static]
GtkWidget* mpdElements [static]
GtkWidget* notConnectedMsg [static]
int old_conn_state = -64 [static]
GtkWidget* random_label [static]
GtkWidget* repeat_label [static]
gint sb_push_num = 0 [static]
GtkWidget* StatusBar [static]
gboolean update_pl_tree = FALSE [static]
GtkWidget* xfade_label [static]
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines