1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
|
diff -ur wmmaiload-2.2.1.orig/wmmaiload/dockapp.c wmmaiload-2.2.1/wmmaiload/dockapp.c
--- wmmaiload-2.2.1.orig/wmmaiload/dockapp.c 2005-07-12 22:39:47.000000000 +0300
+++ wmmaiload-2.2.1/wmmaiload/dockapp.c 2008-01-12 11:53:00.000000000 +0200
@@ -27,6 +27,7 @@
#include <sys/time.h>
#include <sys/types.h>
#include <unistd.h>
+#include <stdlib.h>
#define WINDOWED_SIZE_W 64
#define WINDOWED_SIZE_H 64
diff -ur wmmaiload-2.2.1.orig/wmmaiload-config/actions.c wmmaiload-2.2.1/wmmaiload-config/actions.c
--- wmmaiload-2.2.1.orig/wmmaiload-config/actions.c 2005-07-13 22:54:46.000000000 +0300
+++ wmmaiload-2.2.1/wmmaiload-config/actions.c 2008-01-12 11:54:15.000000000 +0200
@@ -3,6 +3,7 @@
*/
#include <stdlib.h>
+#include <string.h>
#include "defines.h"
#include "variables.h"
#include "dialogs.h"
diff -ur wmmaiload-2.2.1.orig/wmmaiload-config/dialogs.c wmmaiload-2.2.1/wmmaiload-config/dialogs.c
--- wmmaiload-2.2.1.orig/wmmaiload-config/dialogs.c 2005-07-07 21:54:17.000000000 +0300
+++ wmmaiload-2.2.1/wmmaiload-config/dialogs.c 2008-01-12 11:47:42.000000000 +0200
@@ -38,7 +38,6 @@
bouton, TRUE, TRUE, 0);
GTK_WIDGET_SET_FLAGS(GTK_WIDGET(bouton), GTK_CAN_DEFAULT);
gtk_widget_grab_default(GTK_WIDGET(bouton));
- gtk_widget_draw_default(GTK_WIDGET(bouton));
gtk_widget_show(bouton);
bouton = gtk_button_new_with_label("No");
@@ -97,7 +96,6 @@
bouton, TRUE, TRUE, 0);
GTK_WIDGET_SET_FLAGS(GTK_WIDGET(bouton), GTK_CAN_DEFAULT);
gtk_widget_grab_default(GTK_WIDGET(bouton));
- gtk_widget_draw_default(GTK_WIDGET(bouton));
gtk_widget_show(bouton);
gtk_container_set_border_width(GTK_CONTAINER
diff -ur wmmaiload-2.2.1.orig/wmmaiload-config/Init.make wmmaiload-2.2.1/wmmaiload-config/Init.make
--- wmmaiload-2.2.1.orig/wmmaiload-config/Init.make 2005-08-26 21:37:33.000000000 +0300
+++ wmmaiload-2.2.1/wmmaiload-config/Init.make 2008-01-12 11:48:12.000000000 +0200
@@ -35,9 +35,9 @@
#
CROSS_COMPILE =
-USER_CPPFLAGS = `gtk-config --cflags`
+USER_CPPFLAGS = `pkg-config gtk+-2.0 --cflags`
USER_CFLAGS =
-USER_LDFLAGS = `gtk-config --libs` -lX11
+USER_LDFLAGS = `pkg-config gtk+-2.0 --libs` -lX11
#*****************************************************************
Only in wmmaiload-2.2.1/wmmaiload-config: Init.make.orig
diff -ur wmmaiload-2.2.1.orig/wmmaiload-config/main.c wmmaiload-2.2.1/wmmaiload-config/main.c
--- wmmaiload-2.2.1.orig/wmmaiload-config/main.c 2005-07-13 22:51:28.000000000 +0300
+++ wmmaiload-2.2.1/wmmaiload-config/main.c 2008-01-12 11:54:01.000000000 +0200
@@ -3,6 +3,8 @@
*/
#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
#include <gtk/gtk.h>
#include "config.h"
#include "defines.h"
diff -ur wmmaiload-2.2.1.orig/wmmaiload-config/mainwindow.c wmmaiload-2.2.1/wmmaiload-config/mainwindow.c
--- wmmaiload-2.2.1.orig/wmmaiload-config/mainwindow.c 2005-07-13 22:51:52.000000000 +0300
+++ wmmaiload-2.2.1/wmmaiload-config/mainwindow.c 2008-01-12 11:47:42.000000000 +0200
@@ -10,9 +10,9 @@
#include "actions.h"
-static GtkWidget *edit;
-static GtkWidget *set;
-static GtkWidget *remove;
+static GtkWidget *b_edit;
+static GtkWidget *b_set;
+static GtkWidget *b_remove;
static gint list_sel_cb (GtkCList *clist,
gint row,
@@ -21,9 +21,9 @@
void *data)
{
selected_row = row;
- gtk_widget_set_sensitive(edit, TRUE);
- gtk_widget_set_sensitive(set, TRUE);
- gtk_widget_set_sensitive(remove, TRUE);
+ gtk_widget_set_sensitive(b_edit, TRUE);
+ gtk_widget_set_sensitive(b_set, TRUE);
+ gtk_widget_set_sensitive(b_remove, TRUE);
return TRUE;
}
@@ -35,9 +35,9 @@
void *data)
{
selected_row = -1;
- gtk_widget_set_sensitive(edit, FALSE);
- gtk_widget_set_sensitive(set, FALSE);
- gtk_widget_set_sensitive(remove, FALSE);
+ gtk_widget_set_sensitive(b_edit, FALSE);
+ gtk_widget_set_sensitive(b_set, FALSE);
+ gtk_widget_set_sensitive(b_remove, FALSE);
return TRUE;
}
@@ -230,7 +230,7 @@
gtk_table_attach_defaults(GTK_TABLE(table), bouton, 0, 1, 0, 1);
gtk_widget_set_sensitive(bouton, FALSE);
gtk_widget_show(bouton);
- edit = bouton;
+ b_edit = bouton;
bouton = gtk_button_new_with_label(" Set default ");
gtk_signal_connect(GTK_OBJECT(bouton), "clicked",
@@ -238,7 +238,7 @@
gtk_table_attach_defaults(GTK_TABLE(table), bouton, 1, 2, 0, 1);
gtk_widget_set_sensitive(bouton, FALSE);
gtk_widget_show(bouton);
- set = bouton;
+ b_set = bouton;
bouton = gtk_button_new_with_label(" Remove box ");
gtk_signal_connect(GTK_OBJECT(bouton), "clicked",
@@ -246,7 +246,7 @@
gtk_table_attach_defaults(GTK_TABLE(table), bouton, 2, 3, 0, 1);
gtk_widget_set_sensitive(bouton, FALSE);
gtk_widget_show(bouton);
- remove = bouton;
+ b_remove = bouton;
/*--- Frame 5 ---*/
frame = gtk_frame_new(NULL);
@@ -322,7 +322,6 @@
gtk_box_pack_start(GTK_BOX(buttons_hbox), bouton, TRUE, TRUE, 0);
GTK_WIDGET_SET_FLAGS(GTK_WIDGET(bouton), GTK_CAN_DEFAULT);
gtk_widget_grab_default(GTK_WIDGET(bouton));
- gtk_widget_draw_default(GTK_WIDGET(bouton));
gtk_widget_show(bouton);
bouton = gtk_button_new_with_label(" Cancel ");
diff -ur wmmaiload-2.2.1.orig/wmmaiload-config/popedit.c wmmaiload-2.2.1/wmmaiload-config/popedit.c
--- wmmaiload-2.2.1.orig/wmmaiload-config/popedit.c 2005-07-07 21:54:17.000000000 +0300
+++ wmmaiload-2.2.1/wmmaiload-config/popedit.c 2008-01-12 11:47:42.000000000 +0200
@@ -68,7 +68,6 @@
bouton, TRUE, TRUE, 0);
GTK_WIDGET_SET_FLAGS(GTK_WIDGET(bouton), GTK_CAN_DEFAULT);
gtk_widget_grab_default(GTK_WIDGET(bouton));
- gtk_widget_draw_default(GTK_WIDGET(bouton));
gtk_widget_show(bouton);
bouton = gtk_button_new_with_label("Cancel");
|