aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--trace-dialog.c10
-rw-r--r--trace-gui.h2
2 files changed, 12 insertions, 0 deletions
diff --git a/trace-dialog.c b/trace-dialog.c
index 53e75d5..1bbbac6 100644
--- a/trace-dialog.c
+++ b/trace-dialog.c
@@ -120,6 +120,16 @@ void trace_put_cursor(void)
120 gdk_window_set_cursor(window, parent_cursor); 120 gdk_window_set_cursor(window, parent_cursor);
121} 121}
122 122
123void trace_freeze_all(void)
124{
125 gtk_widget_set_sensitive(GTK_WIDGET(parent_window), FALSE);
126}
127
128void trace_unfreeze_all(void)
129{
130 gtk_widget_set_sensitive(GTK_WIDGET(parent_window), TRUE);
131}
132
123/** 133/**
124 * trace_dialog_register_alt_warning - register an alternate function for warning() 134 * trace_dialog_register_alt_warning - register an alternate function for warning()
125 * @alt: the function to be called instead of warning. 135 * @alt: the function to be called instead of warning.
diff --git a/trace-gui.h b/trace-gui.h
index c55940e..286e1a3 100644
--- a/trace-gui.h
+++ b/trace-gui.h
@@ -54,6 +54,8 @@ gchar *trace_get_file_dialog(const gchar *title, const char *open,
54 54
55void trace_set_cursor(GdkCursorType type); 55void trace_set_cursor(GdkCursorType type);
56void trace_put_cursor(void); 56void trace_put_cursor(void);
57void trace_freeze_all(void);
58void trace_unfreeze_all(void);
57 59
58GtkWidget * 60GtkWidget *
59trace_create_combo_box(GtkWidget *hbox, const gchar *text, 61trace_create_combo_box(GtkWidget *hbox, const gchar *text,