Commit 25d497e8a5807f6a9fb84feb8e965ca6c710c146

Authored by Perry Werneck
1 parent 94181caa
Exists in master and in 1 other branch develop

Activating "dont ask again" for release build.

Showing 1 changed file with 2 additions and 4 deletions   Show diff stats
src/dialogs/popups.c
... ... @@ -126,7 +126,6 @@
126 126  
127 127 GtkWidget * dont_ask = NULL;
128 128  
129   -#ifdef DEBUG
130 129 if(allow_disabling) {
131 130 // Set check button
132 131 dont_ask = gtk_check_button_new_with_label(_("Don't ask again"));
... ... @@ -138,8 +137,8 @@
138 137 gtk_widget_set_focus_on_click(dont_ask,FALSE);
139 138 #endif // GTK 3,20,0
140 139  
141   - //gtk_widget_set_valign(dont_ask, GTK_ALIGN_BASELINE);
142   - //gtk_widget_set_halign(dont_ask, GTK_ALIGN_START);
  140 + gtk_widget_set_valign(dont_ask, GTK_ALIGN_BASELINE);
  141 + gtk_widget_set_halign(dont_ask, GTK_ALIGN_START);
143 142  
144 143 gtk_box_pack_start(
145 144 GTK_BOX(gtk_message_dialog_get_message_area(GTK_MESSAGE_DIALOG(dialog))),
... ... @@ -149,7 +148,6 @@
149 148 0
150 149 );
151 150 }
152   -#endif // DEBUG
153 151  
154 152 // Wait for response.
155 153 if(popup->label) {
... ...