/*
- * Copyright (C) 2010-2014 jeanfi@gmail.com
+ * Copyright (C) 2010-2016 jeanfi@gmail.com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
gtk_toggle_button_set_active(w_udisks2, config_is_udisks2_enabled());
+ gtk_window_set_transient_for(GTK_WINDOW(diag),
+ GTK_WINDOW(ui->main_window));
gtk_builder_connect_signals(builder, NULL);
result = gtk_dialog_run(diag);