mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
netdomjoin-gui: disable annoying "reboot now" dialog.
Guenther
(This used to be commit 8f0c5f1bed
)
This commit is contained in:
@ -209,8 +209,10 @@ static void callback_apply_description_change(GtkWidget *widget,
|
||||
static void callback_do_exit(GtkWidget *widget,
|
||||
gpointer data)
|
||||
{
|
||||
#if 0
|
||||
GtkWidget *dialog;
|
||||
gint result;
|
||||
#endif
|
||||
struct join_state *state = (struct join_state *)data;
|
||||
|
||||
if (!state->settings_changed) {
|
||||
@ -218,6 +220,7 @@ static void callback_do_exit(GtkWidget *widget,
|
||||
return;
|
||||
}
|
||||
|
||||
#if 0
|
||||
dialog = gtk_message_dialog_new(GTK_WINDOW(state->window_main),
|
||||
GTK_DIALOG_DESTROY_WITH_PARENT,
|
||||
GTK_MESSAGE_QUESTION,
|
||||
@ -236,6 +239,7 @@ static void callback_do_exit(GtkWidget *widget,
|
||||
if (dialog) {
|
||||
gtk_widget_destroy(GTK_WIDGET(dialog));
|
||||
}
|
||||
#endif
|
||||
if (state->window_main) {
|
||||
gtk_widget_destroy(GTK_WIDGET(state->window_main));
|
||||
}
|
||||
|
Reference in New Issue
Block a user