diff options
| -rw-r--r-- | trace-dialog.c | 10 | ||||
| -rw-r--r-- | trace-gui.h | 2 |
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 | ||
| 123 | void trace_freeze_all(void) | ||
| 124 | { | ||
| 125 | gtk_widget_set_sensitive(GTK_WIDGET(parent_window), FALSE); | ||
| 126 | } | ||
| 127 | |||
| 128 | void 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 | ||
| 55 | void trace_set_cursor(GdkCursorType type); | 55 | void trace_set_cursor(GdkCursorType type); |
| 56 | void trace_put_cursor(void); | 56 | void trace_put_cursor(void); |
| 57 | void trace_freeze_all(void); | ||
| 58 | void trace_unfreeze_all(void); | ||
| 57 | 59 | ||
| 58 | GtkWidget * | 60 | GtkWidget * |
| 59 | trace_create_combo_box(GtkWidget *hbox, const gchar *text, | 61 | trace_create_combo_box(GtkWidget *hbox, const gchar *text, |
