annotate src/xs_genui.c @ 577:fdddab8f0c1b

Scrubbing through the filter configuration code; Configuration dialog window delete event was not handled and caused problems if WM's "close window" was used, fixed.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 20 Mar 2007 13:43:00 +0000
parents cf32867a71ed
children d9290bd40037
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
16
09fc890b5d3c Added new files
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
1 #ifdef HAVE_CONFIG_H
09fc890b5d3c Added new files
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
2 # include <config.h>
09fc890b5d3c Added new files
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
3 #endif
09fc890b5d3c Added new files
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
4
09fc890b5d3c Added new files
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
5 #include <gtk/gtk.h>
09fc890b5d3c Added new files
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
6
09fc890b5d3c Added new files
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
7 #include "xs_genui.h"
09fc890b5d3c Added new files
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
8 #include "xs_interface.h"
09fc890b5d3c Added new files
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
9 #include "xs_glade.h"
334
19c89f9ca2cc Misc commit.
Matti Hamalainen <ccr@tnsp.org>
parents: 282
diff changeset
10
553
cf32867a71ed GUI updates.
Matti Hamalainen <ccr@tnsp.org>
parents: 500
diff changeset
11
cf32867a71ed GUI updates.
Matti Hamalainen <ccr@tnsp.org>
parents: 500
diff changeset
12 void
cf32867a71ed GUI updates.
Matti Hamalainen <ccr@tnsp.org>
parents: 500
diff changeset
13 xs_cfg_sp2_filter_load (GtkButton *button,
cf32867a71ed GUI updates.
Matti Hamalainen <ccr@tnsp.org>
parents: 500
diff changeset
14 gpointer user_data)
cf32867a71ed GUI updates.
Matti Hamalainen <ccr@tnsp.org>
parents: 500
diff changeset
15 {
cf32867a71ed GUI updates.
Matti Hamalainen <ccr@tnsp.org>
parents: 500
diff changeset
16
cf32867a71ed GUI updates.
Matti Hamalainen <ccr@tnsp.org>
parents: 500
diff changeset
17 }
cf32867a71ed GUI updates.
Matti Hamalainen <ccr@tnsp.org>
parents: 500
diff changeset
18
cf32867a71ed GUI updates.
Matti Hamalainen <ccr@tnsp.org>
parents: 500
diff changeset
19
cf32867a71ed GUI updates.
Matti Hamalainen <ccr@tnsp.org>
parents: 500
diff changeset
20 void
cf32867a71ed GUI updates.
Matti Hamalainen <ccr@tnsp.org>
parents: 500
diff changeset
21 xs_cfg_sp2_filter_save (GtkButton *button,
cf32867a71ed GUI updates.
Matti Hamalainen <ccr@tnsp.org>
parents: 500
diff changeset
22 gpointer user_data)
cf32867a71ed GUI updates.
Matti Hamalainen <ccr@tnsp.org>
parents: 500
diff changeset
23 {
cf32867a71ed GUI updates.
Matti Hamalainen <ccr@tnsp.org>
parents: 500
diff changeset
24
cf32867a71ed GUI updates.
Matti Hamalainen <ccr@tnsp.org>
parents: 500
diff changeset
25 }
cf32867a71ed GUI updates.
Matti Hamalainen <ccr@tnsp.org>
parents: 500
diff changeset
26
cf32867a71ed GUI updates.
Matti Hamalainen <ccr@tnsp.org>
parents: 500
diff changeset
27
cf32867a71ed GUI updates.
Matti Hamalainen <ccr@tnsp.org>
parents: 500
diff changeset
28 void
cf32867a71ed GUI updates.
Matti Hamalainen <ccr@tnsp.org>
parents: 500
diff changeset
29 xs_cfg_sp2_filter_import (GtkButton *button,
cf32867a71ed GUI updates.
Matti Hamalainen <ccr@tnsp.org>
parents: 500
diff changeset
30 gpointer user_data)
cf32867a71ed GUI updates.
Matti Hamalainen <ccr@tnsp.org>
parents: 500
diff changeset
31 {
cf32867a71ed GUI updates.
Matti Hamalainen <ccr@tnsp.org>
parents: 500
diff changeset
32
cf32867a71ed GUI updates.
Matti Hamalainen <ccr@tnsp.org>
parents: 500
diff changeset
33 }
cf32867a71ed GUI updates.
Matti Hamalainen <ccr@tnsp.org>
parents: 500
diff changeset
34
cf32867a71ed GUI updates.
Matti Hamalainen <ccr@tnsp.org>
parents: 500
diff changeset
35
cf32867a71ed GUI updates.
Matti Hamalainen <ccr@tnsp.org>
parents: 500
diff changeset
36 void
cf32867a71ed GUI updates.
Matti Hamalainen <ccr@tnsp.org>
parents: 500
diff changeset
37 xs_cfg_sp2_filter_export (GtkButton *button,
cf32867a71ed GUI updates.
Matti Hamalainen <ccr@tnsp.org>
parents: 500
diff changeset
38 gpointer user_data)
cf32867a71ed GUI updates.
Matti Hamalainen <ccr@tnsp.org>
parents: 500
diff changeset
39 {
cf32867a71ed GUI updates.
Matti Hamalainen <ccr@tnsp.org>
parents: 500
diff changeset
40
cf32867a71ed GUI updates.
Matti Hamalainen <ccr@tnsp.org>
parents: 500
diff changeset
41 }
577
fdddab8f0c1b Scrubbing through the filter configuration code; Configuration dialog
Matti Hamalainen <ccr@tnsp.org>
parents: 553
diff changeset
42
fdddab8f0c1b Scrubbing through the filter configuration code; Configuration dialog
Matti Hamalainen <ccr@tnsp.org>
parents: 553
diff changeset
43
fdddab8f0c1b Scrubbing through the filter configuration code; Configuration dialog
Matti Hamalainen <ccr@tnsp.org>
parents: 553
diff changeset
44 void
fdddab8f0c1b Scrubbing through the filter configuration code; Configuration dialog
Matti Hamalainen <ccr@tnsp.org>
parents: 553
diff changeset
45 xs_filter_import_fs_ok (GtkButton *button,
fdddab8f0c1b Scrubbing through the filter configuration code; Configuration dialog
Matti Hamalainen <ccr@tnsp.org>
parents: 553
diff changeset
46 gpointer user_data)
fdddab8f0c1b Scrubbing through the filter configuration code; Configuration dialog
Matti Hamalainen <ccr@tnsp.org>
parents: 553
diff changeset
47 {
fdddab8f0c1b Scrubbing through the filter configuration code; Configuration dialog
Matti Hamalainen <ccr@tnsp.org>
parents: 553
diff changeset
48
fdddab8f0c1b Scrubbing through the filter configuration code; Configuration dialog
Matti Hamalainen <ccr@tnsp.org>
parents: 553
diff changeset
49 }
fdddab8f0c1b Scrubbing through the filter configuration code; Configuration dialog
Matti Hamalainen <ccr@tnsp.org>
parents: 553
diff changeset
50
fdddab8f0c1b Scrubbing through the filter configuration code; Configuration dialog
Matti Hamalainen <ccr@tnsp.org>
parents: 553
diff changeset
51
fdddab8f0c1b Scrubbing through the filter configuration code; Configuration dialog
Matti Hamalainen <ccr@tnsp.org>
parents: 553
diff changeset
52 void
fdddab8f0c1b Scrubbing through the filter configuration code; Configuration dialog
Matti Hamalainen <ccr@tnsp.org>
parents: 553
diff changeset
53 xs_filter_import_fs_cancel (GtkButton *button,
fdddab8f0c1b Scrubbing through the filter configuration code; Configuration dialog
Matti Hamalainen <ccr@tnsp.org>
parents: 553
diff changeset
54 gpointer user_data)
fdddab8f0c1b Scrubbing through the filter configuration code; Configuration dialog
Matti Hamalainen <ccr@tnsp.org>
parents: 553
diff changeset
55 {
fdddab8f0c1b Scrubbing through the filter configuration code; Configuration dialog
Matti Hamalainen <ccr@tnsp.org>
parents: 553
diff changeset
56
fdddab8f0c1b Scrubbing through the filter configuration code; Configuration dialog
Matti Hamalainen <ccr@tnsp.org>
parents: 553
diff changeset
57 }
fdddab8f0c1b Scrubbing through the filter configuration code; Configuration dialog
Matti Hamalainen <ccr@tnsp.org>
parents: 553
diff changeset
58
fdddab8f0c1b Scrubbing through the filter configuration code; Configuration dialog
Matti Hamalainen <ccr@tnsp.org>
parents: 553
diff changeset
59
fdddab8f0c1b Scrubbing through the filter configuration code; Configuration dialog
Matti Hamalainen <ccr@tnsp.org>
parents: 553
diff changeset
60 void
fdddab8f0c1b Scrubbing through the filter configuration code; Configuration dialog
Matti Hamalainen <ccr@tnsp.org>
parents: 553
diff changeset
61 xs_filter_export_fs_ok (GtkButton *button,
fdddab8f0c1b Scrubbing through the filter configuration code; Configuration dialog
Matti Hamalainen <ccr@tnsp.org>
parents: 553
diff changeset
62 gpointer user_data)
fdddab8f0c1b Scrubbing through the filter configuration code; Configuration dialog
Matti Hamalainen <ccr@tnsp.org>
parents: 553
diff changeset
63 {
fdddab8f0c1b Scrubbing through the filter configuration code; Configuration dialog
Matti Hamalainen <ccr@tnsp.org>
parents: 553
diff changeset
64
fdddab8f0c1b Scrubbing through the filter configuration code; Configuration dialog
Matti Hamalainen <ccr@tnsp.org>
parents: 553
diff changeset
65 }
fdddab8f0c1b Scrubbing through the filter configuration code; Configuration dialog
Matti Hamalainen <ccr@tnsp.org>
parents: 553
diff changeset
66
fdddab8f0c1b Scrubbing through the filter configuration code; Configuration dialog
Matti Hamalainen <ccr@tnsp.org>
parents: 553
diff changeset
67
fdddab8f0c1b Scrubbing through the filter configuration code; Configuration dialog
Matti Hamalainen <ccr@tnsp.org>
parents: 553
diff changeset
68 void
fdddab8f0c1b Scrubbing through the filter configuration code; Configuration dialog
Matti Hamalainen <ccr@tnsp.org>
parents: 553
diff changeset
69 xs_filter_export_fs_cancel (GtkButton *button,
fdddab8f0c1b Scrubbing through the filter configuration code; Configuration dialog
Matti Hamalainen <ccr@tnsp.org>
parents: 553
diff changeset
70 gpointer user_data)
fdddab8f0c1b Scrubbing through the filter configuration code; Configuration dialog
Matti Hamalainen <ccr@tnsp.org>
parents: 553
diff changeset
71 {
fdddab8f0c1b Scrubbing through the filter configuration code; Configuration dialog
Matti Hamalainen <ccr@tnsp.org>
parents: 553
diff changeset
72
fdddab8f0c1b Scrubbing through the filter configuration code; Configuration dialog
Matti Hamalainen <ccr@tnsp.org>
parents: 553
diff changeset
73 }
fdddab8f0c1b Scrubbing through the filter configuration code; Configuration dialog
Matti Hamalainen <ccr@tnsp.org>
parents: 553
diff changeset
74
fdddab8f0c1b Scrubbing through the filter configuration code; Configuration dialog
Matti Hamalainen <ccr@tnsp.org>
parents: 553
diff changeset
75
fdddab8f0c1b Scrubbing through the filter configuration code; Configuration dialog
Matti Hamalainen <ccr@tnsp.org>
parents: 553
diff changeset
76 void
fdddab8f0c1b Scrubbing through the filter configuration code; Configuration dialog
Matti Hamalainen <ccr@tnsp.org>
parents: 553
diff changeset
77 xs_cfg_sp2_filter_delete (GtkButton *button,
fdddab8f0c1b Scrubbing through the filter configuration code; Configuration dialog
Matti Hamalainen <ccr@tnsp.org>
parents: 553
diff changeset
78 gpointer user_data)
fdddab8f0c1b Scrubbing through the filter configuration code; Configuration dialog
Matti Hamalainen <ccr@tnsp.org>
parents: 553
diff changeset
79 {
fdddab8f0c1b Scrubbing through the filter configuration code; Configuration dialog
Matti Hamalainen <ccr@tnsp.org>
parents: 553
diff changeset
80
fdddab8f0c1b Scrubbing through the filter configuration code; Configuration dialog
Matti Hamalainen <ccr@tnsp.org>
parents: 553
diff changeset
81 }