Ticket #2557: mc-4.7.5.2-chmod_use_whitespace-2.patch
File mc-4.7.5.2-chmod_use_whitespace-2.patch, 1.3 KB (added by bugreporter, 13 years ago) |
---|
-
src/filemanager/chmod.c
old new 49 49 50 50 /*** file scope macro definitions ****************************************************************/ 51 51 52 #define PX 552 #define PX 2 53 53 #define PY 2 54 #define PWIDTH 38 54 55 55 56 #define FX 40 56 57 #define FY 2 58 #define FWIDTH 28 59 #define FHEIGHT 10 57 60 58 61 #define BX 6 59 62 #define BY 17 … … 230 233 single_set = (current_panel->marked < 2) ? 2 : 0; 231 234 232 235 ch_dlg = 233 create_dlg (TRUE, 0, 0, 22 - single_set, 70, dialog_colors,236 create_dlg (TRUE, 0, 0, 22 - single_set, FWIDTH + PWIDTH + 4, dialog_colors, 234 237 chmod_callback, "[Chmod]", _("Chmod command"), DLG_CENTER | DLG_REVERSE); 235 238 236 239 for (i = 0; i < BUTTONS; i++) … … 245 248 chmod_but[i].flags, _(chmod_but[i].text), 0)); 246 249 } 247 250 248 add_widget (ch_dlg, groupbox_new (FY, FX, 10, 25, _("File")));251 add_widget (ch_dlg, groupbox_new (FY, FX, FHEIGHT, FWIDTH, _("File"))); 249 252 250 253 for (i = 0; i < PERMISSIONS; i++) 251 254 { … … 253 256 add_widget (ch_dlg, check_perm[i].check); 254 257 } 255 258 256 add_widget (ch_dlg, groupbox_new (PY, PX, PERMISSIONS + 2, 33, _("Permission")));259 add_widget (ch_dlg, groupbox_new (PY, PX, PERMISSIONS + 2, PWIDTH, _("Permission"))); 257 260 258 261 return ch_dlg; 259 262 }