X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/d8b71e035c1a20378706dc18e36aa54771251954..93ca1bcfefc511c5d3ca0fd71d01b24614d0d7fd:/disobedience/disobedience.h diff --git a/disobedience/disobedience.h b/disobedience/disobedience.h index 001a0b0..a804863 100644 --- a/disobedience/disobedience.h +++ b/disobedience/disobedience.h @@ -22,8 +22,6 @@ #ifndef DISOBEDIENCE_H #define DISOBEDIENCE_H -#define PLAYLISTS 1 - #include "common.h" #include @@ -87,6 +85,11 @@ struct button { void (*clicked)(GtkButton *button, gpointer userdata); const char *tip; GtkWidget *widget; + void (*pack)(GtkBox *box, + GtkWidget *child, + gboolean expand, + gboolean fill, + guint padding); }; /* Variables --------------------------------------------------------------- */ @@ -163,6 +166,7 @@ void all_update(void); GtkWidget *menubar(GtkWidget *w); /* Create the menu bar */ +int full_mode; void users_set_sensitive(int sensitive); @@ -230,7 +234,7 @@ void manage_users(void); /* Help */ -void popup_help(void); +void popup_help(const char *what); /* RTP */ @@ -259,7 +263,6 @@ void popup_settings(void); /* Playlists */ -#if PLAYLISTS void playlists_init(void); void playlist_window_create(gpointer callback_data, guint callback_action, @@ -269,7 +272,6 @@ extern int nplaylists; extern GtkWidget *menu_playlists_widget; extern GtkWidget *playlists_menu; extern GtkWidget *menu_editplaylists_widget; -#endif #endif /* DISOBEDIENCE_H */