typedef struct {
XfcePanelPlugin *plugin;
-
+
/* Panel widgets */
GtkWidget *eventbox;
GtkWidget *hvbox;
/* Keep track of the previous status so we don't update the
icon every poll_frequency for no reason. */
int previous_status;
-
+
/* Settings */
gchar *device_name;
gint poll_frequency;
-
+
/* Pseudo-setting, updated whenever device_name is. */
char sysfs_file[FILENAME_MAX];
-
- /* Configuration dialog widgets */
+
+ /* Configuration dialog widgets */
GtkWidget *sb_poll_frequency; /* Spinners on all our rides, yo. */
GtkWidget *cb_device_name; /* The "Device name" combo box. */
-
-
+
+
} HdapsPlugin;
void hdaps_save(XfcePanelPlugin *plugin,