diff options
Diffstat (limited to 'src/scale.c')
-rw-r--r-- | src/scale.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/scale.c b/src/scale.c index 21f820eb..a7f6d718 100644 --- a/src/scale.c +++ b/src/scale.c @@ -139,6 +139,11 @@ zenity_scale_dialog_response (GtkWidget *widget, int response, gpointer data) zen_data->exit_code = zenity_util_return_exit_code (ZENITY_CANCEL); break; + case ZENITY_TIMEOUT: + zen_data->exit_code = zenity_util_return_exit_code (ZENITY_TIMEOUT); + g_print ("%.0f\n", gtk_range_get_value (GTK_RANGE (scale))); + break; + default: zen_data->exit_code = zenity_util_return_exit_code (ZENITY_ESC); break; |