X-Git-Url: https://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=src%2Fui_sensorpref.c;h=b87d53dcb97926d669c9735348779487d8b10645;hb=fd0242c4e19038c1eca927498c6c6d163b46c736;hp=bb739bb81ebec4aca0b678bae2d18379ebae6695;hpb=573a01a68ca7cfc7c0afc6c128737dd05dd11625;p=psensor.git diff --git a/src/ui_sensorpref.c b/src/ui_sensorpref.c index bb739bb..b87d53d 100644 --- a/src/ui_sensorpref.c +++ b/src/ui_sensorpref.c @@ -1,5 +1,5 @@ /* - * 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 @@ -467,6 +467,8 @@ static GtkBuilder *load_ui(struct ui_psensor *ui) store = GTK_LIST_STORE(gtk_builder_get_object(builder, "sensors_liststore")); + gtk_window_set_transient_for(GTK_WINDOW(w_dialog), + GTK_WINDOW(ui->main_window)); gtk_builder_connect_signals(builder, ui); g_signal_connect(w_dialog,