Lines 21-26
Link Here
|
21 |
#include <string.h> |
21 |
#include <string.h> |
22 |
#include <panel-applet.h> |
22 |
#include <panel-applet.h> |
23 |
#include <gtk/gtk.h> |
23 |
#include <gtk/gtk.h> |
|
|
24 |
#include <unistd.h> |
25 |
#include <stdlib.h> |
24 |
|
26 |
|
25 |
#define BUF_LEN 32 |
27 |
#define BUF_LEN 32 |
26 |
#define SYSFS_PROTECT_FILE_HDA "/sys/block/hda/queue/protect" |
28 |
#define SYSFS_PROTECT_FILE_HDA "/sys/block/hda/queue/protect" |
Lines 50-57
Link Here
|
50 |
GtkWidget *image = gdata; |
52 |
GtkWidget *image = gdata; |
51 |
GtkWidget *applet; |
53 |
GtkWidget *applet; |
52 |
GtkTooltipsData *tooltips_data; |
54 |
GtkTooltipsData *tooltips_data; |
53 |
static int timerval = 0; |
|
|
54 |
gchar *text_label; |
55 |
int status; |
55 |
int status; |
56 |
|
56 |
|
57 |
applet = image->parent; |
57 |
applet = image->parent; |