Commit 25d497e8a5807f6a9fb84feb8e965ca6c710c146
1 parent
94181caa
Exists in
master
and in
1 other branch
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,7 +126,6 @@ | ||
126 | 126 | ||
127 | GtkWidget * dont_ask = NULL; | 127 | GtkWidget * dont_ask = NULL; |
128 | 128 | ||
129 | -#ifdef DEBUG | ||
130 | if(allow_disabling) { | 129 | if(allow_disabling) { |
131 | // Set check button | 130 | // Set check button |
132 | dont_ask = gtk_check_button_new_with_label(_("Don't ask again")); | 131 | dont_ask = gtk_check_button_new_with_label(_("Don't ask again")); |
@@ -138,8 +137,8 @@ | @@ -138,8 +137,8 @@ | ||
138 | gtk_widget_set_focus_on_click(dont_ask,FALSE); | 137 | gtk_widget_set_focus_on_click(dont_ask,FALSE); |
139 | #endif // GTK 3,20,0 | 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 | gtk_box_pack_start( | 143 | gtk_box_pack_start( |
145 | GTK_BOX(gtk_message_dialog_get_message_area(GTK_MESSAGE_DIALOG(dialog))), | 144 | GTK_BOX(gtk_message_dialog_get_message_area(GTK_MESSAGE_DIALOG(dialog))), |
@@ -149,7 +148,6 @@ | @@ -149,7 +148,6 @@ | ||
149 | 0 | 148 | 0 |
150 | ); | 149 | ); |
151 | } | 150 | } |
152 | -#endif // DEBUG | ||
153 | 151 | ||
154 | // Wait for response. | 152 | // Wait for response. |
155 | if(popup->label) { | 153 | if(popup->label) { |