e7a334ab8b9645882070504bc72b4e5c4fc4c7a1
[terminatorX.git] / src / tX_glade_callbacks.cc
1 #ifdef HAVE_CONFIG_H
2 #  include <config.h>
3 #endif
4
5 #include <gtk/gtk.h>
6
7 #include "tX_glade_callbacks.h"
8 #include "tX_glade_interface.h"
9 #include "tX_glade_support.h"
10 #include "tX_dialog.h"
11
12 void
13 on_pref_cancel_clicked                 (GtkButton       *button,
14                                         gpointer         user_data)
15 {
16         gtk_widget_destroy(opt_dialog);
17 }
18
19
20 void
21 on_pref_apply_clicked                  (GtkButton       *button,
22                                         gpointer         user_data)
23 {
24         apply_options(opt_dialog);      
25 }
26
27
28 void
29 on_pref_ok_clicked                     (GtkButton       *button,
30                                         gpointer         user_data)
31 {
32         apply_options(opt_dialog);
33         gtk_widget_destroy(opt_dialog);
34 }
35
36
37 void
38 on_tx_options_destroy                  (GtkObject       *object,
39                                         gpointer         user_data)
40 {
41         opt_dialog=NULL;
42 }
43