|
|
|
|
@ -53,6 +53,11 @@ void on_device_limits_update(GtkWidget *, quota_window *window){
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
gboolean yon_manual_string_finish(GtkWidget *, GdkEvent *,quota_window *window){
|
|
|
|
|
on_quota_configuration_update(NULL,window);
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void on_quota_configuration_update(GtkWidget *, quota_window *window){
|
|
|
|
|
char *output_line = NULL;
|
|
|
|
|
long sft = (long)gtk_spin_button_get_value(GTK_SPIN_BUTTON(window->SoftRestrictionSpin));
|
|
|
|
|
@ -962,6 +967,7 @@ quota_window *yon_quota_window_new(){
|
|
|
|
|
g_signal_connect(G_OBJECT(window->DeviceLimitWriteCheck),"toggled",G_CALLBACK(on_quota_configuration_update),window);
|
|
|
|
|
g_signal_connect(G_OBJECT(window->TargetTypeCombo),"changed",G_CALLBACK(on_quota_target_type_changed),window);
|
|
|
|
|
g_signal_connect(G_OBJECT(window->ManualInputEntry),"changed",G_CALLBACK(on_manual_edit),window);
|
|
|
|
|
g_signal_connect(G_OBJECT(window->ManualInputEntry),"focus-out-event",G_CALLBACK(yon_manual_string_finish),window);
|
|
|
|
|
|
|
|
|
|
yon_get_devices(window);
|
|
|
|
|
window->devices=window->devices->first;
|
|
|
|
|
|